on 11-17-2009 11:44 AM
Hi,
I am working on an inbound proxy wherein I am calling a FM within. And if i get some error in that FM then I want to raise an exception explicitly so that i get error in sxmb_moni.
I think i should use RAISE EXCEPTION TYPE cx_xms_syserr_proxy but can anybody suggest how exactly to use it.
thanks,
Hi ,
Following blog may help u
/people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
Or otherwise if you dont want any specific message as error and u just want that mapping should fail then you can use followng blog.
In that when your RFC call fails then trigger the code given in the below blog.
Code:
String youWillFail = new String("not.enough.long");
youWillFail.substring(0,100);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.