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

user exit

Hi all,

Could you please let me know how can I test a user exit.

The user exit is on transaction <b>COR6.</b>

Exit is: <b>EXIT_SAPLCORU_001</b>

The include is: <b>ZXCOCU01</b>

Thanks much,

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Best Answer
    Posted on Aug 03, 2006 at 10:20 PM

    My mistake, I should use 'CALL CUSTOMER-FUNCTION' in the search criteria. It is being called from FORM CUA_DET_AND_SET, include LCORUF3S, line 579.

    So I will put a break-point at the begining of this routine and do the debugging from there.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 09:35 PM

    Create a project for the enhancement and activate and place a breakpoint in the exit and run the transaction.

    Add comment
    10|10000 characters needed characters exceeded

    • If you are able to step into the user exit code in debugging, then your activation and all worked. If the structure is not filled, then may be that is not the user exit you should be working with. It depends on where in the standard transaction, this structure is filled and where the user exit is called. If the user exit is called before the structure is filled, then you will not find any entries. Makes sense?

  • Posted on Aug 03, 2006 at 10:04 PM

    If you look at the documentation of this enhancement, you will realize that it is meant for hiding some functions in the menu. But it is supposed to pass you the header and operations. See where in the standard code, this user exit is called and see if the header values are there before the call by putting a breakpoint there.

    Add comment
    10|10000 characters needed characters exceeded