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

any function module or coding to create pricing document

Former Member
0 Likes
923

Hello friends,

my requirement is like this, Im calculating sales price using bapi_rpc_calculate_prices function module, but this function module do not creates a pricing document, I need to create a pricing document with the out of bapi_rpc_calculate_prices function module, any body can help me in this regard, provide coding and example if possible for immediate requirement

2 REPLIES 2
Read only

Former Member
0 Likes
528

please give me a FM or BAPI to create pricing document. this document should take input from the function module bapi_rpc_calculate_prices, this function module calculates sales price, for this sales price i need to create pricing document, any answers appreciable

Read only

0 Likes
528

Hi,

In the same BAPI BAPI_RPC_CALCULATE_PRICES , in the table CALCITEMIN set the variable SP_MARKED_FOR_ACTIVATION to X. Let the BAPI_TRANSACTION_COMMIT follow the execution of this BAPI . This will create a pricing document in backend with the changes proposed.

regards,

Deepthi lakshmi.A