06-26-2008 1:18 PM
how to set the position on selection screen checkbox ,
radiobutton , ...
i want these at 20th position
Regards,
06-26-2008 1:21 PM
Something along these lines
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN POSITION 20.
PARAMETERS: p_rb1 RADIOBUTTON GROUP rad DEFAULT 'X'.
SELECTION-SCREEN: COMMENT 25(20) text-m13.
SELECTION-SCREEN: END OF LINE.
Edited by: Paul Chapman on Jun 26, 2008 8:22 AM
06-26-2008 1:21 PM
Something along these lines
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN POSITION 20.
PARAMETERS: p_rb1 RADIOBUTTON GROUP rad DEFAULT 'X'.
SELECTION-SCREEN: COMMENT 25(20) text-m13.
SELECTION-SCREEN: END OF LINE.
Edited by: Paul Chapman on Jun 26, 2008 8:22 AM
06-26-2008 1:21 PM
use this..
SELECTION-SCREEN BEGIN OF LINE.
Parameters: p_name like sy-uname.
SELECTION-SCREEN position 20.
SELECTION-SCREEN COMMENT 2(70) text-001.
SELECTION-SCREEN END OF LINE.
06-26-2008 1:21 PM
Use Selection screen comment .Refer below code:
*Selection screen
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS:p_ARBPL type RC65D-ARBPL. "Work center
PARAMETERS:p_KAPAR type RC65D-KAPAR. "Capacity Category
PARAMETERS:p_werks type RC65D-werks obligatory. "Plant
selection-screen begin of line.
selection-screen comment 1(31) Date for field p_ZAVON.
PARAMETERS:p_ZAVON type RC65A-ZAVON. "Start date for output of capacity evaluations
selection-screen comment 47(5) To.
PARAMETERS:p_ZABIS type RC65A-ZABIS. "Finish date for output of capacity evaluations
selection-screen end of line.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN OUTPUT.
To = 'To'.
Date = 'Date'.
06-26-2008 1:25 PM
hiiiii
you can use like follows
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN position 25.
PARAMETERS p_rad1 TYPE c RADIOBUTTON GROUP gr DEFAULT 'X' USER-COMMAND usr .
SELECTION-SCREEN COMMENT 3(16) text-005.
SELECTION-SCREEN END OF LINE.
regards
twinkal
06-26-2008 1:27 PM
Hi Vinayaka,
You go for the following.
In selection screen options we have a option where we can set the position.
Just look into that.
it might be something like this:
selection-screen position <pos>.
set the position using <pos>, this can be any number.
then declare a parameter.
Hope this helps you.
Regards,
Chandra Sekhar
06-26-2008 1:37 PM
Hi,
Follow this code your problem will be solved.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN POSITION 20.
PARAMETERS: RB1 RADIOBUTTON GROUP G1 DEFAULT 'X'.
SELECTION-SCREEN POSITION 30.
PARAMETERS: RB2 RADIOBUTTON GROUP G1 .
SELECTION-SCREEN: COMMENT 25(20) text-m13.
SELECTION-SCREEN: END OF LINE.
I hope this will help you out.
06-26-2008 1:37 PM
06-26-2008 1:39 PM
If you got the answer for your query please reward points.People are not wasting time for you.