OMS_OMSET_EDITOR is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name OMS_OMSET_EDITOR into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SOMS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'OMS_OMSET_EDITOR' "Edit/display/check operation mode sets (normal and exception operatio
EXPORTING
omset_editor_dialog = " btch0000-char1 Interactive mode yes / no
omset_editor_mode = " btch0000-char1 Normal operation or exception operation type set
* omset_editor_opcode = 0 " btch0000-int4 Operation : display / edit (only online)
IMPORTING
omset_editor_tbl_modified = " btch0000-char1 specifies whether OMSET_EDIT_TBL was changed
TABLES
omset_edit_tbl = " btcomset Table with operation type set data (I/O)
EXCEPTIONS
INVALID_DIALOG_TYPE = 1 " invalid interactive category
INVALID_MODE = 2 " invalid identifier for type of the operation type set
INVALID_OMSET_DATA = 3 " Operation type set data is invalid
INVALID_OPCODE = 4 " invalid operation code
. " OMS_OMSET_EDITOR
The ABAP code below is a full code listing to execute function module OMS_OMSET_EDITOR including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_omset_editor_tbl_modified | TYPE BTCH0000-CHAR1 , |
| it_omset_edit_tbl | TYPE STANDARD TABLE OF BTCOMSET,"TABLES PARAM |
| wa_omset_edit_tbl | LIKE LINE OF it_omset_edit_tbl . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_omset_editor_tbl_modified | TYPE BTCH0000-CHAR1 , |
| ld_omset_editor_dialog | TYPE BTCH0000-CHAR1 , |
| it_omset_edit_tbl | TYPE STANDARD TABLE OF BTCOMSET , |
| wa_omset_edit_tbl | LIKE LINE OF it_omset_edit_tbl, |
| ld_omset_editor_mode | TYPE BTCH0000-CHAR1 , |
| ld_omset_editor_opcode | TYPE BTCH0000-INT4 . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name OMS_OMSET_EDITOR or its description.
OMS_OMSET_EDITOR - Edit/display/check operation mode sets (normal and exception operatio OMS_NORMAL_OMSET_READ - Reading operating set data of the normal 24h operation OMS_GET_OPMODE_ON_DATE - Determining the planned operation mode at a certain time OMS_GET_OPMODE_FROM_USER - Ask user to enter the name of an operation mode OMS_FINISH_JOB - OMS Function for Completing a Print Request (Prototype) OMS_EXCEPT_OMSET_READ - Reading operating set data for the exception operation