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

Issue with BAPI_SALESORDER_SIMULATE Schedule lines

Former Member
0 Likes
1,982

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.

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
Read only

Former Member
0 Likes
1,378

Hi Jaga,

What is you're requirement ?

Read only

0 Likes
1,378

HI Venkat

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

Read only

Former Member
0 Likes
1,378

Hi Jaga,

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

Read only

0 Likes
1,378

Hi Venkat,

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

Read only

0 Likes
1,378

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.