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

program title

Former Member
0 Likes
1,260

hi abappers,

can any body tell me how i can get the title of a program which is entered in the selection screen.

Naren

12 REPLIES 12
Read only

Former Member
0 Likes
1,227

In SE80 choose Goto -> Attributes...

Is that what you are looking for...?

Read only

suresh_datti
Active Contributor
0 Likes
1,227

Hi,

You can use the system field SY-TITLE.

Regards,

Suresh Datti

Read only

0 Likes
1,227

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

Read only

0 Likes
1,227

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

Read only

0 Likes
1,227

HI,

is your problem resolved or not ???

Read only

0 Likes
1,227

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 

Read only

Former Member
0 Likes
1,227

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.

Read only

Former Member
0 Likes
1,227

using the system field sy-title u can trace the same

Read only

Former Member
0 Likes
1,227

and sy-title in ABAP program of course...

Read only

0 Likes
1,227

hi tomas,

when i use sy-title it displays the title of program zxx not zyy.

Naren

Read only

0 Likes
1,227

Then get it from table TRDIRT, field TEXT.

Read only

Former Member
0 Likes
1,227

you can get it from sy-title.

regards

vijay