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

BAPI_TRANSACTION_COMMIT

Hi,

I am using BAPI: BAPI_CONTRACT_CREATEFROMDATA.

After which i want to use the bapi : BAPI_TRANSACTION_COMMIT.

Could anyone please tell me how do i go about it.

Thanks,

Riya.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 12:33 PM

    some of the bapi's are not auto committed then u need to use this commit bapi, other wise data is not stored in database.

    rewards some points if helpful

    madhavi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2008 at 12:33 PM

    Hi,

    After calling BAPI_CONTRACT_CREATEFROMDATA with the appropriate parameters and if this BAPI has succeeded (contract has been created successfully do the following:

    if not SALESDOCUMENT is initial. "contract document created

    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

    EXPORTING

    wait = ' '.

    else.

    " issue error messages as the contract has not been created

    endif.

    Reward if helpful.

    Regards,

    George

    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.