feature의 return값 가져오는 법
사용예제
=========================================
TABLES: PME39.
DATA: RETCODE LIKE SY-SUBRC.
DATA: RETVAL(4) TYPE C.
* default: use "annual YMPE".
CLEAR p_SW_YMPE_opt.
PME39-BAREA = P_BAREA.
PME39-BPLAN = P_BPLAN.
CALL FUNCTION 'HR_FEATURE_BACKFIELD'
EXPORTING
FEATURE = 'PYMPE'
STRUC_CONTENT = PME39
* KIND_OF_ERROR =
IMPORTING
BACK = retval
CHANGING
STATUS = retcode
.
댓글 없음:
댓글 쓰기