3 weeks ago
Hi Experts,
There is a scenario where I have structure as below and FCC configured in sender channel mentioned -
<MT_XXX>
<Header> -- Few fields in the header section(details mentioned in sample file)
<Item> -- Few fields in the Item section(details mentioned in sample file)
<MT_XXX>
Error in the channel and even when I tried adding Key field in the structure following the blog mentioned below it is still failing by generating empty file (0 KB). and failing further in mapping stating premature end of file.
End to End File Content Conversion (FCC) Using IFl... - SAP Community
PFA the csv file which is sample file.
Please suggest where this is going wrong and how can I try to resolve the same.
Thanks,
Nidhi Srivastava
Request clarification before answering.
You must follow the guidelines in the help on sender FCC when you have a file with variable substructures as noted here and common values would be H for header, I for item and T for trailer (if necessary) -
Key Field Name
If you specified a variable number of substructures for Recordset Structure, in other words, at least one substructure has the value ‘*’, then the substructures must be identified by the parser from their content. A key field must be set with different constants for the substructures. In this case, you must specify a key field, and the field name must occur in all substructures.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ryan,
I already followed the guidelines for variable and tried the Key field in the structure. PFB the screenshot for your reference.
I have added the key field in the data type structure as well, but still no luck. It is ending into error - failing in mapping as empty file while the actual file picked is attached in the sample format.
Please suggest, where I am wrong and if I need to include any other field.
Thanks,
Nidhi Srivastava
User | Count |
---|---|
52 | |
8 | |
5 | |
5 | |
5 | |
5 | |
5 | |
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.