cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict CATS time entry posting period

Former Member
0 Kudos

Dear Gurus,

I have a requirement wherein user want to have restriction for CAT2 after 25th of the month.

In short after 25th of the month upto 1st of the next month , CATS entries should not happen.

Is there any solution ( EXIT / BADI ) for the same ?

Regards

Raghav

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use the standard user status "KOST" which disallows to post actual cost but that is not your requirement since it will block all actual costs not only time entry.

Tushar's suggestion is best available option. Create ZCAT user status and network user status profile so that it would default to all the network activities. However user has to select manually for which activity wanted to disallow time posting.

Thanks,

Sudhakar

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi'

If the restriction should be for ALL confirmations in CATS, then use user exit ZXCATU03.

Here you can make the system check actual date and compare with the day for which the user has entered a confirmation.

If the date for which the user has entered a confirmation is not allowed for confirmation, then raise an error message.

We have implemented a solution where the "closing" date is after 1. working day in the month.

We have created a Z-table to "hold" the "1" day. Then it is easy to change the number of days if nessecary

Best regards

Lone

Former Member
0 Kudos

Hi Raghav,

One of the option that I could suggest is to set User status say 'ZCAT' to specific Network Activity for the period which you want CATS entries should not happen. ZCAT status will not allow time reporting.

After setting this status, if user tries to do time reporting for specific period in which he is not supposed to do, he will get an error message as

" No time reporting is allowed on Network XXXXXXXX Activity XXXX. Please contact the Project Manager"

We have made use of such status in our projects.

Regards

Tushar

Former Member
0 Kudos

Hi Tushar,

Thanks for the reply.

I created new user status for Network Activity as ZCAT.

But it is for all the activities in the network. So it is almost impossible for all projects so set this status changes.

My requirement is client don't want to post any CATS entries after 25th of the month.

Can you please guide and elaborate your development please ?

Regards

Raghav

Former Member
0 Kudos

Hi Raghav,

In our project, we used to set User status ZCAT for specific Network or Network/Activity on which User is going to do time reporting. This is because user is going to do time reporting on specific internal activity for work performed by him.We have followed below principal.

To prevent time reporting in CATS on a network activity it is possible to manually set the status to ZCAT on a certain activity. This is done manually on each activity and when the status ZCAT is set it will not be possible to report time. The ZCAT status is also manually deleted.

You can refer to screenshot below showing ZCAT status set in our network activity.

Regards

Tushar

Former Member
0 Kudos

Hi Tushar,

Yes. I understand that. But there are large no of Projects and this activity needs to be done for that number of networks used in Time Sheets.

What setting you did in user status ? Can you please share ?

Former Member
0 Kudos

Hi Raghav,

You can enter ZCAT and select the objects

1. Confirm order - Disallowed.

I could not try this in my system due to some issues. Try in your sand box system.

I remember we can set and re-set the status using program talk to your ABAPer for setting enmass to all the network networks which are having status REL & TECO.

My previous project we used to execute the program to set & reset the KOST user status on networks during period end closing time to prevent cost postings on network activities.

Thanks,

Sudhakar