on 05-06-2008 1:55 PM
Hi
I had a requirment in XI for...
File --> XI --> Abap Proxy.
Condition : XI has to do some field validation in Mapping and post the data to abap proxy. and if validation in mapping failed
(Mapping failed), XI has to write the data in some database table.
Note :
Validation : Char,integer or length check.
what i am trying is that..
Send Step -> Transformation(it failed ,exception should called another interface) --> Abap proxy
i.e database table
M i going with correct flow..
Regards,
Ajay P
Hi Ajay,
Your Design Seems to be right .
In Exception Branch you are using another transformation and sender step that will be executed in case of error in Mapping Don't Forget to use Cancel Process after the things are writeen in data base.
Reward Points if Helpful
Thanks
Sunil Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use your transformation step within block and also define a exception for block and insert a exception branch and assign exception to it.
In transformation step property window in "System Error" specify your exception.
In exception branch you can mention whatever you want to do after failure of mapping. In your case you have to write into some database, you can do it by using send step there and if you want to cancel further processing then as sunil mentioned put control step with cancel processing.
Regards
Sami
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
i created the BPM as per the answers...and activated
http://img390.imageshack.us/img390/9182/bpmshotsdd5.jpg
but when i am testing it..
1.Case :
mapping do'nt fail
in Sxmb_moni
first message is sucessfull but second message fail with error
of " NO RECEIVER DETERMINATION "
id ID i have created 3 receiver determinations 3 inteface determination..
MY ID part is quite similar to
ID of scenario of File to RFC with BPM.
Regards
AjayP
Hi
Thx a lot i got it finally...
below is the screenshots :
http://img2.freeimagehosting.net/uploads/827adeef3a.jpg
Regards
AjapP
Hi ajay,
I would throw an exception like described in:
/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
and would insert an exception branch which catches the exception. In this branch I would place a send step to send back to DB.
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.