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

Convert list output into text format

Former Member
0 Likes
404

Hi,

I want to convert list output into text file or internal table.Please send a simple sample program.

Thanks

Vikranth Khimavath

Hi,

I want to convert list output into text file or internal table.Please send a simple sample program.

Thanks

Vikranth Khimavath

1 REPLY 1
Read only

Former Member
0 Likes
355

HI,

1) Provide a file path where you want to download the list output.

2) Create a button on Application toolbar and handle the FCode so that once pressed it should call GUI_DOWNLOAD.

Refer std prog : BCALV_GRID_05 or BCALV_GRID_08 for custom button.

PARAMETERS : rb_pc RADIOBUTTON GROUP r1 DEFAULT 'X'

USER-COMMAND ucomm, "For Presen

p_f1 LIKE rlgrap-filename

MODIF ID rb1. "Input File

SELECTION-SCREEN END OF BLOCK b1.

You can use <b>GUI_DOWNLOAD</b> fm.

call function 'GUI_DOWNLOAD'

exporting

filename = fe_path

tables

data_tab = <b>ioutput</b> .same internal table used for List output

exceptions

others = 22.

Reward points if this Helps.

Manish