Saving custom fields in production order
-
In additional data screen
1.
PPCO0012->EXIT_SAPLCOKO1_001->ZXCO1U11
ci_aufk-zxxx = i_caufvd-zxxx.
2.
PPCO0012->EXIT_SAPLCOKO1_002->ZXCO1U12
e_coci_aufk-zxxx = ci_aufk-zxxx.
-
In standard screen
IF_EX_WORKORDER_UPDATE~AT_SAVE
CLEAR l_caufvd.
MOVE-CORRESPONDING is_header_dialog TO l_caufvd.
l_caufvd-zxxx = is_header_dialog-yyy.
CALL FUNCTION 'CO_BT_CAUFV_UPD'
EXPORTING
caufvd_upd = l_caufvd.