Creation of selection screen in SE80
Hi SapAll.
here i have got to create a selection iscreen in my modulepool but iam unable to do this as the selection screen (Radio button) is disabled.
can any body help me in this.
regards.
varma.
hi.
yes i understand what you saying but one thing how the previous developer has created the selection screen in his program of type executable and also his program contains EVENTS,INCLUDES,FIELDS,DICTIONARY STRUCTURES,TRANSACTIONS,PAI MODULES ,subroutines,screens(On the left hand side of the program when i click on display object list in se38.
Under screens i can see the screen with number 1000 of type selection screen(4th radio button enabled).
regards.
Varma
Yes, that is correct.
Whenever you open a report program via SE80 (Object Navigator) or click Display Object List from SE38, you will see a selection screen 1000 under the Screens folder.
If you are seeing a 'PAI Modules' folder, then there is a chance that the user created a few other screens within the report via CALL SCREEN statement. Check whether the Screens folder has more screen numbers, viz. 9001, 9002 etc. If yes, the PAI / PBO modules will be for those screens. Note that you cannot have PAI / PBO events for your selection screen.
Whenever you create a screen from SE80 or SE51, you cannot see that fourth radiobutton. It comes by default only in the above case.
Hope this is clear! Please revert if you have any further queries.
Cheers,
Shailesh.
Always provide feedback for useful answers
Similar Messages
-
Creation of selection screen with 2 radio button groups
Hi All,
I have following selecton screen to be created:
1. Radio Button for File
A. Radio Button for PC File
- Parameter for PC File Input
B. Radio Button for UNIX File
- Parameter for Unix File Input
2. Radio Button for Material
- Material Select-Option
As per above Either of Radio Buttons 1/2 File/Material will be selected.
If 1(File) Selected Radio Button for PC File/Unix File will be selected, No other radio buttons will be active.
If 2(Material) Selected Material Select-option input will be given, No other radio buttons will be active.
How can we write the selection screen code for above design.
Thanks in advance.
Thanks,
Deep.Hi,
go through the following example-----
**************************************INTERNAL TABLE DECLERATION**************************************
DATA: BEGIN OF ITAB2 OCCURS 0,
VALUE(250) TYPE C,
END OF ITAB2.
**************************************DATA DECLERATION************************************************
DATA: PATH LIKE DYNPREAD-FIELDNAME.
DATA : P TYPE STRING,
D TYPE STRING.
DATA : V_DATASET LIKE FILENAMECI-FILEEXTERN.
**************************************SELECTION SCREEN***********************************************
PARAMETERS: V_PATH TYPE RLGRAP-FILENAME DEFAULT 'C:\Documents and Settings\vchaturvedi\Desktop\vijay.txt'.
PARAMETERS: D_PATH TYPE RLGRAP-FILENAME.
SKIP 5.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS: PC_ONE RADIOBUTTON GROUP RAD1 DEFAULT 'X',
PC_OTHER RADIOBUTTON GROUP RAD1.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR V_PATH.
HELP FOR SEARCHING FILES PATH************************************************
IF PC_ONE = 'X'.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = 'Z8VIJAY_SHADOWER_COVERSIONDATA'
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = PATH
IMPORTING
FILE_NAME = V_PATH.
*******CONVERT IN TO STRING************
P = V_PATH.
ENDIF.
**************************************SELECTION SCREEN VALIDATION***********************************
AT SELECTION-SCREEN.
IF V_PATH = ''.
MESSAGE E014. "FILE PATH NOT FOUND!!!!!!!
ENDIF.
IF D_PATH = ''.
MESSAGE E016. "TARGET FILE NOT FOUND!!!!!!!
ENDIF.
*******************FOR DOWNLOAD**********
AT SELECTION-SCREEN ON VALUE-REQUEST FOR D_PATH.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = 'Z8VIJAY_SHADOWER_COVERSIONDATA'
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = PATH
IMPORTING
FILE_NAME = D_PATH.
***************CONVERT INTO STRING***********
D = D_PATH.
*******************************************MAIN LOGIC************************************************
START-OF-SELECTION.
IF P = ''.
P = 'C:\Documents and Settings\vchaturvedi\Desktop\vijay.txt'.
ENDIF.
******************UPLOAD DATA FROM OTHERS TO INTERNAL TABLE****************
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = P
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = ' '
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = ITAB2
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc = 1.
MESSAGE E014. "FILE PATH NOT FOUND!!!!!!!
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
******************************DOWNLOAD DATA FROM INTERNAL TABLE TO OTHERS******************************
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
FILENAME = D
FILETYPE = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = ITAB2
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF PC_OTHER = 'X'.
****************************8FOR ONE SERVER TO ANOTHER************************************************
OPEN DATASET V_DATASET FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC = 0.
DO.
READ DATASET V_DATASET INTO ITAB2.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
APPEND ITAB2.
ENDDO.
ENDIF.
ENDIF.
*********************************PRINTING DATA *********************************************************
LOOP AT ITAB2.
WRITE :/5 ITAB2-VALUE.
ENDLOOP.
****do reward if usefull
Regards,
vijay -
Dynamic creation of selection screen by using POWL-Personal Object Work Lis
Hi Expert,
I am using POWL to display Report.For that there is one selection screen and once the user press enter a report will display.
In this case i am desiging the selection screen but not able to Hide/Display fields on the basis of user action on the selection screen input/Drop down selection.
Can u plz tell me how i can handle redesigning of selestion screeen depending on user interaction.
Thanks
MaheshHi,
I want to hide selection screen field depending on the user action on the drop down.
Also there is a check box in the selection screen,if the user check that check box then 2 fields in ALV will not display otherwise it will display.
Thanks -
Dynamic check box creation in selection screen
Hello,
I am trying to put up some check boxes dynamically in a selection screen. The number: of check boxes required and the 'checkbox label text' is to be retrieved from a database table. I have retrieved all these values in AT SELECTION-SCREEN OUTPUT event. But, I dont know how to create check box parameters using these dynamic values. Please help..hi Giffin,
Create a program with name 'Z_13317_DYN_CHKBOX' and paste the following code in it. Also make ensure that an include with name 'Z_13317_DYN_INCL' is not existing earlier because this program will be overwritten each and everytime.
Z_13317_DYN_CHKBOX will take an integer as an input. After giving input, click on the button on selection screen.
Suppose, if you have given 3 as input and if you have clicked the button, then 3 checkboxes will be generated on your selection screen.
REPORT Z_13317_DYN_CHKBOX.
types :begin of t_itab1,
line(72),
end of t_itab1.
data: incl type table of t_itab1 with header line.
parameters: p_tab type i,
p_frst type c no-display.
selection-screen begin of line.
selection-screen: pushbutton 2(20) but1 user-command cli1.
selection-screen end of line.
include z_13317_dyn_incl if found.
initialization.
at selection-screen output.
if p_frst = ' '.
p_frst = 'X'.
perform crt_dyn_incl.
endif.
at selection-screen.
case sy-ucomm.
when 'CLI1'.
perform crt_dyn_incl.
endcase.
*& Form crt_dyn_incl
* text
form crt_dyn_incl .
perform populate_incl.
perform del_incl.
insert report 'Z_13317_DYN_INCL' from incl.
commit work.
submit z_13317_dyn_chkbox via selection-screen with p_frst = p_frst.
endform. " crt_dyn_incl
*& Form del_incl
* text
form del_incl .
call function 'RS_DELETE_PROGRAM'
exporting
program = 'Z_13317_DYN_INCL'
suppress_checks = 'X'
suppress_popup = 'X'
with_cua = ' '
with_documentation = ' '
with_dynpro = 'X'
with_includes = ' '
with_textpool = ' '
with_variants = ' '
if sy-subrc <> 0.
endif.
endform. " del_incl
*& Form populate_incl
* text
form populate_incl .
data: v_cnt type n.
do p_tab times.
v_cnt = v_cnt + 1.
incl-line = 'parameters: '.
concatenate incl-line 'p_chk' v_cnt into incl-line.
concatenate incl-line 'as checkbox.' into incl-line separated by space.
append incl.
clear incl.
enddo.
endform. " populate_incl
Regards,
Sailaja. -
Dynamic fields creation on selection screen
Good evening everybody!
I've got the following problem for solving:
Imagine the following situation:
on the selection-screen there are some input fields in one line and a button after them. By pressing that button (e.g. it's name is "Add line") the same fields should be duplicated so many times as many times that button pressed. By pressing another button (e.g. it's name is "Delete line") one last line should be deleted. The mechanism is similar to adding lines in a screen table. What is the solution of this problem?
So: by pressing an "Add line" button on a screen identical fields should be created on the same selection-screen and deleted by pressing "Delete line".
Thanks in advance!Here's a way to do it.
DEFINE aline.
selection-screen: begin of line.
parameters: inp&1(5) type c modif id l&1.
selection-screen position 15.
parameters: inp10&1(5) type c modif id l&1.
selection-screen pushbutton 25(5) pb_&1 user-command add
modif id a&1.
selection-screen pushbutton 31(5) pb_10&1 user-command del
modif id d&1.
selection-screen end of line.
END-OF-DEFINITION.
TABLES: sscrfields.
DATA:
max_lines TYPE i VALUE 20,
fldname(60) TYPE c,
lines(2) TYPE n VALUE 1,
cnt(2) TYPE n VALUE 1.
FIELD-SYMBOLS:
<fld> TYPE ANY.
aline 01.
aline 02.
aline 03.
aline 04.
aline 05.
aline 06.
aline 07.
aline 08.
aline 09.
aline 10.
aline 11.
aline 12.
aline 13.
aline 14.
aline 15.
aline 16.
aline 17.
aline 18.
aline 19.
aline 20.
*---------------------------------------------------- Push Button
AT SELECTION-SCREEN.
CASE sscrfields-ucomm.
WHEN 'ADD'.
CHECK lines LT max_lines.
lines = lines + 1.
WHEN 'DEL'.
CHECK lines GT 1.
lines = lines - 1.
ENDCASE.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 CP 'A*'.
IF screen-group1+1(2) NE lines.
screen-active = 0.
ELSE.
IF lines LT max_lines.
screen-active = 1.
ELSE.
screen-active = 0.
ENDIF.
ENDIF.
ENDIF.
IF screen-group1 CP 'D*'.
IF screen-group1+1(2) NE lines.
screen-active = 0.
ELSE.
IF lines = 1.
screen-active = 0.
ELSE.
screen-active = 1.
ENDIF.
ENDIF.
ENDIF.
IF screen-group1 CP 'L*'.
IF screen-group1+1(2) GT lines.
screen-active = 0.
ELSE.
screen-active = 1.
ENDIF.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
INITIALIZATION.
cnt = 1.
WHILE cnt LE max_lines.
CONCATENATE 'PB_' cnt INTO fldname.
ASSIGN (fldname) TO <fld>.
<fld> = 'Add'.
CONCATENATE 'PB_10' cnt INTO fldname.
ASSIGN (fldname) TO <fld>.
<fld> = 'Del'.
cnt = cnt + 1.
ENDWHILE.
Edited by: Paul Chapman on Jul 1, 2008 1:06 PM -
Creation of selection screen customer
hi frends,
this my requirement.
->i have to create selection screen customer.
->under customer i should have one option called HITS.if i type 10 in hits it should display 10 records of customer.if i click 100 it should display 100 records.
->now i should create a filepath(it should upload file).and two pushbuttons under file filepath.if i click on LOAD button it should load data into application server.if i click DISP button it should display data frm application server.
->once the basic list is displayed if i clich on one record of customer is should take to another screen.here i should have two buttons on application toolbar.one is SALES ITEM LIST.if i select in the list and click on SALES ITEM LIST BUTTON it should display list of that .and if i click on second button DISPLAY DELIVERY DOCU it should take me to VA03 transaction.
Title was edited by:
Alvaro Tejada GalindoBetter get coding.
If you still have problems, get back to the forum with specific questions.
Rob -
Urgent : selection screen
Hi Experts ,
i am passing sub screens dynamically into the selection screen . IN output i am getting vertical scroll bar in subscreen. my requirement is to avoid scroll bar to that perticular subscreen.
pls send the code how to avoid that scroll bar , here i am sending the coed below ( for 1300 sub screen i am getting scroll bar)
pls do needfull .
Thanks,
Nagendra.
tables
TABLES:
sscrfields,
draw, "Document Info Records
drat, "Texts for Document Info Records
cabn, "Characteristic
cawn, "characteristic values
cawnt, "characteristic value text
ausp, "Characteristic values
tdwa, "Document Types
lfa1, "Vendors
ekko, "Purchasing Documents Header
ekpo, "Purchasing Document items
t023t, "Material Group Descriptions
klah, "Classes
cabnt, "Characteristic descriptions
lfb1, "Vendor master (company Code)
t059t, "texts for minority indicators
tdws, "Document status
tdwst, "Document Status Text
sos04, "SAPoffice: screen fields for function group SO04
t006, "Units of Measurement
tcurx, "Decimal Places in Currencies
*+MD1K960995
ekbe.
Parameters
Program Parameters
SELECTION-SCREEN BEGIN OF SCREEN 1100 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK buyingguide
WITH FRAME TITLE text-104.
Company Code
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-300 FOR FIELD s_bukrs.
SELECT-OPTIONS: s_bukrs FOR ekko-bukrs MEMORY ID buk.
SELECTION-SCREEN END OF LINE.
Purchasing Document Category
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-301 FOR FIELD s_bstyp.
SELECT-OPTIONS: s_bstyp FOR ekko-bstyp DEFAULT 'K'.
SELECTION-SCREEN END OF LINE.
Purchasing Document type
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-302 FOR FIELD s_bsart.
SELECT-OPTIONS: s_bsart FOR ekko-bsart MEMORY ID bsa.
SELECTION-SCREEN END OF LINE.
Purchasing Document Creation Date
SELECTION-SCREEN BEGIN OF LINE. "MD1K964692
SELECTION-SCREEN COMMENT 1(28) text-303 FOR FIELD s_aedat. "MD1K964692
SELECT-OPTIONS: s_aedat FOR ekko-aedat. "MD1K964692
SELECTION-SCREEN END OF LINE. "MD1K964692
Purchasing Document Creator
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-304 FOR FIELD s_ernam.
SELECT-OPTIONS: s_ernam FOR ekko-ernam.
SELECTION-SCREEN END OF LINE.
Purchasing Document Vendor Account Number
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-305 FOR FIELD s_lifnr.
SELECT-OPTIONS: s_lifnr FOR ekko-lifnr MEMORY ID lif.
SELECTION-SCREEN END OF LINE.
Purchasing Organization
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-306 FOR FIELD s_ekorg.
SELECT-OPTIONS: s_ekorg FOR ekko-ekorg MEMORY ID eko.
SELECTION-SCREEN END OF LINE.
*+G1
Purchasing Group
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-340 FOR FIELD s_ekorg.
SELECT-OPTIONS: s_ekgrp FOR ekko-ekgrp MEMORY ID ekg.
SELECTION-SCREEN END OF LINE.
Purchasing Document date
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-341 FOR FIELD s_ekorg.
SELECT-OPTIONS: s_bedat FOR ekko-bedat MEMORY ID bed.
SELECTION-SCREEN END OF LINE.
Purchasing Document item plant
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-307 FOR FIELD s_werks.
SELECT-OPTIONS: s_werks FOR ekpo-werks MEMORY ID wrk.
SELECTION-SCREEN END OF LINE.
*+MD1K971124
*+MD1K971479
Number of Purchasing Info Record
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-342 FOR FIELD s_infnr.
SELECT-OPTIONS: s_infnr FOR ekpo-infnr MEMORY ID inf.
SELECTION-SCREEN END OF LINE.
Purchasing Document item material group
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-308 FOR FIELD s_matkl.
SELECT-OPTIONS: s_matkl FOR ekpo-matkl MEMORY ID mkl.
SELECTION-SCREEN END OF LINE.
Purchasing Document item category
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-309 FOR FIELD s_pstyp.
SELECT-OPTIONS: s_pstyp FOR ekpo-pstyp DEFAULT 8 TO 9.
SELECTION-SCREEN END OF LINE.
Purchasing Document item material number
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-310 FOR FIELD s_matnr.
SELECT-OPTIONS: s_matnr FOR ekpo-matnr MEMORY ID mat.
SELECTION-SCREEN END OF LINE.
Purchasing Document item deletion indicator
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-311 FOR FIELD s_loekz.
SELECT-OPTIONS: s_loekz FOR ekpo-loekz DEFAULT space.
SELECTION-SCREEN END OF LINE.
Purchasing Document
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-317 FOR FIELD s_ebeln.
SELECT-OPTIONS: s_ebeln FOR ekko-ebeln MEMORY ID vrt.
SELECTION-SCREEN END OF LINE.
Purchasing Document item
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-312 FOR FIELD s_ebelp.
SELECT-OPTIONS: s_ebelp FOR ekpo-ebelp MEMORY ID bsp.
SELECTION-SCREEN END OF LINE.
Purchasing Document item purchase req number
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-313 FOR FIELD s_banfn.
SELECT-OPTIONS: s_banfn FOR ekpo-banfn MEMORY ID ban.
SELECTION-SCREEN END OF LINE.
Purchasing Document item reference purchase document
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-318 FOR FIELD s_konnr.
SELECT-OPTIONS: s_konnr FOR ekpo-konnr.
SELECTION-SCREEN END OF LINE.
Purchasing Document item reference purchase document item
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-319 FOR FIELD s_ktpnr.
SELECT-OPTIONS: s_ktpnr FOR ekpo-ktpnr.
SELECTION-SCREEN END OF LINE.
Purchasing Document validity from date
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-314 FOR FIELD s_kdatb.
SELECT-OPTIONS: s_kdatb FOR ekko-kdatb.
SELECTION-SCREEN END OF LINE.
Purchasing Document validity to date
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) text-315 FOR FIELD s_kdate.
SELECT-OPTIONS: s_kdate FOR ekko-kdate DEFAULT sy-datum
TO '99991231'.
SELECTION-SCREEN END OF LINE.
Vendor Rating
SELECTION-SCREEN BEGIN OF LINE.
*SELECTION-SCREEN COMMENT 1(28) text-316 FOR FIELD s_zmrate.
*SELECT-OPTIONS: s_zmrate FOR ekko-zz_moc_rating.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK buyingguide.
SELECTION-SCREEN END OF SCREEN 1100.
SELECTION-SCREEN BEGIN OF SCREEN 1200 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK document
WITH FRAME TITLE text-024.
Document number
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_dokar FOR FIELD s_dokar.
SELECT-OPTIONS: s_dokar FOR draw-dokar DEFAULT 'CN1'.
SELECTION-SCREEN END OF LINE.
Document type
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_doknr FOR FIELD s_doknr.
SELECT-OPTIONS: s_doknr FOR draw-doknr.
SELECTION-SCREEN END OF LINE.
Document part
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_doktl FOR FIELD s_doktl.
SELECT-OPTIONS: s_doktl FOR draw-doktl.
SELECTION-SCREEN END OF LINE.
Document version
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_dokvr FOR FIELD s_dokvr.
SELECT-OPTIONS: s_dokvr FOR draw-dokvr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP 1.
Document Status
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_dokst FOR FIELD s_dokst.
SELECT-OPTIONS: s_dokst FOR draw-dokst." DEFAULT 'AC'.
SELECTION-SCREEN END OF LINE.
Document Creation Date
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_adat FOR FIELD s_adat.
SELECT-OPTIONS: s_adat FOR draw-adatum.
SELECTION-SCREEN END OF LINE.
Document Creator
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_dwnam FOR FIELD s_dwnam.
SELECT-OPTIONS: s_dwnam FOR draw-dwnam.
SELECTION-SCREEN END OF LINE.
Document text
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_dktxt FOR FIELD s_dktxt.
SELECT-OPTIONS: s_dktxt FOR drat-dktxt.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP 1.
Parent Document number
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_prear FOR FIELD s_prear.
SELECT-OPTIONS: s_prear FOR draw-prear.
SELECTION-SCREEN END OF LINE.
Parent Document type
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_prenr FOR FIELD s_prenr.
SELECT-OPTIONS: s_prenr FOR draw-prenr.
SELECTION-SCREEN END OF LINE.
Parent Document part
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_pretl FOR FIELD s_pretl.
SELECT-OPTIONS: s_pretl FOR draw-pretl.
SELECTION-SCREEN END OF LINE.
Parent Document version
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) c_prevr FOR FIELD s_prevr.
SELECT-OPTIONS: s_prevr FOR draw-prevr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK document.
SELECTION-SCREEN END OF SCREEN 1200.
SELECTION-SCREEN BEGIN OF SCREEN 1300 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK charact
WITH FRAME TITLE text-025.
Class
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) c_class FOR FIELD p_class.
PARAMETERS: p_class LIKE klah-class OBLIGATORY
MATCHCODE OBJECT clas
DEFAULT 'CONTRACTS'.
SELECTION-SCREEN END OF LINE.
Class Type
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) c_klart FOR FIELD p_klart.
PARAMETERS: p_klart LIKE klah-klart OBLIGATORY DEFAULT '017'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN COMMENT /1(67) text-203.
SELECTION-SCREEN COMMENT /5(16) text-204.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_01atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_01atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_01atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_02atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_02atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_02atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_03atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_03atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_03atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_05atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_05atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_05atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_04atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_04atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_04atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_06atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_06atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_06atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_07atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_07atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_07atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_08atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_08atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_08atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_09atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_09atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_09atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_10atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_10atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_10atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_11atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_11atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_11atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_12atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_12atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_12atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_13atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_13atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_13atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_14atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_14atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_14atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_15atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_15atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_15atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_16atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_16atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_16atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_17atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_17atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_17atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_18atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_18atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_18atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_19atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_19atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_19atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_20atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_20atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_20atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_21atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_21atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_21atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_22atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_22atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_22atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_23atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_23atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_23atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_24atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_24atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_24atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pc_25atm AS CHECKBOX
MODIF ID chr.
PARAMETERS: pt_25atm LIKE cabn-atnam OBLIGATORY
VISIBLE LENGTH 26
MODIF ID chr.
SELECT-OPTIONS: s_25atm FOR ausp-atwrt
MODIF ID chr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK charact.
SELECTION-SCREEN END OF SCREEN 1300.
Main Selection screen that will incorporate the subscreens
SELECTION-SCREEN BEGIN OF TABBED BLOCK tabs FOR 24 LINES.
SELECTION-SCREEN TAB (20) text-103 USER-COMMAND ucomm1
DEFAULT SCREEN 1100.
SELECTION-SCREEN TAB (20) text-100 USER-COMMAND ucomm2
DEFAULT SCREEN 1200.
SELECTION-SCREEN TAB (30) text-101 USER-COMMAND ucomm3
DEFAULT SCREEN 1300.
SELECTION-SCREEN END OF BLOCK tabs.
SELECTION-SCREEN BEGIN OF BLOCK misc WITH FRAME TITLE text-061.
ALV Variant
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-066 FOR FIELD p_alvvar.
PARAMETERS: p_alvvar LIKE disvariant-variant. "alv variant
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK misc.hi nagendra,
i got ur problem. i put the subscreen in ur main screen.
i was gone through from ur program. there is number of parameters and select-option. and ur subscreen size is small according to your taken fields.
there is two option
1 ) . make your subscreen size full in main screen .
2) . Or you can put all fields in main screen . it does not matter for codding.
rewards if helpfull. -
How to Make Field "Creation Date" Mandatory (in EP Selection Screen)
Dear experts,
I am on SRM 7.0.
In Shopping Cart, i'd like to set Field "Creation Date" as Mandatory Field in EP Selection Screen / Criteria Maintenance.
Is there BADI or SPRO need to be maintained?
Thanks & regards,
Jack
Edited by: Jack4ever on Aug 9, 2011 7:42 AM
Edited by: Jack4ever on Aug 9, 2011 7:43 AMHi Jack,
Not sure if it possible in standard with any customizing but it might be able to achieve this through webdynpro enhancements.
Regards,
Prasanna -
Selection-screen problem only when in SE80
Hi Folks,
I am getting the following information message when the the element SCREENS is double clicked in the SE80's container.
Element %_R1_%_APP_%-TEXT touches or overlaps
other element
The program is running fine without any error.I want to know why such an info message is getting popped up and how to avoid that.
Thanks,
K.Kiran.Hi,
Open the Selection scree in SE51, double click on 1000 screen in SE80 and then click on the layout button to open the screen.
Then there check out the screen element for which you are getting the error.
Then adjust its size and check if this error is still coming.
According to me this Screen element corresponds to SELECTION-SCREEN COMMENT statement in the program, you might have given the length of this text there try and reduce the length there and see if this error still remains.
Generally we should not modify the Selection-Screen's in SE51 as they will always get regenerated when ever you activate the program and your changes will be over written.
So try to play around with SELECTION-SCREEN statements only in the program, what you can get from SE51 is what this SCREEN ELEMENT corresponds to in the program.
Regards,
Sesh -
How to limit the creation of the selection screen variant
Hi,
I have a question concerning the selection screen variants. Is it possible to limit the number of variant created by users (in customizing, authorization..) ?
If, yes, can you please tell me the procedure to follow.
thanks for help.Cannot be restricted during creation but you can do a program that reads the report's existing variants, delete some, or modify the variant's content, you can put that in the program itself so when executed, apply your validation, or a background job depending on your requirements.
You can do it with this function modules:
RS_ALL_VARIANTS_4_1_REPORT
RS_CHANGE_CREATED_VARIANT
RS_VARIANT_DELETE
Hope it helps -
Error during creation of push button on selection screen
Hi,
I wanted to create push buttons on selection screen,
Code:
DATA DB1 TYPE VBAP-WERKS.
DATA DB2 TYPE MARA-MATNR.
SELECT-OPTIONS : SPLANT FOR DB1,
SCLASS FOR DB2.
SELECTION-SCREEN: FUNCTION KEY 1,
FUNCTION KEY 2,
FUNCTION KEY 3.
INITIALIZATION.
DATA FUNCTXT TYPE SMP_DYNTXT.
CLEAR FUNCTXT.
DATA: FUNCTXT_01 TYPE SSCRFIELDS-FUNCTXT_01.
FUNCTXT-TEXT = 'DEL'.
SSCRFIELDS-FUNCTXT_01 = FUNCTXT.
CLEAR FUNCTXT.
FUNCTXT-TEXT = 'EDIT'.
SSCRFIELDS-FUNCTXT_02 = FUNCTXT.
CLEAR FUNCTXT.
FUNCTXT-TEXT = 'CRE'.
SSCRFIELDS-FUNCTXT_03 = FUNCTXT.
But during activating, I'm getting the error as : Field "SSCRFIELDS-FUNCTXT_01" is unknown. It is neither in one of the specified tables nor defined by "DATA" statement.
Please suggest solutions to overcome this error.
Regards
Darshan MSHi,
trans. for examples of selection screen : BIBS
regards
Fred -
Creation of spool request for a report without selection-screen.
Hi Experts ,
I need to create a spool request for ALV Grid report which is not having any selection-screen , after pressing F8 it will directly display the ALV Grid out put.
Can any one help me how to run the above report in background which is not having selection-screen?
Thank you & Regards.
Rajasekhar.PHI,
At transaction SE38 click Program -> Execute -> Background.
Regards
Sudheer -
Hi.
first one selection block with ekko-ebeln select-option.
if i gave the ebeln it has to display anorher selection block with ekpo-ebelp,matnr select-options under the first block.
after giving all the details we should call a screen for output on the standard screen.
can any one help on this.
Moderator message: "spec dumping", please work yourself first on your requirement.
Edited by: Thomas Zloch on Aug 4, 2011 9:07 AMHi,
create a sel screen with both the blocks.
Put a condition on At selection screen output event , to hide and unhide the second block based on user input.
You can modify screen structure to hide/unhide the block.
Like:
At selection screen output.
loop at screen.
If screen-fieldname = 'XYZ'.
screen-active = '0'.
screen-invisible = '1'.
modify screen.
endif.
endloop. -
New development - selection screen
Hi gurus,
we are introducing a new functionality via devolopment transaction Z, and we need to enter a selection screen prior to the results, just to enter a kind of filter for fields such us:
1. Purchasing document creation date.
2. Document type.
3. Purchasing group.
4. Vendor.
5. Cost Center.
The programmers are asking us whether we want those fields to be a parameter or a range.
Can anyone clear the difference between those two terms for us?
Any help regarding this issue would be very appreciated.
Thanks,
VMLIn selection screen Parameter is Just one value For ex Cost centre A .If it is range means From Cost centre A to Cost Centre E. (A,B...E).
If you maintain for all these filed Range then it may give dump while report execution.So you have to controle which fileds should have range and Just one parametre. -
Truncation of selection screen field in reports
Hi,
Is there any way to avoid truncation of selection screen fields in ABAP reports? For eg, I declare:
SELECT-OPTIONS: s_test FOR ztest-test_field NO INTERVALS
The length of this field in the table is 30 chars. However, on displaying the field via selection screen, this gets truncated to around 18 or so. How do I avoid this as I need to display the full length of the field?Hi,
Try this
Tables : makt.
select-options maknr for makt-maktx.
now go to the screen painter of your program in change mode and move the Help buttons first to the Right each. now increasethe length of the Matnr Field length so that they are equal to 40 Char. in your program you have handle the length now if you want to restrict to 18 otherwise it will be ok
if they don't fit you need incease the Size of the Screen Visible area both in the Screen Painter as well as in the
Screen Attributes
You also get an Information Message just ignore that.
Just open your program in SE80 if you can't go to the screen painter in SE38. the other way just keep this program in Display mode and execute then take F1 help , take Technical Information and double click on the Screen number now go to the Screen Layout and go to Change mode here.
Regards,
Shirisha
Maybe you are looking for
-
Another User modified Table (ODBC -2039) - purchase order
I have following scenario: In SBO are purchase orders for one vendor where in document line is user field for storing some informations. After setting this user field to all lines (manualy) I want to recreate this purchase orders and create one purch
-
Heading 1 level missing from TOC?
I have this little RH 7 sample project. When converting to PDF using 'Printed Documentation Wizard', the primary Heading 1 level is NOT included in the MS Word/PDF 'Table of Contents'. I'm not using any MS Word templates, just the project's CSS style
-
IOT tables ..Analyze
I see that Oracle Index Organized Tables are not getting analyzed by itself. Is this expected? Do i need to analyze this table manually ? We are using 10.1.0.5 Thanks
-
Can anyone please suggest that how it is possible to manipulate OS files at client side using Oracle APEX. Does UTL_FILE can be used on client side or TEXT_IO will work. thanks
-
Sending string to automation controller
I am developing an interface for controlling my house. The controller Can recognize URL encoded commands. My test button worked flawlessly using get URL function, but returns with opening a new browser and displaying the results. So I have been tryin