on 08-13-2008 6:14 AM
DATA: USRID LIKE PA0105-USRID,
USRTY LIKE PA0105-USRTY.
USRID = PA0105-USRID.
USRTY = PA0105-USRTY.
*function module to the personnel number
CALL FUNCTION 'RP_GET_PERNR_FROM_USERID'
EXPORTING
BEGDA = sy-datum
ENDDA = sy-datum
USRID = USRID
USRTY = USRTY
IMPORTING
USR_PERNR = WA_PERNR
EXCEPTIONS
RETCD = 1
OTHERS = 2
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WHEN THE CODE IS RUN IT GIVES RUNTIME ERROR AND SAYS RET CODE (RETC) IS.....
hi
i think you have posted the question again,
when you pass dates to the function module , check your date format , the function module should work.
Check the preivous post i have mentioned the date format.
Regards
Sameer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.