SAP ME_READ_EBAN_MULTIPLE Function Module for DE-EN-LANG-SWITCH-NO-TRANSLATION









ME_READ_EBAN_MULTIPLE is a standard me read eban multiple SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for DE-EN-LANG-SWITCH-NO-TRANSLATION 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 me read eban multiple FM, simply by entering the name ME_READ_EBAN_MULTIPLE into the relevant SAP transaction such as SE37 or SE38.

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



Function ME_READ_EBAN_MULTIPLE 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 'ME_READ_EBAN_MULTIPLE'"DE-EN-LANG-SWITCH-NO-TRANSLATION
EXPORTING
* I_DYNSEL = "
* I_DYNFIE = "
* I_SEL_EBKN = 'X' "
* I_SELECTION_LIMIT = "Maximum Number of Hits
* I_FILTER_BY_EBAN_TECH = "Checkbox

IMPORTING
E_REQS_WITHOUT_AUTH = "ABAP System Field: Number of Rows in Internal Tables
E_LAST_ENTRY = "Generic Type

TABLES
* TE_EBAN = "Purchase Requisition
* TI_BSAKZ_RANGE = "
* TI_BSART_RANGE = "
* TI_PSTYP_RANGE = "
* TI_KNTTP_RANGE = "
* TI_LFDAT_RANGE = "
* TI_FRGDT_RANGE = "
* TI_DISPO_RANGE = "
* TI_STATU_RANGE = "
* TI_FLIEF_RANGE = "
* TI_BEDNR_RANGE = "
* TE_EBKN = "Purchase Requisition Account Assignment
* TI_KONNR_RANGE = "
* TI_RESWK_RANGE = "
* TI_EKORG_RANGE = "
* TI_VRTYP_RANGE = "
* TI_TXZ01_RANGE = "
* TI_AFNAM_RANGE = "
* TI_FRGGR_RANGE = "
* TI_FRGST_RANGE = "
* TI_KOSTL_RANGE = "
* TI_AUFNR_RANGE = "
* TI_TACT = "Activities which can be Protected
* TI_ANLN1_RANGE = "
* TI_ANLN2_RANGE = "
* TI_VBELN_RANGE = "
* TI_VBELP_RANGE = "
* TI_NPLNR_RANGE = "
* TI_VORNR_RANGE = "
* TI_ZUGBA_RANGE = "
* TI_EBAKZ_RANGE = "
* TI_FRGRL_RANGE = "
* TI_FORDN_RANGE = "
* TI_FREIG_ZUS = "Structure for Collective Release of Requisitions
* TI_GSFRG_RANGE = "
* TI_PS_PSP_PNR_RANGE = "
* TI_PSPID_EXT_RANGE = "
* TI_EBAN_LOEKZ_RANGE = "
* TI_EBKN_LOEKZ_RANGE = "
* TI_IMKEYS = "Real Estate (RE) key fields
* TI_BANPR_RANGE = "
* TI_BESWK_RANGE = "
* TI_BLCKD_RANGE = "
* TI_MEMORY_RANGE = "
* TI_BANFN_RANGE = "
* TI_MATNR_RANGE = "
* TI_MATKL_RANGE = "
* TI_WERKS_RANGE = "
* TI_EKGRP_RANGE = "

EXCEPTIONS
WRONG_INPUT = 1 UNCOMPLETE_SELECTED = 2
.



IMPORTING Parameters details for ME_READ_EBAN_MULTIPLE

I_DYNSEL -

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

I_DYNFIE -

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

I_SEL_EBKN -

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

I_SELECTION_LIMIT - Maximum Number of Hits

Data type: MEBANF_QUERY_FIELDS-COUNTER
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FILTER_BY_EBAN_TECH - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ME_READ_EBAN_MULTIPLE

E_REQS_WITHOUT_AUTH - ABAP System Field: Number of Rows in Internal Tables

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

E_LAST_ENTRY - Generic Type

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

TABLES Parameters details for ME_READ_EBAN_MULTIPLE

TE_EBAN - Purchase Requisition

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

