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 in BAPI_SALESDOCUMENT_CHANGE

Former Member
0 Likes
828

Dear All,

When we change the Sales Order Quantity in change mode(VA02), we are using BAPI_SALESDOCUMENT_CHANGE - Bapi, But when i change the quantity, it is not modified its updated quantity.

Eg: Sale Order quantity while creating is 10. when i change the quantity from 10 to  2, it is  updated with 10 + 2 = 12. but my requirement is,  it should be 2 only.

Please suggest me where it is going wrong.


Note: I used UPDATEFLAG = 'U'.



Regards,

Viswa.

Dear All,

When we change the Sales Order Quantity in change mode(VA02), we are using BAPI_SALESDOCUMENT_CHANGE - Bapi, But when i change the quantity, it is not modified its updated quantity.

Eg: Sale Order quantity while creating is 10. when i change the quantity from 10 to  2, it is  updated with 10 + 2 = 12. but my requirement is,  it should be 2 only.

Please suggest me where it is going wrong.


Note: I used UPDATEFLAG = 'U'.



Regards,

Viswa.

3 REPLIES 3
Read only

Former Member
0 Likes
695

Do you have a BAPI COMMIT FM after it?

Neal

Read only

0 Likes
695

I used BAPI COMMIT also. but not comming.

With Regards

Visva

Read only

JarosBaw
Active Participant
0 Likes
695

Probably You have to change schedule line also.

Regards,

Jarek