Selection screen block for IW29
Dear friends,
I want to change the selection screens in Transaction:IW29 from bottom to top.For example these are the different selection screens in IW29
1. Notification selection
2.General data/Administrative data
3.Malfunction data/System Availability
4.Location data.
Here i want to bring the selection screen Location Data to the second selection screen i.e after Notification selection.Can some one guide me the config for the above requirement.
Regards
Suman Kumar
Dear Friends,
There is customizing for List editing for IW29.
Regards
Suman Kumar
Similar Messages
-
How to make selection-screen block as unvisible?
hi,
in report program there are two selection screen blocks like this.
SELECTION-SCREEN BEGIN OF BLOCK b1.
parameters: rb1 as radiobutton group r1 user-command ucomm,
rb2 as radiobutton group r1,
rb3 as radiobutton group r1,
rb4 as radiobutton group r1,
SELECTION-SCREEN BEGIN OF BLOCK b2.
parameters: ip1 type string.
select-options: date for pernr-begda.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN END OD BLOCK b1.
Now when i clicked on rb4 the selecetion screen block b2 has to be visible.
And rest of things i.e for rb1, rb2, rb3 it should not visible. it should be disabled.
Regards,
Shankar.hi,
i am doing like this.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: pernr FOR person-pernr.
SELECTION-SCREEN SKIP 1.
PARAMETERS: tempname LIKE rlgrap-filename.
SELECTION-SCREEN SKIP 1.
PARAMETERS: rb_p1 TYPE c RADIOBUTTON GROUP r1 USER-COMMAND rbg,
rb_p2 TYPE c RADIOBUTTON GROUP r1,
rb_p3 TYPE c RADIOBUTTON GROUP r1,
rb_p4 TYPE c RADIOBUTTON GROUP r1.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text1.
PARAMETERS: country(25) TYPE c MODIF ID ccc.
SELECT-OPTIONS:Fromdate FOR person-begda NO-EXTENSION MODIF ID ccc.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN OUTPUT.
IF rb_p4 = ' ' .
LOOP AT SCREEN.
IF SCREEN-NAME = 'COUNTRY'
OR SCREEN-NAME = 'FROMDATE-LOW'
OR SCREEN-NAME = 'FROMDATE-HIGH'
OR SCREEN-GROUP1 = 'CCC'.
screen-input = 0. "Disable
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
IF rb_p4 = 'X' .
LOOP AT SCREEN.
IF SCREEN-NAME = 'COUNTRY'
OR SCREEN-NAME = 'FROMDATE-LOW'
OR SCREEN-NAME = 'FROMDATE-HIGH'
OR SCREEN-GROUP1 = 'CCC'.
screen-input = 1. "Disable
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
Now it's making as disabled the fields which are in block B2.
Acutually my requirement is when i ever user selects RB_P4 then only that screen has to appear. and for rest of 3 RB it should not visible. it should be invisible.
for this wat to do....
Regards,
Shankar. -
How to write selection-screen block on 15th position?
Hello all,
I want to write selection-screen block on 15th position, How can I do this?
I know that we can write parameter/select-option on perticuler position using following code.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE t7.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 15.
PARAMETERS: fdat LIKE SY-DATUM,
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
It writes parameter(FDAT) on 15th position. How can I write whole block on 15th position?Hi,
For this u have to use comment lines. See the below simple program...
SELECTION-SCREEN COMMENT /2(50) TEXT-001 MODIF ID SC1.
SELECTION-SCREEN SKIP 2.
SELECTION-SCREEN COMMENT /10(30) COMM1.
SELECTION-SCREEN ULINE.
PARAMETERS: R1 RADIOBUTTON GROUP RAD1,
R2 RADIOBUTTON GROUP RAD1,
R3 RADIOBUTTON GROUP RAD1.
SELECTION-SCREEN ULINE /1(50).
SELECTION-SCREEN COMMENT /10(30) COMM2.
SELECTION-SCREEN ULINE.
PARAMETERS: S1 RADIOBUTTON GROUP RAD2,
S2 RADIOBUTTON GROUP RAD2,
S3 RADIOBUTTON GROUP RAD2.
SELECTION-SCREEN ULINE /1(50).
INITIALIZATION.
COMM1 ='Radio Button Group 1'.
COMM2 ='Radio Button Group 2'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'SC1'.
SCREEN-INTENSIFIED = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP. -
Making one selection screen block invisible
Hi,
I want to make one selection-screen block invisible based on one check box value.I have built the screen as follows:
PARAMETERS: pcheck1 TYPE char1 AS CHECKBOX.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-004.
PARAMETERS: pproj TYPE xxxx ,
psproj TYPE xxxx ,
pobjec TYPE xxxx .
SELECTION-SCREEN END OF BLOCK b2.
based on the pcheck value I want to meke the above "SELECTION-SCREEN BEGIN OF BLOCK b2 " invisible/visible.Can you please tell me how to do it?You need to set values in structure SCREEN:
screen-invisible = '1' .
screen-input = '0' .
screen-output = '0' .
for all items contained in block.
For example:
AT SELECTION-SCREEN OUTPUT.
IF <condition>.
LOOP AT SCREEN.
CASE screen-name.
WHEN <block_name> OR
<parameter1> or <parameter1_text> or
<parameter_N> or <parameter_N_text> .
screen-invisible = 1.
screen-input = 0.
screen-output = 0.
WHEN OTHERS.
ENDCASE.
MODIFY SCREEN.
ENDLOOP.
You can find names of variables which contain parameter texts using debuger.
ELSEIF sy-tcode = 'ZEUA_EDB_EXPORT'.
p_path = 'ZUA_EDB_EXPORT'.
ENDIF. -
Enable / Disable selection screen block
Hi, could u pls tell me how do I enable/disable selection screen block written below based on radio button selected??
Block to be enabled / disabled :
*----APO Version and RFC destination block
SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-013.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 01(20) text-e11. "APO Planning Version
SELECTION-SCREEN POSITION 29.
SELECT-OPTIONS s_apover FOR w_version NO INTERVALS.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 01(20) text-e09. "APO RFC Destination
SELECTION-SCREEN POSITION 32.
PARAMETERS : p_aporfc LIKE rfcdes-rfcdest.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b4.
Radiobuttons :
Material Type
SELECTION-SCREEN BEGIN OF BLOCK ss04 WITH FRAME TITLE text-072 .
PARAMETERS :
Load only FERTs
p_FERT RADIOBUTTON GROUP styp DEFAULT 'X' USER-COMMAND rusr ,
Load ROH/HALBs
p_HALB RADIOBUTTON GROUP styp .
SELECTION-SCREEN END OF BLOCK ss04 .
Thanx in advanceHi
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: pa_file TYPE rlgrap-filename MODIF ID abc,
pa_lifnr TYPE lfa1-lifnr MODIF ID abc,
pa_vkorg TYPE vbak-vkorg MODIF ID abc.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS: pa_kunnr TYPE vbak-kunnr MODIF ID def.
SELECT-OPTIONS: s_lifnr FOR gs_lfa1-lifnr MODIF ID def,
s_date FOR gs_lfa1-erdat MODIF ID def,
s_augru FOR gs_vbak-augru MODIF ID def,
s_vbeln FOR gs_vbak-vbeln MODIF ID def.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pa_upd RADIOBUTTON GROUP g1 USER-COMMAND uc01 DEFAULT 'X'."#EC *
SELECTION-SCREEN COMMENT 3(60) text-004 FOR FIELD pa_upd.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pa_rep RADIOBUTTON GROUP g1 ."#EC *
SELECTION-SCREEN COMMENT 3(60) text-005 FOR FIELD pa_rep.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b3.
IF pa_rep EQ gc_x.
LOOP AT SCREEN.
IF screen-group1 = gc_abc.
screen-input = gc_zero_num.
ELSEIF screen-group1 = gc_def.
screen-active = gc_one_num.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSEIF pa_upd EQ gc_x.
*For Reprocessing
LOOP AT SCREEN.
IF screen-group1 = gc_def.
screen-input = gc_zero_num.
ELSEIF screen-group1 = gc_abc.
screen-active = gc_one_num.
ENDIF.
MODIFY SCREEN.
CLEAR pa_upd.
ENDLOOP.
ENDIF.
REPORT zrich_001.
PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X'
user-command chk,
p_rad2 RADIOBUTTON GROUP grp1.
SELECT-OPTIONS: s_datum1 FOR sy-datum MODIF ID d1,
s_datum2 FOR sy-datum MODIF ID d2.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_rad1 = 'X'
AND screen-group1 = 'D2'.
screen-active = '0'.
ENDIF.
IF p_rad2 = 'X'
AND screen-group1 = 'D1'.
screen-active = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Regards
Anji -
How to can we do selection-screen modification for LDB?
Hi All,
I have custom field in my selection-screen of LDB PNP.
Can you people please let me know how can I put the selection-screen modificaiton For ex:
i have created
parameters a as checbox.
select-options: p_btrtl for p0001-btrtl no-intervals.
now If the check box is selected then p_btrtl we can enter values or esle If check box is not selected then p_btrtl will be grayed out, ( I.e. SCREEN-INPUT = 0)
This is simple from ABAP without LDB. But with LDB can we achieve?????????????
Satish
Edited by: Satish Vasireddy on Jun 23, 2010 4:05 PMyou can use the following logic for the additional selection validation. I have done by using PNP LDB. Ex : I have done for one of the field in IT0377.
SELECT-OPTIONS: s_bplan FOR p0377-bplan.
*& Form check_selection_0377
This subroutine is used to check the selection screen
FORM check_selection_0377.
LOOP AT p0377 WHERE pltyp IN s_bplan
AND levl1 IN s_lti
AND begda LE pn-endda
AND endda GE pn-begda.
CALL FUNCTION 'HR_CHECK_AUTHORITY_INFTY'
EXPORTING
tclas = 'A'
pernr = pernr-pernr
infty = p0377-infty
subty = p0377-subty
begda = pn-begda
endda = pn-endda
level = 'R'
EXCEPTIONS
no_authorization = 1
internal_error = 2
OTHERS = 3.
IF NOT sy-subrc IS INITIAL.
DELETE p0377.
ENDIF.
ENDLOOP.
selection not found and no value selected
IF sy-subrc NE 0.
READ TABLE s_bplan.
IF sy-subrc EQ 0.
REJECT.
ENDIF.
READ TABLE s_lti.
IF sy-subrc EQ 0.
REJECT.
ENDIF.
ENDIF.
ENDFORM. " check_selection_0377
Regards,
Preetham -
Selection screen validation for batch
This is my scenario:
If program is executed in background, plant (in selection screen) is not mandatory.
If program is executed directly, plant (in selection screen) needs to be filled (mandatory).
I tried using sy-batch and coding at the AT SELECTION-SCREEN portion for validation but it seems that sy-batch is only populated after START-OF-SELECTION.
How do i code it so that if user does not execute program in background, it will prompt an error message and prompt user to fill the plant field in the selection screen?HI,
use sy-batch in start-of-selection. not in at selection-screen.
start-of-selection.
if sy-batch = ' X' . (If it runs in background)
Then raise message.
endif.
This will work.
Reward If helpful. -
Selection Screen Validation for Character
Hi All
My query is regarding the selection screen validation for character.
I am using a Select-option: S_ORDER FOR VBAK-VBELN OBLIGATORY.
and S_order should be only having the numeric field.
Please help how to validate it for character field.Hi,
Do as below :
at selection-screen.
if not s_order[] is initial.
if s_order-low CA 'ABCDEF.............Z'.
message 'Enter only numerics only' type 'E'.
endif.
"similarly for s_order-high also.
endif.
Thanks,
Sriram Ponna. -
Selection screen variant for report
Hi,
Can we restrict the selection screen variants for reports by user? For example my report is ZREPORT. Different users can save variants for the report. When they choose a variant for executing the report, they would like to see only the variants they created.
By default SAP lists all variants created (irrespective of who created).
Thanks
AnilHi,
If you want the other users doesn't want to execute (Not see) other variant..you can check if that user has created the variant in the AT SELECTION-SCREEN event..
By checking VARI-VARIANT against the table VARID and check if sy-uname <> VARID-ENAME.
Thanks,
naren -
How to display the selection screen fields for selected checkboxes
Hi all,
I have 7 checkboxes, for each check box we have some seletion screen fields.if i select first check box,i want to display first slection screen fields only.
and if we select more than one check box how to display the selection screen fields for selected check boxes,please help me this
Thanks
sriman.hi,
Try this code
report z_13317_sdn2.
tables : mara, marc, dd03l.
parameters : p_chk1 as checkbox user-command ABC,
p_chk2 as checkbox user-command PQR,
p_chk3 as checkbox user-command XYZ.
select-options : s_matnr for mara-matnr modif id A,
s_ersda for mara-ersda modif id A,
s_werks for marc-werks modif id B,
s_lvorm for marc-lvorm modif id B,
s_tab for dd03l-tabname modif id C.
data: v_chk1,
v_chk2,
v_chk3.
at selection-screen output.
loop at screen.
if screen-group1 = 'A' or
screen-group1 = 'B' or
screen-group1 = 'C'.
screen-input = 0.
modify screen.
endif.
endloop.
loop at screen.
if v_chk1 = 'X'.
if screen-group1 = 'A'.
screen-input = 1.
modify screen.
endif.
endif.
if v_chk2 = 'X'.
if screen-group1 = 'B'.
screen-input = 1.
modify screen.
endif.
endif.
if v_chk3 = 'X'.
if screen-group1 = 'C'.
screen-input = 1.
modify screen.
endif.
endif.
endloop.
at selection-screen.
if sy-ucomm = 'ABC'.
if v_chk1 = ' '.
v_chk1 = 'X'.
else.
v_chk1 = ' '.
endif.
endif.
if sy-ucomm = 'PQR'.
if v_chk2 = ' '.
v_chk2 = 'X'.
else.
v_chk2 = ' '.
endif.
endif.
if sy-ucomm = 'XYZ'.
if v_chk3 = ' '.
v_chk3 = 'X'.
else.
v_chk3 = ' '.
endif.
endif.
Regards,
Sailaja. -
Depndng on chkbox, should display selection screen block on selectionscreen
Hi,
Depending upon the chkbox it should display selection screen block on selection screen.
If not checked it should display B3 and If checked it should display Block B2 .
SELECTION-SCREEN BEGIN OF BLOCK B1.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS P_DAT AS CHECKBOX USER-COMMAND FLAG.
SELECTION-SCREEN COMMENT 3(79) text-112.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-109.
PARAMETER: p_year1 LIKE ce1rh03-gjahr,
p_perid1 LIKE ce1rh03-perde.
SELECTION-SCREEN END OF BLOCK B2.
SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-109.
PARAMETER: p_year LIKE ce1rh03-gjahr MODIF ID MO1,
p_period LIKE ce1rh03-perde MODIF ID MO1.
SELECTION-SCREEN END OF BLOCK B3.
If P_Dat is checked .... It should display the Block B2 and
If p_Dat is not checked .... it should display the Block B3
Any suggestions will be appreciated!
Regards,
KittuHello Kittu,
You can try this code:
SELECTION-SCREEN BEGIN OF BLOCK b1.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS p_dat AS CHECKBOX USER-COMMAND flag.
SELECTION-SCREEN COMMENT 3(79) text-112.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-109.
PARAMETER: p_year1 TYPE gjahr MODIF ID mo1,
p_perid1 TYPE perio MODIF ID mo1.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-110.
PARAMETER: p_year TYPE gjahr MODIF ID mo2,
p_period TYPE perio MODIF ID mo2.
SELECTION-SCREEN END OF BLOCK b3.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_dat = 'X' AND screen-group1 = 'MO2'.
screen-active = '0'.
ELSEIF p_dat <> 'X' AND screen-group1 = 'MO1'.
screen-active = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Hope this helps.
BR,
Suhas -
How to place selection screen block adjacent to other block
hi all,
I want a selection screen block side by side, is it possible
without using screen painter, if it is let me know.
Thanks & Regards
RKHai RK check the following syntax
CALL SELECTION-SCREEN dynnr
[STARTING AT col1 lin1
[ENDING AT col2 lin2]]
[USING SELECTION-SET variant].
before this you need to create two screens -
Error when generating the selection screen "1000" for Report ztest
Hi Experts,
I am getting this strange error while trying to activate my report. I simply copy paste report from my other system to new system it was working fine there. I also created all include program etc.
While I am trying to create "Selection-text" it is giving message that "Program contain some serious syntax error" while checking syntax saying that "Program is syntactically right".
Any idea how to solve this???
Regards,
GouravHere is the code::::
SELECTION-SCREEN BEGIN OF BLOCK select WITH FRAME TITLE text-sl1.
Component
SELECT-OPTIONS:
s_xcide FOR gw_zsmmess_compo-xcide
NO INTERVALS
MATCHCODE OBJECT zsm_xcide_oi.
SELECTION-SCREEN END OF BLOCK select.
SELECTION-SCREEN BEGIN OF BLOCK prcopt WITH FRAME TITLE text-sl2.
Default severity code
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) text-dsc.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_dfsevc LIKE gw_zsmglob_sever-sevco
OBLIGATORY
MATCHCODE OBJECT zsm_sevco
DEFAULT '3'.
SELECTION-SCREEN COMMENT 37(30) pt_sevtx.
SELECTION-SCREEN END OF LINE.
Minutes to wait before re-issuing alert
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) text-ria.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_aleexp(3) TYPE n
OBLIGATORY
DEFAULT '45'.
SELECTION-SCREEN COMMENT 37(10) text-min.
SELECTION-SCREEN END OF LINE.
Use component specific parameters Yes/No
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) text-cpu.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_usecsp RADIOBUTTON GROUP rg1 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 35(10) text-rby FOR FIELD p_usecsp.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_dnucsp RADIOBUTTON GROUP rg1.
SELECTION-SCREEN COMMENT 35(10) text-rbn FOR FIELD p_dnucsp.
SELECTION-SCREEN END OF LINE.
Create/update component specific parameters automatically
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(32) text-cpc.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_updcsp RADIOBUTTON GROUP rg2.
SELECTION-SCREEN COMMENT 35(10) text-rby FOR FIELD p_updcsp.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_dnccsp RADIOBUTTON GROUP rg2 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 35(10) text-rbn FOR FIELD p_dnccsp.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) text-afo.
SELECTION-SCREEN POSITION 33.
Fire one alert per component/error type combination
PARAMETERS: p_afrerr RADIOBUTTON GROUP rg3 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 35(50) text-afe FOR FIELD p_afrerr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
Fire one alert per component (= outbound XI interface)
PARAMETERS: p_afrcom RADIOBUTTON GROUP rg3.
SELECTION-SCREEN COMMENT 35(50) text-afc FOR FIELD p_afrcom.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
Fire one alert per run
PARAMETERS: p_afrrun RADIOBUTTON GROUP rg3.
SELECTION-SCREEN COMMENT 35(50) text-afr FOR FIELD p_afrrun.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) text-sel.
SELECTION-SCREEN POSITION 33.
Select messages since last run
PARAMETERS: p_lstrun RADIOBUTTON GROUP rg4 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 35(40) text-slr FOR FIELD p_lstrun.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
Select messages in selected interval
PARAMETERS: p_mintvl RADIOBUTTON GROUP rg4.
SELECTION-SCREEN COMMENT 35(40) text-sin FOR FIELD p_mintvl.
SELECTION-SCREEN END OF LINE.
Message selection interval
SELECTION-SCREEN BEGIN OF BLOCK msgfilt WITH FRAME TITLE text-msf.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) text-icr.
SELECTION-SCREEN COMMENT 14(05) text-ifr.
SELECTION-SCREEN COMMENT 25(05) text-dat FOR FIELD p_stadat.
Select messages - start date
PARAMETERS: p_stadat TYPE d.
SELECTION-SCREEN COMMENT 46(05) text-tim FOR FIELD p_statim.
Select messages - start time
PARAMETERS: p_statim TYPE t.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 14(05) text-ito.
SELECTION-SCREEN COMMENT 25(05) text-dat FOR FIELD p_enddat.
Select messages - end date
PARAMETERS: p_enddat TYPE d DEFAULT sy-datum.
SELECTION-SCREEN COMMENT 46(05) text-tim FOR FIELD p_endtim.
Select messages - end time
PARAMETERS: p_endtim TYPE t DEFAULT sy-timlo.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK msgfilt.
SELECTION-SCREEN END OF BLOCK prcopt.
SELECTION-SCREEN BEGIN OF BLOCK testopt WITH FRAME TITLE text-tso.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) text-tst.
SELECTION-SCREEN POSITION 33.
List only, no updates
PARAMETERS: p_lstonl RADIOBUTTON GROUP rg5 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 35(14) text-tsl FOR FIELD p_lstonl.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
Execute updates
PARAMETERS: p_update RADIOBUTTON GROUP rg5.
SELECTION-SCREEN COMMENT 35(14) text-tsu FOR FIELD p_update.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK testopt.
*eject
INITIALIZATION. -
Can I define a vertical SELECTION-SCREEN block ?
Hi, I started getting to know the SELECTION-SCREEN statements now, I was wondering if there's a way to define a vertical screen block instead of an horizontal one.
Also, can I set the size of a given block ? Let's say I don't want it to extend to the right margin of the screen. Can I limit it to the middle, for instance ?
Here's a code excerpt so you can understand a little what I'm intending to do (I want to place the operators vertically on the screen).
SELECTION-SCREEN BEGIN OF BLOCK BOX1 WITH FRAME TITLE S_TBOX1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 20(10) S_COMM.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF BLOCK BOX2 WITH FRAME TITLE S_TBOX2.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON (3) S_PB1 USER-COMMAND 'XXX'.
SELECTION-SCREEN PUSHBUTTON (3) S_PB2 USER-COMMAND 'XXX'.
SELECTION-SCREEN PUSHBUTTON (3) S_PB3 USER-COMMAND 'XXX'.
SELECTION-SCREEN PUSHBUTTON (3) S_PB4 USER-COMMAND 'XXX'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK BOX2.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON (3) S_PB5 USER-COMMAND 'XXX'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK BOX1.
INITIALIZATION.
S_COMM = 'CALCULATOR'.Ok, I thought of that but... now I need the answer for the 2nd question I posted: is it possible to limit the extension of the block, so it ends right after the 4 buttons column ?
SELECTION-SCREEN BEGIN OF BLOCK BOX1 WITH FRAME TITLE S_TBOX1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 20(10) S_COMM.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF BLOCK BOX2 WITH FRAME TITLE S_TBOX2.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON (3) S_PB1 USER-COMMAND 'XXX'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON (3) S_PB2 USER-COMMAND 'XXX'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON (3) S_PB3 USER-COMMAND 'XXX'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON (3) S_PB4 USER-COMMAND 'XXX'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK BOX2.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON (3) S_PB5 USER-COMMAND 'XXX'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK BOX1.
INITIALIZATION.
S_COMM = 'CALCULATOR'. -
Selection screen block is invisable when radiobutton is selected
Hi Experts,
i am sending the my code...........my requerment is : Radiobutton(rb_cdr1) is checked donu2019t show the Fourth & Sixth block and no output files will be generated in those respective blocks. Only Show option a & b in the Fifth block. If the Radio button in unchecked donu2019t show the options a & b in the Fifth block)
if Radiobutton(rb_csr1) donu2019t show the fifth Sixth block . iam try to using loop at scrren and
IF screen-group1 = 's1'.
screen-invisible = '0'.
But it's not working..........plz help me on this........
file download option for dazel system.
SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-h04.
PARAMETERS: rb_dzlcl RADIOBUTTON GROUP gr2 MODIF ID s1,
rb_dzapp RADIOBUTTON GROUP gr2 MODIF ID s1,
p_dzfl TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK b4.
SELECTION-SCREEN BEGIN OF BLOCK b7 WITH FRAME TITLE text-h07.
PARAMETERS: rb_cdr1 RADIOBUTTON GROUP gr5 ,
rb_csr1 RADIOBUTTON GROUP gr5 .
SELECTION-SCREEN END OF BLOCK b7.
Contibution detail report & UNIX File option
SELECTION-SCREEN BEGIN OF BLOCK b5 WITH FRAME TITLE text-h05.
PARAMETERS: rb_cdr RADIOBUTTON GROUP gr3 MODIF ID s1,
rb_loca RADIOBUTTON GROUP gr3 MODIF ID s1,
rb_appl RADIOBUTTON GROUP gr3 MODIF ID s1,
p_flnam TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK b5.
Contibution Summary report & UNIX File option
SELECTION-SCREEN BEGIN OF BLOCK b6 WITH FRAME TITLE text-h06.
PARAMETERS: rb_csr RADIOBUTTON GROUP gr4 MODIF ID s2,
rb_loc RADIOBUTTON GROUP gr4 MODIF ID s2,
rb_app RADIOBUTTON GROUP gr4 MODIF ID s2,
p_fln TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK b6.
Thanks in advance........hi !
try the following one and make some changes that you want
SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-h04.
PARAMETERS: rb_dzlcl RADIOBUTTON GROUP gr2 MODIF ID s1,
rb_dzapp RADIOBUTTON GROUP gr2 MODIF ID s1,
p_dzfl TYPE rlgrap-filename MODIF ID s1.
SELECTION-SCREEN END OF BLOCK b4.
SELECTION-SCREEN BEGIN OF BLOCK b7 WITH FRAME TITLE text-h07.
PARAMETERS: rb_cdr1 RADIOBUTTON GROUP gr5 MODIF ID s3 ,
rb_csr1 RADIOBUTTON GROUP gr5 DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK b7.
Contibution detail report & UNIX File option
SELECTION-SCREEN BEGIN OF BLOCK b5 WITH FRAME TITLE text-h05.
PARAMETERS: rb_cdr RADIOBUTTON GROUP gr3 MODIF ID s1,
rb_loca RADIOBUTTON GROUP gr3," MODIF ID s1,
rb_appl RADIOBUTTON GROUP gr3," MODIF ID s1,
p_flnam TYPE rlgrap-filename MODIF ID s1.
SELECTION-SCREEN END OF BLOCK b5.
Contibution Summary report & UNIX File option
SELECTION-SCREEN BEGIN OF BLOCK b6 WITH FRAME TITLE text-h06.
PARAMETERS: rb_csr RADIOBUTTON GROUP gr4 MODIF ID s2,
rb_loc RADIOBUTTON GROUP gr4 MODIF ID s2,
rb_app RADIOBUTTON GROUP gr4 MODIF ID s2,
p_fln TYPE rlgrap-filename MODIF ID s2.
SELECTION-SCREEN END OF BLOCK b6.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'S2' or
screen-group1 = 'S1'.
IF rb_csr1 = 'X'.
screen-active = 0.
ELSEIF rb_cdr1 = 'X' .
screen-active = 1.
ENDIF.
ELSEIF screen-group1 = 'S3'.
IF rb_cdr1 eq 'X'.
screen-active = 1.
ELSEIF rb_csr1 = 'X' .
screen-active = 1.
ENDIF.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Maybe you are looking for
-
Imposto Retido na Fonte - Acumulatividade no Recebimento
Bom dia, Gostaria de saber como funciona no SAP Business One a acumulatividade de IR para NF Entrada? O caso seria: o cliente emite NF serviços a seus clientes. Esses são PJ. Os impostos de Pis, Cofins e CSLL somente devem ser retiros quando o total
-
No data in Active table of DSO for fields populated by End Routine
Hi, I have a Standard DSO where we are populating few fields by using End Routine. Last week we added 5 more fields to DSO and wrote a logic in End ROutine to populate the DSO. These new fields dont have any mapping and these are just populated by en
-
In jakarta tomcat servlet engine, in which directory should I put a class file so that i can call it from a jsp located in /examples/jsp or where should I put the class file so that it can be called using <jsp:useBean> tag
-
Predictive Analysis won´t start
Hi everyone, a few weeks ago I used Predictive Analysis and it worked perfectly fine. For some reason yesterday I was not able to start the application and it always freezed on the loading screen with "Loading SAP Hana" or something like that. I trie
-
Windows 7 printing dark to HP LaserJet 2430tn
Our office has a HP LaserJet 2430tn, networked with multiple computers printing to it. One of those computers was recently replaced with a Windows 7 machine. Since then, documents printed by the Windows 7 machine are coming out much darker than the o