SAP ABAP IMG Activity SIMG_PBS_PTSP_074 (Define Profile)
Hierarchy
SAP_HRGXX (Software Component) Sub component SAP_HRGXX of SAP_HR
   PT-SP-PS (Application Component) Shift Planning for Public Sector
     PP08_PS (Package) Workforce Planning PS
IMG Activity
ID SIMG_PBS_PTSP_074 Define Profile  
Transaction Code S_PCO_36000296   (empty) 
Created on 20050513    
Customizing Attributes SIMG_PBS_PTSP_074   Define Profile 
Customizing Activity SIMG_PBS_PTSP_074   Define Profile 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_PBS_PTSP_074    

Use

In this IMG activity, you create and edit the display profile for the absence planner. You can also maintain the customer exits that belong to the profile in order to define the information columns and rows.

The settings you make in the display profile influence the following aspects of the absence planner display:

  • Display of full-day locked and unlocked attendances and absences
  • Different colored display of high and low season on working days and weekends
  • Display of information columns and rows: You can use customer exits to define additional columns and rows to display additional information for shift planning. You can define which function modules you want the system to use to fill a cell. In the standard system, the following functions are implemented as examples:
    • An information column for counting absence days in one row
    • An information row with a day counter for the number of employees with requests, and another row for unlocked attendances and absences
  • Definition of customer-specific menus (GUI statuses): You can create the following elements:
    • Customer-specific menus for the absence planner
    • Function codes to call the required function module when a user chooses the relevant menu option
    • Function modules to execute the individual menu options
    • In the standard system, the following functions are implemented:
    • Branch to the quota overview for the employee selected in the absence planner
    • Branch to the absence maintenance transaction (PA61) for the employee selected in the absence planner, where you can release locked attendance and absence records

Profile Definition

Activities

  • Profile field: If you want to create a new display profile, enter a new name. If you want to display an existing profile, enter the name of it.
  • Grp. Unlocked Recs field: Enter one of the reporting time type groups for unlocked records that you created or edited in the Create Reporting Time Types and Assign Attendances/Absences activity.
  • Grp. Locked Recs field: Enter one of the reporting time type groups for locked records that you created or edited in the Create Reporting Time Types and Assign Attendances/Absences activity.
  • Differentiating between these two groups enables you to filter out individual attendances and absences, since the absence planner does not display any records that do not belong to either of the groups.
  • Holiday Cal. ID field: Enter a public holiday calendar ID to determine the high season that you defined in the Define High Season activity.
  • ColorWeekday HS, ColorWeekday LS, Color Wknd HS, Color Wknd LS fields: Enter the format in which weekdays and weekends are displayed in high season and low season in the absence planner. In each case, enter a four-character value made up as follows:
    • First character: For a color display, enter C. If you do not want to use the color display, enter X; the remaining three places then remain blank.
    • Second character: Define the color code (a value between 1 and 9).
    • Third character: Define the color intensity (1 for intensified color, otherwise 0).
    • Fourth character: If you want the cell background to be in color, enter 1. If you want the font to be in color, enter 0.
  • Program for Callback field: If you have created a customer- specific menu (GUI status) for the absence planner, enter the name of the program you used. This ensures that the correct program is called when a user chooses the relevant menu option in the absence planner.
  • If you leave the field blank, the RHSPP_ABS_PLAN program is used.
  • Status for Callback field: Enter the name of the menu (GUI status) to be used.
  • The standard system contains the statuses EXTENDED_FULLSCREEN (without direct access to the absence maintenance function (transaction PA61)) and EXTENDED_RELEASE (with direct access to the absence maintenance function). If you leave the field blank, the EXTENDED_FULLSCREEN status is used.

If you use the EXTENDED_RELEASE status, you have to enter the relevant function module in the Function Module field (choose the Callback Functions folder in the navigation area).

Information Columns

Activities

  • Profile field : Enter the name of the profile.
  • Position field: Enter the position at which you want the system to display the information column in the absence planner.
  • Meaning field: Enter the meaning of the information column, which is a technical description of the data that the system is to display in the column (for example, ABS_COUNT to count the locked and unlocked absence records). The system passes on the meaning you enter here to the function module to evaluate it.
  • Data Element field: Enter the name of the data element. The data element determines the format of the return value from the function module.
  • Column Heading and Column Width fields: Enter a column heading and width of your choice. If you leave these fields blank, the heading and column width from the data element are used.
  • The For All Rows checkbox controls the rows for which the system calls the function module:
    • Indicator is set: The system calls the function module for locked and unlocked records.
    • Indicator is not set: The system calls the function module only for unlocked records.
  • Function Module field: Enter the name of the function module you want the system to call to fill the information column.
  • The standard system contains the HR_SP_ABS_INFO_COLUMN function module, which controls absence counting. If you want to display other information in this column, you can copy the function module and adjust it to create customer-specific function modules. This ensures that the interfaces are identical. For a description of the interfaces, see the HR_SP_ABS_INFO_COLUMN function module.

Information Rows

Activities

  • Profile field : Enter the name of the profile.
  • Position field: Enter the position at which you want the system to display the information row in the absence planner.
  • Meaning field: Enter the meaning of the information row. It is a technical description of the data that the system is to display in the row (for example, REQ_COUNT to count the employees with leave requests). The system passes on the meaning you enter here to the function module to evaluate it.
  • Function Module field: Enter the name of the function module you want the system to call to fill the information row.
  • The standard system contains the HR_SP_ABS_INFO_ROW function module, which counts the employees with leave requests. If you want to display other information in this row, you can copy the function module and adjust it to create customer-specific function modules. This ensures that the interfaces are identical. For a description of the interfaces, see the HR_SP_ABS_INFO_ROW function module.

Note that the system can display a maximum of ten characters in the information rows.

  • Title field: Enter the title of the information row.

Callback Functions

Use

In this section, you make the settings for the customer-specific GUI statuses and how they are processed. If you want to use the EXTENDED_RELEASE GUI status or a customer-specific menu, you have to enter its name in the Status for Callback field in the Profile Definition section of the navigation area.

The menu options of the GUI status stored in the profile each have one function code. This function code calls a function module (whose name you enter), to which an appropriate meaning is assigned. That is, one function module can be called using various meanings with all options of a menu.

Activities

  • Profile field : Enter the name of the profile.
  • Function Code field: Enter the required function code (for example, RELEASE to release a locked attendance or absence).
  • Function Module field: Enter the name of the function module you want the function code to call.
  • The standard system contains the HR_SP_ABS_CALLBACK_FUNCTION function module, which controls the release of locked attendances and absences. If you want to create a customer-specific function module, copy the standard one and adjust it to suit your requirements. This ensures that the interfaces are identical. For a description of the interfaces, see the HR_SP_ABS_CALLBACK_FUNCTION function module.
  • Meaning field: Enter the meaning of the function module (for example, RELEASE to release a locked attendance or absence&
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 SIMG_PBS_PTSP_074 0 L6B0000011 Shift Planning for Public Sector 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
VC_HRSP_PROFILE C - View cluster SM34  
History
Last changed by/on SAP  20050513 
SAP Release Created in 600