SAP FDM_MIRR_GET_M_BUKRS Function Module for









FDM_MIRR_GET_M_BUKRS is a standard fdm mirr get m bukrs SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fdm mirr get m bukrs FM, simply by entering the name FDM_MIRR_GET_M_BUKRS into the relevant SAP transaction such as SE37 or SE38.

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



Function FDM_MIRR_GET_M_BUKRS 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 'FDM_MIRR_GET_M_BUKRS'"
EXPORTING
I_EXT_COMP_TYPE = "
I_EXT_COMP_KEY = "
I_EXT_COMP_SYSTEM = "

IMPORTING
E_M_BUKRS = "
ES_MESSAGE = "

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for FDM_MIRR_GET_M_BUKRS

I_EXT_COMP_TYPE -

Data type: FDM_COMP_MIRROR-EXT_COMP_TYPE
Optional: No
Call by Reference: Yes

I_EXT_COMP_KEY -

Data type: FDM_COMP_MIRROR-EXT_COMP_KEY
Optional: No
Call by Reference: Yes

I_EXT_COMP_SYSTEM -

Data type: FDM_COMP_MIRROR-EXT_COMP_SYSTEM
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for FDM_MIRR_GET_M_BUKRS

E_M_BUKRS -

Data type: FDM_COMP_MIRROR-M_BUKRS
Optional: No
Call by Reference: Yes

ES_MESSAGE -

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

EXCEPTIONS details

ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FDM_MIRR_GET_M_BUKRS 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_error  TYPE STRING, "   
lv_e_m_bukrs  TYPE FDM_COMP_MIRROR-M_BUKRS, "   
lv_i_ext_comp_type  TYPE FDM_COMP_MIRROR-EXT_COMP_TYPE, "   
lv_es_message  TYPE BAPIRET2, "   
lv_i_ext_comp_key  TYPE FDM_COMP_MIRROR-EXT_COMP_KEY, "   
lv_i_ext_comp_system  TYPE FDM_COMP_MIRROR-EXT_COMP_SYSTEM. "   

  CALL FUNCTION 'FDM_MIRR_GET_M_BUKRS'  "
    EXPORTING
         I_EXT_COMP_TYPE = lv_i_ext_comp_type
         I_EXT_COMP_KEY = lv_i_ext_comp_key
         I_EXT_COMP_SYSTEM = lv_i_ext_comp_system
    IMPORTING
         E_M_BUKRS = lv_e_m_bukrs
         ES_MESSAGE = lv_es_message
    EXCEPTIONS
        ERROR = 1
. " FDM_MIRR_GET_M_BUKRS




ABAP code using 7.40 inline data declarations to call FM FDM_MIRR_GET_M_BUKRS

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 M_BUKRS FROM FDM_COMP_MIRROR INTO @DATA(ld_e_m_bukrs).
 
"SELECT single EXT_COMP_TYPE FROM FDM_COMP_MIRROR INTO @DATA(ld_i_ext_comp_type).
 
 
"SELECT single EXT_COMP_KEY FROM FDM_COMP_MIRROR INTO @DATA(ld_i_ext_comp_key).
 
"SELECT single EXT_COMP_SYSTEM FROM FDM_COMP_MIRROR INTO @DATA(ld_i_ext_comp_system).
 


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!