2008 Aug 27 6:18 AM
Hi,
I need to derive the User name (BNAME) using PERNR.
Can anyone suggest me the appriopriate tables please?
Thanks..
Regards,
R Adarsh
2008 Aug 27 6:52 AM
Hi ...
get the user name (UNAME) from PA0002 using PERNR(Personnel number)
If want to get the full name please concatenate the value VNAMC and NCHMC..
I think it will work..
Edited by: Subhankar Garani on Aug 27, 2008 7:54 AM
Hi ...
get the user name (UNAME) from PA0002 using PERNR(Personnel number)
If want to get the full name please concatenate the value VNAMC and NCHMC..
I think it will work..
Edited by: Subhankar Garani on Aug 27, 2008 7:54 AM
2008 Aug 27 6:21 AM
Hi.....
Check this program...
data: itab like pa0002 occurs 0 with header line.
parameters: p_name like pa0002-pernr.
select single vnamc nchmc from pa0002 into corresponding fields of itab where pernr = p_name.
data:text(30).
concatenate itab-vnamc itab-nchmc into text separated by ' '.
write:/ text.Thanks,
Naveen.I
2008 Aug 27 6:21 AM
Hi,
You can try tables PA0001 or PA0002.
Regards,
Samson Rodrigues.
2008 Aug 27 6:23 AM
Hi
SELECT
usrid
FROM pa0105
INTO (w_USRNAME)
UP TO 1 ROWS
WHERE subty = '0001' AND
begda le sy-datum AND
endda ge sy-datum.
ENDSELECT.Try this out i think it will give you the Sap user login name
Regards
Pavan
2008 Aug 27 6:23 AM
2008 Aug 27 6:52 AM
Hi ...
get the user name (UNAME) from PA0002 using PERNR(Personnel number)
If want to get the full name please concatenate the value VNAMC and NCHMC..
I think it will work..
Edited by: Subhankar Garani on Aug 27, 2008 7:54 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |