Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

triggering a program by a dynamic action

Hi,

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..

Thank you!

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.

rgds....Sameer

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question