cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to file Scenario with File content conversion at receiver side

Former Member
0 Kudos

Hi,

Scenario -> IDOC to file content coversion.

Now I have to create a txt file with semi colon seperated values in it..

Struture of output file:

AH;ORANGE;4.0;NO980234891MVA;;20100107;22202934D0002;22202934D;;2119140;;;1101005;;;;;;1101005;22IJ;;;;;;;MVD

AL;80;;1;1654706;SAMPLE.16A 2P/C A-RESULTT;;100;160;0;EA;;;2010457;;37737;;;;;;;;;39137;1101067605;E;795

AT;Ekspedert

I have a header line : AH folowed by Line Item : AL and then Text item line : AT

Note: AH will be repeated along with its Text item line.

Please provide the details of FCC at the receiver end to get this structure.

Detailed information will be helpful.

Thanks

Kiruthi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try to use this config.

RecordSetStruct = H1,AL,AT

H1.fieldSeparator = ;

H1.endSeparator = 'nl'

AL.fieldSeparator = ;

AL.endSeparator = 'nl'

AT.fieldSeparator = ;

AT.endSeparator = 'nl'

Former Member
0 Kudos

Hi

Thanks for the reply.

Without creating 3 strucutres like H1,AL,AT

whether it is possible to do by one structure:

RecordSetStruct = record

record.fieldSeparator = ;

record.endSeparator = 'nl'

Thanks,

Kiruhti

Shabarish_Nair
Active Contributor
0 Kudos

your content conversion is dependent on your Target XML structure so you need to have a defined structure on which you can use the FCC parameters - /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts

Former Member
0 Kudos

Hi,

Thanks for the reply..

In the target file,

Headerline shd start with AH; followed by values;values;values

LineItem shd start with AI;followed by values;values;values

TextItem shd start with AT;followed by values;values;values

and I have given the following FCC parameters in Communicatio channel.

Header.fieldSeparator ;

Header.endSeparator 'nl'

LineItem.fieldSeparator ;

LineItem.endSeparator 'nl'

TextItem.fieldSeparator ;

TextItem.endSeparator 'nl'

Wht changes have to be made

Waiting for reply.

Thanks

Kiruthi

Answers (2)

Answers (2)

former_member208856
Active Contributor
0 Kudos
Shabarish_Nair
Active Contributor
0 Kudos

There are many blogs that will help you with FCC at the receiver side. Some are;

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts