UWL Custom Attributes (Griffiths, Mark)

eneko.bilbao@accenture.com eneko.bilbao at accenture.com
Tue May 13 22:39:18 EDT 2008


Hi Mark and Experts,

Thanks for your input, however I actually don't want to display the
parameter in a view of the UWL, I am simply trying to pass it to my
iView.

Any one have any suggestions as to why the parameter is NULL even when
the workflow container is populated?

Thanks, 

Eneko Bilbao
Accenture
Systems Integration & Technology - SAP
 
Phone (Singapore): +65 9807 9115
Email: eneko.bilbao at accenture.com
------------------------------

Message: 4
Date: Tue, 13 May 2008 15:16:40 +0200
From: "Griffiths, Mark" <mark.griffiths at sap.com>
Subject: RE: UWL Custom Attributes 
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<9FB57F47D500C640B5EC8282D8AE80B47D4FFB at dewdfe1n.wdf.sap.corp>
Content-Type: text/plain;	charset="us-ascii"

What you have done so far looks OK at a quick glance, but you don't seem
to have specified a view?

If you want to see attributes in columns the only way I know of doing
this (I am happy to be told otherwise) is to create a view.  With your
XML code below you need a section after your itemtypes for views where
you specify your relevant tasks and then the columns including custom
attributes which refer back to your item type section.

Hope this helps,


Mark
SAP UK

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of eneko.bilbao at accenture.com
Sent: Tuesday, May 13, 2008 1:19 PM
To: sap-wug at mit.edu
Subject: UWL Custom Attributes 

Hi Experts,

I am having terrible problems using custom attributes in the UWL. I
cannot retrieve elements from an ECC workflow container. I always
receive NULL. The standard attributes of the UWL work fine, it's just
when I add new ones. 

Perhaps you could share some of your tips and tricks (Mark/Jocelyn?) - I
have spent several hours on this now and can't get away from the NULL
result - very frustrating!  

Before you ask, yes I have read all the SDN forum posts and tried using
the XML examples on help.sap.com, I have also validated my XML code in
IE and it correctly uploads to SAP's UWL. As far as I know, I have my
XML code correct but am still receiving NULL for all custom attributes
in the UWL.

We are on EP7, BASIS700, SP15. 

My test XML code is below if you have a moment to check:




<ItemTypes>
  <ItemType name="uwl.task.webflow.TS95000024"
connector="WebFlowConnector" defaultView="DefaultView"
defaultAction="launchIViewPostingPlan" >
    <ItemTypeCriteria  externalType="TS95000024"
connector="WebFlowConnector"/>
    <CustomAttributes>
      <CustomAttributeSource id="WEBFLOW_CONTAINER"
objectIdHolder="externalObjectId" objectType="WebFlowContainer"
cacheValidity="final">
        <Attribute name="HRAdminRuleID" type="string" displayName="Admin
Rule ID Test"/>
      </CustomAttributeSource>
    </CustomAttributes>
    <Actions>
      <Action name="launchIViewPostingPlan" handler="IViewLauncher"
returnToDetailViewAllowed="no" launchInNewWindow="yes"
launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar
=no,menubar=no,location=no,directories=no">
        <Properties>
          <Property name="iview"
value="pcd:portal_content/ehr.fd.sandbox/com.sandbox.Eneko/com.client.z_
sample_htmlguipa30"/>
          <Property name="System" value="SAP_ECC_HumanResources"/>
          <Property name="TCode" value="PA30"/>
          <Property name="GuiType" value="WEBGUI"/>
          <Property name="ApplicationParameter"
value="RP50G-PERNR=${item.HRAdminRuleID}"/>
          <Property name="AutoStart" value="1"/>
        </Properties>
        <Descriptions default="View Posting Plan List">
          <ShortDescriptions>
            <Description Language="en" Description="View Posting Plan
List"/>
          </ShortDescriptions>
        </Descriptions>
      </Action>
    </Actions>
  </ItemType>
</ItemTypes>


Many thanks for any suggestions,

Eneko Bilbao
Accenture
Systems Integration & Technology - SAP
 
Phone (Singapore): +65 9807 9115
Email: eneko.bilbao at accenture.com



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.




More information about the SAP-WUG mailing list