Update Shipment Planning Date and Time using BAPI_SHIPMENT_CHANGE
How to update UPTEN and DPTEN fields in Shipment Document using BAPI_SHIPMENT_CHANGE ?
I tried the below method, but it didn't update the fields.
wa_hdrline-time_type =' HDRSTSEPDT'.
CONCATENATE wa_shphdr-dpten wa_shphdr-upten INTO g_utc.
wa_hdrline-time_stamp_utc = g_utc.
wa_hdrline-time_zone = sy-tzone.
wa_hdrlineact-time_stamp_utc = ''C'.
wa_hdrlineact-time_type = 'C'.
wa_hdrlineact-time_zone = 'C'.
APPEND wa_hdrline TO it_hdrline.
APPEND wa_hdrlineact TO it_hdrlineact.
I sent this to BAPI. But ended with the data not being updated.
Thanks & Regards,