on 06-27-2011 5:23 PM
Hi Experts
I am working on a File to Proxy scenario in PI 7.1 , In one of the field length is 12 char, In some instances Field value will be greater than 12 char, however it passes through the mapping (I have declared as Data type as String with Max length 12) without any error
and It fails in the proxy side, before calling the BAPI
I want to capture the error in PI and send out an email to the user saying that field value is greater than 12
How can I do it in PI
Thanks
PR
Edited by: PR on Jun 27, 2011 12:24 PM
Hi ,
You can use the "XML Validation " feature in Sender Agreement / Receiver Agreement to overcome this problem. You can select an option 1.Adapter Engine 2. Integratin Engine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
YOu can use XML Validation in both adapter engine and integration engine to validate the length > 12 . But downside is enabling xml validation might slow down the performance too.
You can do the following...
In the mapping check the length and if it greater than 12 then decide your receiver is smtp system not proxy. Based on the length of that field you decide target is either smtp or proxy.
Use this [link |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90dcc6f4-0829-2d10-b0b2-c892473f1571?quicklink=index&overridelayout=true]and follow the topic Mulitple inbound service interfaces.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi PR
You might want to enable XML validation.
You can find more information on help starting at this page:
http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/0bf1b3ec732d2fe10000000a11466f/frameset.htm
Regards,
Giuseppe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.