‎2006 May 02 8:39 PM
Hi,
I need to add fields (lastname, firstname) in the CAT2 time sheet. I have added fields in CATSDB using user exit '0005'. The fields are comming to the fields. Now I need to get the values of the corresponding records in the time sheet. I am tried using user exit '0002', but it did not work.
LOOP AT ENRICH_TABLE.
select nachn vorna
into (ENRICH_TABLE-zznom, ENRICH_TABLE-zzprenom)
from pa0002
where pernr = ENRICH_TABLE-pernr.
endselect.
MODIFY ENRICH_TABLE.
ENDLOOP.
Could you please give me suggestion in this regard.
Lokman
‎2006 May 02 8:44 PM
Try in EXIT_SAPLCATS_003. it should work . as we also change in in EXIT_SAPLCATS_003.
Thanks
Saquib
‎2006 May 02 8:50 PM
Hi Saqib,
I just looked at '003'. Its seems it can be used for validating. After validating the FM exporting a message table.
Lokman
‎2006 May 02 8:52 PM
‎2006 May 02 8:59 PM
I don't understand how user exit can be used for dispalying values in the timesheet as well as at CATSDB.
Can anyone have exmaple or suggestion.
Lokman
‎2006 May 02 9:00 PM
You are saying when you go transaction CAT2 give emplyee number = 123 . you should able to see the employee number and value in display as well as in change right ?
Well I can see this in CAT2 . I didnt make change but its in placed in our system .I almost check all of the exits.
but code change is in first five .....
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 Section
CATS0010 CATS: Customer-Specific Text Fields in Worklist
CATS0011 CATS: Customer functions
CATS0012 CATS: Subscreen on data entry screen
Thanks
SK
‎2006 May 02 9:05 PM
Thats right. I want to see the firtname and lastname for that particular employee. The employee full name is comming without change in the system. But we want lastname anf firstname in two seperate column so that we can sort the records based on one the two fields.
Lokman
‎2006 May 02 9:11 PM
I am sorry as we are showing the full name .
As you can also see Include :LCATSO13
and code
Text for personnel number
----
loop at allowed_pernr
where pernr eq catsd-pernr.
exit.
endloop.
concatenate allowed_pernr-vorna
allowed_pernr-nachn
into catsfields-detailname separated by space.
Thanks
Saquib
‎2006 May 02 9:24 PM
‎2006 May 04 3:41 PM
Any luck Lokman ? pl..share if you find something
Thanks
Saquib Khan