cancel
Showing results for 
Search instead for 
Did you mean: 

reg : exceptions raised when function module called from BSP

Former Member
0 Kudos

hi all

I have coded a remote enabled function module in which

BDCDATA is populated and call transaction was made in

no screen mode to update database.

certain errors are caught by BDCMSGCOLL structure and

returned properly in a structure of type BAPIRET2 when

tested at function module interface level.

But the same error is raised as an exception and instead

of populating the error message on the page, it gets

diverted to an error page.

what could be the reason? urgent help required

thanks in advance

-bhupendra

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

On your RFC are you catching the two special exceptions: SYSTEM_FAILURE and COMMUNICATION_FAILURE. Have a look in the online syntax help for DESTINATION, CALL FUNCTION.

This describes these special exceptions and how to catch additional message details about these errors.

Former Member
0 Kudos

hi thomas

can you please tell me how to look up

online syntax help for those exceptions

thanks for your immediate reply

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Anytime you are within the ABAP code editor(program editor, class method editor, ect), you can hit the button with the blue background and white letter "i" in the SE80 toolbar. This will allow you to perform an ABAP Keywork Documentation search. Or you can load the documentation directly with transaction code ABAPHELP.

Former Member
0 Kudos

hi thomas

Thanks a lot. You are so prompt and precise in your reply. I called function with destination 'NONE' and

handled those two exceptions. It is working well as of now.

You are amazingly precise in your replies.

Thank you very much.

bye

bhupendra

Answers (0)