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

Selection screen block width

Former Member
0 Likes
2,324

Hi ,

I need to add few fields adjacent to already existing block .Foer ex i m using

the following code and getting one block.

SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE t2. "text-002.

PARAMETERS: rjon1 LIKE rad1 RADIOBUTTON GROUP a,

rjon2 LIKE rad2 RADIOBUTTON GROUP a,

SELECTION-SCREEN: END OF BLOCK b2.

I want to add 2 more fields adjacent to these fields ( on the right side of this block), in a seperate or in the same block.

Please tell how this can be achieved.

Regards

Saurabh

1 ACCEPTED SOLUTION
Read only

varma_narayana
Active Contributor
0 Likes
1,056

Hi Sourabh..

We cannot place the Blocks of selection Screen Side by side.

But you can achieve this using BEGIN of Line .. END Of line.

try this Code:

SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE t2. "text-002.

SELECTION-SCREEN: BEGIN OF Line.

SELECTION-SCREEN: Comment 5(10) text-C01.

PARAMETERS: rjon1 LIKE rad1 RADIOBUTTON GROUP a,

SELECTION-SCREEN: Comment 45(10) text-C02.

PARAMETERS: p_field1 type i.

SELECTION-SCREEN: End OF Line.

SELECTION-SCREEN: BEGIN OF Line.

SELECTION-SCREEN: Comment 5(10) text-C03.

Parameters : rjon2 LIKE rad2 RADIOBUTTON GROUP a,

SELECTION-SCREEN: Comment 45(10) text-C04.

PARAMETERS: p_field2 type i.

SELECTION-SCREEN: End OF Line.

SELECTION-SCREEN: END OF BLOCK b2.

REWARD IF HELPFUL.

3 REPLIES 3
Read only

Former Member
0 Likes
1,056

Hi,

Please check if you can make these changes in the screen painter for screen 1000 of the report.

Thanks,

Rashmi

Read only

0 Likes
1,056

Hi ,

I forgot to mention that i m using logical database PAP.So it wont be possible for me to use screens.Is there any other options in selection screen itself.

Regards

Saurabh

Read only

varma_narayana
Active Contributor
0 Likes
1,057

Hi Sourabh..

We cannot place the Blocks of selection Screen Side by side.

But you can achieve this using BEGIN of Line .. END Of line.

try this Code:

SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE t2. "text-002.

SELECTION-SCREEN: BEGIN OF Line.

SELECTION-SCREEN: Comment 5(10) text-C01.

PARAMETERS: rjon1 LIKE rad1 RADIOBUTTON GROUP a,

SELECTION-SCREEN: Comment 45(10) text-C02.

PARAMETERS: p_field1 type i.

SELECTION-SCREEN: End OF Line.

SELECTION-SCREEN: BEGIN OF Line.

SELECTION-SCREEN: Comment 5(10) text-C03.

Parameters : rjon2 LIKE rad2 RADIOBUTTON GROUP a,

SELECTION-SCREEN: Comment 45(10) text-C04.

PARAMETERS: p_field2 type i.

SELECTION-SCREEN: End OF Line.

SELECTION-SCREEN: END OF BLOCK b2.

REWARD IF HELPFUL.