Skip to Content
avatar image
Former Member

HR PA20, 30 & 40 Initial Screen Enhancements

Good Day Gurus,

I have a requirement to check for some field from a custom table at the beginning of each transaction PA20, 30 & 40.

once the user puts a PERNR and clicks enter this should activate my code to show a message for some condition.

Its not on an infotype level, I don't want to change anything on screen 1100 & 2000 in report

SAPMP50A, then again when using the user exits in cmod for PAI its neccesary for my read to use the PERNR which is not applicable at this time RP50G-PERNR or PSPAR-PERNR are not recognized by the report.

Is there a way where i can activate the code once tcodes PA20,30 & 40 are run with some PRN before the infotype selection?

I'm new to HR programing so please tell what is the best approach here.


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 14, 2017 at 09:49 AM


    By default there are two options to enhance standard way of work in transaction PA20/PA30/PA40:

    1. customer exit PBAS0001,

    Both options are called once a user clicks on particular infotype. So there is no predefined way of call such additional code once you hit an enter. The only option I see is to use implicit enhancement of form NEW_PERNR in module MP50AF00 which is called everytime you hit enter but I strongly discourage any implicit enhancements.


    Add comment
    10|10000 characters needed characters exceeded