Dear all,
I'm trying to change the delivery date from exit EXIT_SAPMM06E_013 but the system doesn't keep my changes. I'm able to change the delivery date in exit EXIT_SAPMM06E_017 but I need to make it from exit 013 because I need know the confirmations from tables XEKES/YEKES.
I'm on release 4.6C and I don't have the chance to use the BADI ME_PROCESS_PO_CUST.
Is there a way to make this from exit 013?
Here is the code I'm trying to use:
DATA : wa_table(100) TYPE c, t_ett TYPE STANDARD TABLE OF beket, wa_ett TYPE beket. FIELD-SYMBOLS: <fs_ett> TYPE ANY TABLE. IF sy-tcode = 'ME22N'. wa_table = '(SAPLMEPO)ETT[]'. ELSEIF sy-tcode = 'ME22'. wa_table = '(SAPMM06E)ETT[]'. ELSE. EXIT. ENDIF. ASSIGN (wa_table) TO <fs_ett>. t_ett[] = <fs_ett>[]. LOOP AT t_ett INTO wa_ett. IF sy-tcode(4) = 'ME21'. wa_ett-eindt = sy-datum. ELSEIF sy-tcode(4) = 'ME22'. wa_ett-eindt = sy-datum. wa_ett-updkz = 'U'. ENDIF. MODIFY t_ett FROM wa_ett. ENDLOOP. <fs_ett>[] = t_ett[]. UNASSIGN <fs_ett>.
Thanks for your help.
Elio