Hierarchy

⤷

⤷

IMG Activity
ID | CM_AS_XX_640 | BAdI: Integration of Grants in Fee Calculation |
Transaction Code | S_KK4_82000997 | (empty) |
Created on | 20020928 | |
Customizing Attributes | CM_AS_XX_640 | BADI: Integration of Grants in Fee Calculation |
Customizing Activity | CM_AS_XX_640 | BAdI: Integration of Grants in Fee Calculation |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | CM_AS_XX_640 |
Use
This business add-in (BAdI) is used in Campus Management Student Accounting (component IS-HER-CM-AC).
You can use this BAdI to include student grants in fee calculation, in particular when you split up payables based on a due date schedule.
The BAdI has the following methods:
- READ_SPONSORING
You can use this method to get information on the grants assigned to a student in a given fee calculation period.
- EVALUATE_SPONSORING
You can use this method to evaluate the grants assigned to a student and influence the due date of payables based on the evaluation result.
Note
The SAP System contains the example implementation CMAC_BADI_DDS_SAMPLE (Exmpl. Implementation for Integration of Sponsoring and Fee Calculation). This implementation is inactive, that is, not defined as an example implementation in the system.
Further notes
You should perform this activity only if both of the following conditions are satisfied:
- The SAP standard processes do not cover your requirements.
- You have an in-depth knowledge of the ABAP programming language.
Business add-in implementations are code extensions and therefore apply across clients. If you have a multiclient system, you have to define how the customer enhancement is to be used within the implementation for each client using the system variable SY-MANDT.
Business add-ins without multiple usages can have several implementations. However, only one of these implementations may be active at any one time.
You must also make sure that instance creation for the implementing class (Properties tab page) is declared as public and not as private, protected, or abstract. Otherwise unwanted short dumps may occur during runtime.
General information and implementation instructions for business add-ins are found in the SAP library under Basis Components -> ABAP Workbench (BC DWB) -> Changes to the SAP Standard (BC) -> Business Add-Ins. You can also access this documentation from the initial BAdI builder screen via Help -> Application help.
Activities
After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.
If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:
- In the dialog box, enter a name for the implementation of the Add-In and choose Create.
The system displays the initial screen for creating Business Add-In implementations. - On this screen, enter a short description for your implementation in the Implementation Short Text field.
- If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
- Save your entries and assign the Add-In to a package.
- To edit a method, double-click its name.
- Enter your implementation code between the
method <Interface Name>~<Name of Method>.
andendmethod.
statements. - Save and activate your code. Navigate back to the Change Implementation screen.
Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step: - Choose Activate.
When the application program is executed, the code you created is run through.
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 1 | Critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | CM_AS_XX_640 | 0 | KI47000003 | Student Accounting |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20030812 |
SAP Release Created in | 471 |