Hierarchy

⤷

⤷

IMG Activity
ID | DIWPS_PMPS | BAdI: Order Assignment to Project |
Transaction Code | S_KA5_12001405 | SAPLS_CUS_IMG_ACTIVITY |
Created on | 20030109 | |
Customizing Attributes | DIWPS_PMPS | BAdI: Order Assignment to Project |
Customizing Activity | DIWPS_PMPS | BAdI: Order Assignment to Project |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | DIWPS_PMPS |
Use
You use this Business Add-In (BAdI) to implement customer-specific logic for assigning an order to a project structure. In the standard system, the PM/PS reference elements from the order header and project element (network activity or WBS element) are compared.
Requirements
The following prerequisites must be fulfilled before orders can be assigned to a project structure automatically:
- You have created a PM/PS reference element.
- You have assigned a PM/PS element to the task list that is linked to the notification. The PM/PS reference element refers to the order that is created from this notification.
- You have assigned a PM/PS reference element to the network activity or work breakdown structure element (WBS element). The PM/PS reference element now refers to the network activity or WBS element.
Standard settings
This BAdI is not designed for multiple use.
The BAdI is not filter-dependent, and therefore cannot be used more than once.
In the standard logic, all activities that belong to the project structure are grouped together. Only the activity with a PM/PS reference element that matches the PM/PS reference element of the order is selected. The order is then assigned to the selected activity.
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
Further notes
Implementation of the method PROJECT_ASSIGN in the class CL_NOTI_ORDER_WPS
Business Attributes
ASAP Roadmap ID | 204 | Establish Functions and Processes |
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 | DIWPS_PMPS | 0 | PLN0000022 | Revision Planning |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20030703 |
SAP Release Created in | 471 |