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

Former Member
0 Likes
892

in selection-screen i have one selection-screen block and it contain 5 select-options

while displaying on screeen I want complete block should come on Center.

Insted of diplaying on Uper left side..

how to do that..?

Thanks in advance

point is assurd

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
873

TABLES EKKO.

********END OF DATA DECLARATIONS*********

********SELECTION SCREEN DESIGN ***********

SELECTION-SCREEN SKIP 9.

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

PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.

SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.

SELECTION-SCREEN END OF BLOCK B1.

******END OF SELECTION SCREEN DESIGN****************

10 REPLIES 10
Read only

Former Member
0 Likes
873

Hi,

i dont think you can move the block. How ever you can place the select option at desired location.

use the statement begin of line. Note: the selection text(label) wont appear if you use begin of line. Hence you need to use text symbols to display the label

Check the sample code.



SELECTION-SCREEN :
  SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.    
PARAMETERS p_max(2) TYPE n DEFAULT '30' OBLIGATORY.         
SELECTION-SCREEN END OF LINE.

*---------------------------------------------------------------------*
INITIALIZATION.

  v_1 = 'Maximum of records to read'.                      

Regards,

Niyaz

Edited by: Niyaz Ahamed on Feb 21, 2008 3:29 PM

Read only

Former Member
0 Likes
873

Hi,

call the selection screen starting at and ending at positions

call selection-screen 1100 starting at col1 lin1 ending at col2 lin2

<REMOVED BY MODERATOR>

rgds

umakanth

Edited by: Alvaro Tejada Galindo on Feb 21, 2008 4:54 PM

Read only

Former Member
0 Likes
873

hi,

From any program in which selection screens are defined, you can call these screens at any point of the program flow using the following statement:

CALL SELECTION-SCREEN numb [STARTING AT x1 y1]

[ENDING AT x2 y2].

This statement calls selection screen number numb. The selection screen called must be defined in the calling program either as the standard selection screen (screen number 1000) or as a an independent selection screen (any screen number).

You can display a user-defined selection screen as a modal dialog box using the STARTING AT and ENDING ATadditions

Read only

Former Member
0 Likes
874

TABLES EKKO.

********END OF DATA DECLARATIONS*********

********SELECTION SCREEN DESIGN ***********

SELECTION-SCREEN SKIP 9.

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

PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.

SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.

SELECTION-SCREEN END OF BLOCK B1.

******END OF SELECTION SCREEN DESIGN****************

Read only

Former Member
0 Likes
873

thanks naresh,

its working but how to move on Right side. ?

Read only

Former Member
0 Likes
873

Hi Jim,

First Execute ur porgram then ur selection-screen will appear. From there choose system - > status from menu bar. There double click on the screen(Default - 1000) and then go to Layout. In the Layout u can position ur selection-screen in what way u want.

Regards,

Balavardhan.K

Read only

Former Member
0 Likes
873

Hi

try this

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-002.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 1.

SELECTION-SCREEN COMMENT 1(10) TEXT-R01 FOR FIELD BUY.

PARAMETERS: BUY RADIOBUTTON GROUP G1.

SELECTION-SCREEN POSITION 16.

SELECTION-SCREEN COMMENT 16(10) TEXT-R02 FOR FIELD SELL.

PARAMETERS: SELL RADIOBUTTON GROUP G1.

SELECTION-SCREEN END OF LINE.

PARAMETERS: EXCH(3) TYPE C AS LISTBOX VISIBLE.

Thanks

Vasudha

Read only

Former Member
0 Likes
873

how to move right side.

Read only

Former Member
0 Likes
873

hi,

try this line of code befor u crete the block.

selection-screen skip 9.

ex:

selection-screen skip 9.

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE txt1.

PARAMETERS : p_accno TYPE zacc_master2-zaccno MODIF ID bl1.

PARAMETERS : p_stat TYPE zcust_master2-zcustid MODIF ID bl2.

SELECTION-SCREEN END OF BLOCK b1.

regards,

sri

Read only

Former Member
0 Likes
873

Hi

there is no option to move right side