Skip to Content
avatar image
Former Member

Help on the Transactional BAPI - Writing to R/3 BAPI

1)I have imported and created Model for a custom BAPI ZPM_CREATE_ORDER and TRANSACTIONAL BAPIs i.e., COMMIT & ROLLBACK bapis.

2)I have mapped the context from Model to Custom Controller and then to View Controller. Also, did the UI Element Binding.

3) Added the methods callBapi_Create_Order and callBapi_Transaction_Commit which contain the Bapi executin in Cust Controller.

But nothing happening if I click on the Create Order button of the View.

My onActionCreateOrder() Method contains just 2 lines of code 1) To call the callBapi_Create_Order of Custom Controller 2) To call callBapi_Commit()

No issues with connecting to R/3 i.e JCO Destinations etc., are good since the Retrieval BAPI works with no problems.

Am I missing something here ? Any help is appreciated....

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 20, 2006 at 04:35 AM

    hi, vivek

    just check your custom controller code.

    like binding of node and execution of modal objects.

    or you can send me your custom controller code.

    regards

    jitender

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      1.Have you linked the onAction...() with the button ?

      2.Put some reportSuccess("i am here") dummy messages in callBapi_Zpm_Create_Order( ) & callBapi_commit( )

      to check the program contol flow.

      3. Try to put BAPI transaction Commit function logic in R/3 only.

      4. Check the context mappings.

      Hope this solves the problem if not POST

      Regards

      Ananda