cancel
Showing results for 
Search instead for 
Did you mean: 

Error Capturing in PI 7.1

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanks

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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