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

Problem with BAPI_SALESORDER_SIMULATE

Former Member
0 Likes
1,194

Hi,

I need to get the pricing for a BOM header based on the pricing for the components and then execute a logic in a pricing routine. The routine is only called for the BOM header component during creation of the sales order. I'm trying to use BAPI_SALESORDER_SIMULATE to simulate the pricing and then derive the net value for the header material based on the netvalue of the components for the header material.

The BAPI does not work in the routine. Though it does not give any error( the return structure is empty), it does not populate the output internal table(ORDER_ITEMS_OUT). For the test data, the BAPI works in SE37. It also works in a separate SE38 report.

I have tried other options like perform <form>(<program>) inside the routine but it still does not work. It however works if I submit an external executable program and get the results back from memory.

Does anyone know why the BAPI is not working in this scenario ?...

Regards,

Aravind

1 REPLY 1
Read only

Former Member
0 Likes
424

Hi Karen,

Have you already applied the OSS Note 380620?

Also take a look at

Regards,

Rob