UWL Custom Attributes

Griffiths, Mark mark.griffiths at sap.com
Tue May 13 09:16:40 EDT 2008


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.

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




More information about the SAP-WUG mailing list