on 05-29-2007 5:29 PM
Dear all,
i wrote a remote enabled function call around FM BKK_PAYM_ITEM_POST.
The RFC works fine, but when i execute it with some data, it gives an system error message: Extern. init. paym. trans.: Reference number paym. trans. missing
On the java side however, it throws an exception and the getMessage() gives null.
Isnt it possible to see the message on the java side?
Can the message be caught on the R3 side? Currently the error message just blocks the GUI.
I've read that i can catch it with call function .. destination 'NONE' ... and i tried it from a report in R3 and it indeed catches the message... But shouldnt it be thrown to java directly too then with a nice message because its also called via RFC...
In case not, is there a way to call function without the destination part so the messages are caught in a message table or so without blocking my gui in r3. If that's possible i can catch them like this and throw an error to java myself...
Kind regards,
J.
It's possible the following way:
CALL FUNCTION whatever
....
exceptions
error_message = 1.
if sy-subrc ne 0.
create your message and return it. (sy-msgid, sy-msgty, ...)
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.