Skip to Content
-1

How to add delivery in existing shipment via IDOC - msg type SHPMNT Basic type- SHPMNT05?

Jan 18 at 03:16 PM

117

avatar image

We receive an IDOC in ECC after PGI action in EWM.

At first instance suppose the shipment ABC is created in ECC with 10 deliveries.

The users add one more (11'th)delivery in the TU in EWM and perform PGI action.

So, we again receive an IDOC in ECC for the shipment ABC saved earlier.

The IDOC throws an error “Shipment XXXXXX already used”..

We want to bypass this error and add the new (11'th) delivery in the shipment ABC

Message type: SHPMNT

Basic Type: SHPMNT05

Process code: SHPM

Identification/Function Module : IDOC_INPUT_SHPMNT

How can i achieve this ?

Please mention the BADI or Customer exits if any .

10 |10000 characters needed characters left characters exceeded

It is not possible to add new delivery once the Shipment is scheduled.

Work around is to delete the shipment by calling BAPI_SHIPMENT_CHANGE

in customer exit EXIT_SAPLV55K_020 and let the IDOC_INPUT_SHPMNT perform

its standard processing

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jelena Perfiljeva
Jan 19 at 07:29 PM
1

I haven't used it this way personally but this IDoc has Qualifier field in the segments, so at minimum it needs to be filled in with the correct values for change operation. When you add new delivery you change a shipment. We can't just send the same IDoc with an additional delivery and expect SAP to understand we're trying to append delivery to an existing shipment.

Show 5 Share
10 |10000 characters needed characters left characters exceeded

Thanks.

So, If i fill the Qualifier fields then i will be able to accomplish my requirement ?

0

As was clearly stated in the answer, I have not tried it and can't possibly provide such assurance. Is anything preventing you from trying?

0

Thanks.

Is anything preventing you from being a bit polite ?

0

Sorry, I'm not interested in this kind of dialogue. Maybe you could use the suggestions already given, try something and share the results with the Community. That would be something more productive.

1

Will KINDLY do it .

Kindness is missing in this materialistic world.

0
G Lakshmipathi
Jan 22 at 08:40 AM
0

Yes and also add that field in BD52 for SHPMNT

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi,

I am a rookie in the Idoc area.

can you please help on why do we need and how can we do it ?

and also where do i need to change the Function Module : IDOC_INPUT_SHPMNT (if possible).

0