TI_BSAKZ_RANGE -

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

TI_BSART_RANGE -

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

TI_PSTYP_RANGE -

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

TI_KNTTP_RANGE -

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

TI_LFDAT_RANGE -

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

TI_FRGDT_RANGE -

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

TI_DISPO_RANGE -

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

TI_STATU_RANGE -

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

TI_FLIEF_RANGE -

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

TI_BEDNR_RANGE -

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

TE_EBKN - Purchase Requisition Account Assignment

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

TI_KONNR_RANGE -

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

TI_RESWK_RANGE -

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

TI_EKORG_RANGE -

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

TI_VRTYP_RANGE -

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

TI_TXZ01_RANGE -

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

TI_AFNAM_RANGE -

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

TI_FRGGR_RANGE -

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

TI_FRGST_RANGE -

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

TI_KOSTL_RANGE -

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

TI_AUFNR_RANGE -

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

TI_TACT - Activities which can be Protected

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

TI_ANLN1_RANGE -

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

TI_ANLN2_RANGE -

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

TI_VBELN_RANGE -

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

TI_VBELP_RANGE -

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

TI_NPLNR_RANGE -

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

TI_VORNR_RANGE -

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

TI_ZUGBA_RANGE -

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

TI_EBAKZ_RANGE -

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

TI_FRGRL_RANGE -

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

TI_FORDN_RANGE -

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

TI_FREIG_ZUS - Structure for Collective Release of Requisitions

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

TI_GSFRG_RANGE -

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

TI_PS_PSP_PNR_RANGE -

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

TI_PSPID_EXT_RANGE -

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

TI_EBAN_LOEKZ_RANGE -

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

TI_EBKN_LOEKZ_RANGE -

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

TI_IMKEYS - Real Estate (RE) key fields

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

TI_BANPR_RANGE -

Data type:
Optional: Yes
Call by Reference: Yes

TI_BESWK_RANGE -

Data type:
Optional: Yes
Call by Reference: Yes

TI_BLCKD_RANGE -

Data type:
Optional: Yes
Call by Reference: Yes

TI_MEMORY_RANGE -

Data type:
Optional: Yes
Call by Reference: Yes

TI_BANFN_RANGE -

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

TI_MATNR_RANGE -

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

TI_MATKL_RANGE -

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

TI_WERKS_RANGE -

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

TI_EKGRP_RANGE -

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

EXCEPTIONS details

WRONG_INPUT -

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

