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

titlebar

Former Member
0 Likes
595

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.

4 REPLIES 4
Read only

Former Member
0 Likes
568

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

Read only

Former Member
0 Likes
568

Hi,

use this:

SET TITLEBAR 'TTT' WITH string

Here 'string' can be the month name

Reward if useful

Regards

Ravi

Read only

Former Member
0 Likes
568

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.

Read only

Former Member
0 Likes
568

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.