cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

wage types generation

abdenourbelaid
Explorer
0 Kudos
624

Hello;

I have a question, can someone please help me

how to ensure that a wage types is only generated once a week:

Example: if the employee is present at work on Monday, then the wage types is generated, but on Tuesday even if he is present, the wage types must not be generated for the rest of the week, likewise, if the wage types is not generated on Monday because the employee is absent, on Tuesday he is present,the wage types is generated, and the same, it must not be generated the rest of the week.

here is the rule and shema used :

thank you in advance for your help

Accepted Solutions (1)

Accepted Solutions (1)

BGibbons
Active Contributor

Hi,

An approach here would be to use a time type and set to ‘1’ on days employee is present.

The time type can be summed for the week and only create the wage type if the sum equals '1'.

If you did not care on which day the wage type was created then you could just do the check and create the wage type if appropriate on the last day of the week.

If the specific day was important then when you created the wage type you would need to add another ‘1’ to the time type to ensure wage types was not created on subsequent days.

bg

abdenourbelaid
Explorer
0 Kudos
Hello, thank you this was a good start to the solution I solved the problem

Answers (1)

Answers (1)

abdenourbelaid
Explorer
0 Kudos

Thank you very much for your answer,

I am new to this part of SAP,

I have wage types that are generated every day of the week, and others it only has to be once a week

to give more details, taking the following example: the wage type 1035, it not be generated even if the employee is absent due to sick child absence, or can be generated when the employee is at work or absent for leave.

I managed to do all this without any problem, it works well, the only thing is to only generate it once a week.

can you show me how to write the rule or add something in my ARUZ rule or in the YM0K schema so that it works,

Thank you in advance for your help,