on 11-01-2007 2:53 PM
Hi
I am using fixed width file,(FCC with file adapter) for my rek. But I want to validate the input file like........ whenever mandatory field value (data) comes to be zero, mapping should fail or warning should come. How can we do this through FCC (File Content Conversion ) ?? Is there any otherway to handle this ??
Regards
Kumar
Kumar,
You make the target field for which it is mapped as the occurrence 1..1 Then you map as:
Source>condition (check the value not equals to zero)>createif-->target.
So when ever the value is not equal to zero it returns true to createif and the target field will be there. If the value is equal to zero then the condition gives false. Then the createif will be failed to map and your target is 1..1 so the mapping will be failed.
You configure alerts for all the mapping errors.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
with the key field value in the FCC, XI will only pick the record that has the value mentiond in the FCC, if you want to trigger the mail still then you have to take care this in the Mapping program ( check vaule of the filed=='123') with this condition you can either do the receiver determination runtime ( which points to the BS triggering mail) or use this condition in interface det, which trigger the mail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
why do u want to do this in mapping or FCC?
just check the condition in conditional receiver determination,give as many conditions as u want to,then give a dummy Business system name,an exception will be triggered and an e-mail will be sent provided alerts are configured correctly
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer to these links
/people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
/people/valery.silaev/blog/2007/05/15/fast-return-with-java-exceptions
/people/udi.dahan/blog/2007/03/27/errors-exceptions-and-asynchronous-web-services
http://help.sap.com/saphelp_nw04/helpdata/en/da/a3a7408f031414e10000000a1550b0/frameset.htm
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
Regards,
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This can be achieved in the message mapping.Writing a java code to do this can suffice.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
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.