Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Update Shipment Planning Date and Time using BAPI_SHIPMENT_CHANGE

Hello All,

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.

Help needed.

Thanks & Regards,


Not what you were looking for? View more on this topic or Ask a question