SAP ABAP IMG Activity TIM_00_CE_008 (Create Distribution Methods)
Hierarchy
EA-HRRXX (Software Component) Sub component EA-HRRXX of EA-HR
   PT (Application Component) Personnel Time Management
     PAOC_TIM_CE_IMG (Package) IMG: Concurrent Employment in Time Management
IMG Activity
ID TIM_00_CE_008 Create Distribution Methods  
Transaction Code S_ALN_01001129   (empty) 
Created on 20020220    
Customizing Attributes TIM_00_CE_008   Create Distribution Methods 
Customizing Activity TIM_00_CE_008   Create Distribution Methods 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name TIM_00_CE_008    

Use

In this activity, you create customer-specific distribution methods. You use distribution methods to distribute the values of the output data of a business rule step over the personnel assignments currently being processed.

Note

You are strongly recommended to read the information in the SAP Library about Concurrent Employment in Time Management:

Human Resources -> Personnel Time Management -> Time Management for Concurrent Employment

In these customer-specific distribution methods you can either use the value of a time type or the result of a BAdI calculation for the distribution. This means that you can use the value of a time type to use an employee's productive hours or planned hours as the basis for calculating the distribution, for example.

If the distribution options using a time type are not sufficient for your requirements, you can use the PTCCE_DIST_DATA Business Add-In (Distribute Time Evaluation Data over Personnel Assignments). Before you can process the BAdI, you have to create the distribution method that you want to program in the BAdI.

Standard Distribution Methods

You can create your own distribution methods if the following standard distribution methods do not meet your requirements:

  • Equal distribution of results: EQUAL
    The results are distributed evenly over all relevant personnel assignments.
    Example: An employee has two personnel assignments. He or she has worked three hours of overtime. These are to be distributed over the two personnel assignments. The system therefore multiplies the number (of wage type MM10) with <1/no. of personnel assignments>. In this example, 1.5 hours are posted to each personnel assignment.
  • Distribution of results according to planned working time: PLWORKTIME
    The results are weighted according to the planned working time from the employee's personal work schedule and distributed over the personnel assignments.
    Example: An employee has two personnel assignments. He or she has worked three hours of overtime. These are to be distributed over the two personnel assignments.
    On the day being evaluated, the employee has 4 planned hours to be worked for personnel assignment x and 3 planned hours for personnel assignment y. The system calculates the distribution as follows:
    For each personnel assignment, the system multiplies
    the calculated number (of wage type MM10)
    by the <planned hours from personnel assignment> divided by
    <total of planned hours from all personnel assignments being
    processed>.
    In this example, the system posts 1.29 hours to personnel assignment x, and 1.71 hours to personnel assignment y.
  • Distribution of results according to average working hours: AVWORKTIME
    The employee's results are weighted according to the daily working hours from the Planned Working Time infotype (0007) and distributed over the personnel assignments. The system calculates the distribution in a similar way to that used in the example for planned working time.
  • Distribution of results according to the capacity utilization level: CAPUTILLEV
    The employees results are weighted according to the capacity utilization level from the Basic Pay infotype (0008) and distributed over the personnel assignments. The system calculates the distribution in a similar way to that used in the example for planned working time.
    Note: To be able to use this function, the CHECK BP switch must be set in your schema.

Requirements

If you want to use the value of a time type to distribute output data, you must have a time type filled with the value that you want to use to calculate the distribution over the personnel assignments.

If you want to use this time type within one business subject only, you should assign it to the business subject so that you can keep a better overview. The same applies for the personnel calculation rule in which you fill the time type. You should then add the call of the personnel calculation rule to the business rule.

If, however, you want to use the time type more than once to distribute results in more than one business subject, you must not assign it to a business subject.

Standard settings

If you do not specify a distribution method, the system automatically uses the EQUAL distribution method. This does not apply, however, to the following functions:

  • RTIP
  • PTIP
  • POVT
  • GWT

For these functions, the system automatically assigns the results to the personnel assignment for which the result was determined.

Activities

  1. Distribution using a time type
    1. If you want to use a time type to distribute results, select a time type according to which you want the results of the output data to be distributed over the personnel assignments currently being processed.
    2. Create the distribution method. Use the following syntax:
      <Y or Z><TIMETYPE><time type>, for example, YTIMETYPE0050
    3. Enter an easily identifiable text.
  2. Distribution using the PTCCE_DIST_DATA BAdI.
    1. Create a distribution method. The name must start with the letter Y or Z.
    2. Enter an easily identifiable text.

Example

Determining the overtime wage type MM10 in your enterprise can potentially involve several personnel assignments. The hours of overtime determined for wage type MM10 are to be distributed according to the amount of productive hours worked for each personnel assignment.

You create the distribution method YTIMETYPE0050 and assign it to a step of the business rule.

An employee has worked on two personnel assignments; there are three hours of overtime with wage type MM10 to be distributed over the two personnel assignments. The employee worked seven hours on personnel assignment 1, and five hours on personnel assignment 2. The system calculates the distribution as follows:

<Value of time type 0050 productive hours for personnel assignment 1> = 7

        divided by

<Overall total of the value of time type 0050 for personnel assignments 1 and 2> = 12

        gives 7/12 of 3 = 1.75

The system calculates the proportion for personnel assignment in the same way (= 1.25 hours)

Result: 1.75 hours are allotted to personnel assignment 1 for wage type MM10, personnel assignment 2 receives 1.25 hours for wage type MM10.

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 TIM_00_CE_008 0 AL00000061 A (HLA0006758 O HLA0100668 O HLA0009686 O HLA0003905)  
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
T7TIM_DIST_METH S - Table (with text table) SM30  
History
Last changed by/on SAP  20020425 
SAP Release Created in 110