Ansicht
Dokumentation

TIM_00_CE_008 - Create Distribution Methods

TIM_00_CE_008 - Create Distribution Methods

TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

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.

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 divided by
    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 Timeinfotype (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.

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.

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.

  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:
    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.

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:

= 7
,,,,divided by
= 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.






ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 6944 Date: 20240523 Time: 174856     sap01-206 ( 117 ms )