cancel
Showing results for 
Search instead for 
Did you mean: 

Sender FCC Details

Former Member
0 Kudos

Hi,

How to specify the sender fcc details for following structure

<header>

<Record>

<field1>

<field2>

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

Pls use this

Document Name: your msg type

Document Offset:

Recordset Name:

Recordset Namespace:

Recordset Structure: Header,1,Record,*

Recordset Sequence: Ascending\Descending

Recordset per Message: *

KeyField Name: give one value which u want to use as a key

KeyField Type: String(Case Sensitive)

header.fieldFixedLengths fix length according to your requirement eg: 2

header.keyFieldValue value of field which fixed as key field in header

header.fieldNames u dont have header field name

body.fieldFixedLengths fix length according to your requiremen eg: 2

body.keyFieldValue 02- value of field which fixed as key field in item

body.fieldNames field1,field2

Thanks,

Arivarasu S

Former Member
0 Kudos

HI Guys,

How about the sender file is of such format

Header1,Item1 details

Header1,Item2 Details

Header2, Item1 Details

Header2,item2 Details

Header3, Item1 Details

I need to map this file format to IDOC strucutre, In Header there is a filed which is the Key value to identify the change in header.

Eg: Order Number is the field in the following file which identifies the change in header: First three fields are header details and following are the item details:

ABC,ON1,22,Item1,XX

ABC,ON1,33,Item2,FF

ABC,ON2,44,Item1,MM

ABC,ON3,66,Item1,LL

How would be the Data type strcuture to capture this type of falt file strcuture and FCC parameters?

I need to send a single IDOC per one header with multiple Items. is it possible to achieve?

Thanks

Rajeev

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

Source file is .csv file.

field1,field2,field3,....

<Header>

<Record>

field1

field2

JaganMohan
Participant
0 Kudos

Dear Akkasalai,

You didn't mention the exact format. As my understanding, if your source file structure will contains header (having some fields), record set (having some fields), then you have to specify the FCC as follows.

Document Name : <Message Type Name>

Document Namespace : <Namespace of Message Type>

Reordset Structure: Header_Record,1,RecordSet,* (Here 1means one time occurance, * means multiple time occurance)

Recordset Sequence : Ascending

If you want then you can specify Key Field Name also.

Then you have to add the parameters like Header_Record.fieldSeparator, Header_Record.fieldNames, etc. Likewise for RecordSet also.

Please go through the following links as well for further reference:

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

Regards,

Jagan.

Former Member
0 Kudos

Akkasali ,

Flat file is Required !!!

Regards

Former Member
0 Kudos

Apart from what aamir asked also tell us whether you are having a fixed length or csv file etc?

Former Member
0 Kudos

Hey

Please explain your questions completely,try to use formatting options available on SDN to make your text readable.


<header>
<Record>
<field1>
<field2>

the above is an incomplete structure,please provide complete XML structure in proper formatting.

Also provide a sample of how the flat file looks like.

Thanks

Aamir