We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-abap] How To Get Pernr From Username?

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Question from GesaHHH on May 30 at 12:10 PM
I have done this code, but I get this error:
500 SAP Internal Server Error
ERROR: Type conflict when calling a function module. (termination: RABAX_STATE)

//Can anyone help me

Data: lt_usr21 TYPE TABLE OF usr21,
ls_usr21 LIKE LINE OF lt_usr21,
lt_adrp TYPE TABLE OF adrp,
ls_adrp LIKE LINE OF lt_adrp.
.
SELECT bname FROM usr21 INTO TABLE lt_usr21
where bname = u_uname.


LOOP AT lt_usr21 INTO ls_usr21.
ls_usr21-bname = u_uname.
ENDLOOP.

CALL FUNCTION '/OSP/GET_PERNR_FRM_R3_USERNAME'
EXPORTING
it_usernames = ls_usr21-bname " List of Mendocino Users
IMPORTING
et_pernr_list = ls_adrp-addr_pers " it_pernr " List of SAP User Pernrs
et_return = it_return " Table with BAPI Return Information
.
 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
© 2016 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
GesaHHH  
 
View this online
Ask a new question
 
In the Spotlight
Have a technical question? Need to find IT solutions? Ask your peers in the Toolbox for IT community.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language