Hi Experts, I have a requiremnet to fail the mapping if value mapping lookup (standard valuemapping) fails...
For example
vendor --111 --valuemaplookup to aaa ---target =aaa
if vendor 222 does not have value defined in value map table it has to fail the mapping...I am not sure its not working its outputting 222 in the target , any idea whats the cause.
Regards
Ravikiran
Request clarification before answering.
you can try this:
add one UDF after value mapping...this UDF will compare the output of value mapping and input source value,
in case if both are same then it will throw a runtime exception
input will be a and b
execution type: single value
if(a.equals(b))
{
throw new RuntimeException();
}
else
return a;
Chk this also:
http://scn.sap.com/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphi...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.