cancel
Showing results for 
Search instead for 
Did you mean: 

problem in file content conversion

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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-...

Former Member
0 Kudos

Dear Gopalakrishnan,

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

with regards

a.kumar

Answers (4)

Answers (4)

Ryan-Crosby
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Dear Ryan Crosby,

Thanks for the reply but the same problem

with regards

a.kumnar

Former Member
0 Kudos

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

Former Member
0 Kudos

Dear Amit,

Thanks for the reply...  but out put side I am getting only Id same prob

with regards

a.kumar

Former Member
0 Kudos

Hello,

Remove Emp_recordset from the target structure and then test?

Thanks

Amit Srivastava

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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...

Former Member
0 Kudos

Dear Gopalakrishnan!

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

With regards

a.kumar

iaki_vila
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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