Skip to Content
author's profile photo Former Member
Former Member

check programatically if an exit(CATS0008) has been implemented

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2007 at 06:26 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2007 at 06:28 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.