Skip to Content
avatar image
Former Member

How to validate the data

Hi All,

How to validate the Data in XI ???

Or in other Areas like in ABAP Also ???

Please let me know

Regards

Vamsi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Jul 17, 2007 at 10:41 AM

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

    Mudit

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 17, 2007 at 12:05 PM
    Add comment
    10|10000 characters needed characters exceeded

  • Jul 17, 2007 at 10:50 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 17, 2007 at 10:52 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 17, 2007 at 11:45 AM

    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>

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 18, 2007 at 03:27 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

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

      Any Develped Object or Blog ......

      Regards

      Vamsi