2005 Aug 04 6:07 AM
Hi folks,
We are working on one customer exit where we have access only to MSEG & MKPF tables, need to establish the link between the material document available in MSEG/MKPF with thes condition types. Where do I find the link?, and how do I link MSEG with condition type tables.
Any help would be highly appreciated.
Rgds,
2005 Aug 04 6:43 AM
Hi,
what conditions would you like to find?
- Purchase order conditions of the reference document?
- Moving average price of the article?
- Amounts of account booking?
There are some options, but the article movement itself has no classical pricing (with pricing procedures).
Regards,
Christian
2005 Aug 04 6:43 AM
Hi,
what conditions would you like to find?
- Purchase order conditions of the reference document?
- Moving average price of the article?
- Amounts of account booking?
There are some options, but the article movement itself has no classical pricing (with pricing procedures).
Regards,
Christian
2005 Aug 04 7:34 AM
Hi,
I need to find the condition types for Purchase order, and also sales order(delivery) as the posting of material document may happen from VL02N.
Rgds,
2005 Aug 04 8:27 AM
Hi,
then you first have to identify your 'original' document.
E.g. in MKPF-TCODE2 you can identify the transaction. If it's sales, then in MKPF-XBLNR the delivery is filled. In LIPS-VGBEL, -VGPOS you find the VBAK / VBAP key.
In VBAK-KNUMV you have the document number for the sales order conditions, they are stored in KONV (KONV-KPOSN = LIPS-VGPOS, check field length).
If it's purchasing, a similiar way to reference document is possible (but currently I don't have the time to search the fields, sorry).
Regards,
Christian