Skip to Content
0
Former Member
Jan 14, 2010 at 03:50 PM

LE_SHIPMENT_BADI : method : At_Save, modify fields

140 Views

Hi,

We can not change the vtrlk-trmtyp field.

We can use the LE_SHIPMENT_BADI, method is at_save.

Where is fault ?

if CHA_SHIPMENTS_AT_SAVE is initial.

CHA_SHIPMENTS_AT_SAVE = IM_shipments_AT_SAVE.

loop at cha_SHIPMENTS_AT_SAVE-new_vtrlk into waa_vtrlk .

waa_vtrlk-trmtyp = 'Z700'.

modify CHA_SHIPMENTS_AT_SAVE-new_vtrlk from waa_vtrlk.

endloop.

endif.

Thanks.