"option" in select-options
what are the different <b>OPTION</b> used in select-options......plz can u give the full forms of those options......
hi,
<b>select-options.</b> Unlike parameters that are declared as elementary variables in ABAP programs, selection criteria are based on special internal tables, called selection tables.
To define a selection criterion, you must declare a selection table in the declaration part using the SELECT-OPTIONS statement You use the statement SELECT-OPTIONS <seltab> for <f>.
<b>The row type of a selection table is a structure that consists of the following four components: SIGN, OPTION, LOW and HIGH.</b>
Each row of a selection table that contains values represents a sub-condition for the complete selection criterion.
Description of the individual components: SIGN ' The data type of SIGN is C with length 1. The contents of SIGN determine for each row whether the result of the row condition is to be included in or excluded from the resulting set of all rows.
<b>OPTION The data type of OPTION is C with length 2. OPTION contains the selection operator</b>.
<b> The following operators are available If HIGH is empty, you can use EQ, NE, GT, LE, LT,CP, and NP. These operators are the same as those that are used for logical expressions.</b>
<b>If HIGH is filled, you can use BT (BeTween) and NB (Not Between).</b>
LOW The data type of LOW is the same as the column type of the database table, to which the selection criterion is linked.
HIGH The data type of HIGH is the same as the column type of the database table, to which the selection criterion is linked. The contents of HIGH specify the upper limit for a range selection.
To assign default values to a selection criterion, you use the following syntax: SELECT-OPTIONS <seltab> FOR <f> DEFAULT <g> [TO <h>] ....
To allow the user to process only the first row of the selection table on the selection screen, you use the following syntax SELECT-OPTIONS <seltab> FOR <f> ..... NO-EXTENSION .....
To allow the user to process only single fields on the selection screen, you use the following syntax: SELECT-OPTIONS <seltab> FOR <f> ..... NO INTERVALS .....
SPA/GPA parameters as default values SELECT-OPTIONS <seltab> FOR <f> ... MEMORY ID <pid>..........
Upper and lower case for selection criteria: SELECT-OPTIONS <seltab> FOR <f> ... LOWER CASE ..............
To make the From field a required field on the selection screen, use: SELECT-OPTIONS <selcrit> FOR <f> ... OBLIGATORY ..............
To hide input fields on the selection screen, use: SELECT-OPTIONS <selcrit> FOR <f> ... NO DISPLAY ..............
To modify input fields on the selection screen, use: SELECT-OPTIONS <selcrit> FOR <f> ... MODIF ID
regards,
Ashokreddy.
Similar Messages
-
Disabling the Ranges option in Select options
Hi,
I have a requirement where I have to remove the possibility of entering the ranges for select-options on the selection screen (eg: FROM xyz TO xyz ).. For this I used SELECT OPTIONS NO INTERVALS.
Now the range option doesnt appear on the main selection screen. However, when I click on the Multiple Selection screen button next to this field.. here again I find an option to enter the ranges. Is there a way to disable this option on the Multiple Selection screen.
Could anyone please help me in this.
Regards,
Harshachk this program
REPORT TESTREP.
* Include type pool SSCR
TYPE-POOLS SSCR.
* Define the object to be passed to the RESTRICTION parameter
DATA RESTRICT TYPE SSCR_RESTRICT.
* Auxiliary objects for filling RESTRICT
DATA OPT_LIST TYPE SSCR_OPT_LIST.
DATA *** TYPE SSCR_***.
* Define the selection screen objects
* First block: 3 SELECT-OPTIONS
SELECTION-SCREEN BEGIN OF BLOCK BLOCK_0 WITH FRAME TITLE TEXT-BL0.
SELECT-OPTIONS SEL_0_0 FOR SY-TVAR0.
SELECT-OPTIONS SEL_0_1 FOR SY-TVAR1.
SELECT-OPTIONS SEL_0_2 FOR SY-TVAR2.
SELECT-OPTIONS SEL_0_3 FOR SY-TVAR3.
SELECTION-SCREEN END OF BLOCK BLOCK_0.
* Second block: 2 SELECT-OPTIONS
SELECTION-SCREEN BEGIN OF BLOCK BLOCK_1 WITH FRAME TITLE TEXT-BL1.
SELECT-OPTIONS SEL_1_0 FOR SY-SUBRC.
SELECT-OPTIONS SEL_1_1 FOR SY-REPID.
SELECTION-SCREEN END OF BLOCK BLOCK_1.
INITIALIZATION.
* Define the option list
* ALL: All options allowed
MOVE 'ALL' TO OPT_LIST-NAME.
MOVE 'X' TO: OPT_LIST-OPTIONS-BT,
OPT_LIST-OPTIONS-CP,
OPT_LIST-OPTIONS-EQ,
OPT_LIST-OPTIONS-GE,
OPT_LIST-OPTIONS-GT,
OPT_LIST-OPTIONS-LE,
OPT_LIST-OPTIONS-LT,
OPT_LIST-OPTIONS-NB,
OPT_LIST-OPTIONS-NE,
OPT_LIST-OPTIONS-NP.
APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
* NOPATTERN: CP and NP not allowed
CLEAR OPT_LIST.
MOVE 'NOPATTERN' TO OPT_LIST-NAME.
MOVE 'X' TO: OPT_LIST-OPTIONS-BT,
OPT_LIST-OPTIONS-EQ,
OPT_LIST-OPTIONS-GE,
OPT_LIST-OPTIONS-GT,
OPT_LIST-OPTIONS-LE,
OPT_LIST-OPTIONS-LT,
OPT_LIST-OPTIONS-NB,
OPT_LIST-OPTIONS-NE.
APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
* NOINTERVLS: BT and NB not allowed
CLEAR OPT_LIST.
MOVE 'NOINTERVLS' TO OPT_LIST-NAME.
MOVE 'X' TO: OPT_LIST-OPTIONS-CP,
OPT_LIST-OPTIONS-EQ,
OPT_LIST-OPTIONS-GE,
OPT_LIST-OPTIONS-GT,
OPT_LIST-OPTIONS-LE,
OPT_LIST-OPTIONS-LT,
OPT_LIST-OPTIONS-NE,
OPT_LIST-OPTIONS-NP.
APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
* EQ_AND_CP: only EQ and CP allowed
CLEAR OPT_LIST.
MOVE 'EQ_AND_CP' TO OPT_LIST-NAME.
MOVE 'X' TO: OPT_LIST-OPTIONS-CP,
OPT_LIST-OPTIONS-EQ.
APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
* JUST_EQ: Only EQ allowed
CLEAR OPT_LIST.
MOVE 'JUST_EQ' TO OPT_LIST-NAME.
MOVE 'X' TO OPT_LIST-OPTIONS-EQ.
APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
* Assign selection screen objects to option list and sign
* KIND = 'A': applies to all SELECT-OPTIONS
MOVE: 'A' TO ***-KIND,
'*' TO ***-SG_MAIN,
'NOPATTERN' TO ***-OP_MAIN,
'NOINTERVLS' TO ***-OP_ADDY.
APPEND *** TO RESTRICT-***_TAB.
* KIND = 'B': applies to all SELECT-OPTIONS in block BLOCK_0,
* that is, SEL_0_0, SEL_0_1, SEL_0_2
CLEAR ***.
MOVE: 'B' TO ***-KIND,
'BLOCK_0' TO ***-NAME,
'I' TO ***-SG_MAIN,
'*' TO ***-SG_ADDY,
'NOINTERVLS' TO ***-OP_MAIN.
APPEND *** TO RESTRICT-***_TAB.
* KIND = 'S': applies to SELECT-OPTION SEL-0-2
CLEAR ***.
MOVE: 'S' TO ***-KIND,
'SEL_0_2' TO ***-NAME,
'I' TO ***-SG_MAIN,
'*' TO ***-SG_ADDY,
'EQ_AND_CP' TO ***-OP_MAIN,
'ALL' TO ***-OP_ADDY.
APPEND *** TO RESTRICT-***_TAB.
* KIND = 'S': Applies to SELECT-OPTION SEL_0_3
CLEAR ***.
MOVE: 'S' TO ***-KIND,
'SEL_0_3' TO ***-NAME,
'I' TO ***-SG_MAIN,
'N' TO ***-SG_ADDY,
'JUST_EQ' TO ***-OP_MAIN.
APPEND *** TO RESTRICT-***_TAB.
* Call function module
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
EXPORTING
RESTRICTION = RESTRICT
* DB = ' '
EXCEPTIONS
TOO_LATE = 1
REPEATED = 2
NOT_DURING_SUBMIT = 3
DB_CALL_AFTER_REPORT_CALL = 4
SELOPT_WITHOUT_OPTIONS = 5
SELOPT_WITHOUT_SIGNS = 6
INVALID_SIGN = 7
REPORT_CALL_AFTER_DB_ERROR = 8
EMPTY_OPTION_LIST = 9
INVALID_KIND = 10
REPEATED_KIND_A = 11
OTHERS = 12.
* Exception handling
IF SY-SUBRC NE 0.
ENDIF.
Message was edited by: Sekhar -
Query regarding OBLIGATORY option in SELECT-OPTIONS
Hi,
The requirement is to have a select-option for any date field(i've used bkpf-budat) and set its HIGH value to SY-DATUM i.e. current system date. The select-option field MUST BE "OBLIGATORY".
On Executing, the current date should be display on the HIGH filed of select-options. Now, what i need here is that the program should execute normally even if the LOW field of select-options field is left BLANK.
The code is as follows.
TABLES: bkpf.
SELECT-OPTIONS: s_budat FOR bkpf-budat OBLIGATORY.
AT SELECTION-SCREEN OUTPUT.
s_budat-low = space.
s_budat-high = sy-datum.
s_budat-sign = 'I'.
s_budat-option = 'BT'.
APPEND s_budat.
Do suggest the methodlogy to achieve this requirement.
Thanks & Regards,
RajeshHi rajesh,
1. directly its not possible.
we have to use some extra logic.
2. first of all remove OBLIGATORY.
3. THEN USE LIKE THIS.
REPORT abc.
TABLES: bkpf.
SELECT-OPTIONS: s_budat FOR bkpf-budat .
AT SELECTION-SCREEN OUTPUT.
s_budat-low = space.
s_budat-high = sy-datum.
s_budat-sign = 'I'.
s_budat-option = 'BT'.
APPEND s_budat.
<b>START-OF-SELECTION.
IF s_budat-high IS INITIAL.
MESSAGE s999(yhr) WITH 'Date should not be blank'.
LEAVE LIST-PROCESSING.
ENDIF.</b>
regards,
amit m. -
Three options in Select Options
Through Selection screen we can give value range through two input box.
Is their any option of specifing more than two input fields at a time .
-David Boon.Hi,
Select the extension button for the select-options button..
Then in the ranges tab..
You can enter another range..
Is that what you want??
Thanks,
Naren -
Multiple records in select options-Urgent help
Hi all,
Iam using the following function module to get the set values. I need to pass multiple values in select options(ie) select options with no intervals. to the function module parameter Shortname. I have declared the variable which has to be passed as
S_SETID FOR SETHEADER-SETNAME NO INTERVALS.
The problem is when i use S_SETID-LOW the value is passed to the function module , but if multiple data is entered in the input then how to pass all the data to the function module. Please Help.Hi,
Declare the Range in the Function module , then you can pass that Select-option fields to that ranges and use that in the Function module.
Or you can use the RANGE_C8 for the Select-optios in the Function module, you can declare the Internal table with the type of RANGE_C8 in the tables parameter, then pass the Select-option to this Internal table
If you want more length field then search based on RANGE_* then you will get all the Range Structure.
Regards
Sudheer -
Select option in select list and navigate to different page
Hello,
I have a tabular form.One of the item is a select list with 2 options. Selecting option one should take the user to page10(just an example) and display all the values of that particular row. Similarly selecting option 2 should take the user to page 20 and display all the values of that row.
Can some one guide me how to do above mentioned job.
Thanks in advance.
Pravish@Avinash
if f_cat-seltext_m = 'Select'.
f_cat-col_pos = 1.
f_cat-seltext_l = 'EDIT'.
f_cat-Checkbox = 'X'.
f_cat-EDIT = 'X'.
endif.
I am already passing f_cat-checkbox = 'X'.
Thanks
Kumar. -
How to retrieve DB values using select-options
Hi all,
I have problem to run this code for getting select option values in runtime. Is there any function, methods or structure to know this? I didnot get DB values when I click select-option button.
I would like to display DB field values when i click select-option pushbutton. select-option values while programs working in runtime.
Example Code:
REPORT ZBAPUSHBUTTON.
data: lryrctno type ZLRYRCT-ZEBELN,
LDRIVER_FN type ZLRYRCT-DRIVER_FN,
LZDELDT TYPE ZLRYRCT-ZDELDT,
LZLRYNO TYPE ZLRYRCT-ZLRYNO,
LZDRIVERID type zlryrct-ZDRIVERID.
DATA: LRYRCT TYPE ZLRYRCT.
SELECTION-SCREEN PUSHBUTTON 10(10) LB1 USER-COMMAND PB1.
SELECTION-SCREEN PUSHBUTTON 25(10) LB2 USER-COMMAND PB2.
SELECTION-SCREEN BEGIN OF SCREEN 100 TITLE T1.
PARAMETERS: PLRYCTNO like lryrctno,
PDR_FN LIKE LDRIVER_FN,
PZDELDT LIKE LZDELDT,
PZLRYNO LIKE LZLRYNO.
SELECTION-SCREEN END OF SCREEN 100.
SELECTION-SCREEN BEGIN OF SCREEN 200 TITLE T2.
select-options: slryctno for lryrctno,
sdr_fn for ldriver_fn,
szdeldt for lzdeldt,
szlryno for lzlryno,
pzdrid for lzdriverid no intervals.
SELECTION-SCREEN END OF SCREEN 200.
INITIALIZATION.
T1 = 'SELECT CHECK BOX AND RADIO BUTTON'.
T2 = 'SELECT PARAMETERS'.
LB1 = 'PARAMETER'.
LB2 = 'SELECT-OPTION'.
AT SELECTION-SCREEN.
CASE SY-UCOMM.
WHEN 'PB1'.
CALL SELECTION-SCREEN 100.
select single * from zlryrct into lryrct where zebeln = plryctno.
if sy-subrc = 0.
message 'primary key already exists. enter different lorry rect. no.' type 'W'.
endif.
LRYRCT-ZEBELN = PLRYCTNO.
LRYRCT-DRIVER_FN = PDR_FN .
LRYRCT-ZDELDT = PZDELDT.
LRYRCT-ZLRYNO = PZLRYNO.
INSERT INTO ZLRYRCT VALUES LRYRCT.
if not sy-subrc = 0.
MESSAGE 'Insert not possible' TYPE 'W' .
endif.
WHEN 'PB2'.
CALL SELECTION-SCREEN 200.
select * from zlryrct into lryrct where
zebeln in slryctno and
driver_fn in sdr_fn and
zdeldt in szdeldt and
zlryno in szlryno.
write: / lryrct-zebeln, LRYRCT-DRIVER_FN, LRYRCT-ZDELDT, LRYRCT-ZDELDT, LRYRCT-ZLRYNO .
endselect.
ENDCASE.What you are looking for is called "search help" (SE11 transaction), you may reuse an existing one (it must be attached to data element, or structure component as foreign key, etc.) Please look at SAP documentation and forums. You may also program it yourself by using AT SELECTION-SCREEN ON VALUE-REQUEST FOR ...
-
Length of select-options in selection screen.
Hi,
I was able to give the lemgth of select-options only upto 8 characters.
Select-options :S_Mtrial for mara-matnr.
But my requirement is I want total name which is more than 8 characters.
Select-options:Material_numberl for mara-matnr.
Can any one help how to do.
Thanks in advance.The Statement...
Select-options :S_Mtrial for mara-matnr
The selection screen length depends on the type that you are assigning to it. Since the length of type
mara-matnr is less, the selection option S_Mtrial will be displayed with short length in the selection screen.
The alternate to do this is...
selection-screen begin of line.
selection-screen comment 2(10) text-001.
select-options : <ur select option name>
selection-screen end of line.
Text element,text-001 contains the select option text to be displayed in the screen
Hope it helps. -
Using Select options how to validate
Hi Experts,
I am using webdynpro abap component select options.In select options i am using vbeln field i want to validate the entered value.How to validate it.Can give me for this solution is there any example provide me.Hi Chandra sekhar ,
Can you give me the clear idea for validation.I have done initially in wddoinit
method WDDOINIT .
* Reference variable used instantiate the select-options component
DATA
lr_cmp_usage TYPE REF TO if_wd_component_usage.
* Variables used to create the select-options fields and
* define its initial values
DATA:
lr_field TYPE REF TO data.
FIELD-SYMBOLS:
<fs_field> TYPE ANY,
<fs_range> TYPE INDEX TABLE.
* Instantiate the select-options component
lr_cmp_usage = wd_this->wd_cpuse_cmp_sel_opt( ).
IF lr_cmp_usage->has_active_component( ) IS INITIAL.
lr_cmp_usage->create_component( ).
ENDIF.
* Sets the helper reference
wd_this->m_sel_opt = wd_this->wd_cpifc_cmp_sel_opt( ).
wd_this->m_helper = wd_this->m_sel_opt->init_selection_screen( ).
* Hide the standard select-options components.
wd_this->m_helper->set_global_options(
i_display_btn_cancel = abap_false
i_display_btn_check = abap_false
i_display_btn_reset = abap_false ).
* Adding a block (type Tray) to the select-options
wd_this->m_helper->add_block(
i_id = `BL01`
i_block_type = if_wd_select_options=>mc_block_type_tray
i_title = `Flight Booking` ).
* Adding a parameter field to the created block
* Create a reference to the type of airline code
CREATE DATA lr_field TYPE s_carr_id.
* Sets the airline code initial value
ASSIGN lr_field->* TO <fs_field>.
<fs_field> = 'AA '.
* Add the parameter to the group
wd_this->m_helper->add_parameter_field(
i_id = `CARRID`
i_within_block = `BL01`
i_value = lr_field ).
FREE lr_field.
UNASSIGN <fs_field>.
* Adding a select-options field to the created block
* Create a reference to the connection number range table
lr_field = wd_this->m_helper->create_range_table( `S_CONN_ID` ).
* Add the select-option to the group
wd_this->m_helper->add_selection_field(
i_id = `CONNID`
i_within_block = `BL01`
it_result = lr_field ).
FREE lr_field.
endmethod.
and in button i have done as
method ONACTIONON_EXECUTE .
TYPES:
lty_r_connid TYPE RANGE OF s_conn_id.
DATA
lr_sbook TYPE REF TO if_wd_context_node.
* Variables used to retrieve the values of select-options fields
DATA
lt_sel_item TYPE if_wd_select_options=>tt_selection_screen_item.
FIELD-SYMBOLS:
<fs_sel_item> LIKE LINE OF lt_sel_item,
<fs_carrid> TYPE s_carr_id,
<fs_connid> TYPE lty_r_connid.
* Get the selection-screen items
wd_this->m_helper->get_selection_screen_items(
IMPORTING et_selection_screen_items = lt_sel_item ).
* Retrieve the values from the select-options items
LOOP AT lt_sel_item ASSIGNING <fs_sel_item>.
CASE <fs_sel_item>-m_id.
WHEN `CARRID`.
ASSIGN <fs_sel_item>-m_value->* TO <fs_carrid>.
WHEN `CONNID`.
ASSIGN <fs_sel_item>-mt_range_table->* TO <fs_connid>.
ENDCASE.
ENDLOOP.
* Retrieve the data from the database, for simplicity, the
* SELECT statement has been implemented here.
SELECT * FROM sbook
INTO TABLE wd_this->t_sbook
WHERE carrid = <fs_carrid>
AND connid IN <fs_connid>.
* Bind the data to the context
lr_sbook = wd_context->get_child_node( name = `T_SBOOK`).
lr_sbook->bind_table( wd_this->t_sbook ).
endmethod.
now can you provide me the code for carrid and connid validation how has to be done.Please give me this solution -
Set of default values for Select-Options
Hi Gurus,
I have a requirement where I need to set default values for select options
ex: SELECT-OPTIONS: S_MTART FOR MARA-MTART
default values must be ERSA - HIBE- FHMI - DIEN - GEST
Please tell me how to do it.
Effective replies will be rewarded with full points
KarthikHi,
For each SELECT-OPTION, you can only specify one DEFAULT.
You must specify the default value g in its internal format, e.g. "SELECT-OPTIONS DATE FOR SY-DATUM DEFAULT '19931224'", not "... DEFAULT '24.12.1993'".
The default value g should normally be a literal because, at runtime when you use SUBMIT, it is transferred to the selection options table sel so early that no value can be assigned to the field g. System fields like SY-DATUM are an exception here because the system usually assigns values to them as soon as the report processing starts.
When you use user-defined selection screens in your programs that you do not call using SUBMIT, the DEFAULT value is transfered when the selection screen is first called. In this case, therefore, you can use other fields g.
regards,
sowjanya
Message was edited by: sowjanya suggula -
is exist restriction for select-options?
for example:
<b> data: ftxt04(4).
select-options: txt04 for ftxt04.</b>Hi,
You can restrict select-options.
SELECT-OPTIONS : S_VKORG FOR TVKO-VKORG MEMORY ID VKO.
Form F1000_RESTRICT_VKORG.
INITIALIZATION.
PERFORM F1000_RESTRICT_VKORG.
Define the object to be passed to the RESTRICTION parameter
DATA lw_restrict TYPE SSCR_RESTRICT.
Auxiliary objects for filling RESTRICT
DATA lw_opt_list TYPE sscr_opt_list.
DATA lw_*** TYPE sscr_***.
Assign selection screen objects to option list and sign
NOINTERVLS: BT and NB not allowed
CLEAR lw_opt_list.
MOVE 'NOINTERVLS' TO lw_opt_list-name.
MOVE 'X' TO: lw_opt_list-options-cp,
lw_opt_list-options-eq,
lw_opt_list-options-ge,
lw_opt_list-options-gt,
lw_opt_list-options-le,
lw_opt_list-options-lt,
lw_opt_list-options-ne,
lw_opt_list-options-np.
APPEND lw_opt_list TO lw_restrict-opt_list_tab.
KIND = 'S':
CLEAR lw_***.
MOVE: 'S' TO lw_***-kind,
'S_VKORG' TO lw_***-name,
'I' TO lw_***-sg_main,
'*' TO lw_***-sg_addy,
'NOINTERVLS' TO lw_***-op_main.
APPEND lw_*** TO lw_restrict-***_tab.
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
EXPORTING
restriction = lw_restrict
EXCEPTIONS
too_late = 1
repeated = 2
selopt_without_options = 3
selopt_without_signs = 4
invalid_sign = 5
empty_option_list = 6
invalid_kind = 7
repeated_kind_a = 8
OTHERS = 9.
IF sy-subrc <> 0. "Restriction error encountered for Select
"Option
MESSAGE I001 WITH 'ERROR IN SELECT OPTION'."ERROR IN SELECT OPTION
ENDIF.
endform. " F1000_RESTRICT_VKORG -
Select -options hide extension
HI Experts,
Is it possible to hide the Extension option in select options in wda. Please suggest a solution.
Regards
Sarath SatheesanHi Sarath.
Use i_no_extension parameter of method add_selection_field.
lr_selop->add_selection_field(
i_no_extension = abap_true
Cheers,
Sascha -
Cost center group select option
here is my code:
declaration of select option.
SELECT-OPTIONS s_khinr FOR csks_itab_group-khinr no intervals.
at selection-screen on value-request for s_khinr-low.
at selection-screen on value-request for s_khinr-high.
Initialization
initialization.
perform build_group_option.
delete adjacent duplicates from csks_itab_group comparing all fields.
at initialization fir build my internal table called csks_itab_group, which gets the names for the coster center groups then I delect any duplicates.
still does work, any ideas.
thanksThis works.......
REPORT ZRICH_0001 .
tables: csks.
data: begin of itab occurs 0,
khinr type csks-khinr,
end of itab.
SELECT-OPTIONS s_khinr FOR csks-khinr no intervals.
initialization.
perform build_group_option.
sort itab ascending by khinr.
delete adjacent duplicates from itab comparing all fields.
at selection-screen on value-request for s_khinr-low.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'KHINR'
dynprofield = 'S_KHINR'
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
tables
value_tab = itab.
at selection-screen on value-request for s_khinr-high.
start-of-selection.
form build_group_option.
*** MAKE SURE YOU MODIFY THIS STATEMENT
select khinr from csks into table itab
where kokrs eq 'NSCO'.
endform.
Regards,
Rich Heilman -
How can i have a select option in report painter similar to normal report program.
hi,
r u asking about screen painter se51,if so there we dont have any option like select option.
there we need to drag and drop 2 input boxs and one text box for 'to' in between those two input boxes and in program we need to maintain all the coding as one low and one high value that's it. -
Hello All, i have a selection option like
select-options:
doc_type(1) type c.
and i ahve 5 different DB tables each stores each one stores doc type A, D, K, X, Z seperately
means table one will have only doc type A related data.
now i want to check waht user has entered in the selection values . for eg if user enters range lower value C higher value P. Then i should select only two DB tables which contains D and K.
is there any way that i can check "if D is in user selection ".
or is there any other way to achieve this?
thanks in advance
Best Regards
Amarender Reddy BHi
use the AT SELECTION-SCREEN ON VALUE event to validate what the user has entered
you can check
if doc_type-low is between 'C' and 'P' or/AND DOC_TYPE-HIGH BETWEEN
endif.
try this out.
regards
Ramchander Rao.K
Maybe you are looking for
-
I am getting the following error when attempting to deliver my iBooks Author book package via iTunes Producer: " Unable to authenticate the package: B_SPACE_NUTRITION.itmsp ERROR ITMS-9000: "OPS/ibooks.ncx(5): element "content" no
-
DW has a built in date format that produces the date in English. Can I change this to another language? Regards, Adriana. [ put out the rubbish if you need to reach me by e-mail ] www.spinsister.nl
-
Hi all, can someone help me please? Yesturday "searching" appeared on top left hand corner of my phone.. i tried taking out the sim and inserting it, still the same. not long after that, the phone just blanked out! i plugged in the charger and the ap
-
IPhone 3G lost while syncing with MacBook Air.
While syncing the iPhone and the Mac, the connection between the two devices breaks. Sometimes, I manage to sync completely the 2 machines, sometimes the syncing crashes. After many trials, I came to the conclusion that when the battery of the iPhone
-
Wondering what's coming into play for having a slow networking speed. I have 2 G5s and a laptop, all running Leopard, and connected via ethernet to a Netgear GS605 Switch that is connected to a DLink DI-524. I do this to open the ports for my Express