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: 

MSEG & Contion types link

Former Member
0 Kudos

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,

1 ACCEPTED SOLUTION

christian_wohlfahrt
Active Contributor
0 Kudos

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

3 REPLIES 3

christian_wohlfahrt
Active Contributor
0 Kudos

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

0 Kudos

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,

0 Kudos

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