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

Function module for HTML download

Former Member
0 Likes
1,256

Hi,

Is there any function module that can be used for downloading data in HTML format?Do we need to use a series of function modules?

Thanks & Regards,

Savitha.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
775

Actually the requirement is to transfer data directly from internal table in the program to HTML format output.Teh function module LIST_DOWNLOAD_HTML will not help in that.

Thanks & Regards,

Savitha.

5 REPLIES 5
Read only

Former Member
0 Likes
775

Hi Savitha,

Use this function module LIST_DOWNLOAD_HTML,

It will be help full to extract the data to html

Read only

amit_khare
Active Contributor
0 Likes
775

Check this FM -LIST_DOWNLOAD_HTML

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
775

Hi,

Check this,

DATA: html TYPE TABLE OF w3html.

DATA: html_wa TYPE w3html.

DATA: listobject TYPE TABLE OF abaplist.

DATA: report_name TYPE syrepid.

report_name = 'DEMO_LIST_FORMAT_COLOR_1' .

SUBMIT (report_name) EXPORTING LIST TO MEMORY AND RETURN .

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

listobject = listobject.

CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'

EXPORTING

report_name = report_name

TABLES

html = html

listobject = listobject.

Thanks,

Reward If Helpful.

Read only

Former Member
0 Likes
776

Actually the requirement is to transfer data directly from internal table in the program to HTML format output.Teh function module LIST_DOWNLOAD_HTML will not help in that.

Thanks & Regards,

Savitha.

Read only

Former Member
0 Likes
775

WWW_LIST_TO_HTML After running a report, call this function to convert the list output to HTML

ABAP_DOCU_DOWNLOAD Download ABAP documentation in HTML format.

regards,

srinivas

<b>*reward for useful answers*</b>