on 07-17-2007 11:40 AM
Hi All,
How to validate the Data in XI ???
Or in other Areas like in ABAP Also ???
Please let me know
Regards
Vamsi
Befor the actual end to end test you can test the validity of the data in the message mapping test tab
Mudit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Regarding data validation in ABAP
Have a look at these links
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/table%2bmaintaenance%2bprogram
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/netweaver%2bbased%2bengines%2b(ABAP)
(Alert Management)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.