Application Development 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: 

Update shipments using SHPMNT03

Former Member
0 Kudos

Hi All,

I have been looking for some help in the Logistics IDocs area.

The current inbound interface utilizes the following to perform the creation, pick (SDPICK), pack (SDPACK), status update and PGI functions:

IDOC Type: SHPMNT03

Msg Type: SHPMNT

Msg Function: SHP

Function Module: IDOC_INPUT_SHPMNT

In future, shipments will be created by this third party transportation system that the client uses. So we need this interface to do everything else but create, i.e., pick, pack, status update and PGI functions.

Is there a way to use SHPMNT03 Idoc to update shipments instead of creating shipments? If yes, what needs to be done? We do not want to change the Idoc type because its being used by a number of warehouses.

Thanks,

Jay Viswanathan.

2 REPLIES 2

Former Member
0 Kudos

I suspect as long as you pass the shipment number, you might not need to do anything else. Have you tried to post the IDoc against an existing shipment yet?

Former Member
0 Kudos

Hi,

In the given function IDOC_INPUT_SHPMNT,search for function which processes shipment (SD_SHIPMENT_PROCESS).This function internal can identify activities as create,update,delete .If before this functional call you can check IDoc data in exit (EXIT_SAPLV55K_021 )& modify it whenever you get create activity to Update activity ,it should solve your problem.

Not sure whether this is what you were looking for .

Thanks.

Mark points if helpful.