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

Problem in activating User Exit

Former Member
0 Likes
1,820

Hi

I need to create a user exit for SDTRM001 for transaction VA01. This userexit is containing a Function Module EXIT_SAPVSTRM_NO_ATPCHK_001. But when I try execute transaction VA01, this is user exit is not getting called. So, I tried debugging the program. I found out that there is a Function Call to FM MODX_FUNCTION_ACTIVE_CHECK before the call to the previous FM. This Function Module is taking Import parameters exit name as SDTRM001 and Function Number as 001. and it is checking for FM EXIT_SDTRM001_001 in table TFDIR which is not there. So, it is giving the exit is not active. I don't know how to rectify this problem.

Please help me out.

Thank you in advance.

Eswar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,286

Hi Eswar,

Did you create a project for your user exit in CMOD transaction?

YOu have to create a z project for your enhancement and activate the same.

Regards,

Ravi

8 REPLIES 8
Read only

Former Member
0 Likes
1,286

hi eswar,

chk this thread

Read only

Former Member
0 Likes
1,287

Hi Eswar,

Did you create a project for your user exit in CMOD transaction?

YOu have to create a z project for your enhancement and activate the same.

Regards,

Ravi

Read only

0 Likes
1,286

Hi Ravi,

Thanks for your response. I have created a project with name SDTRM001. But it is not working. After checking your post I have deleted that project and created a z project and added the exit in the enhancments. It is showing that the FM EXIT_SAPVSTRM_NO_ATPCHK_001 is active. But the program is checking for the FM EXIT_SDTRM001_001. This is the problem.

Eswar

Read only

0 Likes
1,286

Hi,

In CMOD, after creating a Project, enter your enhancement - SDTRM001. Go to the components. There you can see your Exit name. Double click on the Exit. It will take you to the Function module. Click on the Include and activate it. Come back. You will see a green tick mark before the Exit name in CMOD. Return to the Initial screen of CMOD and activate project.

Regards,

Sharmila

Read only

0 Likes
1,286

It doesn't work for my case neither. Same problem. Did you find already a solution for it?

Kind regards,

Bart

Read only

Former Member
0 Likes
1,286

Hi Chandra,

Thanks for you response. I have already created a project with a name SDTRM001 and I have added the Exit name in the enhancements. But it didn't solve my problem.

Eswar

Read only

Former Member
0 Likes
1,286

Hello Eswar,

It doesn't work for my case neither. Same problem. Did you find already a solution for it?

Kind regards,

Bart

Read only

Former Member
0 Likes
1,286

Check following SAP Note:

Note 1090480 - EXIT_SAPVSTRM_NO_ATPCHK_001 cannot be activated