2008 Aug 20 7:31 AM
Hi all,
Anyone have idea, how to copy zprogram's text elements to an ascii file?.
Thanks and regards
Amala
2008 Aug 20 7:33 AM
2008 Aug 20 7:59 AM
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.
2008 Aug 20 8:02 AM
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