reg : exceptions raised when function module called from BSP
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
Thomas Jung replied
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.