cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_SALESORDER_SIMULATE is not updating the Confirmed Qty in Schedule line

Former Member
0 Kudos

Hi,

I am trying to simulate the creation of a sales order using the BAPI_SALESORDER_SIMULATE.

The input is provided for Order header (ORDER_HEADER_IN) & the items are passed in ORDER_ITEMS_IN & the partners are also passed in ORDER_PARTNERS.

Ideally, the BAPI should simulate the sales order and display the schedule line with the confirmed quantity.

But unfortunately, the confirmed qty is not getting updated though the schedule lines are appearing.

The document no, Sales area, Req. delivery date & Purchase date have been passed to ORDER_HEADER_IN.

We are passing the item no, Material & required quantity in ORDER_ITEMS. We have also tried passing plant & storage location.

In ORDER_PARTNERS, we are passing the Sold to Party details.

Pls let me know the reason for this behaviour of the BAPI.

Regards,

Vinod

Edited by: kumar kumar on Aug 25, 2010 10:39 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Hi,

Can you please let me know how you have resolved the issue. I am facing the same problem.

In confirmed qty. is coming with a value in BAPI Output, where there is no Stock. But if I create a Sales Order , Confirmed Qty. is coming as Zero, which is correct.

Facing this problem in case of BOM Material. BOM Header line is giving the problem.

Former Member
0 Kudos

Hey

I think the question you are asking is different than kumar kumar,

but if it is the same, try checking whether there is a credit block on the customer you are testing on.

I had this problem before, and I used transaction FD32 on my customer to change the credit limit (I believe there are other ways to do this as well). CONFIR_QTY was then being populated accurately.

- Murray