cancel
Showing results for 
Search instead for 
Did you mean: 

File Conversion to File Conversion Scenario..

former_member184543
Active Participant
0 Kudos
61

Hi,

I am doing a File Conversion to File Conversion scenario. Hope its clear..

Well in this scenario my structure is

<File2File_Conversion_Sender_MT>

<Employee>

<id>aa</id>

</name>sas</name>

<Employee>

<File2File_Conversion_Sender_MT>

In sender:-

Wat will be the document name?

Recordset name?

Recordset structure?

In receiver:-

Recordset structure?

Let me know if any more clarification is needed.

thanks

Anju

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Below content conversion parameters you will have a table with name and value as columns.There you have to give the following details.

name value

ignoreRecordsetName true

Answers (7)

Answers (7)

former_member184543
Active Participant
0 Kudos

Thanks ppl.

As i thought, it was correct that Recordset has to be ignored as I have only one structure definition.

I had to ignore the recordset.

Thanks a lot.

Former Member
0 Kudos

Hi Anju,

Use this :

Document Name : File2File_Conversion_Sender_MT (this is Outbound Message Type)

Document Namespace : NAmespace of outbount Message Type.

Recordset Structure : Employee,*

Name----


Value

Employee.fieldSeparator -


> ,

Employee.endSeparator -


> 'nl'

Employee.fieldNames -


> id,name

ignoreRecordsetName -


> true

Go through this :

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

Thanks,

Maheshwari.

Message was edited by:

Maheshwari Morbale

Former Member
0 Kudos

Hi ANJU

Have a look at these two links

/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter

/people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter

Former Member
0 Kudos

Hi Anju,

Try using ignoreRecordsetName = true

Thanks,

Maheshwari.

former_member184543
Active Participant
0 Kudos

Hi,

I am really new to this and I am still getting thru ths slowly.

Can you tell me where i can set the same??

Please

thanks

anju

Former Member
0 Kudos

Hi Anju,

You need to set the same at the place where you are entering the file content conversion parameters.

Regards,

Sumit

Former Member
0 Kudos

Hi

IgnoreRecordsetName True

You can write this in the content conversion table which is at the bottom of communication channel

left column write IgnoreRecordsetName and corresponding right column write as True

Please check if you have mentioned fieldSeparator and endSeparator in a proper manner.

Hope this helps

Regards

prasanthi_chavala
Active Contributor
0 Kudos

Hi Anju,

In the sender communication channel under FCC parameters do set this parameter:

Name Value

ignoreRecordsetName true

Go through this link:

http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm

Regards,

Prasanthi.

Former Member
0 Kudos

Hi AnjU

<i>Wat will be the document name?</i>

-


>here you can mention outbound message type. But this field is not mandatory.

Recordset name is also optional.

The fields against which red * is marked are mandatory.

recordset structure is mandatory where in you need to write your target message type structure, in your case it is <b>Employee,*</b>. This implies that employee node can occur multiple time in your sender file. If the node is occurring only once then you can write Employee,1.

Similar in case of receiver communication channel. Specify your target structure as specified above.

Regards

former_member184543
Active Participant
0 Kudos

Hi Mugdha,

If you notice, I am getting <Recordset> in my strcuture of input. When I pick this and try to test this, its not giving me outpt in IR.

So I believe I need to disable XI from taking this. I am not sure how..

this strcture is taken from sxmb_moni and Inbound Message->Payloads->main document. Right click in the bottom frame->select View source-> copy the source ->paste in IR and test..

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

<ns:File2File_Conversion_Sender_MT xmlns:ns="http://bcone.com/xi/File2FileSystemconverts">

<Recordset>

<Emolyee>

<EmployeeName>sss</EmployeeName>

<EmployeeId>123</EmployeeId>

</Emolyee>

</Recordset>

</ns:File2File_Conversion_Sender_MT>

Let me know if u need more clarifications.

Thanks

Anju

Former Member
0 Kudos

Hi ANju,

Write the following in FCC parameters..

ignoreRecordsetName = true

The <Recordset> tag will not appear.

Regards,

SUmit

Former Member
0 Kudos

Hi

Recordset structure will be = Employee,*

Former Member
0 Kudos

Hi Anju,

Recordset name will be = File2File_Conversion_Sender_MT

You can leave the recordset structure as blank.

Regards,

Sumit

former_member184543
Active Participant
0 Kudos

Hi,

Recordeset Structure cannot be blank as it wont pick the file then..

thanks

Anju