‎2009 Aug 18 3:04 PM
Hi
I have declared a screen with some select-options , subscreens and so on.I have also declared a pushbutton.I now want to move the button in the tollbar where the button for F8 Run is.
If this is not possible,i would like to insert some free rows between the pushbutton and the select-options,because now,my button is exactly bellow my select-options and i would like to insert at least one empty row,how can i do that?
thanks
‎2009 Aug 18 3:10 PM
Hi
If it is a report then try like below:
SELECTION-SCREEN FUNCTION KEY 1.
This would insert a button besides the execute button and the function code assigned to it would be 'FC01'.
on youc an put a condition like I
F SSCRFIELDS-UCOMM = 'FC01'.
on your selection screen event.
Also you can name the same as
SSCRFIELDS-FUNCTXT_01 = 'Name'.
Regards,
Himanshu
‎2009 Aug 18 3:07 PM
Hi,
to insert a row in your screen use SELECTION-SCREEN SKIP.
Frisoni
‎2009 Aug 18 3:10 PM
Hi
If it is a report then try like below:
SELECTION-SCREEN FUNCTION KEY 1.
This would insert a button besides the execute button and the function code assigned to it would be 'FC01'.
on youc an put a condition like I
F SSCRFIELDS-UCOMM = 'FC01'.
on your selection screen event.
Also you can name the same as
SSCRFIELDS-FUNCTXT_01 = 'Name'.
Regards,
Himanshu
‎2009 Aug 18 3:16 PM
‎2009 Aug 18 3:24 PM
Excelent,thanks all,it worked like himanshu said.Now i have another small problem, i want to have an select-option with read only. I will calculate a value which is a procentage that i insert into another select-option and write it into that select-option.How can i do that.
thanks
‎2009 Aug 18 3:29 PM
Hi,
You can declare any select option and then at the event at selection-screen output change the same to display only like below.
select-options: s_matnr for mara-matnr.
at selection-screen output.
loop at screen.
if screen-name = 'S_MATNR-LOW' or scree-name = 'S_MATNR-HIGH'
screen-input = 0.
modify screen.
endif.
Regards,
Himanshu
‎2009 Aug 18 3:29 PM
- in PBO (AT SELECTION-SCREEN OUTPUT) use a [LOOP AT SCREEN |http://help.sap.com/abapdocu/en/ABAPLOOP_AT_SCREEN.htm]and set [SCREN-INPUT|http://help.sap.com/abapdocu /en/ABENSCREEN.htm] = 0 for this select-option (Use a [MODIF ID|http://help.sap.com/abapdocu/en/ABAPSELECTION-SCREEN_MODIF_ID.htm] in the SELECT-OPTIONS DEFINITION, and check SCREEN-GROUP1 in the LOOP AT SCREEN)
- i don't understand the rest of your question, so INSERT LINES of one of the SELECT-OPTIONS into the other one AT SELECTION-SCREEN ON one of the two ?
Regards,
Raymond
‎2009 Aug 18 3:36 PM