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

Reg SELECTION SCREEN BLCOK....

Former Member
0 Likes
587

Hi,

I have one doubt regarding selection screen. i.e.

SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TILE TEXT-001.

................

................

................

SELECTION-SCREEN : END OF BLCOK B1.

The above syntax will give standard length of frame in SELECTION SCREEN but i want to customize it, I mean I want to decrease the size of frame as per requirement. So, How will I change the size of frame? regarding this plz give me example coding.

Regards,

Kishore.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
551

Hi Kishore,

directly you cannot specify a particular length for that block, but if you use NO INTERVALS option the block size automatically adjusts according to the length os the PARAMETERS or SELECT-OPTIONS defined in that block

SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE

TEXT-001 <b>NO INTERVALS.

</b>PARAMETERS : P_CHAR(10).

SELECTION-SCREEN : END OF BLOCK B1.

Message was edited by:

Chandrasekhar Jagarlamudi

Hi,

I have one doubt regarding selection screen. i.e.

SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TILE TEXT-001.

................

................

................

SELECTION-SCREEN : END OF BLCOK B1.

The above syntax will give standard length of frame in SELECTION SCREEN but i want to customize it, I mean I want to decrease the size of frame as per requirement. So, How will I change the size of frame? regarding this plz give me example coding.

Regards,

Kishore.

3 REPLIES 3
Read only

Former Member
0 Likes
552

Hi Kishore,

directly you cannot specify a particular length for that block, but if you use NO INTERVALS option the block size automatically adjusts according to the length os the PARAMETERS or SELECT-OPTIONS defined in that block

SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE

TEXT-001 <b>NO INTERVALS.

</b>PARAMETERS : P_CHAR(10).

SELECTION-SCREEN : END OF BLOCK B1.

Message was edited by:

Chandrasekhar Jagarlamudi

Read only

Former Member
0 Likes
551

Hi,

The size of the block is directly related to the number of fields you defin within. So if you would turn certain ones off during runtime, the height of the box would changed. As for the location, you can't change this.

Reward if it helps..

Regards,

Omkar.