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: 

EDI: Can storage locations be overwritten by an inbound WHSCON (pick conf)?

peter_wallner2
Active Contributor
0 Kudos

Dear experts,

We have a scenario  (SAP release ECC 6.0) where an existing Inbound Delivery is updated

with a WHSCON iDoc. The Inbound Delivery is manually set up and then the warehouse

sends a confirmation when the materials are put away.

The "Putaway Quantity" is updated with the iDoc but the "Batch" is not

updated.

If I use VL32N I can update the batch manually but the WHSCON iDoc does not do the job.

Do you know if it is even possible to update the "Batch" using WHSCON?

Thank you for an ideas,

Peter

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

It should be possible to update the batch if you send the batch in E1EDL24-CHARG field. What problem you are getting?

Regards,

R

3 REPLIES 3

Former Member
0 Kudos

Hi,

It should be possible to update the batch if you send the batch in E1EDL24-CHARG field. What problem you are getting?

Regards,

R

0 Kudos

Hello Rudra Roy,

Sorry, I had a mistake in my description. Like mentioned in the headline it is about changing the storage location - not the batch.

So using WE19 I set the wanted storage location in E1EDL24-LGORT.

The Inbound delivery has Putaway Status "A" and also Goods movement status "A". Only the Overall confirmation status is "C" which confuses me a bit.

The Putaway Quantity is blank, the storage location is "0009".

Now in WE19 I set the wanted storage location E1EDL24-LGORT to "0001". A batch is also set but that should not matter I think.

Now I process the iDoc and the Putaway Quantity is set, also the batch but the storage location does not change to 0001 - it stays at 0009.

Is tried debugging but could not find the place where the storage location is set.

Could you please give me a hint how to solve the problem?

thank you and best regards,

Peter

0 Kudos

Hi Peter,

I am afraid, the Storage Location is not mapped to target structure by default in IDOC_INPUT_DELVRY. That is why it is not getting updated. What we can do is to write a small piece of code inside the exit inside the FM and update T_KOPO internal table field LGORT from the IDOC_DATA. We can use EXIT_SAPLV55K_001/002 for this. Remember to put a check inside a exit so that it is triggered for your message type or extension.

Regards,

R