cancel
Showing results for 
Search instead for 
Did you mean: 

FM for Sales Pricing via PS

atul_rajmane
Advisor
Advisor
0 Kudos
680

Dear All,

I would like to generate the Draft Sales Quotation via Sales Pricing functionality using customized report transactions.

I have created a report which shows all approved PS project projects which have DIP profile and Sales area defined at the Project definition level. It has billing WBS at which cost has been estimated in easy cost planning. The business requirement is when then press a button in the report, it should generate a quotation (i.e. similarly One press icon in Sales Pricing icon in CJ20N, and generate sales pricing quotation) without even going in CJ20N.

Based on my research I understand that we can use BAPI_SALESORDER_SIMULATE but not able to know which are parameters to pass into this BAPI as I didn't see any input parameter for WBS or DIP profile in this BAPI.

Would like to know if it's the correct approach or is they any other FM to generate sales quotations via sales pricing scnario.

Kindly advise.

Regards

Atul Rajmane

View Entire Topic
BalasubramanianAP
Active Contributor
0 Kudos

Hi, Adding to Venkat Sir's answer: wbs element is in the table parameter type BAPISDITMX.

But, I guess this bapi will create the actual quotation. But bapi_salesorder_simulate is something different in functionality and usage.May be, you may have to find some work-around / exit to check the pricing with out "COMMIT" is executed.

venkateswaran_k
Active Contributor

There is a test run option in import parameter. So I dont think any exit required,

You can pass the X in Test Run and confirm it .