‎2008 Mar 28 8:25 AM
Hi Friends,
In Classical report.
In title bar I need to change the months (ex: jan, feb) as per the selection in the selection screen.
Please help.
Sanju.
‎2008 Mar 28 8:27 AM
Hi
You have now created a GUI title that you can set in an ABAP program using the following statement:
SET TITLEBAR <TITLECODE>.
To determine a title at runtime, you can use an & (ampersand) with your title text.
At runtime, these variables are replaced with the values that you specify. To set a titlebar containing variables, use the following ABAP statement:
SET TITLEBAR <titlecode> WITH <var1> <var2>... <varN>.
You can use up to nine variables in a title.
The variables are replaced with values according to their numbering (or simply from left to right if the variables are not numbered). For further information, see the F1 help in the ABAP Editor.
refer this
http://help.sap.com/saphelp_sm32/helpdata/en/d1/801d29454211d189710000e8322d00/content.htm
regards
Shiva
‎2008 Mar 28 8:30 AM
Hi,
use this:
SET TITLEBAR 'TTT' WITH string
Here 'string' can be the month name
Reward if useful
Regards
Ravi
‎2008 Mar 28 8:34 AM
Hi,
You have to do like this.
syntax:
set titlebar 'TITLE' with p_month.
Iif you double click on TITLE it will go to maintain screen in which you have to give as for example
Particulars of & month
The place holder & will be filled with p_month at runtime.
Like that nine place holders are possible.
Reward.
‎2008 Mar 28 8:36 AM
hi this can ge done ...using the table t247 ..
data: begin of itab occurs 0,
mrn like t247-mnr,
ktx like t247-ktx,
spras like t247-spras,
end of itab.
select
MNR
KTX
SPRAS
from t247
into table itab
where mnr = p_mrn
and spras = 'EN'.
regards,
venkat.