Skip to Content
avatar image
Former Member

FCC problem in Sender Communication Chaneel

Hi

in a i/b scenario my file has the following csv structure

1#XI_DOC#XI_DOC#XI_DOC

2#Amit#Kumar#shivhare

i need this to be converted in to the form

<?xml version="1.0" encoding="UTF-8"?>

http://SAPBPMTesting.com">

<DT_Header>

<File_Type>XI_DOC</File_Type>

<File_Name>XI_DOC</File_Name>

<File_Ext>XI_DOC</File_Ext>

</DT_Header>

<DT_CONTENT>

<FisrtName>Amit</FisrtName>

<MiddleName>Kumar</MiddleName>

<LastName>Shivhare</LastName>

</DT_CONTENT>

</ns0:MT_FILE>

so in the content conversion tab i have given the following values

doc name MT_FILE

doc name space http://SAPBPMTesting.com

doc offset

recordset name DT_File

recordset namespace

recordset structure DT_Header,DT_CONTENT,*

recordset sequence ascending

record sets per message 1

key field name KZ

key field type integer

DT_Header.fieldSeparator #

DT_Header.endSeparator 'nl'

DT_Header.fieldNames KZ,File_Type,File_Name,File_Ext

DT_Header.keyFieldValue 1

DT_Header.keyFieldInStructure ignore

DT_CONTENT.fieldSeparator #

DT_CONTENT.endSeparator 'nl'

DT_CONTENT.fieldNames KZ,FisrtName,MiddleName,LastName

DT_CONTENT.keyFieldValue 2

DT_CONTENT.keyFieldInStructure ignore

ignoreRecordsetName true

i get an error in file sender adaptor as

Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Format error in 'xml.recordset' argument: incomplete structure (name,number) pair

can u pls suggest if the procedure followed is correct

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 29, 2008 at 10:09 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Oct 29, 2008 at 09:09 AM

    recordset structure DT_Header,DT_CONTENT,*

    you need to specify,

    recordset structure

    DT_Header,1,DT_CONTENT,*
    or
    DT_Header,*,DT_CONTENT,*
    
    * means it is repeating.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 29, 2008 at 09:08 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 29, 2008 at 09:08 AM

    I think u have not defined the correct structure, ur recordset or root node is missing.

    check the below link for strucutre for sender file adapter.

    http://help.sap.com/saphelp_nw04/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm

    How to send a flat file with various field lengths and variable substructures to XI 3.0

    also i can not see DT_File in ur XML structure.

    chirag

    Add comment
    10|10000 characters needed characters exceeded