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

BAPI_SALESORDER_CHANGE.

Former Member
0 Likes
1,140

Dear All,

I have used Function Module BAPI_SALESORDER_CHANGE to modify existing Quantity in Sales Order Item .

It is working properly But my Issue is that Once Quantity Field is changed it become NON EDITABLE .

Can any one help me know , what should I do so that Quantity field remains Editable .

Dear All,

I have used Function Module BAPI_SALESORDER_CHANGE to modify existing Quantity in Sales Order Item .

It is working properly But my Issue is that Once Quantity Field is changed it become NON EDITABLE .

Can any one help me know , what should I do so that Quantity field remains Editable .

6 REPLIES 6
Read only

UweFetzer_se38
Active Contributor
0 Likes
1,022

Hi Deepa,

probably because the change of the QTY creates a new schedule line (ATP check?). If more than one schedule lines exists, the QTY on item level is not changable anymore.

Regards, Uwe

Read only

0 Likes
1,022

thanks Uwe .

Can you please help me know what should I do so that it remains editable

Read only

0 Likes
1,022

It depends. Have you checked the order for a second schedule line?

If the changed quantity is not available at the requested date you may change the date also while changing the qty.

Regards, Uwe

Read only

0 Likes
1,022

Hi Uwe ,

I have checked in Table VBEP , Schedule Line Number ETENR is same for for every Sales Order Item number .

But still Quantity field is in Non Editable Mode after use of BAPI .

Can any one help

Read only

0 Likes
1,022

Hi Uwe

I have checked .

New Sales Oder item are getting created altough I have used Update Flag as U .

Can you please help me know how should I keep it in editable mode .

Read only

former_member125931
Active Participant
0 Likes
1,022

Hi,

Have u tried in VA02 transaction?