Skip to Content
avatar image
Former Member

How to use action file in SAP Web dispatcher ?

Hi Experts,

We have a web dispatcher in front our SAP systems. We would like modify the headers of HTTP request sent to these systems through the web dispatcher. We have created an action file. yet we are unable to add or remove headers.

The entry in our profile file is as follows :

icm/HTTP/mod_0 = PREFIX=/,FILE=<path for action file in web dispatcher system>/action_file.txt

in the action file we have mentioned the below entry:

RemoveHeader Referer

We have restarted the Web dispatcher once we made the changes in the action file.

However our HTTP request still appears with the header Referer in it. Kindly help us clarify if the steps to create and use an action file are correct .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Feb 29, 2016 at 01:52 PM

    Hi Johan,

    More information regarding icm/HTTP/mod_<xx> parameter can be found on:
    https://help.sap.com/saphelp_nw73/helpdata/en/48/49c7403a79350ce10000000a42189d/content.htm

    Also online help:

    https://help.sap.com/saphelp_nw73/helpdata/en/48/9266ffaa6b17cee10000000a421937/frameset.htm

    provides examples about how to configure the action file with the rules to apply.

    Please ensure that action file for the Web Disapatcher has been correctly set.
    Have you seen any error on WDP trace?

    Regards,
    Raquel

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 01, 2016 at 12:28 PM

    Hello Johan,

    However our HTTP request still appears with the header Referer in it.

    What do you mean by that?

    The browser would still send this header.

    What will happen is that the Web Dispatcher will remove it before sending it to the backend system.

    Regards,

    Isaías

    Add comment
    10|10000 characters needed characters exceeded