Hierarchy

⤷

⤷

IMG Activity
ID | HRWPC_RC_SHORTPROFIL | BAdI: Adjust HTML Format for Short Profile |
Transaction Code | S_AX8_68000167 | (empty) |
Created on | 20011001 | |
Customizing Attributes | HRWPC_RC_SHORTPROFIL | BAdI: Adjust HTML Format for Short Profile |
Customizing Activity | HRWPC_RC_SHORTPROFIL | BAdI: Adjust HTML Format for Short Profile |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HRWPC_RC_SHORTPROFIL |
This Business Add-In (BAdI) lets you edit the display of applicant short profiles in HTML format.
The BAdI, which defines the HTML format, affects all of the short profiles that you have created in Customizing for Recruitment under Applicant Management -> Short Profile -> Create Standard Text in SAPscript format.
In SAPscript format, indentations are often indicated by means of spaces. However, browsers generally ignore repeated spaces in the display. For this reason, the default programming of the BAdI replaces repeated spaces with the HTML format  . The effect of this is that all of the spaces are dislayed. To highlight indentations, the BAdI sets the font to the non-proportional font Courier.
The function module HRWPC_RFC_RC_GET_SHORTP_HTML renders an applicant short profile in HTML format. If you select the indicator MANIPULATE_HTML in the function module, the system runs the BAdI.
Per default the system calls the function module HRWPC_RC_MANIPULATE_HTML_SP in the BAdI.
You can create a customer-specific implementation for this BAdI if you want to adjust the HTML format to suit your own requirements.
Example
Requirements
Standard settings
The BAdI is not implemented in the standard system. If you create no implementation, the system runs the standard code.
Recommendation
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.
Further notes
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_RC_SHORTPROFIL | 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 | 20030310 |
SAP Release Created in | 46C |