VBWS_UOM_SPECIAL_CHECK 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 VBWS_UOM_SPECIAL_CHECK into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
MWSK
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'VBWS_UOM_SPECIAL_CHECK' "
EXPORTING
* i_kzwsm = " mara-kzwsm
i_mara = " mara
* i_marc = " marc
* i_mard = " mard
* i_mlgn = " mlgn
* i_mvke = " mvke
* i_cl_from_buffer = ' ' " am07m-xselk
* i_exit_by_first_error = 'X' " am07m-xselk
* i_list_errors_only = SPACE " am07m-xselk
* i_dialogue = SPACE " am07m-xselk
IMPORTING
e_value_update = " am07m-xselk
TABLES
i_meinh_ws_old = " smeinh_ws
c_meinh_ws = " smeinh_ws
* c_mean = " meani
* c_mlea = " mlea
* i_ptab = " sptap
* e_message = " matmess
* e_message_uom = " mws_mess
* e_value = " api_value
* CHANGING
* c_buffer_refresh = 'X' " mtcom-kzrfb
* c_classification_update = 'X' " am07m-xselk
EXCEPTIONS
ERROR = 1 "
ERROR_AND_EXIT = 2 "
. " VBWS_UOM_SPECIAL_CHECK
The ABAP code below is a full code listing to execute function module VBWS_UOM_SPECIAL_CHECK 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_e_value_update | TYPE AM07M-XSELK , |
| it_i_meinh_ws_old | TYPE STANDARD TABLE OF SMEINH_WS,"TABLES PARAM |
| wa_i_meinh_ws_old | LIKE LINE OF it_i_meinh_ws_old , |
| it_c_meinh_ws | TYPE STANDARD TABLE OF SMEINH_WS,"TABLES PARAM |
| wa_c_meinh_ws | LIKE LINE OF it_c_meinh_ws , |
| it_c_mean | TYPE STANDARD TABLE OF MEANI,"TABLES PARAM |
| wa_c_mean | LIKE LINE OF it_c_mean , |
| it_c_mlea | TYPE STANDARD TABLE OF MLEA,"TABLES PARAM |
| wa_c_mlea | LIKE LINE OF it_c_mlea , |
| it_i_ptab | TYPE STANDARD TABLE OF SPTAP,"TABLES PARAM |
| wa_i_ptab | LIKE LINE OF it_i_ptab , |
| it_e_message | TYPE STANDARD TABLE OF MATMESS,"TABLES PARAM |
| wa_e_message | LIKE LINE OF it_e_message , |
| it_e_message_uom | TYPE STANDARD TABLE OF MWS_MESS,"TABLES PARAM |
| wa_e_message_uom | LIKE LINE OF it_e_message_uom , |
| it_e_value | TYPE STANDARD TABLE OF API_VALUE,"TABLES PARAM |
| wa_e_value | LIKE LINE OF it_e_value . |
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_c_buffer_refresh | TYPE MTCOM-KZRFB , |
| ld_e_value_update | TYPE AM07M-XSELK , |
| ld_i_kzwsm | TYPE MARA-KZWSM , |
| it_i_meinh_ws_old | TYPE STANDARD TABLE OF SMEINH_WS , |
| wa_i_meinh_ws_old | LIKE LINE OF it_i_meinh_ws_old, |
| ld_c_classification_update | TYPE AM07M-XSELK , |
| ld_i_mara | TYPE MARA , |
| it_c_meinh_ws | TYPE STANDARD TABLE OF SMEINH_WS , |
| wa_c_meinh_ws | LIKE LINE OF it_c_meinh_ws, |
| ld_i_marc | TYPE MARC , |
| it_c_mean | TYPE STANDARD TABLE OF MEANI , |
| wa_c_mean | LIKE LINE OF it_c_mean, |
| ld_i_mard | TYPE MARD , |
| it_c_mlea | TYPE STANDARD TABLE OF MLEA , |
| wa_c_mlea | LIKE LINE OF it_c_mlea, |
| ld_i_mlgn | TYPE MLGN , |
| it_i_ptab | TYPE STANDARD TABLE OF SPTAP , |
| wa_i_ptab | LIKE LINE OF it_i_ptab, |
| ld_i_mvke | TYPE MVKE , |
| it_e_message | TYPE STANDARD TABLE OF MATMESS , |
| wa_e_message | LIKE LINE OF it_e_message, |
| ld_i_cl_from_buffer | TYPE AM07M-XSELK , |
| it_e_message_uom | TYPE STANDARD TABLE OF MWS_MESS , |
| wa_e_message_uom | LIKE LINE OF it_e_message_uom, |
| ld_i_exit_by_first_error | TYPE AM07M-XSELK , |
| it_e_value | TYPE STANDARD TABLE OF API_VALUE , |
| wa_e_value | LIKE LINE OF it_e_value, |
| ld_i_list_errors_only | TYPE AM07M-XSELK , |
| ld_i_dialogue | TYPE AM07M-XSELK . |
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 VBWS_UOM_SPECIAL_CHECK or its description.