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

While debugging user exit not called

Former Member
0 Likes
3,473


Hi All,

     I have a requirement to update the Idoc while creating a billing invoice. The FM associated with the IDoc is 'IDOC_INPUT_INVOIC_FI'. There is user exit ZXF06U06 associated with this FM. I made a change to update the tax code and while debugging its not even entering this include ZXF06U06. This is in development server and I checked in Quality server where the code is not yet modified and found that the debugger is entering the include ZXF06U06. Please could someone help me to understand what could be problem its really urgent.

Thanks in advance,

Priya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,732

Hi,

Check if the user exit is activated in CMOD.

Go to transaction SMOD and check the enhancement FEDI0001.

Create a custom enhancement in CMOD with reference to the enhancement FEDI0001 and activate the exit.

Thanks and Regards,

Sriranjani Chimakurthy.

10 REPLIES 10
Read only

Former Member
0 Likes
2,732

Just Generate and Activate the Include code.

Read only

0 Likes
2,732


Hi Sijin,

      I activated the include. How can I generate it please can you tell the process.

Thanks,

Priya

Read only

0 Likes
2,732

Read only

0 Likes
2,732

Hi Sijin,

    As you said I  activated the include and generated it but still its not entering this include.

Thanks,

Priya

Read only

0 Likes
2,732

HI Priya,

Are you checking in development server or quality server?

Have you transported the changes to quality server?

Regards,

Sriranjani Chimakurthy.

Read only

0 Likes
2,732

Okay

Are you getting any message when you trying to keep a breakpoint into your code.

Something like

" No Framework .........."

Read only

Former Member
0 Likes
2,733

Hi,

Check if the user exit is activated in CMOD.

Go to transaction SMOD and check the enhancement FEDI0001.

Create a custom enhancement in CMOD with reference to the enhancement FEDI0001 and activate the exit.

Thanks and Regards,

Sriranjani Chimakurthy.

Read only

0 Likes
2,732

Thanks a lot Sriranjani. Its working now, I created the custom enhancement and now it's executing the include. But I have a doubt. That include is not a new include there was already some code existing in the include ZXF06U06. I just added one piece of code to modify it. So there should be a custom enhancement already existing right?

Read only

0 Likes
2,732

Hi Priya,

Existence of code in the include does not mean that the exit is active.

The exit will be called only when CMOD is activated. You may check in the production environment if it is active or not . You can see if someone has deactivated by last changed by and check with the person for the reason for de-activation.

If you are not sure if there was any other custom enhancement you can search it by doing F4 and click on the + option and provide the Exit details.

Thanks and Regards,

Sriranjani Chimakurthy.

Read only

0 Likes
2,732

ok thanks Sriranjani!