triggering a program by a dynamic action
From creating a record in Infotype 0000, dynamic action will trigger a program that gets the personnel id and insert to a custom table.
But my current program doesn't get the PERNR. I am not sure which structure to use. I have P0000 whcih i already declared infotype 0000. Or planning to use PERNR-PERNR. The dynamic action calls the program but th custom table is still empty maybe I'm using the wrong strucuture..
Need your advice..
sameer alshi replied
Hi Ella bella,
If the program is not stopping at the brekpoint means it is not entering your routine hence dynamic action os not triggering due to some reason.
try this line:
FC = 06
No = 999 (or any availbl in series)
Step = F
variabl funct part = get_persid(your prog name)
also try accesing PSYST and PSPAR structures here...you would get pernr in these.