Skip to Content
avatar image
Former Member

problem in file content conversion

Dear friends,

i have to work on  new interface that is xml to comma separated txt, for that I am trying to do the test  interface. but my problem is  file is processing successfully but  out put side I am getting only id rest of the things I am not getting plz help  me to solve the problem. Here I am furnishing the screen shots.

Thanks in advance

akumar.

test cc1.png (15.0 kB)
datatype.png (15.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Oct 28, 2013 at 07:17 PM

    You are trying to do two level content conversion... I believe your emp_rows  coming under emp_recordset.   If your emp_recordset has no meaning and not required  then remove it and keep just emp_rows under MT... This would work.

    Recordset structure:   emp_rows

    if you need parent node emp_recordset and the secondary level emp_rows then you have to use special techniques.  refer this link:

    http://scn.sap.com/people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-hierarchical-structure

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Gopalakrishnan,

      I am very much thankful for your kind reply.  finally my test interface is working.....

      with regards

      a.kumar

  • Oct 28, 2013 at 05:55 PM

    You might want to see this links for your scenario... Make sure you refer fieldNames and structure as explained in the below screenshots...

    http://www.riyaz.net/sap/xipi-file-content-conversion-for-simple-structure/75/

    http://www.riyaz.net/sap/xipi-file-content-conversion-for-complex-structures/79/

    You might also want to see sap help document on this...

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Gopalakrishnan!

      Thanks for your links.... as per abv links I made changes but same problem sir 😔

      With regards

      a.kumar

  • Oct 28, 2013 at 05:55 PM

    Hello,

    In the Recorset Structure : Remove comma after Emp_rows

    In addition to that, remove Emp_rows.fieldNames parameter and then test?

    Thanks

    Amit Srivastava

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 28, 2013 at 05:51 PM

    Hi Arun,

    Specify the Recordset Structure giving the list of nodes including the root and substructure that needs to be read. Finally use the fieldseparator parameter for each node.

    Regrads.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi vila,

      thanks for your response  if I am doing like this cc is picking the file from input but it is not dropping the file into output  and in Rwb it is showing that "Channel has not been correctly initialized and cannot process messages

      regards

      a.kumar

  • Oct 28, 2013 at 06:27 PM

    Hi Arun,

    It looks to me as if the recordset structure does not match the XML that you are using in your data type.  I would change the recordset structure in the following format Emp_recordset,1,Emp_rows,* and then remove the Emp_rows.fieldNames parameter as Amit has suggested.

    Regards,

    Ryan Crosby

    Add comment
    10|10000 characters needed characters exceeded