Actions when Including Additional Import Data that Does not Affect the Database Level
Use
We assume that the customer wants to use additional import data that is only required at runtime.
Process
This type of enhancement requires the following steps at most:
-
Creating Help Structures
In the first step, create data structures that contain the additional, related fields that are to be passed on to 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 the help structures, see Enhancing the BAPI with Import Data that Does Not Affect the Database Level.
-
Programming BAdIs
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.
-
Filling ExtensionIn Before a BAPI Call
The customer can generally structure the data to be transferred in the ExtensionIn container in any way. If help structures are used, the structuring described in Actions for an Enhancement Based on Existing SAP Database Tables is available.