Hierarchy

⤷

⤷

IMG Activity
ID | EHSS_SPEC_CHECKS | BAdI: Extended Checks for Specifications |
Transaction Code | S_PLN_06000376 | (empty) |
Created on | 20030708 | |
Customizing Attributes | EHSS_SPEC_CHECKS | BAdI: Extended Checks for Specifications |
Customizing Activity | EHSS_SPEC_CHECKS | BAdI: Extended Checks for Specifications |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | EHSS_SPEC_CHECKS |
Use
This Business Add-In (BAdI) is used in the Specification Management (EHS-BD-SPE) component.
With this BAdI you can define checks that are run at the following places:
- When opening specifications
- When saving specifications
- In specification-material assignment
- In BOM transfer, if a specification was determined for a material
- In BOM transfer, if the relevant BOM items are determined
- In BOM transfer, if the unit of measurement for the BOM items are checked
With this BAdI you can display additional messages at these points and prevent specification data or a specification-material assignment being saved if the check results are negative. In BOM transfer, you can use this BAdI to determine the specification that is relevant for BOM transfer from a number of specifications assigned to a material, for example.
Standard settings
The BAdI is not active in the standard system. If you activate it and do not implement your own method, you can no longer save specification data and no specifications are found for the materials in BOM transfer. The BAdI is not filter-dependent and not for multiple usage.
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.
Example
To display sample code, choose Goto -> Sample Code -> Display.
See also
Methods
Checks When Saving Specification Data
Checks When Opening Specification Header
Checks for Material Assignment
BOM Transfer: Determination of Specification for Material
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired 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 | EHSS_SPEC_CHECKS | 0 | HLA0003436 | Specification Management |
SIMG | EHSS_SPEC_CHECKS | 1 | /PLMI/E5C0000032 |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20091006 |
SAP Release Created in | 200 |