BAPI stands for Business Application Programming Interface. It is a precisely defined interface providing access to processes and data in business application systems such as SAP R/3. This tutorial provides BAPI PDF training materials, Tcodes and Tables
BAPIs are defined as API methods of SAP business object types. BAPIs can be called within the R/3 System from external application systems and other programs.
BAPI Menu path in SAP
Here is the possible menu path to access BAPI menu in SAP.
Logistics – Logistics Execution – Master Data – Transportation – Shipment Costs – ALE Monitoring – Goto – ALE Development – BAPI –
Tools – ALE – ALE Development – BAPI –
Logistics – Logistics Execution – Transportation – Transportation Planning – External Planning System – ALE Monitoring – Goto – ALE Development – BAPI –
Tools – Business Framework – BAPI Development – ALE Development – BAPI –
SAP BAPI Tcodes
Here is a list of possible transaction codes dealing with BAPI in SAP.
- BAPI Explorer – BAPI
- BAPI Browser – INT_BAPI
- BAPI Explorer – BAPIW
- BAPI Browser – BAPI45
- GJ BAPI parameter mapping – GJBM
- Create ALE Interface for BAPI – BDBG
- BAPI Test Environment – SBIT
- BAPI planned order processing – MDBA
- GM BDT BAPI Fields to Field Groups – GMS26
- Hierarchy maintenance of BAPI param. – BDBP
- Register BAPI for Data Transfer – BDBR
- ConfigPanel – BAPI Wrapper Settings – /SYCLO/CFG_BAPI
- FPC: Assign BAPI Flds to Field Grps – FMME26
- Test Transaction BAPI Count List – VKU8
- PRICAT: BAPI outbound IDoc test data – PRICREAT
- Syclo BAPI Workflow Inbox – /SYCLO/CORE_WF_INBOX
SAP BAPI Tables
Here is a list of possible system tables storing BAPI related data in SAP.
- Process link to BAPI and business types – BAPI texts – OIRHPRBAPIT
- Mapping between the master data and the BAPI parameters – TIVXCITCADMAP
- BAPI Business type Process linking – OIRHPRCONFC
- MMIM: Possible Codes for BAPI Goods Movement – T158G
- Maintain Call ID for BAPI for Document Posting – TFKCALLID
- Process link to BAPI and business types – BAPIs – OIRHPRBAPI
- BAPI Caller (Text Table) – TFKCALLIDT
Table Fields with BAPI data
Here is a list of possible table fields which are may be used for storing BAPI related data in SAP.
- COLLINDEX – Position of the BAPI in BAPI sequence
- SRCSEQID – Position of the BAPI in BAPI sequence
- DESTSEQID – Position of the BAPI in BAPI sequence
- NUMINST – Position of the BAPI in BAPI sequence
- SEQID – Position of the BAPI in BAPI sequence
- ID – Numerical ID of tool in BAPI Explorer
- SPEC_ID – Check Number in BAPI Todo Specification
- WIZARD – Priority of Todo Message in BAPI Wizard
- EXPLORER – Priority of Todo Message in BAPI Explorer
- GENERATE – Priority of Todo Message for BAPI/BO Generation
- RELEASING – Priority of Todo Message for BAPI Release
- SRCDTYPE – Data type of BAPI parameter
- SRCROWBEG – Line number in BAPI table
- SRCROWEND – Line number in BAPI table
- SOURCESORC – Line number in BAPI table
- DESTDTYPE – Data type of BAPI parameter
- DESTROWBEG – Line number in BAPI table
- DESTROWEND – Line number in BAPI table
- DATATYPE – Data type of BAPI parameter
- GM_CODE – Assign code to transaction for BAPI goods movement
Function Modules for BAPI in SAP
Here is a list of possible function modules which may be used with BAPI related processes in SAP.
- /BA1/ALE_F4_FXV_CHANGE – BAPI -> IDoc: /BA1/ALE_F4_FXV_CHANGE
- /BA1/ALE_F4_FXV_CREATE – BAPI -> IDoc: /BA1/ALE_F4_FXV_CREATE
- /BA1/ALE_F4_FXV_MODIFY – BAPI -> IDoc: /BA1/ALE_F4_FXV_MODIFY
- /BA1/ALE_F4_FX_CHANGE – BAPI -> IDoc: /BA1/ALE_F4_FX_CHANGE
- /BA1/ALE_F4_FX_CREATE – BAPI -> IDoc: /BA1/ALE_F4_FX_CREATE
- /BA1/ALE_F4_FX_MODIFY – BAPI -> IDoc: /BA1/ALE_F4_FX_MODIFY
- /BA1/ALE_F4_IRR_CHANGE – BAPI -> IDoc: /BA1/ALE_F4_IRR_CHANGE
- /BA1/ALE_F4_IRR_CREATE – BAPI -> IDoc: /BA1/ALE_F4_IRR_CREATE
- /BA1/ALE_F4_IRR_MODIFY – BAPI -> IDoc: /BA1/ALE_F4_IRR_MODIFY
- /BA1/ALE_F4_IRS_CHANGE – BAPI -> IDoc: /BA1/ALE_F4_IRS_CHANGE
- /BA1/ALE_F4_IRS_CREATE – BAPI -> IDoc: /BA1/ALE_F4_IRS_CREATE
- /BA1/ALE_F4_IRS_MODIFY – BAPI -> IDoc: /BA1/ALE_F4_IRS_MODIFY
- /BA1/ALE_F4_IRV_CHANGE – BAPI -> IDoc: /BA1/ALE_F4_IRV_CHANGE
- /BA1/ALE_F4_IRV_CREATE – BAPI -> IDoc: /BA1/ALE_F4_IRV_CREATE
- /BA1/ALE_F4_IRV_MODIFY – BAPI -> IDoc: /BA1/ALE_F4_IRV_MODIFY
- /BA1/ALE_F4_SEC_CHANGE – BAPI -> IDoc: /BA1/ALE_F4_SEC_CHANGE
- /BA1/ALE_F4_SEC_CREATE – BAPI -> IDoc: /BA1/ALE_F4_SEC_CREATE
- /BA1/ALE_F4_SEC_MODIFY – BAPI -> IDoc: /BA1/ALE_F4_SEC_MODIFY
- /BA1/ALE_F4_SEV_CHANGE – BAPI -> IDoc: /BA1/ALE_F4_SEV_CHANGE
- /BA1/ALE_F4_SEV_CREATE – BAPI -> IDoc: /BA1/ALE_F4_SEV_CREATE
BAPI handling Components in SAP
Here is a list of possible components / sub modules which may be dealing with BAPI related processes in SAP. List contains sub module name, then containing component and description.
- CA-BFA-AAP – B200000067 – BAPI Concept
- BC-FES-AIT-BAP – HLB0100176 – BAPI ActiveX
- PPM-PRO-EXT-API – CP40000005 – BAPI Interface for cProjects
- BC-FES-AIT-CLS – B200000172 – Class Libraries (RFC, BAPI, IDOC) for C++/Java
- BC-FES-AIT-AST – B200000174 – SAP Assistant, Repository Server and Browser, BOE, BAPI Gat
- BC-MID-API – HLB0009822 – BAPI Tools (for BAPIs see Note 813411)