Application Development 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: 

Issue with BAPI_SALESORDER_SIMULATE Schedule lines

Former Member
0 Kudos

Hi All,

I am trying to simulate the sales order using BAPI_SALESORDER_SIMULATE function module.

If the document  type is Quotation then i am able to see all the schedule lines ,but when i pass the document type as sales order type then  the bapi is returning only one schedule line. When i was trying to create the order using VA01, i could see  two schedule lines with requested and confirmed delivery dates.

Thanks in advance for your help.

5 REPLIES 5

former_member185537
Participant
0 Kudos

Hi Jaga,

What is you're requirement ?

0 Kudos

HI Venkat

I am not able to get multiple schedule lines using BAPI_SALESORDER_SIMULATE.

former_member185537
Participant
0 Kudos

Hi Jaga,

This depend on the schedule lines configurations for the sales docs.

0 Kudos

Hi Venkat,

Using VA01, I am able to see the multiple schedule line for the same doc type.

0 Kudos

Hi Venkat

Got the solution. The customer is on credit hold.  BAPI is deleting the schedule lines  if the doc type is other than Quotation if the customer is on credit hold.

Thank you for your inputs.