cancel
Showing results for 
Search instead for 
Did you mean: 

How to read XML file kept on NON-SAP server using the Http URL ?

suchita_phulkar
Active Contributor
0 Kudos

Dear Experts,

I am working on CRM2007 web UI. I need to read a XML file placed on a shared server location by a third party program. Then process that XML file into CRM and create a quotation using the data extracted from the file.

All i have with me is the http URL that points to the location of the file.

I am supposed to read the file , create quotation and at later point of time i would be asked to update the quotation and then generated new XML representing updated quotation and replace the XML file on shared server location with this new updated XML file.

I know how to extract data from XML file into ABAP but i have no clue as to how to access the file on some other server using the http url i have and how to read it ?

I searched on the forum and i found the codes for reading XML file that is located either on client machine OR on the Application server wheareas my file is on some other than sap application server.

Please help me as its an urgent issue .

Points will be rewarded for sure.

Please help.

Thanks in advance,

Suchita.

p.s. : the http url to the file location is like -->

http://SomeServerDomain/SomeDirectory/file.xml

Accepted Solutions (0)

Answers (1)

Answers (1)

suchita_phulkar
Active Contributor
0 Kudos

Solved using CL_HTTP_CLIENT