‎2008 Feb 01 9:38 AM
Hi,
In my report i used a standard Function module, it raises an exception and goes to dump. How to handle that exception.
I didnt get any sy-subrc value, before getting it goes to dump.
‎2008 Feb 01 9:42 AM
hello,
Check whether the parameter and table ur passing are in correct format i.e data type of passing parameter should be same as that mentioned in function module.
Regards,
Neelambari
‎2008 Feb 01 9:42 AM
Hi,
Please uncomment the EXCEPTIONS in your code & then handle the sy-subrc.
Best regards,
Prashant
‎2008 Feb 01 9:43 AM
Hi
After calling the function module.
check the sy-subrc status.
if sy-subrc = 0 means success.
else.
raise error message.
endif.
‎2008 Feb 01 9:44 AM
Make sure all export parameters and tables are compatible with FM parameters.
by the way let us know which FM you are using and what is the message you are getting in dump (you can check this in ST22).
‎2008 Feb 01 9:44 AM
Hi,
Go to tcode: SLIN.
Enter program name.
Select Call Function Interfact check box.
Execute the program.
It will give the details.
Regards,
Bhaskar
‎2008 Feb 01 9:46 AM
Hi,
Actually while calling the standard FM's wile passing import parameters the data type what the function module import parameter is expecting and the variable data type what u r sending should be same other wise it will go to short dump
if it is not the case then wht u do is uncomment the exceptions given for the function module and handle the sy-subrc then sure u will get why it is going for dump
still if u r unable to do
u can send me the code if i can i will try to solve u r problem
my mail id mutyalasunilkumar@gmail.com
plzz reward if it is helpful..
plzz dont forget to reward......