cancel
Showing results for 
Search instead for 
Did you mean: 

Need to determine plant and storaeg location for item in delivery

0 Kudos

Hello All,

I have an inbound IDOC which changes the quantity of items in a delivery and also adds new items if necessary. I need to do a auto PGI also if required.

Am using BDC to update the delivery. Now the problem is when I add a new item to the delivery. I add the material, quantity and Unit recieved from the IDOC. I need to determine the plant and storage location and fill that too in the delivery.

Kindly let me know how I can determine these two values. Which table holds this data?

Please note that I am changing only the delivery. The document preceding the delivery wont be changed.

Thanks for your help.

Regards,

Johnson

Accepted Solutions (1)

Accepted Solutions (1)

rmazzali
Active Contributor
0 Kudos

normally the plant is determined on this basis:

customer inforecord (table KNMT)

customer master (KNVV)

material (MVKE)

The storage location is determined in table TVKOL based on:

shipping point (you have it in delivery header LIKP-VSTEL)

plant (see above)

storage conditions (material master MARA-RAUBE)

regards

Roberto

Former Member
0 Kudos

This message was moderated.

Answers (0)