
Defining a BAPI and Its Interface
Purpose
After you have carried out the review of the BAPI concept and it has been accepted, you can start defining the BAPI itself.
In this step, you will decide on the names, parameters, and characteristics of the BAPI and determine the structures in the ABAP Dictionary which the BAPI will be based on. Only after you have planned and defined these required details can you start to implement the BAPI and create the required programming objects.
The table below illustrates where the planned information is written and how it fits together.
Information in the BOR, Function Builder and ABAP Dictionary

Process Flow
To implement your BAPI in accordance with the required conventions, follow the guidelines for each of the tasks below. Follow the instructions in the references given in the second column.
Task |
For further information see: |
These BAPIs provide basic functions and can be implemented for most of the SAP business object types. Check whether the BAPI can be implemented as a standardized BAPI. |
Standardized BAPIs |
Test whether the key fields of the business object type are relevant for your BAPI. |
Determining the Object Type and Its Key FieldsFor information about creating SAP business object types see the documentation,
SAP Business Workflow. |
|
Defining the Interface Structure of the BAPI and
Standardized Parameters | |
| Naming Parameters in the Function Module | |
| Defining Data Formats | |
| Specifying Development Objects in the Dictionary | |
| Naming the Method in the BOR | |
| Naming Parameters in the BOR | |
Naming the Function Module and the Function Module Group |
Result
Once you have completed these steps, you will have defined your BAPI.