Integrate BAPI Template options - Commit Parameter

Add a configuration parameter per BAPI template to control BAPI_TRANSACTION_COMMIT call. There are few BAPIs that fails if commit is called right away as they need to follow the sequence. For eg: EAM_TASKLIST_CREATE which follows this sequence:

  1. EAM_TASKLIST_CREATE

  2. EAM_TASKLIST_POST

  3. BAPI_TRANSACTION_COMMIT

If BAPI_TRANSACTION_COMMIT is called right after EAM_TASKLIST_CREATE, SAP generates runtime error. Only option would be to additional development of Wrapper to combine EAM_TASKLIST_CREATE and EAM_TASKLIST_POST.

  • Prasad Wadekar
  • Jun 7 2024
  • Attach files