Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update Shipment Status

Former Member
0 Likes
1,468

Hi,

I want to update the Status of a Shipment to "Shipment Completion" status using an Inbound IDoc.

What is the message type/IDoc type/ Process code for this requirement? Please let me know what segments and fields need to be filled to update the shipment status.

Thanks a lot for all the help. Any help would be appreciated.

Sneha

6 REPLIES 6
Read only

Former Member
0 Likes
1,087

IDOC Type would be SHPMNT05

Message type : SHPADV

Process code : SHPM

FM : IDOC_INPUT_SHPMNT

Thanks

Seshu

Read only

0 Likes
1,087

Hi Seshu,

Thanks a lot for your quick reply.

I tried that and it does not work.

Can you please tell me which segments and fields to fill inorder to update the status of shipment to "Shipment Completion"?

Thanks,

Sneha

Read only

0 Likes
1,087

I found the answer and thought this might be useful for others in the forum

I used <b>TPSSHT01</b> Idoc and <b>SHIPPL</b> message type and process code <b>SHIP</b>

Segments to fill

<b>E1TPSHH</b>

<i>Shipment Number</i>

<i>Shipment Type</i>

<i>Transportation Planning Pt.</i>

<b>E1TPACC</b>

<i>Action Code: M</i>

<b>E1EDT10</b>

<i>Qualifier : 004

Fill up all dates and times and time zones.</i>

This should update the shipment status to "Shipment Completion"

Hope this helps.

Regards,

Sneha

Read only

0 Likes
1,087

earlier I gave Wrong Idoc type ,see the below idoc type:

IDOC Type : SHIPMENT_CREATEFROMDATA01

Message type : SHIPMENT_CREATEFROMDATA

E1BPSHIPMENTHEADER -> this segment contains Status - STABF

FM : IDOC_INPUT_SHIPMENT_CREATEFROM

Read only

0 Likes
1,087

Hi Seshu,

IDOC Type : SHIPMENT_CREATEFROMDATA01 creates a shipment.

My reuirement is to update an existing shipment and set shipment status to 5 "Shipment Complete".

I tried TPSSHT01 and message type SHIPPL and it works but when I try to create a shipment (VT01n) with the same transportation point, it says I cannot create a shipment, because this transportation planning point is connected with an external transportation planning system.

Thanks for all the help.

Regards,

Sneha

Read only

0 Likes
1,087

Hi Sneha,

I have the same requirement, did u get any solution