on 05-24-2010 2:29 AM
Hi All,
I am new to SAP PI. I am working on Sender FCC. Below is the source file structure. I need to handle multiple sub structures Header,1Data,*. I think I have to use Key.field Name and Value. But in the below format we don't have any indicator to identify which is header and which is data record. Please suggest how to processed.
Header Record (Pipe delimited) (Cardinality 1:1)
Date
Invoice Number
Total Amount
Company Name
Data Records (Fixed Length) (Cardinality 1:n)
Date
Amount
Country
Card Number
etc...
Sample File Snippet:
20100430|4123451810|218.50|CC
20100430 $150.00 INDIA 1234567
20100430 $150.00 INDIA 1234567
20100430 $150.00 INDIA 1234567
20100430 $150.00 INDIA 1234567
Hi,
Requested 3rd party to proivide the key value. Now the issue is resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Achuthu ,
This can be easily got using a simple ABAP Mapping , or writting a UDF with the Logic
Where in ur case the Always ur header data is only one and it occurs in the first record and then
rest all comes ur Item record and Split it with Comma using ABAP fuction
u can easily get the result
Thanking you
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try using the below parameters in FCC
Header.fieldSeparator |
Header.endSeparator 'nl'
Data.fieldFixedLengths ur values --3,5,5..
Data.endSeparator 'nl'
Regards
Ramg
Edited by: Ramkumar Ganesh on May 24, 2010 4:05 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.