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

Test Function Module - Debugger Screen pops up - why

Former Member
0 Likes
1,434

Hello Everyone,

New to abap and learning Function Modules. Any help on this will be much appreciated and regarded.

Please have a look at the screen shot below and let me know what mistake I am making. There are no syntax errors and I have activated the fm but I am not getting the output. Did I do any error in declaring the parameters

I am unable to execute the function module as it takes me to a debugger screen after I give the below values:

Matnr = '000000000000000038'

mtart = 'HALB'.

It takes me a Debugger screen giving a message 'BREAK SAPUSER'.

Why am I getting this message and how to resolve this.

Thanks,

Macky.

1 ACCEPTED SOLUTION
Read only

ashraf_usmani
Participant
0 Likes
1,406

hi,

Have you done any enhancement?

If Yes then you have used user exit etc with hard coded  break point.

Please check it, Hope it will solve your problem.

Regards

Ashraf Usmani

7 REPLIES 7
Read only

Former Member
0 Likes
1,406

This message was moderated.

Read only

former_member620069
Participant
0 Likes
1,406

This message was moderated.

Read only

archanapawar
Contributor
0 Likes
1,406

Hi Macky,

Where are you calling your function module? Can you show the code where you are calling your FM?

Have you given hard-coded break-point anywhere?

Read only

satyabrata_sahoo3
Contributor
0 Likes
1,406

Ensure you are using F8 not Ctrl+F7 when executing the Function module. Also check the settings below:

Read only

Former Member
0 Likes
1,406

Hello Everyone,

Thanks all for your response.

I testing this function module by pressing f8 key and I have not hard coded and break points. I am not calling this FM from any program yet, I have checked the setting mentioned in the above screen shot.

I did a trial and error method and removed the import parameter 'matnr' and executed my function module. Well this time it is not coming up with a pop up screen and program is executed well.

So I feel there is some issue with the 'material no - matnr' as Gaurav Mentioned earlier. May be an issue with the user exits, I am using client 800 and using the sapuser login I don't have any other logins at the moment. May be I will try with some other login and see.

Thanks all for your help.

Read only

ashraf_usmani
Participant
0 Likes
1,407

hi,

Have you done any enhancement?

If Yes then you have used user exit etc with hard coded  break point.

Please check it, Hope it will solve your problem.

Regards

Ashraf Usmani

Read only

0 Likes
1,406

I have not worked on enhancements or any user exit so far but will try soon.

Thanks.