Application Development and Automation 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: 
Read only

Partner function data in VOFM pricing routine

Former Member
0 Likes
1,145

Hi,

I have created a vofm pricing routine. there i can access conditions data in XKOMV table. likewise i need to access partner function data(VBPA). whether partner function data is visble in the pricing routine?

Regards,

Ravi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
737

Hi,

Partner function data will be available in the structure KOMK. Refer to the fields KUNNR(Sold-to-party), KNRZE (Payer), KUNRE (Bill to Party), KUNWE (Ship-to-party), SPDNR (Forwarding Agent), LIFNR (Vendor No), VRTNR(Sales Employee) of KOMK.

Regards

Vinod

3 REPLIES 3
Read only

Former Member
0 Likes
738

Hi,

Partner function data will be available in the structure KOMK. Refer to the fields KUNNR(Sold-to-party), KNRZE (Payer), KUNRE (Bill to Party), KUNWE (Ship-to-party), SPDNR (Forwarding Agent), LIFNR (Vendor No), VRTNR(Sales Employee) of KOMK.

Regards

Vinod

Read only

0 Likes
737

Hi,

Thanks for your answer. Structure komk have partner details. but our functional team customized and addedother fields also. while creating sale order , user will select from partner tab and add extra fields including general partners.(sold to, ship to, bill to, payer). how to get those fields?

Regards,

Ravi.

Read only

0 Likes
737

Hi,

Modify the structure KOMK with required field by appending the custom structure. Populate the data in KOMK structure using the user exit. If you are referring to billing transaction , then use user exit "RV60AFZZ" form routine "USEREXIT_PRICING_PREPARE_TKOMK" to populate the values into the custom field added in KOMK.

Regards

Vinod