Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Former Member
Former Member replied

Hi Deblina,

A few clarifications for you:

1. The reason 'Field Known Only at Exit' is inactive for your datasource is becuase you have not enhanced the extract structure explicitly as Raman said. When you have created the datasource then you took the TCURR table and extract structure and hence all the TCURR available fields are present in the extract structure already so they are not considered as to know at Exit initially and hence the check box is inactive for you. However, if you include any other field using Append Structure then you can see the flag active only for those newly included fields.

2. Even if the flag is not checked the logic for a transaction datasource always go to Customer Exit so your logic should be working irrespective of 'Field know only at exit' flag.

Having said above, I don't think you need to add the two fields again in the extract structure via append. The logic should definately go to customer exit. Now there could be a few reasons why it is not happening:

a) CMOD Project inactive - activate again

b) Exit logic inactive - activate again

But I think you said earlier that they are already active. So when you test the datasource in RSA3 please confirm below:

Do you check the top right box 'Debug' when you start debugging? - if yes then the logic will first go to initial logic. so you can proceed with the debugger and reach to the point when your customer exit is called.

If No, then I suggest you check that and then debug the code.

If you need help in debugging this code please let me know. I do not see a reason why the datasource extraction is not going to exit code.

Thanks

Amit

2 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question