cancel
Showing results for 
Search instead for 
Did you mean: 

Validating input fields

Former Member
0 Kudos

Hi all,

In one of my scenario i should validate the data coming to PI. there are some 10 values coming to PI if some fields are missing i soulh fail that message in PI and call one webservice and tell this particular field are missing .

Please guide how to achieve this....?

Regards

Pradeep

Accepted Solutions (0)

Answers (3)

Answers (3)

prateek
Active Contributor
0 Kudos

XML Validations (available with PI 7.1) has some limitations and could only send an error mail. But after this the processing would stop.

BPM could be used as explained if you want complete response structure to be used in PI.

You may perform Soap Lookup if your aim is to receive some value from webservice based on some input value.

Regards,

Prateek

former_member200962
Active Contributor
0 Kudos

Such a check can be made in the Switch step of a BPM. If that field is not present then the branch will be executed and there have a Send step to send the actual message to the webservice...after this send step have a Control Step (action as Cancel Process).

Regards,

Abhishek.

sunilchandra007
Active Contributor
0 Kudos

Yes, XML validation can be done easily. Just have a look at following links:-

1. XML Validation

http://help.sap.com/saphelp_nwpi71/helpdata/en/44/0bf1b3ec732d2fe10000000a11466f/frameset.htm

2. How To... Perform XML Validations in SAP NetWeaver Process Integration 7.1

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d06dff94-9913-2b10-6f82-9717d9f83df1&override...

It would be very helpful.

Regards,

Sunil Chandra

former_member200962
Active Contributor
0 Kudos

XML validation will throw an error which can be viewed only by the configured recipients (as an alert)

It cannot help you send message to a WebService and inform that a particular field is absent.

My understanding of the problem

Regards,

Abhishek.