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

Use of BAPIs for FS CD

I am new to the world of BAPI and I need to ask a very basic question on the use of BAPIs with FS CD.

I need to call, from an external system via RFC, the following series of BAPIs on SAP FS CD






BAPI_PPLAN_ITEM_CREATE (this BAPI could be called more than 1 time with different data)

Is it possible to insert the entire set of calls within the boundaries of a transaction so that, at the end a either a COMMIT or ROLLBACK can be issued to confirm or not the entire transaction?

Do I need to COMMIT/ROLLBACK for every object (BP, IO, etc.)?

Do I need to issue a COMMIT after every BAPI call in order to be able to issue the next BAPI?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 19, 2005 at 10:56 AM

    Hello Enrico,

    I shall not waste toomany words trying to explain it to you when SAP has already done the job wonderfully!!

    Please read the documentation for the Function Modules BAPI_TRANSACTION_COMMIT and BAPI_TRANSACTION_ROLLBACK.

    If you happen to have furthr doubts, then please do get back with them and and we shall try to resolve them.


    Anand Mandalika.

    P.S: Seems like you have just registered on SDN and that this is your first post here. I welcome you to SDN. Have a nice time.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      thanks for your reply. I still need to do some more investigation and therefore I will add further details.

      1) The sequence of BAPIs reported in my initial posting is what FS CD requires to complete a business operation (inserting a one or more movements related to the issuing of a new policy for a new customer).

      2) These BAPIs are invoked using the IBM SAP Adapter for WBI (Web Sphere Business Integrator). The documentation of the adapter says that it supports the transactional mode (i.e. can issue a COMMIT/ROLLBACK at the end of the sequence of BAPIs and uses the same RFC connection for all the BAPIs in the same transaction).

      3) Nonetheless, somebody at the customer claims they have tried to issue the first 2 BAPIs (..) and that, in order for the second one to work, the first one had to be committed. I do not have any further detail on the type of test performed, but what I have reported seems not to match with the transaction capabilities the the BAPIs and the IBM Adapter claim to have.

      I can imagine 2 scenarios:

      a) There is something specific in the sequence of BAPIs BAPI_BUPA_CREATE_FROM_DATA


      that forces the COMMIT to be issued after the first one

      b) The test was not performed correctly (e.g. 2 different RFC connections were used for the 2 different BAPIs)

      Would it be possible for you to help me clarify a bit this problem?



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.