Skip to Content
avatar image
Former Member

Customer exit EXIT_SAPLRSAP_001 not called .

Hello All,

Have enhanced the customer exit EXIT_SAPLRSAP_001 to populate certain blank field entries (FCURF and TCURF )for TCURR extract structure through CMOD , have activated both exit and it's relevant project in CMOD , but my changes are not reflecting when I am trying to view the extract via RSA3.

While trying to debug the program by putting breakpoint just before my piece of code ,it's taking me to somewhere else infact to some different breakpoint inside the main program without touching my code.

Not sure of such behaviour ,any pointer on this will be of great help.

Regards

Deblina

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 15, 2014 at 12:23 PM

    Hi ,

    As requested given below is the extract structure for the same ----

    As a matter of fact have implemented my exit logic through FM inside the include where its updating the c_t_data internal table of TCURR with new value of FFACT and TFACT being fetched from TCURF.

    (Already shared the screenshot for the same above) .

    Also wanted to ensure if customer exits can be used to enhance generic DS .

    Or are they used for standard extractors only.

    Regards

    Deblina


    Extract.png (51.7 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Amit,

      Really what an wonderful explanation you gave man!

      Truly being a newbie in ABAP , this whats exactly I have been looking for , it didn't solved my purpose though but definitely it did clarified lot of my doubts , and will definitely buy-in that.

      Once again thanks to Raman for his patience and time .

      I shall mark both of your answers as the correct one and close this thread for the time being . If require I can reopen this , or start a new discussion .

      Many thanks

      Deblina

  • avatar image
    Former Member
    Sep 15, 2014 at 02:51 AM

    Hi,

    at Source side - RSA6, click on your data source and see the enhanced field was selected " Field known in customer exit" option? if not then select it. other wise your data source extraction won't call CMOD Logic.

    Enhance mean you added new field which is not part of your data source?

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      alternatively you can create an extract on FM, using TCURR and TCURF tables.

      There you can manualy define the fields which your extract should return.

      May you also need to add your manually your TCURF fields to your extract srtucture and check them as "available in exit only".

      Regards,

      Jürgen

  • Sep 15, 2014 at 02:02 AM

    Hi Deblina Gupta,

    Firstly check if your variable is a customer exit variable & you have to hide it .

    Also I_STEP is 1 or 2 ? Hope you know the difference.

    Normally it should stop if the steps are followed. probably you might have missed any .

    Please try to check again and also give details on how to debug ( 3.x / 7.0 )?

    we can check further if not resolved.

    Regards,

    sudhir

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Janardhan ,

      I am not very sure of the processes you are pointing here can you be bit more elaborate on this.

      Thanks

      Deblina

  • Sep 15, 2014 at 03:30 AM

    Hi,

    Are you executing in debug mode? If yes, then it is likely to stop at other places. After setting the breakpoint just execute it normally and the debugger should fire up automatically.

    If you are not executing in debugging mode then there seems to be some issue in the datasource itself. Are you getting any error messages once you complete the execution?

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • As suggested by someone already, have you tried pressing F8 and see if it stopping at your code (I assume you have already tried). I am not sure if "Fields only known in customer exit" will anyway help you. These fields are not extracted and only used in the exits. But as per your use case I think you need the fields to be available in the extract. Also since you mentioned you have activated the exit, is this the first enhancement in the system?

      Regards

  • Sep 15, 2014 at 09:37 AM

    Hi,

    Intially it will take to some intial break points later on it will come to your code ,Press F8 until you get required code for debugging .

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 15, 2014 at 10:10 AM

    Hi ,

    Just to re-iterate my exit is pulling the TFACT and FFACT values from TCURF for every TFACT and FFACT values in TCURR.

    Its still in the sandbox/dev set up , and this has to be achieved via Customer exit as per business req for 2 reasons -

    1) At a later point of time this needs to be enhanced using BAdI.

    2) If you notice the From Curr date format its in char format so need to apply the conversion exit on that to put it in date format.

    Else would have adopted the join approach.

    Regards

    Deblina

    Add comment
    10|10000 characters needed characters exceeded