on 08-01-2013 10:58 AM
Hi All,
we are using Tab Seprated flat file in sender side.
File has 25 fields for a header item and we always required only first 10 fields from it, so let know the way to ignore other than required fields instead of creating 25 fields in Datatype and ignoring it in mapping.
Regards,
Mani
Hi Mani,
Declare just 10 fields in your data type and in FCC. This is what Amit is trying to suggest here. It should work.
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
could you paste an screenshot of the DT defined in the ESR,i assume that the key value is not spected in the DT, so you should define the
Header.keyFieldInStructure = ignore
Detail.keyFieldInStructure = ignore
○ NameA.keyFieldInStructure
■ If the key field of the substructure is to be added to the XML document, enter add. This is the default.
■ If the key field is to be ignored, enter ignore.
The error is in the header segment, but without a sample of your structure and configuration provided in the FCC its too difficult to us help you.
could you provide a sample of the CSV and past the property Header.fieldFixedLength, i am sure the error is there.
I sugguest to use the properties below insted of NameA.additionalLastFields
take a look to help.sap
● Parameter NameA.fieldFixedLengths is configured
○ If the inbound structure contains more fields than in NameA.fieldNames or NameA.fieldFixedLengths the conversion is executed.
Additional fields in the structure are ignored.
Use the NameA.missingLastFields parameter to define the behavior at runtime when the structure contains less fields in total that specified in NameA.fieldFixedLengths
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
I can't share the test file as its a real time file which customer supplied from AS IS.
file foramt: Header and Line items has 25 fields, both header and line items will have 24 tabs(25 fields total) but header have value for first 10 fields only and rest are just tabs without any value.
I have added extra 15 fields in header structure and executed E2E without any issue but throwng error only if i create 10 fields in Header structure.
i am using PI 7.31 (SP 06).is this could be a product bug?
Regards,
Mani
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.