cancel
Showing results for 
Search instead for 
Did you mean: 

passing of variables in BAPI_SHIPMENT_CREATE

Former Member
0 Kudos

hi,

i want to pass the following varaiables in BAPI_SHIPMENT_CREATE

DTDIS(planning date)

UZDIS(planning time)

DATEN(shipment end date )

Shipment end time (UATEN).

So ,to which vraibles i shud pass them in this bapi .

Regards,

shilpa

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You need to fill the record in the table BAPISHIPMENTHEADERDEADLINE with the time type, time stamp and time zone.

The available time type are below

HDRSTPLDT = Status planned

HDRSTCIPDT = Status checkin plan

HDRSTCIADT = Status checkin act

HDRSTLSPDT = Status load start plan

HDRSTLSADT = Status load start act

HDRSTLEPDT = Status load end plan

HDRSTLEADT = Status load end act

HDRSTCPDT = Status complete plan

HDRSTCADT = Status copmlete act

HDRSTSSPDT = Status ship start plan

HDRSTSSADT = Status ship start act

HDRSTSEPDT = Status ship end plan

HDRSTSEADT = Status shipmnt end act

HDRTNDEPDT = Tender earliest pick

HDRTNDLPDT = Tendering latest pick

HDRTNDEDDT = Tender early delivery

HDRTNDLDDT = Tender latest delivery

STLSTPDT = Stage start plan

STLSTADT = Stage start act

STLENDPT = Stage end plan

STLENADT Stage end act

Best regards,

Former Member
0 Kudos

Hi,

i want to pass these planning date( DTDIS)

Planning time (UZDIS)

Shipment end date (DATEN)

Shipemnt end time (UATEN)

So, as u suggested bapishipmentheaderdeadline i coudnt fing any of theses variables with that type .. so, could you please tell me in *step by step procedure* how do i do this .

where shulod i pass this varaibles in BAPI_SHIPMENT_CREATE

Regards,

shilpa

Former Member
0 Kudos

Hi,

Please check the deadline types in include program LV56I_BAPITOP in global constant zone.

As you need only the execution date&time of the planning and shipment end step, so in the headerdeadline table of BAPI_SHIPMENT_CREATE, you havve to fill only 2 records which the deadline type are

HDRSTPLDT and HDRSTSEADT

-


For example if you has the planning on 08SEP09 08:30 and shipment end on 09SEP09 09:45

you have to fill up the record in headerdeadline as below

TIME_TYPE | TIME_STAMP_UTC | TIME_ZONE

HDRSTPLDT|20090908083000|UTC

HDRSTSEADT|20090909094500|UTC

Best regards,