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

BAPI successfully work but data not update in databae table

Hello All,

When we change item-quantity in any sales order by using bapi BAPI_SALESORDER_CHANGE, then it successfully run but quantiy not change in database table.

So pls help me to solve my problem.

Thanks and Regards.

Swatantra Pathak

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 12:40 PM

    Hi

    I think you need to set the value 'X' to the quantity field in ORDER_ITEM_INX internal table you are passing thru tables parameter in the BAPI call.

    And also make sure you had used the BAPI_TRANSACTION_COMMIT FM after ur BAPI call.

    Satya.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 28, 2008 at 12:36 PM

    bapi_transaction_commit ??

    After using 'any' BAPI, you must do the commit with FM 'BAPI_TRANSACTION_COMMIT'.

    Edited by: Micky Oestreich on Apr 28, 2008 2:38 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 12:38 PM

    Please use 'BAPI_TRANSACTION_COMMIT' at the end of Sales Order BAPI call.

    This would save the entries in the database.

    Regards

    Chetan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 28, 2008 at 12:38 PM

    Make sure to COMMIT your WORK(if you want to save) or ROLL it BACK (you just want to test or cancel) after your BAPI call.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 01:24 PM

    Hello All,

    When we change item-quantity in any sales order by using bapi BAPI_SALESORDER_CHANGE, then it successfully run but quantiy not change in database table.

    i also commit BAPI using bapi_transaction_commit.

    but database table not updated.

    So pls help me to solve my problem.

    Thanks and Regards.

    Swatantra Pathak

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 01:26 PM

    Hello All,

    When we change item-quantity in any sales order by using bapi BAPI_SALESORDER_CHANGE, then it successfully run but quantiy not change in database table.

    i also commit BAPI using bapi_transaction_commit.

    but database table not updated.

    So pls help me to solve my problem.

    Thanks and Regards.

    Swatantra Pathak

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2008 at 07:19 AM

    Thanks.

    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.