on 2024 Jan 04 2:59 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 22 | |
| 15 | |
| 14 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.