Skip to Content
avatar image
Former Member

File Content Convertion

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 26, 2008 at 11:58 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 26, 2008 at 12:18 PM

    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

    Add comment
    10|10000 characters needed characters exceeded