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 to change SO using BAPI_SALESORDER_CHANGE

Former Member
0 Likes
1,562

Dear All,

I got an error message described as below when to change a SO using BAPI_SALESORDER_CHANGE

V1-335: System error: Schedule line &1 for item &2 does not exist

I looked through my program and could not find any doubtable pieces of code.

All parameters (including updateflag='I') should be filled are assigned value correctly.

I searched on SDN but there is no valuable message can be refered.

Is there any one can tell what the problem caused by ?

Thanks in advance,

Kevin

1 ACCEPTED SOLUTION
Read only

vijay_hariharan
Contributor
0 Likes
873

Hi Kevin,

In a Sales order whenever you have an update to the quantity field in the Item section(either a newly added item or change of quantity in existing item), the corresponding schedule Line item needs to be updated as well.

Could you please check if while calling the BAPI you have included the schedule line for the additional line item or while changing the existing line.

Hope this helps.

Thanks & Regards,

Vijay

Dear All,

I got an error message described as below when to change a SO using BAPI_SALESORDER_CHANGE

V1-335: System error: Schedule line &1 for item &2 does not exist

I looked through my program and could not find any doubtable pieces of code.

All parameters (including updateflag='I') should be filled are assigned value correctly.

I searched on SDN but there is no valuable message can be refered.

Is there any one can tell what the problem caused by ?

Thanks in advance,

Kevin

1 REPLY 1
Read only

vijay_hariharan
Contributor
0 Likes
874

Hi Kevin,

In a Sales order whenever you have an update to the quantity field in the Item section(either a newly added item or change of quantity in existing item), the corresponding schedule Line item needs to be updated as well.

Could you please check if while calling the BAPI you have included the schedule line for the additional line item or while changing the existing line.

Hope this helps.

Thanks & Regards,

Vijay