Actions when Including Additional Customer Database Tables
We assume that the customer wants to process his own tables within the BAPI.
In this case, the following steps are required at most:
- Creating the customer tables
If you have not already done so, create the customer tables in the customer namespace.
Enhancing the BAPI by Including Additional Customer Database Tables. Programming the BAdIs
- Creating help structures
Create a help structure for each customer table. This structure contains all the fields of the customer table that are to be used in the BAPI. As mentioned above, this step is optional and is only used to ensure that the extension container has a clear, uniform structure.
For more information on help structures, see
In this case, as well, the first BAdI gives customers the option of performing data checks, while the second BAdI allows the further processing of the data passed on to the BAPI (also see Actions by the BAPI Developer). The standard BAdI rules apply here.
Read the documentation about
Business Add-Ins.Filling ExtensionIn before a BAPI call
The customer can generally use any structure for the data to transfer in the ExtensionIn container. If help structures are used, the structuring described in Actions for an Enhancement Based on Existing SAP Database Tables is available.
- Evaluating ExtensionOut after a BAPI callThe conversion of the ExtensionOut container to a structure may have to be implemented, depending on your specific situation.