Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8852

How to implement condition in customize UWL XML file

$
0
0

Hi Expert

 

we have below requirements in our project : - is it possible to archive or not. if yes then how to do it. Kindly help me it is urgent requirement.

 

  1. Input -

MDM Workflow: WS90000032

Request: MM0120130520091218xxxx

Request type: 01

Issue related to task: TS90000142

 

 

In SAP GUI -

 

Requirement:

If Request type: 01, Text “Upload confirmed” must appear on button text.

Actual Results: Working as expected in SAP GUI

 

In SAP Portal -

 

Requirement:

If Request type: 01, Text “Upload confirmed” must appear on button text.

Actual Results: Default text is displaying, Test status is FAILED

 

2.  Input -

MDM Workflow: WS90000032

Request: MM0120130520091218xxxx

Request type: 07

Issue related to task: TS90000142

 

SAP GUI -


Requirement:

If Request type: 07, Text “Confirm to Requestor” must appear on button text.

Actual Results: Working as expected in SAP GUI

 

SAP Portal -

Requirement:

If Request type: 07, Text “Confirm to Requestor” must appear on button text.

Actual Results: Working as expected in SAP Portal too.

 

 

The existing UWL XML code -

 

<ItemType name="uwl.task.webflow.TS90000142.SAP_ECC_HumanResources" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="pessimistic">

      <ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType="TS90000142" connector="WebFlowConnector"/>

      <CustomAttributes>

        <CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="ZMDMST_MATMAS_WF" cacheValidity="final">

          <Attribute name="REQUESTORFULLNAME" type="string" displayName="REQUESTORFULLNAME"/>

          <Attribute name="ITEM_HAZARD" type="string" displayName="ITEM_HAZARD"/>

        </CustomAttributeSource>

      </CustomAttributes>

      <Actions>

        <Action name="viewDetail" groupAction="" handler="UIActionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="width=700,height=600,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">

          <Descriptions default="viewDetail"/>

        </Action>

        <Action name="approve" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="no" launchInNewWindow="no">

          <Properties>

            <Property name="decisionKey" value="1"/>

          </Properties>

          <Descriptions default="Confirm to Requestor"/>

        </Action>

      </Actions>

    </ItemType>

 

Regards

Keshari


Viewing all articles
Browse latest Browse all 8852

Trending Articles