CNV_MBT_READ_USERS 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.
Associated Function Group:
Released Date: Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'CNV_MBT_READ_USERS' "Auslesen der Daten zu Tabellen USR02 und CNVMBTUSR EXPORTING p_packid = " cnvmbtpack-packid * p_with_filter = " cnv_mbt_flag Flag (X = yes, initial = no) * p_selection_criteria = " usr02-bname User name in user master record * p_get_not_locked = " cnv_mbt_flag Flag (X = yes, initial = no) * p_not_sel_cnvmbtusr = " cnv_mbt_flag Flag (X = yes, initial = no) TABLES p_usr02 = " usr02 * p_cnvmbtusr = " cnvmbtusr EXCEPTIONS NO_CNVMBTUSR_ENTRY_FOUND = 1 " NO_USR02_ENTRY_FOUND = 2 " . " CNV_MBT_READ_USERS
The ABAP code below is a full code listing to execute function module CNV_MBT_READ_USERS 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).
|it_p_usr02||TYPE STANDARD TABLE OF USR02,"TABLES PARAM|
|wa_p_usr02||LIKE LINE OF it_p_usr02 ,|
|it_p_cnvmbtusr||TYPE STANDARD TABLE OF CNVMBTUSR,"TABLES PARAM|
|wa_p_cnvmbtusr||LIKE LINE OF it_p_cnvmbtusr .|
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.
|ld_p_packid||TYPE CNVMBTPACK-PACKID ,|
|it_p_usr02||TYPE STANDARD TABLE OF USR02 ,|
|wa_p_usr02||LIKE LINE OF it_p_usr02,|
|ld_p_with_filter||TYPE CNV_MBT_FLAG ,|
|it_p_cnvmbtusr||TYPE STANDARD TABLE OF CNVMBTUSR ,|
|wa_p_cnvmbtusr||LIKE LINE OF it_p_cnvmbtusr,|
|ld_p_selection_criteria||TYPE USR02-BNAME ,|
|ld_p_get_not_locked||TYPE CNV_MBT_FLAG ,|
|ld_p_not_sel_cnvmbtusr||TYPE CNV_MBT_FLAG .|
Selects the tables usr02 and cnvmbtusr. It is also possible to set a filter for the selection of the user data from table usr02. This makes ...See here for full SAP fm documentation
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 CNV_MBT_READ_USERS or its description.
CNV_MBT_READ_USERS - Auslesen der Daten zu Tabellen USR02 und CNVMBTUSR CNV_MBT_PS_SELGRP_DEF - Partner Shipment / Package Definition CNV_MBT_PS_RULE_DEF - Partner Shipment / Package Definition CNV_MBT_PS_PROCTREE_DEF - Partner Shipment / Package Definition CNV_MBT_PS_PACKDEF - Partner Shipment / Package Definition CNV_MBT_PS_DOMRULES - Partner Shipment / Package Definition