cancel
Showing results for 
Search instead for 
Did you mean: 

File Content Convertion

Former Member
0 Kudos

HI Experts,

My scenario was Idoc to File.

*Issue: I had mapped Source idoc with A,B,C,D fields.

I want only A,B,C at final structure.*

I cannot ignore D field in message mapping as i am using that field for file name Substitution in receiver communivcation channel target file name.

In my receiver CC i have given,

XX01.fieldNames: A,B,C

But still i am getting A,B,C,D in target structure.

thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member192295
Active Contributor
0 Kudos

Hi,

We can ignore follow below structure;

row.fieldNames A,B,C

row.fieldFixedLengths X,X,X

row.fieldSeparator X

row.endSeparator X

ignoreRecordsetName true

Configure above statement at receiver channel, it will work

Former Member
0 Kudos

Hi,

You have to set the file name in header message field instead of entering in payload message field. Doing that

you avoid creating D node in message mapping.

Then, it is the same using variable sustituion in File Receiver adapter.

To recovery this value, follow this link. (Advanced Tab Page

Variable Substitution (Target Directory/File Name Scheme))

http://help.sap.com/saphelp_nw04s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

Carlos