on 09-05-2006 11:06 PM
Hi,
I have to generate EDI_DC segment (which is mandatory)only if my input CSV file has column A value = 1 or 2. If it is something else, then I don't have to generate EDI_DC segment and just initialize some global variables. My problem is that if I use a function which checks this condition and use createif node function later to generate EDI_DC segment based on the column A value, I get an erro.
This is what I am doing in Graphical Mapping:
Column A --> UDF ( check the value of A and set a flag true if it is 1 or 2 else set it to false and initialize global varaibles) --> creatif --> EDI_DC.
Typically, my file has first 2 record's column A set to something else so that I can do some initialization. But this value generates a false flag that means DO NOT CREATE EDI_DC. This generates an error as it is a mandatory segment in the target.
What do I do here?
Hi
have a look on this weblogs about EDI_DC40:
/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
/people/sravya.talanki2/blog/2005/12/02/manipulating-idoc-control-records-from-payload
/people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
Mickael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.