‎2006 Mar 22 1:28 PM
hi abappers,
can any body tell me how i can get the title of a program which is entered in the selection screen.
Naren
‎2006 Mar 22 1:31 PM
In SE80 choose Goto -> Attributes...
Is that what you are looking for...?
‎2006 Mar 22 1:32 PM
Hi,
You can use the system field SY-TITLE.
Regards,
Suresh Datti
‎2006 Mar 22 1:36 PM
hi,
i have a program say zxx to which i give the name of another program say zyy in a selection screen of zxx. when zxx is executed it displays the content of the program zyy using "read report" statement in a classical list. now in the heading of the list i want to display the title of the program zyy. how can i do it plz hlp me.
Naren
‎2006 Mar 22 1:44 PM
GOTO Table TRDIRT-Title texts for programs in TRDIR
GIVE your zxx/zyy & spras = 'E' & GET THE DESCRIPTION ..
Regards
srikanth
Message was edited by: Srikanth Kidambi
‎2006 Mar 22 4:13 PM
‎2006 Mar 22 4:45 PM
Along with READ REPORT zyy, also do a READ TEXTPOOL zyy INTO itab_texts as follows.
DATA: program(8) VALUE 'ZYY',
itab_texts LIKE textpool OCCURS 50 WITH HEADER LINE.
READ TEXTPOOL program INTO itab_texts LANGUAGE sy-langu.
READ TABLE itab_texts WITH KEY id = 'R'. "<-- This will give you the title
The IDs are explained as below
R - Program titles
T - List headers
H - Column headers
S - Selection texts
I - Text symbols
‎2006 Mar 22 1:34 PM
hi naren,
sy-title
is the field which will fetch u the title text of the program .
is this what u are looking for.
regards,
vikky.
‎2006 Mar 22 1:35 PM
‎2006 Mar 22 1:36 PM
‎2006 Mar 22 1:38 PM
hi tomas,
when i use sy-title it displays the title of program zxx not zyy.
Naren
‎2006 Mar 22 2:44 PM
‎2006 Mar 22 1:37 PM