Skip to Content
author's profile photo Former Member
Former Member

Issue in BAPI_SALESDOCUMENT_CHANGE

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2014 at 02:47 PM

    Do you have a BAPI COMMIT FM after it?

    Neal

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2014 at 03:01 PM

    Probably You have to change schedule line also.

    Regards,

    Jarek

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.