Hierarchy

⤷

⤷

IMG Activity
ID | HRWPC_PCR_APPR_FORM | BAdI: Adjust Rule Resolution for Receiving Manager |
Transaction Code | S_AX8_68000344 | IMG Activity: HRWPC_PCR_APPR_FORM |
Created on | 20020916 | |
Customizing Attributes | HRWPC_PCR_APPR_FORM | BAdI: Adjust Rule Resolution for Receiving Manager |
Customizing Activity | HRWPC_PCR_APPR_FORM | BAdI: Adjust Rule Resolution for Receiving Manager |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HRWPC_PCR_APPR_FORM |
Use
This Business Add-In (BAdI) enables you to tailor the rule resolution of rule ApproverForm (50000132) to suit customer requirements. The entire rule container is available for this purpose.
Example
The rule ApproverForm is used within the approval workflow ProcessPCR_2 (50000031) for personnel change requests to determine the approver.
If this rule resolution fails, the entire workflow is terminated. You can use this Business Add-In to implement customer-specific error handling in the event of the standard rule resolution failing.
Workflow ProcessPCR_2 (50000031) is used in the transfer scenario, for example, and is triggered after the Request for Transfer form has been submitted.
Requirements
Standard settings
This BAdI is not implemented in the standard SAP System. If you do not create an implementation, the system runs through the standard coding.
Activities
After calling up the IMG activity, a dialog box appears, in which you can enter a name for the implementation.
If you have already made other implementations for this BAdI, another dialog box appears, in which the existing implementations are displayed. In this case, choose Create, and proceed as follows:
- In the dialog box, enter a name for the BAdI implementation in the Implementation field, and choose Create.
The screen for creating BAdI implementations is now displayed.
- Enter a short text for the implementation in the Short text for implementation field.
- From the tab index, choose Interface.
The Name of implemented class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.
- Save your entries, and assign the implementation to a development class.
- Place the cursor on the method, and double-click to enter method processing.
- Enter the code for the implementation between the statements
method <Interface name> ~ <Name of method>
andendmethod
. - Save and implement your code. Return to the Edit Implementation screen.
- Save the entries on the Edit Implementation screen.
Note: You can also create an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.
- Choose Activate
The code you stored in the method will be run when the application program is executed.
See also
Interface IF_EX_HRWPC_PCR_APPR_FORM
Method MANIPULATE_ACTOR_TAB (Change the Processing Table for Rule Resolution)
Business Attributes
ASAP Roadmap ID | 262 | Technical and Graphical Settings |
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 | HRWPC_PCR_APPR_FORM | 0 | AXA0000002 | Business Package for Manager Self-Service (HR) |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20030311 |
SAP Release Created in | 2002_1_46C |