I get the following problem when we execute the Tcode CAT2.
When I execute transaction CAT2 the field "Personnel Number" takes the
value in user-parameter "PER". This field is only displayed ( I set in
Customizing the status field as displayed only) because every worker hasto insert his timesheet for himself.
This works excepts in the following scenario:
When user executes another transaction, for example, PA30 and displays
another CID (personnel Number) and then he executes CAT2 the field
displays the last management CID displayed, thus it doesn't take the CIDinto the parameter "PER"
Could you help us to solve this problem?
Many thanks,
Vanesa Callejo
Hi,
You can try using one of the user exits for CAT2 (either CATS0006 or7) and do a custom check for the personnel number in CAT2 screen with the user's parameter and keep them same.
Regards
Sreekanth
Many Thanks!
I saw the exit-documentation via transaction SMOD The user-exit CATS0006 will be executed for CAT2 data entry itself when saving to check the whole timesheet, whereas CATS0007 can be implementedto display a subscreen on the initial screen of transaction CAT2. Pleasealso refer to the exit-documentation via transaction SMOD.
As both may not be the solution to our problem with the defaulting of
personnel numbers.
I'm trying to unbderstand if is possible modify the standard SAP in this way:
to use the value of parameter id 'CID' when changing the
profile we could modify in the subroutine
check_and_interprete_variant (in program SAPLCATS, iclude LCATSF1O)
To receive the parameter ID you can use this statement:
GET PARAMETER ID 'CID' FIELD catsfields-inputdate
Somebody think this modify is ok?
Many thanks,
Vanesa
You can restrict the authorization of PA30 to users or he can see details of his pernr only.
We can't do this. Because some should have the possibility to manage all the CID.
Thanks in any case,
Vanesa
You can use User Parameter CVR&PER
MaintainSubtype 001 of IT 0105,linking persn number to user id
Recently we use these parameters, the problem is when an user executes another transaction, for example, PA30 and displays
another CID (personnel Number) and then he executes CAT2 the field. In this case CAT2 displays the last management CID displayed, thus it doesn't take the CID into the parameter "PER".
Hi Vanessa,
This is definitely an issue we could not manage to solve, even by implementing the user exit.
This seems like an SAP bug and needs to be fixed.
Regards,
Dilek
What can I do to correct the bug?
You can communicate w SAP via service.sap.com
Regards,
Dilek
We open a OSS note but SAP answered us with the following :
START----
to use the value of parameter id 'CID' when changing the
profile you could modify in the subroutine
check_and_interprete_variant (in program SAPLCATS, iclude LCATSF1O)
To receive the parameter ID you can use this statement:
GET PARAMETER ID 'CID' FIELD catsfields-inputdate.
Our mission is to help you .......
As an alternative to find an answer is refer to SAP Expert Forum http:service.sap.com/request-help
END---
Could you please help us?
Thanks you!
Well, they are just advising you to make a repair in your system.
This may be a solution b'coz user exits do not work in this case.
Best,
Dilek
I think in this case the changes should be made with a service pack by SAP.
Could you please verify with your workmates this questions?
Thanks in advance.
Vanesa
I still wait for an answer
You can always report a product error via the SAP Support Portal.
I've done it. But Sap Support answer me to write to sdn.sap
I'need to solve the bug. Somebody could help me?
Thanks in advance.
In that case, talk to your technical resource about implementing an implicit enhancement (core mod).
Thank you, Could you give us some link with more information about the topic implicit enhancement (core mod)
Vanesa
The following should get you started:
http://www.ayantech.com/pdf/Introducing%20the%20Enhancement%20Framework.pdf
You can also google either 'core mod' or 'explicit/implicit enhancement' to find additional resources.