on 04-24-2007 2:48 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.