2006 Jul 13 10:57 AM
Dear friends:
Is there way or program to download text element and message class of a report program in SAP V4.7?
Thanks!
2006 Jul 13 11:47 AM
Hi
For text elements:
data: tb_tpool TYPE textpool.
READ TEXTPOOL Prog-name
INTO tb_tpool
LANGUAGE spras.
next is use the FM GUI_DOWNLOAD and pass the table tb_pool.
For Message Class
The messages can be downlaoded from T001w.
2006 Jul 13 11:10 AM
Samuel,
See <b>RS_TEXTPOOL_SHOW</b> for text elements.
Also check Fun Modules from Function Group <b> SETXP </b>
rgds,
TM.
2006 Jul 13 11:14 AM
hi,
try:
DATA: POOL LIKE TEXTPOOL OCCURS 0 WITH HEADER LINE.
READ TEXTPOOL P_REP LANGUAGE SY-LANGU INTO POOL.
-> export itab pool with gui_download
2) read report p_rep into itab.
read table itab where itab-line cp 'MESSAGE-ID'.
alternativ:
READ REPORT sy-repid INTO itab1.
APPEND 'REPORT' TO itab4.
SCAN ABAP-SOURCE itab1 TOKENS INTO itab2
STATEMENTS INTO itab3
KEYWORDS FROM itab4.
A.
Message was edited by: Andreas Mann
Message was edited by: Andreas Mann
2006 Jul 13 11:20 AM
Hi,
Check this link..for a program to mass download source code including function groups, text pools, and reports:
http://sap.ittoolbox.com/code/archives.asp?d=1623&a=s&i=10
Regards
vijay
2006 Jul 13 11:23 AM
messages are stored in T100 table
here you have to pass language & message class name
use select in the program to download them & finally use GUI_DOWNLOAD to download it to local server
regards
srikanth
2006 Jul 13 11:28 AM
2006 Jul 13 11:47 AM
Hi
For text elements:
data: tb_tpool TYPE textpool.
READ TEXTPOOL Prog-name
INTO tb_tpool
LANGUAGE spras.
next is use the FM GUI_DOWNLOAD and pass the table tb_pool.
For Message Class
The messages can be downlaoded from T001w.