Skip to Content

need fcc configuration on receiver file adapter

Hi,

I am working on file to file scenario using fcc. My source file is picking propely in sxmb_moni its showing properly. but output file is not placing in target directory.

My output record structure iss

Target..1.1(nodE)

detail 0..unbounded

field1 length 15

field2 length 10

field3 length 14

trailer 1...1

field1 length 5

field2 length 2

for this how would i configure reciver fcc at the same time please mention me the properties.

Thanks,

enivass

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 28, 2010 at 07:25 PM

    Hi,

    Do you need to convert from XML to Plain Text file? Or simply output the XML?

    If you need to convert your XML back to plain you should go with something like that:

    XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion

    XML2Plain Transform.ContentType text/plain;charset=utf-8

    XML2Plain xml.conversionType StructXML2Plain

    XML2Plain xml.addHeaderLine 0

    XML2Plain xml.recordsetStructure DT_Header,1,DT_Detail,*,DT_Trailer,1

    XML2Plain xml.DT_Detail.fieldFixedLengths 15,10,14

    XML2Plain xml.DT_Detail.fixedLengthTooShortHandling Cut

    XML2Plain xml.DT_Trailer.fieldFixedLengths 5,2

    Reference:

    http://help.sap.com/saphelp_nw04/Helpdata/EN/24/4cad3baabd4737bab64d0201bc0c6c/content.htm

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 28, 2010 at 08:56 PM

    Hi Enivas,

    Take a look at this thread:

    file-with-ascii-control-characters-causes-runtime

    It might help you with that as well.

    Cheers,

    Jorge

    Add comment
    10|10000 characters needed characters exceeded