SAP RSUOM_RUNT_DBREAD_BASE_UOM Function Module for Read Base Unit of Measure









RSUOM_RUNT_DBREAD_BASE_UOM is a standard rsuom runt dbread base uom SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Base Unit of Measure processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for rsuom runt dbread base uom FM, simply by entering the name RSUOM_RUNT_DBREAD_BASE_UOM into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSUOM_RUNT
Program Name: SAPLRSUOM_RUNT
Main Program: SAPLRSUOM_RUNT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSUOM_RUNT_DBREAD_BASE_UOM pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'RSUOM_RUNT_DBREAD_BASE_UOM'"Read Base Unit of Measure
EXPORTING
IS_UOM_PROP = "Structure: Quantity Calculation
I_SINGLE_USAGE = "Boolean
I_MSG_TYPES = "Messages are written to container
IR_MSG = "Container for Messages

IMPORTING
E_OBJNM_BASE = "Unit of measure for display

TABLES
TT_WHERETAB = "

EXCEPTIONS
CX_RS_MSG = 1 CX_SY_DYN_CALL_ILLEGAL_TYPE = 2 CX_SY_DYNAMIC_OSQL_SEMANTICS = 3
.



IMPORTING Parameters details for RSUOM_RUNT_DBREAD_BASE_UOM

IS_UOM_PROP - Structure: Quantity Calculation

Data type: RSUOM_S_CALC_RUNT_PROPERTIES
Optional: No
Call by Reference: Yes

I_SINGLE_USAGE - Boolean

Data type: RS_BOOL
Optional: No
Call by Reference: Yes

I_MSG_TYPES - Messages are written to container

Data type: STRING
Optional: No
Call by Reference: Yes

IR_MSG - Container for Messages

Data type: CL_RSO_MSG
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for RSUOM_RUNT_DBREAD_BASE_UOM

E_OBJNM_BASE - Unit of measure for display

Data type: MEINH
Optional: No
Call by Reference: Yes

TABLES Parameters details for RSUOM_RUNT_DBREAD_BASE_UOM

TT_WHERETAB -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

CX_RS_MSG - BW General Error Class with Message

Data type:
Optional: No
Call by Reference: Yes

CX_SY_DYN_CALL_ILLEGAL_TYPE - System Exception for All Types of Dynamic Method Calls

Data type:
Optional: No
Call by Reference: Yes

CX_SY_DYNAMIC_OSQL_SEMANTICS - Open SQL Error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSUOM_RUNT_DBREAD_BASE_UOM Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_cx_rs_msg  TYPE STRING, "   
lv_is_uom_prop  TYPE RSUOM_S_CALC_RUNT_PROPERTIES, "   
lt_tt_wheretab  TYPE STANDARD TABLE OF RSUOM_S_CALC_RUNT_PROPERTIES, "   
lv_e_objnm_base  TYPE MEINH, "   
lv_i_single_usage  TYPE RS_BOOL, "   
lv_cx_sy_dyn_call_illegal_type  TYPE RS_BOOL, "   
lv_i_msg_types  TYPE STRING, "   
lv_cx_sy_dynamic_osql_semantics  TYPE STRING, "   
lv_ir_msg  TYPE CL_RSO_MSG. "   

  CALL FUNCTION 'RSUOM_RUNT_DBREAD_BASE_UOM'  "Read Base Unit of Measure
    EXPORTING
         IS_UOM_PROP = lv_is_uom_prop
         I_SINGLE_USAGE = lv_i_single_usage
         I_MSG_TYPES = lv_i_msg_types
         IR_MSG = lv_ir_msg
    IMPORTING
         E_OBJNM_BASE = lv_e_objnm_base
    TABLES
         TT_WHERETAB = lt_tt_wheretab
    EXCEPTIONS
        CX_RS_MSG = 1
        CX_SY_DYN_CALL_ILLEGAL_TYPE = 2
        CX_SY_DYNAMIC_OSQL_SEMANTICS = 3
. " RSUOM_RUNT_DBREAD_BASE_UOM




ABAP code using 7.40 inline data declarations to call FM RSUOM_RUNT_DBREAD_BASE_UOM

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!