cancel
Showing results for 
Search instead for 
Did you mean: 

Can´t get Workflow Attribute in UWL Display

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

darren_hague
Contributor
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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