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

enhancement

Former Member
0 Likes
1,142

hi iam trying to do n enhancment in which the user exit EXIT_SAPLV60F_001 in the enhancement V60F001 and this needs to get triggered for the transactions va01,va02,va21,va22. i need to do coding in these. but the problem is that i need to check wat data r coming into thee exit before doing my coding but this exit is not getting triggered. i have set a break-point still its not working. do i need to create a project and then attach these exit n then it will trigger?? wat can be the possible reason for this.

hi iam trying to do n enhancment in which the user exit EXIT_SAPLV60F_001 in the enhancement V60F001 and this needs to get triggered for the transactions va01,va02,va21,va22. i need to do coding in these. but the problem is that i need to check wat data r coming into thee exit before doing my coding but this exit is not getting triggered. i have set a break-point still its not working. do i need to create a project and then attach these exit n then it will trigger?? wat can be the possible reason for this.

4 REPLIES 4
Read only

Former Member
0 Likes
923

You need to create a project for the enhancement V60F001. TCODE CMOD.

Read only

Former Member
0 Likes
923

Hi,

First give IDOC number in WE19 and press F8 then select IDOC INBOUND push button then it will diaplay the function module name. then set break point in that FM and type /H in that we19 then It will enter into debug mode.

Hope this helps you, reply for queries, Shall post you the updates.

Regards.

Kumar

Read only

Former Member
0 Likes
923

Yes you need to create a project and activate the user-exit component in CMOD. Only then the user exit triggers. The FM EXIT_SAPLV60F_001 will have importing parameters which would then hold the values which you can modify or process

santhosh

Read only

Former Member
0 Likes
923

Hi,

Check that your user-exit is active. This exit is called in <b>include LV60FF0U</b> in <b>form routine USEREXIT_AFDAT_AENDERN CHANGING CH_AFDAT</b> at line item. See how it is called. You can put a break-point here too.

Also, do a runtine analysis on transaction you want ( one after another ) using trasnaction SE30. Here it show you all the calls and program flow.

*----------------------------------------------------------------------*
FORM USEREXIT_AFDAT_AENDERN CHANGING CH_AFDAT.

DATA: BEGIN OF FPLA_INF OCCURS 0.
        INCLUDE STRUCTURE FPLAVB.
DATA: END   OF FPLA_INF.

DATA: BEGIN OF FPLT_INF OCCURS 0.
        INCLUDE STRUCTURE FPLTVB.
DATA: END   OF FPLT_INF.

  FPLA_INF[] = XFPLA[].
  FPLT_INF[] = XFPLT[].


   CALL CUSTOMER-FUNCTION '001'    "<-- this is EXIT_SAPLV60F_001 
     EXPORTING
          I_FPLA       = XFPLA
          I_FPLT       = XFPLT
     TABLES
          XFPLA        = FPLA_INF
          XFPLT        = FPLT_INF
     CHANGING
          C_AFDAT      = CH_AFDAT.
ENDFORM.
*&---------------------------------------------------------------------*

Let me know if you still have a problem.

Regards,

RS