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

break-point

Former Member
0 Likes
902

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
Read only

Former Member
0 Likes
872

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
Read only

Former Member
0 Likes
873

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.

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
872

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

Read only

Former Member
0 Likes
872

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

Read only

Former Member
0 Likes
872

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

Read only

Former Member
0 Likes
872

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

Read only

0 Likes
872

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.

Read only

0 Likes
872

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