on 08-25-2015 6:38 AM
Hi Experts,
I have a scenario in PI, where I have 1 Header, 1 transactional,1 vendor item, 1 account item details in the source file. This data is coming in CSV format.
I am using FCC to convert CSV into XML
where the problem is data coming from source has no key field value then how to maintain the fcc parameters in sender side ?
I have no clue, if this can be converted into XML through FCC.
Any help will be highly appreciated.
Regards
Umesh
Hi Umesh,
where the problem is data coming from source has no key field value then how to maintain the fcc parameters in sender side ?
If there is not key filed value and the number of the occurrences of vendor, account and customer can be variable, there is no way to FCC to know when a file line belongs to one side or another one.
AFAIK The only way is to take vendor, account and customer like the same registers and later in mapping level do the split. You could do this split asking in the mapping: if the third field is blank, it is a vendor field, if not then if the fourth field is blank is a customer field and so on.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Umesh,
I have a scenario in PI, where I have 1 Header, 1 transactional,1 vendor item, 1 account item details in the source file
>>> Are all these 4 Segment coming only once in your Source File...can you share snapshot / data of the file for clear understanding
Is there any hierarchy in each of the fields? Pls note standard FCC cannot handle more than 3 level of hierarchy
Regards,
Azhar
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 | |
6 | |
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.