cancel
Showing results for 
Search instead for 
Did you mean: 

How to validate the data

Former Member
0 Kudos

Hi All,

How to validate the Data in XI ???

Or in other Areas like in ABAP Also ???

Please let me know

Regards

Vamsi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Befor the actual end to end test you can test the validity of the data in the message mapping test tab

Mudit

Answers (5)

Answers (5)

Former Member
0 Kudos

hi,

If want to validate any data before going to the reciever side in the message mapping use the function of conditions like if or case etc so that when it condition is true then only valid data will be send to the receiver side.

Reward if helpful,

Regards,

Srinivas.D

Former Member
0 Kudos

Hi,

Can u Please Send Any Small Example How we will validate the Data in Mapping

Any Develped Object or Blog ......

Regards

Vamsi

Former Member
0 Kudos
former_member529475
Active Contributor
0 Kudos

Hi Vamsi,

You can validate in Message mapping by applying some mapping rules on message.

and the second one you can check the payload .

by monitoring the msgs in SXMB_MONI

by checking the message based on certain condition in IP - BPM if you are using BPM.

which way you want plz clarify.

you need to use standared function or write UDF in mapping if you need validate the data

For example , you have message mapping , in that some rules are existed.

if source field is equal to "ABC" then do some mapping rule either by applying the standard functions or UDF then map to target node.

Also,

you can raise alert from Message mapping when the msg is not valid.

See the below link to get an idea about how to raise alert from MM.

Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

Cheers...

Vasu

<b>** REward POints if found useful **</b>

henrique_pinto
Active Contributor
0 Kudos

if you want to perform simple and few validations, you can implement them in mapping level.

If you wish complete schema validation (when you have external .xsd, for example) you need to use java code for that: http://help.sap.com/saphelp_nw04s/helpdata/en/c4/e1343e8c7f6329e10000000a114084/frameset.htm

You could implement that in a java mapping, for example.

Regards,

Henrique.

justin_santhanam
Active Contributor
0 Kudos

Vamsi,

How to validate the data? what do u mean here. Could you explain whats the exact query u r looking for.

Ok, lemme give u an example. For a particular field in your scenario, the field has to be only numeric, what happen if its non-numeric? Is this is ur question. If yes then u have to handle all the business logics in Mapping part.

Best regards,

raj.