2006 Apr 13 2:42 PM
Hi All,
I have issue related to changing title of program at run depending upon diffrent conditions.
Actual issue over here is:
I am calling another Transaction [DEVELOPED] and making it in display mode. There i want to change the title to
<b>Display Sales Details</b> Which is available in that transaction as <b>Change Sales Details</b>.
How can i change that syatem title.
I tried to update title by - when i am calling from my program <b>SY-TITLE</b> = <b>Display Sales Details</b> but still it is showing as <b>Change Sales Details</b>.
What would be the obvious solution for it!
Thanks in advance.
Thanks & Regards,
Prasad.
2006 Apr 13 2:44 PM
You will need to use the statement.... SET TITLEBAR '0100'.
You can have many different titlebars and you can call what ever one you want at runtime.
If condition_a = 'X'.
set titlebar '0100_A'.
elseif condition_b = 'X'.
set titlebar '0100_B'.
endif.REgards,
RIch Heilman
2006 Apr 13 2:44 PM
2006 Apr 13 2:46 PM
Hi,
Actually the person who prepared CALLED Transaction put the title in TItle Bar in & as
<b> SET TITLEBAR '155'.</b>
Can anybody suggest what would be the solution is.
Thanks,
Prasad.
2006 Apr 13 2:47 PM
hi prasad u can use SET TITLEBAR for reporting also.
Cheers,
Abdul
2006 Apr 13 2:46 PM
2006 Apr 13 2:46 PM
HI,
data: v_Str(40) type c.
set titlebar 'ABC' with v_str.
Double click on <b>ABC</b> and specify <b>&1</b> in title.
Activate.
populate v_str with "display sales details" or "change sales details" depending on conditions.
The text in v_str will be displayed as title bar.
Regards,
Sailaja.
2006 Apr 14 6:19 AM
Hi Prasad
Try to follow this code.
In ur report from where u r calling ohter tr.
set titlebar 'xyz' with sy-title..
Then click on it it asks for creeate object.
press yes and continue
it asks for shorttext
In short text just give &1.
save and activate this title bar ok
try it if i useful for u just reply
by
Prashanth
2006 Apr 14 6:23 AM
Hi,
It's done yesterday itself!
Thanks for reply.
Regards,
Prasad.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |