cancel
Showing results for 
Search instead for 
Did you mean: 

How to send the .txt files into EP system

Former Member
0 Kudos

Hi,

I have a .txt file in sender system and it has to be sent to the Enterprise Portal. So, How to do this please help me.

I heard that EP takes only XML files so how to convert to XML .

Thanks in advance.........................

ram vijay

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>How to do this please help me. I heard that EP takes only XML files so how to convert to XML .

If PI is middleware you can do easily. By doing one of these ways

1) File adapter and choosing file content conversion as message protocol convert txt file to xml file and pass it to EP as XML. Basically using file (fcc) to file (xml).

2) FIle adapter on the sender side to convert txt to xml and use HTTP protocol on the reciver side to post data to EP.

Answers (3)

Answers (3)

abhay_rajhans2
Contributor
0 Kudos

Hi Ram Vijay,

You can look for one of the work around.

Take the text file from source and put it on the application server of PI. Then map this drive of pi with the drive of portal.

This can be done if the EP and PI are both in the same network.

Former Member
0 Kudos

You can use the File Content Conversion functionality.

Follow this wiki for instructions:

http://wiki.sdn.sap.com/wiki/display/XI/FileContentConversion

Sap Help:

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

The architecture, can be something like this:

FILE ADAPTER --> PI / FileContentConversion --> SOAP/HTTP

rajasekhar_reddy14
Active Contributor
0 Kudos

if you have PI midleware in your landscape then use filoe adapter in sender side to conver flat file in to XML and use Web service(SOAP) communictaion to update data in EP.