Application Development 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: 

check programatically if an exit(CATS0008) has been implemented

Former Member
0 Kudos

Hi Abap Gurus,

I would like to know programatically whether an exit (CATS0008) has been implemeted/activated through CMOD and SMOD.

Warm Regards,

Avinash

  • points will be rewarded for helpful info.

2 REPLIES 2

Former Member
0 Kudos

Hi,

When an enhancement CATS0008 has been implemented in the system, this should be available in CMOD under certain projects starting with Z* convention.e.g. ZXYZ

The next time when you try to assign this CATS0008 enhancement to another customer project say, e.g. ZABC, the system will give you an error stating that, the enahncement has already been assigned to another customer project ZXYZ.

So, programatically you can aachive this using table : TADIR, where in the customer project ZXYZ will be TADIR-OBJ_NAME and TADIR-BJECT = 'CMOD' and TADIR-PGMID = 'R3TR'.

Hopr this helps.

Regards,

JLN

Former Member
0 Kudos

Pass this enhancement number (CATS0008)to MODACT and it will give u the project name ( of CMOD) if created at all.

table MODSAP contains the link between CATS0008 and its function module EXIT_SAPLCATS_007.

Now if you want to check if somebody has written something inside it - then pass this FM name (EXIT_SAPLCATS_007) to a function module <b>FUNCTION_EXISTS</b> and it will give you the Include name.You just pass this include name(LXCATU08) to TRDIR and check whether somebody has activated and written any code or not.

Hope it helps.