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 Shipment via inbound Idoc

Former Member
0 Kudos
3,358

Hi folks,

My client has a requirement to update an inbound shipment with data provided from an external party (i.e. arrival date and departure date of shipment, vehicle ID, etc). We've identified some SAP standard fields via the shipment transaction that we wish to use, and the client wishes to update this information using Idocs. I'm testing the viability of this and getting no end of idoc errors.

I'm using Message type SHPMNT, Basic Type SHPMNT05, Process Code: SHPM and testing in WE19 via FM IDOC_INPUT_SHPMNT.

First question - Is this the right combination of idoc components to use to update a shipment? If not, what should I use?

Second question: I'm passing basic data - Shipment number and the fields we wish to change. Do I need to set the E1EDT18 qualifier to 'CHA' or 'PID' and field name to be modified? It doesn't seem to be working, and when I set it to PID, it appears to get overwritten to 'ORI', which makes me think I'm using the wrong Idoc type?

Any help would be greatfully appreciated and point will be awarded for solutions.

Cheers,

Steve

1 ACCEPTED SOLUTION

Former Member
0 Kudos
619

I think you should use SHPADV as message type, all other ok.

Some info :

http://help.sap.com/erp2005_ehp_03/helpdata/EN/25/42a5ca89bf11d288de0000e8214d78/frameset.htm

Extract :

· Shipment message SHPADV allows you to change a shipment. The system determines the shipment using the supplier number and the freight forwarder's shipment number. You must transmit the whole shipment when you make a change.

· The bases for the conversion of standard message types into SAP message types are the IDoc types

¡ DELVRY03 for shipping notification DESADV

¡ SHPMNT05 for shipment message SHPADV

2 REPLIES 2

Former Member
0 Kudos
620

I think you should use SHPADV as message type, all other ok.

Some info :

http://help.sap.com/erp2005_ehp_03/helpdata/EN/25/42a5ca89bf11d288de0000e8214d78/frameset.htm

Extract :

· Shipment message SHPADV allows you to change a shipment. The system determines the shipment using the supplier number and the freight forwarder's shipment number. You must transmit the whole shipment when you make a change.

· The bases for the conversion of standard message types into SAP message types are the IDoc types

¡ DELVRY03 for shipping notification DESADV

¡ SHPMNT05 for shipment message SHPADV

Former Member
0 Kudos
619

Hi,

I would like to know If you have solved (and How?)your problem because I have to do same. I have to to update an inbound shipment with data provided from an external party.

I'm using Message type SHPMNT, Basic Type SHPMNT03, Process Code: SHPM and testing in WE19 via FM IDOC_INPUT_SHPMNT, similar as you.

I have put in the shipment in field VTTK-EXTI1 the number of the shipment.

In WE19, i have filled with E1EDT20-EXTI1 the number of the shipment, too and E1EDT18-QUALF = 'CHA' and PARAM ='2'.

With this I have changed same fields of the shipment.

I have to prove mores because the problem is that i can`t use the field E1EDT20-EXTI1 because it is being used for other things.

If you have obteined the soluction, please tell me something.

Thank you!