cancel
Showing results for 
Search instead for 
Did you mean: 

File content conversion in receiver adapter

Former Member
0 Kudos

Hi,

Can anyone please provide me the Content Conversion Parameters required to convert the xml given below to a text file. I have tried as provided in riyaz's blog but not getting the result.

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

<ns1:File_MT xmlns:ns1="urn:ca.com:B2B:procurement:tcs">

<Timestamp>12/01/2012 13:53:50</Timestamp>

<PO_Number>7300000701</PO_Number>

<Message_ID>A2140E4F70E0F53AE1000000AC113034</Message_ID>

</ns1:File_MT>

Please help..

Thanks

Siji

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Siji,

I see that there is no recordset name for the structure of the XML file.

Recordset Name defines the root node under which rest of the XML will be created.

Ref : http://saptechnical.com/Tutorials/XI/Contentconversion/page1.htm

And file content conversion parameters weblinks provided by the fellow SDN'ers.

Former Member
0 Kudos

Hi,

I am getting an empty file. This is a scenario inside bpm and my message is coming in Inbound Message-Payloads-MainDocument. Is this the reason why the file content conversion is not working.

Thanks

Siji

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You need to set document name as message type name and document namespace as message type namespace... very important. Otherwise you dont get message structure. Plus you need to specify Recordset name, namespace , recordset per message.

Answers (2)

Answers (2)

former_member303666
Active Participant
0 Kudos
former_member184681
Active Contributor
0 Kudos

Hi,

Use SAP Help on Receiver File Adapter for instructions on using it:

[http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm]

Keeping things simple, you need to type File_MT as the Recordset Structure and then use any parameters you need to format your foutput file.

Hope this helps,

Grzegorz