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: 

Manual Princing Condition not copied using BAPI

0 Kudos
1,983

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

3 REPLIES 3

1,032

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

Thank you!

0 Kudos
1,032

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

JAYKIM
Newcomer
0 Kudos
906

SD_SALESDOCUMENT_CREATE does not support "Create with reference" function. You can find the details from the note 3197522 and 550726