Hi friends,
i did a recording from PA40.
in that program PERNR is automatically generated.
i am using call transcation method
now my problem: if i run this progroam in MODE A then it should create the PERNER and update PA0001.
if i run this program in MODE N it should not create PERNR.
Thanks & Regards,
Vallamutnu.M
Hi,
Do you mean to say, that if your program is run with Mode N, then you would be entering your own personnel number?
If yes, then do two kinds of recording, then optimize the code with IF statements by checking the MODE to have common codes separate and those which are not identical as separate lines .
Then use the Call transaction and try.
Also, try to find if there is any standard BAPI or FM to create PERNR.
Regards
Subramanian
Add a comment