Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CAT2 user exit

Former Member
0 Likes
1,543

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

9 REPLIES 9
Read only

former_member181966
Active Contributor
0 Likes
1,304

Try in EXIT_SAPLCATS_003. it should work . as we also change in in EXIT_SAPLCATS_003.

Thanks

Saquib

Read only

0 Likes
1,304

Hi Saqib,

I just looked at '003'. Its seems it can be used for validating. After validating the FM exporting a message table.

Lokman

Read only

0 Likes
1,304

Yes you are right we `re doing validation .

Read only

0 Likes
1,304

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

Read only

0 Likes
1,304

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

Read only

0 Likes
1,304

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

Read only

0 Likes
1,304

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

Read only

0 Likes
1,304

I am going to look at the section.

Thanks.

Lokman

Read only

0 Likes
1,304

Any luck Lokman ? pl..share if you find something

Thanks

Saquib Khan