CALL FUNCTION 'RP_GET_PERNR_FROM_USERID'
EXPORTING
BEGDA = sy-datum
ENDDA = sy-datum
USRID = sy-uname
USRTY = USTY
IMPORTING
USR_PERNR = WA_PERNR
EXCEPTIONS
RETCD = 1
OTHERS = 2
.
when I am using this in my code runtime error is coming...
whats wrong with the code