Skip to Content

How to modify URL in a PCC solution which takes user to PA30 for a particular locked record?

I have written a validation policy which check for any locked records for an employee for infotypes 0008, 0041, & 0169. Now what I am trying to achieve is to provide them with a URL in the solution which will directly take the user to the locked record for an employee.

I am using the below link, this works but doesn't show the locked record but instead shows the latest unlocked record.:

ls_sol-link = lv_server_url && |/sap/bc/gui/sap/its/| &&
 |webgui?~TRANSACTION=*PA30%20RP50G-CHOIC=0008;RP50G-PERNR=$$$$$$$$;DYNP_OKCODE=MOD|.
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 4 days ago

    try to pass field RP50G-SPRPS = 'X'

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Volker. The custome changed the requirement and no longer wants this, so I didn't get a chance to test your suggestion. Ifand when i get a chance, I will comment here with my findings.