‎2007 Oct 01 11:31 AM
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
‎2007 Oct 01 11:41 AM
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.
‎2007 Oct 01 11:33 AM
Hi,
Please check if you can make these changes in the screen painter for screen 1000 of the report.
Thanks,
Rashmi
‎2007 Oct 01 11:37 AM
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
‎2007 Oct 01 11:41 AM
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.