Skip to Content
author's profile photo Former Member
Former Member

Can´t get Workflow Attribute in UWL Display

Dear all,

I have to integrate an attribute from standard workflow TS00275253 in UWL.

The field in the workflow container is defined in "_WI_Object_ID" and has the name "VendorName".

Can please anybody explain to me how to integrate this. I did this for attributes definied in the containers root without problems.

These are the configurations I tried yet without any success.

<ItemType name="uwl.task.webflow.TS00275253.SAP_FI" connector="WebFlowConnector" defaultView="Rechnungen_gen" defaultAction="launchMiniApp" executionMode="default">
      <ItemTypeCriteria systemId="SAP_FI" externalType="TS00275253" connector="WebFlowConnector"></ItemTypeCriteria>
      <CustomAttributes>
        <!-- <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
          <Attribute name="_WI_Object_ID.VendorName" type="string" displayName="Kreditor"></Attribute>
          <Attribute name="InvoiceDate" type="date" displayName="Rechnungsdatum"></Attribute>
        </CustomAttributeSource> -->
        <CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalId" objectType="/ORS/INVAP" cacheValidity="final">
          <Attribute name="_WI_Object_ID.VendorName" type="string" displayName="Kreditor"></Attribute>
          <Attribute name="InvoiceDate" type="date" displayName="Rechnungsdatum"></Attribute>
        </CustomAttributeSource>
      </CustomAttributes>
      <Actions>
        <Action name="launchMiniApp" groupAction="yes" handler="SAPIACLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowName="WorkItem" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
          <Properties>
            <Property name="ApplicationParameter" value="~Okcode=ONLI&amp;p_action=EXECUTE&amp;p_wi_id=${item.externalId}"></Property>
            <Property name="IAC" value="ZSWNWIEX"></Property>
          </Properties>
          <Descriptions default="Ausführen"></Descriptions>
        </Action>
      </Actions>
    </ItemType>

I tried "WebflowContainer" and "ABAP_BOR" without success.

The field is shown in the UWL header but no values are transfered to the positions.

Thanks for any help.

Best regards

Roman Becker

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Sep 23, 2010 at 09:03 AM

    From [Universal Worklist with SAP NetWeaver Portal|http://www.amazon.co.uk/Universal-Worklist-SAP-NetWeaver-Portal/dp/1592291465], section 3.1.1, text box "Where to find Custom Attribute names":

    > Only top-level container attributes are available for the UWL, which limits the usefulness of this feature.

    Sorry, it looks like you're stuck in this case. Your only hope would be to get a workflow developer to create a version of this workflow but with the attribute moved to the top level of the container.

    Best regards,

    Darren

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2010 at 08:01 PM

    Hi Roman,

    I had done something similar but a long time ago. Please go through this thread. Hope it helps.

    [/message/2835784#2835784 [original link is broken]]

    Regards,

    Prathamesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      No, its not the solution. The problem is how to access attributes below "_WI_Object_ID". This is not working. "Top-Level" attributes can be accessed without problem.

      Any more idea?

      Thanks

      Roman

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2010 at 12:30 AM

    is VendorName an attribute of your top level BOR object /ORS/INVAP ? if so just reference the attribute without the prefix

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.