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

How to create 2 transaction codes for same report program with diff title

Former Member
0 Likes
473

Hi All -

I have created report program and create 2 transaction codes with different short description. I want to display the Tcodes decriptions instead of program attributes title.

Can anyone pls tell me how to do this?

Thanks,

Kannan

2 REPLIES 2
Read only

Clemenss
Active Contributor
0 Likes
428

Hi Kannan,

define 2 titlebars t1 and t2 for the report. In report initialization,

IF sy-tcode = 't1'
  SET TITLE t1.
ELSE.
  SET TITLE t2.
ENDIF.

Regards,

Clemens

Read only

Former Member
0 Likes
428

Hi,

You can create 2 GUI title for the report. You the below logic.

if sy-tcode = 'A1'.

SET TITLEBAR 'A1'.

else.

SET TITLEBAR 'A2'.

endif.