Ansicht
Dokumentation
ABENAMDP_BADIS - AMDP BADIS
ABAP Short Reference General Data in Customer MasterThis documentation is copyright by SAP AG.
- BAdIs
In addition to the option of implementing BAdI methods of a regular BAdI as AMDP procedure implementations and making these methods callable by using CALL BADI, it is also possible to create special AMDP BAdIs. An AMDP BAdI is a BAdI that is labeled accordingly in BAdI Builder and has the following properties:
- Definition and implementation
- An AMDP BAdI does not have any filters.
- Fallback BAdI implementation classes must be specified.
- Every BAdI method of an AMDP BAdI must be an AMDP procedure implementation.
- Every AMDP method must be implemented for the same database system.
- Call BAdI methods
- The AMDP procedure implementations of an AMDP BAdI can be called like regular BAdI methods with GET BADI and CALL BADI.
- The AMDP procedures of an AMDP BAdI created on the database can be called here, like all AMDP procedures, from other AMDP methods in the same database system. These AMDP procedures are specified using the name of a BAdI implementation class. The usage must be declared accordingly after the addition USING of the calling method.
- In both cases, execution takes place in accordance with the rules of the ABAP Enhancement Framework and the corresponding switch in Switch Framework. If no enhancement is available, the mandatory fallback implementation class is implemented.
Notes
- AMDP BAdIs are primarily used to execute calls of AMDP procedures from AMDP procedures or functions, in accordance with the rules of the switch-based ABAP Enhancement Framework. Although switch-based calls of AMDP procedure implementations can be made from ABAP programs without AMDP BAdIs, these calls can only be made from AMDP procedures or functions for AMDP procedure implementations of AMDP BAdIs. The AMDP framework ensures that the relevant database procedure for the current database switch setting is created on the database.
- Before the AMDP procedure of an AMDP BAdI can be called from other AMDP procedures or functions without syntax errors, it must already exist on the database when the calling method is created. For this reason, fallback BAdI implementation classes are mandatory for AMDP BAdIs, whose AMDP procedures can be created on the database whenever required.
- AMDP BADIs do not currently support AMDP function implementations.
CL_GUI_FRONTEND_SERVICES - Frontend Services RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 4139 Date: 20240418 Time: 071030 sap01-206 ( 65 ms )