cancel
Showing results for 
Search instead for 
Did you mean: 

ADD Column type link in UWL

former_member474499
Participant
0 Kudos

Hello,

I want to add a column in UWL with fixed content (e.g ‘invoice image ') , the type of this column must be a link  and point to an action that launches a specific abap code.


I modified the UWL configuration file where I added the new column but it steel empty , I do not know how to fill it with the link (‘invoice image ') and how to point to an action.

Thank you for your help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

If the link has to be created dynamically, e.g. with parameters depending on appropriate action, Im not sure you can reach this by modifying UWL descriptors. If its static you shouldnt have any problems. It probably would be useful if you would describe your requirement exact and post your current descriptor source.

regards

former_member474499
Participant
0 Kudos

Thank you for your reply.

the link is static (invoice picture), here is my source:

<ItemType name="uwl.completedtask.webflow.TS00275253.SAP_ECC" connector="WebFlowConnector" defaultView="ViewTS00275253Completed" defaultAction="launchSAPAction" executionMode="default">

      <ItemTypeCriteria systemId="SAP_ECC" externalType="TS00275253" connector="WebFlowConnector">

<CompoundExpression logicalOperation="AND" defaultViewFilter="no">

          <Expression name="status" value="COMPLETED" comparator="Equals"/>

        </CompoundExpression>

      </ItemTypeCriteria>

      <CustomAttributes>

        <CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="/ORS/INVAP" cacheValidity="default">

<Attribute name="INVOIImage" type="link" displayName="invoice image"/>

</CustomAttributeSource>

      </CustomAttributes>

    </ItemType>

<DisplayAttribute name="INVOIImage" type="link" width="" sortable="yes" format="default" actionRef="testImage" referenceBundle="subject" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">

<Menu>

<MenuItem name="invoice image" actionRef="testImage" referenceBundle="invoice image"/>

</Menu>

</DisplayAttribute>

<Actions>

<Action name="testImage" handler="IViewLauncher" referenceBundle="new_task" launchInNewWindow="yes"

launchNewWindowFeatures="width=520,height=560,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">

<Properties>

    <Property name="iview" value="portal_content/Courrier/Iview/ZMM_ET_PORTAILFCT"/>

    <Property name="passThisOn" value="test" />

    <Property name="appContext" value="test_lien" />

</Properties>

</Action>

</Actions>

Thank you for your help.