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

Title to the selection screen

Former Member
0 Likes
829

Hi,

I am using the following code in my selection menu

SELECTION-SCREEN BEGIN OF BLOCK BLOCK1 WITH FRAME TITLE TEST.

PARAMETERS FLAG1 TYPE P DECIMALS 2 DEFAULT '6.20' OBLIGATORY.

PARAMETERS FLAG2 TYPE P DECIMALS 2 DEFAULT '1.45' OBLIGATORY.

SELECTION-SCREEN END OF BLOCK BLOCK1.

Now it displays both the parameters in a block but without any title.

I want to display a title of the block.

Please tell me where the fault lies.

Thanks,

Gaurav

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
757

Or if you need to do it dynamically at runtime....then...



selection-screen begin of block b1 with frame title test.
parameters: p_check.
selection-screen end of block b1.


at selection-screen output.

test = 'This is the title'.

Regards,

Rich Heilman

Hi,

I am using the following code in my selection menu

SELECTION-SCREEN BEGIN OF BLOCK BLOCK1 WITH FRAME TITLE TEST.

PARAMETERS FLAG1 TYPE P DECIMALS 2 DEFAULT '6.20' OBLIGATORY.

PARAMETERS FLAG2 TYPE P DECIMALS 2 DEFAULT '1.45' OBLIGATORY.

SELECTION-SCREEN END OF BLOCK BLOCK1.

Now it displays both the parameters in a block but without any title.

I want to display a title of the block.

Please tell me where the fault lies.

Thanks,

Gaurav

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
757

Use the following code.


selection-screen begin of block block1 with frame title text-001.

Text-001 is a text symbol. Double click on the words text-001. Enter your 001, and text, save and activate.

Regards,

Rich Heilman

Read only

0 Likes
757

Hi Rich,

Thanks for the suggestion. The problem has been solved.

Regards,

Gaurav

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
757

Or if you need to do it dynamically at runtime....then...



selection-screen begin of block b1 with frame title test.
parameters: p_check.
selection-screen end of block b1.


at selection-screen output.

test = 'This is the title'.

Regards,

Rich Heilman

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
758

Or if you need to do it dynamically at runtime....then...



selection-screen begin of block b1 with frame title test.
parameters: p_check.
selection-screen end of block b1.


at selection-screen output.

test = 'This is the title'.

Regards,

Rich Heilman