cancel
Showing results for 
Search instead for 
Did you mean: 

types of input to file adapter

former_member187563
Contributor
0 Kudos

hi all,

I am doing a file to mail scenario.And i wanted to send a text file as input.But while doing so i am getting mapping transformation error,since the data types and mapping fields are different from the input.

its working fine for xml files.

So how to configure it

regards,

ujjwal kumar

Edited by: ujjwal kumar on Apr 24, 2008 6:10 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

use file content conversion to convert you text file in to XML format.

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

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

rgds,

Arun

Answers (6)

Answers (6)

samiullah_qureshi
Active Contributor
0 Kudos

Hi Ujjawal

If want to process non-XML file through File adapter you have to use file content conversion parameters in File sender communication channel.

Refer following link how to configure File Content Conversion Parameters.

[http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm]

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

Reward points if find helpful

Regards

Sami

Edited by: sami qureshi on Apr 24, 2008 1:14 PM

Former Member
0 Kudos

hi,

Using file content conversion you can able to achive your requirement..

Check the link and find how to configure File Content Conversion ...

[http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm]

Otherwise use the MessageTransformBean convert your Text file into Xml file according to your structure..

Check the link and find how to configure MessageTransformBean..

[http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm]

Regards,

Prakasu

Former Member
0 Kudos

Hi Ujwal

Use FCC and give appropriate parameters as per the structure required

follow these links

File Receiver with Content Conversion

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

Troubleshooting the File Adapter

/people/shabarish.vijayakumar/blog/2007/07/26/troubleshooting-the-file-adapter-last-updated-on-02-july10

Troubleshooting File-to-IDOC Scenario in XI.

/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi

http://help.sap.com/saphelp_nw70/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm

Thanks

Sandeep

if helpful reward points

pradeep_nellore
Participant
0 Kudos

Hi,

Use FCC and give corrersponding parameters.

Thanks

--Pradeep

Former Member
0 Kudos

HI,

PLease check following thread

Thanks,

Tuhin

Former Member
0 Kudos

Hi Ujjwal,

You will have to use File content conversion to convert your input as per the structure being used in mapping.

It would good if you can paste your structure here and elaborate your problem a little.

Thanks,

Varun