Hierarchy

⤷

⤷

IMG Activity
ID | CFX_GENERIC_OBJECT | Checks for Generic Objects and Object Categories |
Transaction Code | S_PPD_96000001 | (empty) |
Created on | 20040901 | |
Customizing Attributes | CFX_GENERIC_OBJECT | Checks for Generic Objects and Object Categories |
Customizing Activity | CFX_GENERIC_OBJECT | Checks for Generic Objects and Object Categories |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | CFX_GENERIC_OBJECT |
Use
This Business Add-In (BAdI) is used in cFolders (PLM-CFO). You use this BAdI to define additional checks for generic objects and object categories or to determine data automatically.
Note the following:
- You can only check and change the data displayed on the current screen, that is, either the data of one item or the overview data that does not belong to any item.
- The system performs some checks, for example, for required entry fields directly on the user interface, that is, before the SUPPLEMENT_BEFORE_SAVE method is called. If entry fields are to be filled by this method and not by the user, these fields cannot be described as required entry fields in the XML description of the object type.
- Under certain circumstances, it is possible to call the methods twice when saving the generic object. Note when you write the implementations that they also function multiple times.
- Calling the Application Programming Interface (API) function modules enables you to receive more information about the object currently being changed. However, if this information is saved at the same time as the data of the generic object, the result of the function module is not fixed:
Both the old and the new (as well as changed) data can be returned.
Requirements
Standard settings
The BAdI is filter-dependent.
We deliver the following BAdI implementations:
- CFX_GENERIC_OBJECT
This implementation is called when you attach an object to an engineering change number (ECN). It creates a new version of the object and links the ECN to this new version. You can see the ECN on the overview screen of the object version in the Change Number column.
- CFX_MPN_USER_EXT
This implementation is called when you link an internal material to a manufacturer part number (MPN). It adds the MPN to the linked MPNs list of the material, thereby creating a bidirectional link between material and MPN.
Multiple implementations are also permitted. At the start of the implementation, check whether the current object type matches the object type intended for the implementation.
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 | 257 | Create User Exits |
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 | CFX_GENERIC_OBJECT | 0 | JSI0000002 | Collaboration Folders |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20040902 |
SAP Release Created in | 400 |