on 04-17-2009 10:11 AM
Hi frnds,
Quantity:
How to check the file if it is value negative or non-numeric then I need 2 raise error.
Date:
if blanks, zeros ,non-numeric,negative,greater than polling date, How can v raise error.
how can v do mapping
Id:
If blank or non numeric or other than 1,3,12,13
How Can I do Mapping
Thanks in Advance
Check with the UDF,
Adjust according to your requirement, This will throw a run time exception. So for the fields you want to throw an error you can use this one.
String retValue = null;
if(a == null || (a != null && a.length() == 0)) {
throw new RuntimeException("This field is Madatory");
} else {
retValue = a;
}
return retValue;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
If your are running a PI 7.1 UDF is the best choice (simple sample outlined in above post). If your are running a XI 3.0 or PI 7.0 I think you'll have to code your own XSLT, Java or ABAP mapping program...
Regards,
Volker
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 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.