Skip to Content

UWL - Move the "Manage Substitution Rules" outside of the context menu

Hello Experts,

I'm trying to move the "Manage Substitution Rules" outside of the context menu.

I've done it in the past with the "Refresh" action. However, with ""Manage Substitution Rules" it doesn't work.

Other users have encountered the same problem: (I've tried the workarounds in the following tthreads without success)
https://archive.sap.com/discussions/thread/1212440
https://archive.sap.com/discussions/thread/1414570

How can set the "Manage Substitution Rules" outside of the context menu (as link/button alongside the "Refresh" action)?

Regards,
Omri

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 07, 2016 at 09:10 PM

    From memory it didn't work for me either until I created it as a Z action.

    The important bit is <Property name="type" value="button"/>.

    That's on a 7.4 system.

    Cheers,

    John

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 07, 2016 at 04:42 AM

    G'day Omri,

    I had the same issue with users not being able to find it in the context menu, so I have been able to get it to appear as a button in the toolbar above the worklist by adding a custom action to our version of the uwl.standard xml file like this:

    I just put the custom action at the end of the DefaultView section, using the xml snippet below. Hope that helps....

    Regards,

    John

    <Actions>

    <Action name="zlaunchSubstitutionManager" groupAction="no" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowName="Substitution" launchNewWindowFeatures="width='+screen.width*0.96+'px,height='+screen.height*0.85+'px,top=5,left=5,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"> <Properties>

    <Property name="WebDynproApplication" value="UWLSubstitution"></Property>

    sap.com/tc~kmc~bc.uwl.ui~wd_ui">>

    <Property name="launchContext" value="UWL"></Property>

    <Property name="ignoreWorkIdParams" value="yes"></Property>

    <Property name="DynamicParameter" value="uwlSessionId=${context.uwlSessionId}&configureGroup=${context.configureGroup}"></Property>

    <Property name="appContext" value="${context.appContext}"></Property>

    <Property name="System" value="SAP_LocalSystem"></Property>

    <Property name="display_order_priority" value="uwlExcludeFromPreviewDetail"></Property>

    <Property name="type" value="button"/> </Properties> <Descriptions default="Manage Substitution Rules"/>

    </Action>

    <Action reference="defaultGlobalWizard"/>

    <Action reference="addToNavigation"/>

    <Action reference="removeFromNavigation"/>

    <Action reference="refresh"/>

    </Actions>

    Add comment
    10|10000 characters needed characters exceeded

    • One final update:

      When dealing with Hebrew characters, we must use the zip file approach because the xml file cannot be uploaded with Hebrew characters nor with \u... convention.

      Omri