Chose Target and Source, For example: Target G2 and Source is CR
Header: Reference number (A:Purchase Order number, B:Sales Order number...)
Item: Data VBRK/VBRP (For example 904.)
You can change consolidation conditions in Source below:
Include: RV60AFZC
Exit: USEREXIT_FILL_VBRK_VBRP
change the value of VBRK-XBLNR and VBRK-BSTNK_VF.
IF *TVCPF-XBLNR_FI = 'A'.
VBRK-XBLNR = VBAK-BSTNK.
VBRK-BSTNK_VF = VBAK-BSTNK.
ENDIF.
Include: RV60C904
FORM DATEN_KOPIEREN_904.
" change value of vbrk-zukri
ENDFORM.
没有评论:
发表评论