cancel
Showing results for 
Search instead for 
Did you mean: 

RP_GET_PERNR_FROM_USERID

Former Member
0 Kudos

HOW TO USE THIS FUNCTIONAL MODULE AND WHICH PARAMETERS ARE SUPPOSED TO PASS.

RP_GET_PERNR_FROM_USERID

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi these are the parameters for this FM

BEGDA P0105-BEGDA Starting date of the period

ENDDA P0105-ENDDA Final date of the period

USRID P0105-USRID System user name

USRTY P0105-USRTY System identifier (subtype)

Use the subtype 0001 of PA0105

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Please look into the code below

CALL FUNCTION 'RP_GET_PERNR_FROM_USERID'

EXPORTING

BEGDA = sy-datum ( Valid As on Begda as today

ENDDA = sy-datum ( Valid As on endda as today

USRID = wa_aend_uname( From Infotype 0105)

USRTY = '0001' ( User Type 0001 )

IMPORTING

USR_PERNR = wa_pernr

EXCEPTIONS

RETCD = 1

OTHERS = 2.

Regards

Pavan