Application Development 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: 

Copying text elements to file

Former Member
0 Kudos

Hi all,

Anyone have idea, how to copy zprogram's text elements to an ascii file?.

Thanks and regards

Amala

3 REPLIES 3

Former Member
0 Kudos

will u explain ur question

former_member382216
Participant
0 Kudos

USing the following statemet read the values of text element

sy-cprog-program name

data TEXTPOOL_INT type table of TEXTPOOL.

READ TEXTPOOL SY-CPROG INTO TEXTPOOL_INT LANGUAGE SY-LANGU.

pass the internal table to WS_DOWNLOAD function module to download the text.

Former Member
0 Kudos

Hi,

What i understood from the question is, you have to copy all the text elements of a zprogram to ascii raw file.

Use READ TEXTPOOL <zprog> INTO itab LANGUAGE sy-langu, so you will get an it of type textpool.

You can use GUI_download to download contents of it to ascii for. I think it will work out.

regards

Jijo