For all select-options both EQUALS and NOT EQUALS options and only INCLUDE option is enabled. In the output, first click on S_MTART select-option button and then click on the available options button as shown below. *Create an option list where EQUALS and NOT EQUALS are enabled into both the LOW and HIGH field on the selection screen, SAP automatically enters BT into the selection (unless overwritten by a specific selection option entered by the user or variant). For S_MATNR select-option only EQUALS option and both INCLUDE and EXCLUDE options are enabled.īelow is an example where we enable Equals and Not Equals options and only Include option of all select-options on the selection screen *-* In the output, first click on S_MATNR select-option button and then click on the available options button as shown below. *Apply the option list that has only Equals enabled to Select-option S_MATNR " Equals is enabledĪPPEND gs_opt_list TO gs_restrict-opt_list_tab. *Create an option list where only EQUALS is enabled SELECT-OPTIONS: s_mtart FOR mara-mtart NO INTERVALS. SELECT-OPTIONS: s_matnr FOR mara-matnr NO INTERVALS. Name of the option list (from RESTRICTION-OPT_LIST_TAB) for the main selection screen.īelow is an example where we enable only Equals option and both Include and Exclude option of a particular select-option i.e S_MATNR. ‘I’: Only sign ‘I’ allowed on the main selection screen. ‘*’: Do not restrict the sign on the main selection screen. Where KIND = ‘B’ or ‘S’: Name of the object.B(lock), S(elect-Option) ‘S’: The restrictions apply to the single SELECT-OPTIONS specified in NAME S(elect-Option) The restrictions apply to all SELECT-OPTIONS within the selection screen block specified in the field NAME B(lock) ‘A’: The restrictions apply to all SELECT-OPTIONS. This is a table in which you assign selection screen objects to option lists and permitted signsįreely-definable name for a list of valid optionsĬharacter fields of length 1 (for example, EQ, BT, …) for each of the 10 possible options The RESTRICTION parameter has 2 components. Function module SELECT_OPTIONS_RESTRICT can be used to restrict the number of selection options available for a select-option on selection screen.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |