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

!!URGENT!! HELP !! Issue with BAPI_TRANSACTION_COMMIT

Hi,

We have a custom BAPI to update a database table on R/3. This BAPI works fine when run in R/3 and also runs fine when we put the statement"COMMIT WORK" statement within the BAPI.

However, when we remove the "COMMIT WORK" statement from the BAPI and call BAPI_TRANSACTION_COMMIT FROM SAP Web Dynpro, commit to database table does not occur.

There are no error messages returned also.

Note: We are not running the BAPI in Test run mode.

Please advise possible solutions.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2005 at 10:20 AM

    Hi Shankar

    HAve you used two models for Custom BAPI and BAPI_TRANSACTION_COMMIT. If these 2 BAPIS are in 2 different models, They consume 2 different JCO which means that Each call is independent.

    Try using a single model for both the BAPI's in webdynpro.

    Regards

    NagaKishore V

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2005 at 10:20 AM

    Hi,

    Did you check the previous postings.

    problem-with-bapipochange--bapitransactioncommit

    problem-while-creating-sales-order

    Regards, Anilkumar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 03, 2005 at 10:27 AM

    Hi,

    Is ur BAPI remotely enabled?Chk it.

    Rdgs,

    guru

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2005 at 11:08 AM

    Nagas answer seems more plausible , however it is not mandatory that models be separated. Two different models can share the same connection if one is defined as the connection provider for the other.

    Regards

    Pran

    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.