cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to flat File----Problem in File Content Conversion at receiver

Former Member
0 Kudos

hi experts,

I am doing a IDOC to flat file secnario.

My requirment is IDOCXI-Flat file

Format of flat file is like:--

Every segment in the IDOC will be converted into a single line of file(without any delimiter). So number of lines in flat file will be equal to number of segments in IDOC.

I am facing problem in File Content conversion.

Please help me out..

Thanks

Jaideep

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

thanks

Shabarish_Nair
Active Contributor
0 Kudos
former_member192295
Active Contributor
0 Kudos

Hi,

According to your requirement better to use multi mapping technique at receiver side. Your requirement will be sort out easily. Depending on source segments take equal receiver channels for generating files.

former_member181985
Active Contributor
0 Kudos

Check this doc...

[How To...Convert an IDoc-XML structure to a flat file and vice versa in XI 3.0 |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a]

Former Member
0 Kudos

Hi Jaideep,

What is the error you got?

Could you please copy and paste the error message from your communication channel monitor so we understand your problem.

Regards,

Lim...

Former Member
0 Kudos

I put idocname/IDOC.fieldseperator and parameter='nl'.

Response i got was just first field of control structure and first field of data structure.

But what i want is that all the fiedls of a segment should be coverted in a single line.

Same for all segment in the same file.

Thanks

JAideep

Shabarish_Nair
Active Contributor
0 Kudos

please go through the How to document link already posted.

that is your solution.