Application Development 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: 

break-point

Former Member
0 Kudos
143

Hi Experts,

i have a CALL-FUNCTION statement in a satandard program.

like this: CALL-FUNCTION '001'.

Exporting

IMPORTING

So i have put a break-point at this statement.

When i enter in debug mode at this statement and press F5 it is not going inside that. It is coming out of that FM.But when i open it manually form SE38 and double click on it then it is going in side..Actually it is User-Exit...Can any body tell me what is the problem.'

1 ACCEPTED SOLUTION

Former Member
0 Kudos
113

You need to create a CMOD entry for the enhancement code of the FM. Look at table MODSAP for the enhancement code based on the FM Name.

7 REPLIES 7

Former Member
0 Kudos
114

You need to create a CMOD entry for the enhancement code of the FM. Look at table MODSAP for the enhancement code based on the FM Name.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
113

Yes, this function module will only be fired if the user exit which is associated with it, is activated. Please make sure that your enhancement is activated in CMOD/SMOD.

Regards,

Rich Heilman

Former Member
0 Kudos
113

Hi

u might have wrote this CALL-FUNCTION '001' on If condition,so if that condition will not satisfy then it will not go inside.

or u do onthing

Goto inside of that CALL-FUNCTION '001' by double clicking on this and there put a break point.

so while dubugging it will go inside.

If helpful

Reward me points

Regs

Manas Ranjan Panda

Former Member
0 Kudos
113

hi ,

Create a project in CMOD aan assign the exit to it, and activate the project and keep a break point and run the transaction.

Regards.

Syed

former_member188685
Active Contributor
0 Kudos
113

Hi,

since there is no implementation to the Function module exit. so it is not going inside. create the Project in CMOD and implement the enhancement.and now check it.

Regards

vijay

0 Kudos
113

Hi All,

Thanks.Every thing is done.even when i press F5 at CALL CUSTOMER-FUNCTION '001'..it is not going inside that.

it is coming out of that.

0 Kudos
113

it's not goin ginside even though you have some code in your exit because your exit itself is INACTIVE,

Please activate it in CMOD/SMOD and I would re-generate your main program... just to be sure