04-05-2011 10:51 AM
Hi all,
Ich have a problem by Implementation:
So my Report must be calling from 2 Transactions
Transaction 1 call Report 1 --> show title 1 (exp. Windows was called by Transaction 1) (start window - Dynpro screen 1000)
Transaction 2 call Report 1 --> show title 2 (exp. Report 1 was called by Transaction 2) (start window - Dynpro screen 1000)
I used SET TITLEBAR but isn't work
How can I do that? Can I user sy-tcode for the changing report-title?
Thanks for Answer!
04-05-2011 11:11 AM
Hi blue.,
try this., create ZTITLE1 as first title and ZTITLE2 as second title., and do as below.,
if sy-tcode = 'TCODE1'.
SET TITLEBAR 'ZTITLE1' .
elseif sy-tcode = 'TCODE2'.
SET TITLEBAR 'ZTITLE2' .
endif.
reply if u need some more clarifications.,
Thanks & regards
Kiran
04-05-2011 11:20 AM
Hi,
the following code I have used to change report title for selection screen of the 2nd transaction:
initialization.
if sy-tcode ne 'ZTGIODOK'.
sy-title = text-shd.
endif.
This is only for the selection screen. For the result screen SET TITLEBAR should work.
Regards,
Klaus
04-05-2011 11:44 AM
04-05-2011 12:09 PM
Thank all. It's work
until now I tried to code in PBO, but now it's work.
Thanks for all Replies