on 11-26-2013 6:15 PM
Hi experts,
We are currently setting up our data entry profiles for CATS. In one of the profiles, we want to enable the user to enter data for any date within a period that is open for booking in FI/CO. As soon as a period (=month) is closed in FI/CO, it should be impossible for users with this Profile to enter data for this period in CATS.
As fas as I can see in the profile settings in Transaction CAC1, it is only possible to set the timeframe to a fixed number of days, weeks or months. In our Scenario the timeframe would be either the current and the previous month or the current month only, depending on whether the previous month has been closed or not.
Does anybody know how this requirement can be implemented?
Thanks
Alexandre
For documentation purposes - this is what I finally figured out myself:
Regards,
Alexandre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, check for some user exit. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jyothi,
yes, this is the best idea i've had so far. There is only one drawback: In such a Scenario, even if the previous month has been closed, the user can always enter data for the previous month, and later (upon hitting enter or trying to save the data) he will get the error message that says that he cannot enter data for this period. This is why i would prefer restricting the visible timeframe beforehand.
Regards,
Alexandre
CATS0001 CATS: Set up worklist
CATS0002 CATS: Supplement recorded data
CATS0003 CATS: Validate recorded data
CATS0004 CATS: Deactivate functions in the user interface
CATS0005 CATS: Customer field enhancements
CATS0006 CATS: Validate entire time sheet
CATS0007 CATS: Subscreen on initial screen
CATS0008 CATS: Determine workflow recipients for approval
CATS0009 CATS: Customer-Specific Text Fields in Data Entry Secti
CATS0010 CATS: Customer-Specific Text Fields in Worklist
CATS0011 CATS: Customer functions
CATS0012 CATS: Subscreen on data entry screen
Can you try with CATS0012 to show some error message in subscreen,
Hi,
If you have not find any Answer till now then try this.
Write your code in EXIT: EXIT_SAPLCATS_012
Program: SAPLCATS
Include: LCATSF8U
This exit has SAP_CATSFIELDS-INPUTDATE as Exporting parameter which will have the value that you are passing from CAT2 Tcode .
Here you can validate the periods and show the error message.
Hope it helps.
Thanks.
Hi Rajiv,
this user exit CATS0012 displays a customer-specified subscreen on the data entry screen in which I can put a message like "Do not enter any data concerning the previous month", depending on the closing date of that period. But it has no effect on the data entry itself. Such a subscreen could be a user-friendly supplement to a check via user exit CATS0006 as mentioned above.
Regards,
Alexandre
Hi,
Check the views V_RECORD_CALENDAR, V_RECORD_DAY and V_RECORD_WEEK in the Webdynpro component HRESS_C_CATS. You may find some methods for e.g ("ONACTIONON_PREV_PERIOD" in the view "V_RECORD_WEEK" ) to validate the period.
Also check the other views in the Webdynpro component HRESS_C_CATS.
Regards,
Jyothi
User | Count |
---|---|
106 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.