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

Regarding user exit BAPI_TRANSACTION_COMMIT

I'm trying to use BAPI_TRANSACTION_COMMIT in customer exit but its dumping. please let me know how to commit a transaction in user exit through CMOd

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Oct 18, 2006 at 07:25 AM

    Hi Anitha,

    i don't think we can use the COMMIT statement in the userexit.

    Regards,

    Nagaraj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2006 at 07:47 AM

    hi anitha,

    Check these links

    bapitransactioncommit

    question-with-commit-statement

    foolish-problem-with-using-bapisalesorderchange-

    Reward with points if it is helpful

    Cheers

    Alfred

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2006 at 08:41 AM

    in user exit i can create a notification using BAPI but i want to post or commit the created notification how this can be accomplished

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Anita

      As you are using BAPI in an user-exit, need not give explicit COMMIT WORK as the transaction itself will have implicit COMMIT WORK and that should do the work for both.

      Just try and execute totally without using BAPI_TRANSACTION_COMMIT.

      Kind Regards

      Eswar

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2006 at 04:50 AM

    Hi Eswar,

    Without BAPI_TRANSACTION_COMMIT its creating notification thr user exit but i can't display or change notification which is created thr tcode iw22/iw23. its giving some error.

    so i tried using a zprogram with BAPI_TRANSACTION_COMMIT its creating notification and that can be displayed and can be changed.

    Any idea or suggestion on this.

    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.