Skip to Content
avatar image
Former Member

Restrictions on PR05

Hello Experts,

In our company the users input their expenses into SAP TM but through WEB screens.

The checking and the validation on the expense claims are done by an external company outside of our company.

This external company is connected in SAP GUI and uses the transaction code PR05.

Some employees travel to countries considered at high risk level.

Our security department would like to hide these trips from this external company.

How can I do display only the trips in normal countries?

Thanking you in advance.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 21, 2015 at 02:18 PM

    Hello Robert,

    there is no way in the standard to fulfill your request.

    But maybe with a smal modification in Include MP56TF10 line 438 ...

    First check the name of the external users. Maybe to differentiate between internal/external users

    internal starts with A1234 or Amiller   external starts with Z1234 or Zmiller

    Start modification before


    Move Corresponding t_head TO tab1.

    The logic should be

    If sy-uname starts with Z  and t_head-ZLAND = (e.g.)  AO (Angola)

    than the next 'Move Correspoinding' line should not be processed

    The endif should be After the line

    Append tab1.

    The intention is that the Append shouldn't work (in Case user is Z.. and country is AO.

    Maybe it makes sense to create an own (internal) country region table for your exceptions.

    If the external useres has no HR Infotype 0105 (combination sy-uname with personal number)

    than you can copy fm

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member


      If the search for IT0105 is not sucessful (sy-subrc = 4) than don't dsiplay country AO  and so on.

      Maybe this information can help you further.

      Best regards