Hierarchy

⤷

⤷

IMG Activity
ID | BADI_IBASE_ARCHIVE | Business Add-In: Define Usage Check for Archiving |
Transaction Code | S_A4C_68001051 | (empty) |
Created on | 20030217 | |
Customizing Attributes | BADI_IBASE_ARCHIVE | IBase: Define Usage Check for Archiving |
Customizing Activity | BADI_IBASE_ARCHIVE | IBase: Define Usage Check for Archiving |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | BADI_IBASE_ARCHIVE |
Use
This Business Add-In (BAdI) is used in the installed base component (CRM-MD-INB). Package: IB12
You can use this enhancement to define your own checks, which must be successfully completed before an installed base can be archived and finally deleted.
This enhancement contains the CHECK_IBASE_ARCHIVE method, in which you can formulate the conditions under which an installed base cannot be archived.
The standard implementation checks whether there are existing transactions, or contracts for an installed base, or for the related installed base components. It is only possible to archive the installed base once the related transactions and contracts have been archived.
Requirements
Standard settings
The Business Add-In is active in the standard system.
The active implementation for the Business Add-In in the standard system is called CRM_IBASE_ARCHIVE.
In this Business Add-In, you can create your own implementations for the existing implementation. If you create your own implementations, you have to activate them. The standard implementation can be activated, or deactivated independently of this.
The Business Add-In can be used multiple times and is not filter-dependent.
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.
See also:
Methods
Business Attributes
ASAP Roadmap ID | 153 | Design enhancements |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-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 | BADI_IBASE_ARCHIVE | 0 | PFC0000017 | Installed Bases |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20030217 |
SAP Release Created in | 400 |