2007 Apr 03 12:55 PM
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.
2007 Apr 03 12:57 PM
You need to create a project for the enhancement V60F001. TCODE CMOD.
2007 Apr 03 12:58 PM
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
2007 Apr 03 12:59 PM
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
2007 Apr 03 1:06 PM
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