SAP MRM_DBTAB_T161T_READ Function Module for NOTRANSL: (gepuffertes) Lesen der T161T
MRM_DBTAB_T161T_READ is a standard mrm dbtab t161t 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 T161T 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 t161t read FM, simply by entering the name MRM_DBTAB_T161T_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_T161T_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_T161T_READ'"NOTRANSL: (gepuffertes) Lesen der T161T.
EXPORTING
I_SPRAS = "Language Key
I_BSTYP = "Purchasing Document Category
I_BSART = "Purchasing Document Type
* I_BUFFER_ON = 'X' "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IMPORTING
E_T161T = "Texts for Purchasing Document Types
EXCEPTIONS
ENTRY_NOT_FOUND = 1
IMPORTING Parameters details for MRM_DBTAB_T161T_READ
I_SPRAS - Language Key
Data type: T161T-SPRASOptional: No
Call by Reference: No ( called with pass by value option)
I_BSTYP - Purchasing Document Category
Data type: T161T-BSTYPOptional: No
Call by Reference: No ( called with pass by value option)
I_BSART - Purchasing Document Type
Data type: T161T-BSARTOptional: 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-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MRM_DBTAB_T161T_READ
E_T161T - Texts for Purchasing Document Types
Data type: T161TOptional: 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_T161T_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_t161t | TYPE T161T, " | |||
| lv_i_spras | TYPE T161T-SPRAS, " | |||
| lv_entry_not_found | TYPE T161T, " | |||
| lv_i_bstyp | TYPE T161T-BSTYP, " | |||
| lv_i_bsart | TYPE T161T-BSART, " | |||
| lv_i_buffer_on | TYPE BOOLE-BOOLE. " 'X' |
|   CALL FUNCTION 'MRM_DBTAB_T161T_READ' "NOTRANSL: (gepuffertes) Lesen der T161T |
| EXPORTING | ||
| I_SPRAS | = lv_i_spras | |
| I_BSTYP | = lv_i_bstyp | |
| I_BSART | = lv_i_bsart | |
| I_BUFFER_ON | = lv_i_buffer_on | |
| IMPORTING | ||
| E_T161T | = lv_e_t161t | |
| EXCEPTIONS | ||
| ENTRY_NOT_FOUND = 1 | ||
| . " MRM_DBTAB_T161T_READ | ||
ABAP code using 7.40 inline data declarations to call FM MRM_DBTAB_T161T_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 SPRAS FROM T161T INTO @DATA(ld_i_spras). | ||||
| "SELECT single BSTYP FROM T161T INTO @DATA(ld_i_bstyp). | ||||
| "SELECT single BSART FROM T161T INTO @DATA(ld_i_bsart). | ||||
| "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