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: 

Manual Princing Condition not copied using BAPI

0 Kudos

Hi Guys,

Something pretty weird has been happening.. when I create a Sales Order over VA01 with reference a Contract, the Sales Order take the COMPLETE Contract Princing Condition, so its perfect. But When we're trying to use the BAPI (BAPI_SALESORDER_CREATEFROMDAT2 ) it does not create in the same way, I mean the MANUAL Pricing condition was deleted of my Sales Order Princing condition or does not show up for any reason.

do you know if there is a flag or some configuration where I set "Take the contract Princing condition"?

Thank you in advance!

Alexandre

2 REPLIES 2

just let you know my Copy Pricing Type is "C". and to remember its works perfect using the VA01.

Thank you!

0 Kudos

Guy,

Only to let all of you know that the soluion was call the function "PRICING_COPY" at the KOMP user exit and thus load the XKOMV table. It was because the standard process did not call this step when called througth the BAPI.

Regards,

Alexandre