11-02-2009 6:33 PM
Hi all,
I have a requirement where i need to use the transaction WS20000081 for creating a leave for those employees who dont have ESS access.
I have created a Z program where the employee will login & then use the above mentioned T-code for creating leave
The problem I am facing is that this T-code fetches the personnel no & name of the SAP GUI login.
I need to change it to the personnel no & name of the employee who has logged in to the Z program.
Z program accepts personnel no for logging in.
Kindly help me....
Thanks in advance
Seema Peswani
SAP ABAP HR
11-02-2009 9:18 PM
try using ADRP table
PERSNUMBER Person number is the primary key in it, and NAME_TEXT names are present as well..
11-03-2009 5:00 AM
HI, Jay
Personnel no & Name are already being filled by the standard program.... I need to change it to that personnel no with the personnel no provided ion the Z program.
How will that be done?
11-03-2009 10:36 PM
with out seeing your code no one can answer your question. If its some standard program we could have looked in our systems and would have guided you...
why dont you save that login varaibles using set parameters and retrieve when needed using get parameters. Search with those key words in SCN you will find many examples.
11-05-2009 12:01 PM
hi,
I tried using SET Parameter, but this is not working in this case