2014 Dec 14 3:01 PM
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.
2014 Dec 16 8:56 AM
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
2014 Dec 15 5:44 AM
2014 Dec 15 6:08 AM
2014 Dec 15 6:20 AM
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?
2014 Dec 15 6:25 AM
Ensure you are using F8 not Ctrl+F7 when executing the Function module. Also check the settings below:
2014 Dec 16 8:45 AM
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.
2014 Dec 16 8:56 AM
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
2014 Dec 16 9:14 AM
I have not worked on enhancements or any user exit so far but will try soon.
Thanks.