UWL Custom Attributes

eneko.bilbao@accenture.com eneko.bilbao at accenture.com
Tue May 13 08:18:34 EDT 2008


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