Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How can i obtain HTML code

Former Member
0 Likes
542

Hi,

I need obtain the source code of one webpage (the page is http://www.banxico.org.mx/tipcamb/tipCamIHAction.do).

Until now, i obtained the source code of pages with the function module SCMS_HTTP_GET_WITH_URL, but this page return the code 404 (Not found). The esception is: Access error HTTP: IF_HTTP_CLIENT->RECEIVE 1 ICM_HTTP_CONNECTION_FAILED

How can i obtain the source code of this page? Exists other function module o class for this?

Best regards and, thanks!

2 REPLIES 2
Read only

sreelatha_gullapalli
Active Participant
0 Likes
464

hi

refer to this link

http://www.erpgenie.com/abap/functions.htm

thanks and regards

sreelatha gullapalli

Read only

athavanraja
Active Contributor
0 Likes
464

amy be

1. the site was down when you called.

2. your ICM was down.

3. some authentication is required from your environment to call internet (proxy) which is missing in your call.

Exists other function module o class for this?

you can use cl_http_client class for the same