SAP MRM_DBTAB_T001U_READ Function Module for NOTRANSL: (gepuffertes) Lesen der T001U









MRM_DBTAB_T001U_READ is a standard mrm dbtab t001u read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: (gepuffertes) Lesen der T001U 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 mrm dbtab t001u read FM, simply by entering the name MRM_DBTAB_T001U_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function MRM_DBTAB_T001U_READ 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 'MRM_DBTAB_T001U_READ'"NOTRANSL: (gepuffertes) Lesen der T001U
EXPORTING
I_VBUKR = "Company code which is being posted to
I_ABUKR = "Company Code which will be Cleared Against
* I_BUFFER_ON = 'X' "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

IMPORTING
E_T001U = "Clearing Between Company Codes

EXCEPTIONS
ENTRY_NOT_FOUND = 1
.



IMPORTING Parameters details for MRM_DBTAB_T001U_READ

I_VBUKR - Company code which is being posted to

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

I_ABUKR - Company Code which will be Cleared Against

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

I_BUFFER_ON - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

Data type: BOOLE-BOOLE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for MRM_DBTAB_T001U_READ

E_T001U - Clearing Between Company Codes

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

EXCEPTIONS details

ENTRY_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for MRM_DBTAB_T001U_READ 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_e_t001u  TYPE T001U, "   
lv_i_vbukr  TYPE T001U-VBUKR, "   
lv_entry_not_found  TYPE T001U, "   
lv_i_abukr  TYPE T001U-ABUKR, "   
lv_i_buffer_on  TYPE BOOLE-BOOLE. "   'X'

  CALL FUNCTION 'MRM_DBTAB_T001U_READ'  "NOTRANSL: (gepuffertes) Lesen der T001U
    EXPORTING
         I_VBUKR = lv_i_vbukr
         I_ABUKR = lv_i_abukr
         I_BUFFER_ON = lv_i_buffer_on
    IMPORTING
         E_T001U = lv_e_t001u
    EXCEPTIONS
        ENTRY_NOT_FOUND = 1
. " MRM_DBTAB_T001U_READ




ABAP code using 7.40 inline data declarations to call FM MRM_DBTAB_T001U_READ

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.

 
"SELECT single VBUKR FROM T001U INTO @DATA(ld_i_vbukr).
 
 
"SELECT single ABUKR FROM T001U INTO @DATA(ld_i_abukr).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_buffer_on).
DATA(ld_i_buffer_on) = 'X'.
 


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!