UNCOMPLETE_SELECTED - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ME_READ_EBAN_MULTIPLE 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:
lt_te_eban  TYPE STANDARD TABLE OF EBAN, "   
lv_i_dynsel  TYPE RSDS_TYPE, "   
lv_wrong_input  TYPE RSDS_TYPE, "   
lv_e_reqs_without_auth  TYPE SY-TFILL, "   
lt_ti_bsakz_range  TYPE STANDARD TABLE OF SY, "   
lt_ti_bsart_range  TYPE STANDARD TABLE OF SY, "   
lt_ti_pstyp_range  TYPE STANDARD TABLE OF SY, "   
lt_ti_knttp_range  TYPE STANDARD TABLE OF SY, "   
lt_ti_lfdat_range  TYPE STANDARD TABLE OF SY, "   
lt_ti_frgdt_range  TYPE STANDARD TABLE OF SY, "   
lt_ti_dispo_range  TYPE STANDARD TABLE OF SY, "   
lt_ti_statu_range  TYPE STANDARD TABLE OF SY, "   
lt_ti_flief_range  TYPE STANDARD TABLE OF SY, "   
lt_ti_bednr_range  TYPE STANDARD TABLE OF SY, "   
lt_te_ebkn  TYPE STANDARD TABLE OF EBKN, "   
lv_i_dynfie  TYPE RSFS_FIELDS, "   
lv_e_last_entry  TYPE C, "   
lv_uncomplete_selected  TYPE C, "   
lt_ti_konnr_range  TYPE STANDARD TABLE OF C, "   
lt_ti_reswk_range  TYPE STANDARD TABLE OF C, "   
lt_ti_ekorg_range  TYPE STANDARD TABLE OF C, "   
lt_ti_vrtyp_range  TYPE STANDARD TABLE OF C, "   
lt_ti_txz01_range  TYPE STANDARD TABLE OF C, "   
lt_ti_afnam_range  TYPE STANDARD TABLE OF C, "   
lt_ti_frggr_range  TYPE STANDARD TABLE OF C, "   
lt_ti_frgst_range  TYPE STANDARD TABLE OF C, "   
lt_ti_kostl_range  TYPE STANDARD TABLE OF C, "   
lt_ti_aufnr_range  TYPE STANDARD TABLE OF C, "   
lt_ti_tact  TYPE STANDARD TABLE OF TACT, "   
lv_i_sel_ebkn  TYPE TACT, "   'X'
lt_ti_anln1_range  TYPE STANDARD TABLE OF TACT, "   
lt_ti_anln2_range  TYPE STANDARD TABLE OF TACT, "   
lt_ti_vbeln_range  TYPE STANDARD TABLE OF TACT, "   
lt_ti_vbelp_range  TYPE STANDARD TABLE OF TACT, "   
lt_ti_nplnr_range  TYPE STANDARD TABLE OF TACT, "   
lt_ti_vornr_range  TYPE STANDARD TABLE OF TACT, "   
lt_ti_zugba_range  TYPE STANDARD TABLE OF TACT, "   
lt_ti_ebakz_range  TYPE STANDARD TABLE OF TACT, "   
lt_ti_frgrl_range  TYPE STANDARD TABLE OF TACT, "   
lt_ti_fordn_range  TYPE STANDARD TABLE OF TACT, "   
lt_ti_freig_zus  TYPE STANDARD TABLE OF EBAN_ZUS, "   
lv_i_selection_limit  TYPE MEBANF_QUERY_FIELDS-COUNTER, "   
lt_ti_gsfrg_range  TYPE STANDARD TABLE OF MEBANF_QUERY_FIELDS, "   
lt_ti_ps_psp_pnr_range  TYPE STANDARD TABLE OF MEBANF_QUERY_FIELDS, "   
lt_ti_pspid_ext_range  TYPE STANDARD TABLE OF MEBANF_QUERY_FIELDS, "   
lt_ti_eban_loekz_range  TYPE STANDARD TABLE OF MEBANF_QUERY_FIELDS, "   
lt_ti_ebkn_loekz_range  TYPE STANDARD TABLE OF MEBANF_QUERY_FIELDS, "   
lt_ti_imkeys  TYPE STANDARD TABLE OF VIREKEY, "   
lt_ti_banpr_range  TYPE STANDARD TABLE OF VIREKEY, "   
lt_ti_beswk_range  TYPE STANDARD TABLE OF VIREKEY, "   
lt_ti_blckd_range  TYPE STANDARD TABLE OF VIREKEY, "   
lt_ti_memory_range  TYPE STANDARD TABLE OF VIREKEY, "   
lt_ti_banfn_range  TYPE STANDARD TABLE OF VIREKEY, "   
lv_i_filter_by_eban_tech  TYPE XFELD, "   
lt_ti_matnr_range  TYPE STANDARD TABLE OF XFELD, "   
lt_ti_matkl_range  TYPE STANDARD TABLE OF XFELD, "   
lt_ti_werks_range  TYPE STANDARD TABLE OF XFELD, "   
lt_ti_ekgrp_range  TYPE STANDARD TABLE OF XFELD. "   

  CALL FUNCTION 'ME_READ_EBAN_MULTIPLE'  "DE-EN-LANG-SWITCH-NO-TRANSLATION
    EXPORTING
         I_DYNSEL = lv_i_dynsel
         I_DYNFIE = lv_i_dynfie
         I_SEL_EBKN = lv_i_sel_ebkn
         I_SELECTION_LIMIT = lv_i_selection_limit
         I_FILTER_BY_EBAN_TECH = lv_i_filter_by_eban_tech
    IMPORTING
         E_REQS_WITHOUT_AUTH = lv_e_reqs_without_auth
         E_LAST_ENTRY = lv_e_last_entry
    TABLES
         TE_EBAN = lt_te_eban
         TI_BSAKZ_RANGE = lt_ti_bsakz_range
         TI_BSART_RANGE = lt_ti_bsart_range
         TI_PSTYP_RANGE = lt_ti_pstyp_range
         TI_KNTTP_RANGE = lt_ti_knttp_range
         TI_LFDAT_RANGE = lt_ti_lfdat_range
         TI_FRGDT_RANGE = lt_ti_frgdt_range
         TI_DISPO_RANGE = lt_ti_dispo_range
         TI_STATU_RANGE = lt_ti_statu_range
         TI_FLIEF_RANGE = lt_ti_flief_range
         TI_BEDNR_RANGE = lt_ti_bednr_range
         TE_EBKN = lt_te_ebkn
         TI_KONNR_RANGE = lt_ti_konnr_range
         TI_RESWK_RANGE = lt_ti_reswk_range
         TI_EKORG_RANGE = lt_ti_ekorg_range
         TI_VRTYP_RANGE = lt_ti_vrtyp_range
         TI_TXZ01_RANGE = lt_ti_txz01_range
         TI_AFNAM_RANGE = lt_ti_afnam_range
         TI_FRGGR_RANGE = lt_ti_frggr_range
         TI_FRGST_RANGE = lt_ti_frgst_range
         TI_KOSTL_RANGE = lt_ti_kostl_range
         TI_AUFNR_RANGE = lt_ti_aufnr_range
         TI_TACT = lt_ti_tact
         TI_ANLN1_RANGE = lt_ti_anln1_range
         TI_ANLN2_RANGE = lt_ti_anln2_range
         TI_VBELN_RANGE = lt_ti_vbeln_range
         TI_VBELP_RANGE = lt_ti_vbelp_range
         TI_NPLNR_RANGE = lt_ti_nplnr_range
         TI_VORNR_RANGE = lt_ti_vornr_range
         TI_ZUGBA_RANGE = lt_ti_zugba_range
         TI_EBAKZ_RANGE = lt_ti_ebakz_range
         TI_FRGRL_RANGE = lt_ti_frgrl_range
         TI_FORDN_RANGE = lt_ti_fordn_range
         TI_FREIG_ZUS = lt_ti_freig_zus
         TI_GSFRG_RANGE = lt_ti_gsfrg_range
         TI_PS_PSP_PNR_RANGE = lt_ti_ps_psp_pnr_range
         TI_PSPID_EXT_RANGE = lt_ti_pspid_ext_range
         TI_EBAN_LOEKZ_RANGE = lt_ti_eban_loekz_range
         TI_EBKN_LOEKZ_RANGE = lt_ti_ebkn_loekz_range
         TI_IMKEYS = lt_ti_imkeys
         TI_BANPR_RANGE = lt_ti_banpr_range
         TI_BESWK_RANGE = lt_ti_beswk_range
         TI_BLCKD_RANGE = lt_ti_blckd_range
         TI_MEMORY_RANGE = lt_ti_memory_range
         TI_BANFN_RANGE = lt_ti_banfn_range
         TI_MATNR_RANGE = lt_ti_matnr_range
         TI_MATKL_RANGE = lt_ti_matkl_range
         TI_WERKS_RANGE = lt_ti_werks_range
         TI_EKGRP_RANGE = lt_ti_ekgrp_range
    EXCEPTIONS
        WRONG_INPUT = 1
        UNCOMPLETE_SELECTED = 2
. " ME_READ_EBAN_MULTIPLE




ABAP code using 7.40 inline data declarations to call FM ME_READ_EBAN_MULTIPLE

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 TFILL FROM SY INTO @DATA(ld_e_reqs_without_auth).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_sel_ebkn) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single COUNTER FROM MEBANF_QUERY_FIELDS INTO @DATA(ld_i_selection_limit).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!