SAP MB_FIND_DIFF_EKB_WRXFRX Function Module for NOTRANSL: Differenzen Bestellentwicklung <=> FI
MB_FIND_DIFF_EKB_WRXFRX is a standard mb find diff ekb wrxfrx 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: Differenzen Bestellentwicklung <=> FI 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 mb find diff ekb wrxfrx FM, simply by entering the name MB_FIND_DIFF_EKB_WRXFRX into the relevant SAP transaction such as SE37 or SE38.
Function Group: MBEU
Program Name: SAPLMBEU
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function MB_FIND_DIFF_EKB_WRXFRX 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 'MB_FIND_DIFF_EKB_WRXFRX'"NOTRANSL: Differenzen Bestellentwicklung <=> FI.
EXPORTING
* I_KZ_USEREXIT_WRX = "Deletion flag for all material data of a valuation type
* I_AFTERCONV = "Deletion flag for all material data of a valuation type
* I_EXCLUSION = "Deletion flag for all material data of a valuation type
* I_KZ_ALE_ACTIVE = "Deletion flag for all material data of a valuation type
* I_KZ_NOPAKET_CHECK = "Deletion flag for all material data of a valuation type
* I_KZ_ONLYBSIS_CHECK = "Deletion flag for all material data of a valuation type
* I_KZ_ONLYBSEG_CHECK = "Deletion flag for all material data of a valuation type
* I_KZ_NO_FI_CHECK = "Deletion flag for all material data of a valuation type
* I_KZ_UPDATE = "Deletion flag for all material data of a valuation type
* I_PROGNAME = "ABAP Program Name
* I_PAKET = "Number of the changeover package
IMPORTING
E_RESULT = "Status of the program
E_COUNTEKPO = "Purchase Order Quantity
TABLES
ET_EWUMMFI = "List of Differences Betw. PO History and Clearing Accounts
IT_EBBU = "EKKO-EBELN and EKKO-BUKRS
* IT_ALE_ACCOUNTS = "Shows if ALE Is Active w. Mess.Type FIDCMT, FIDCC1 or FIDCC2
IT_T001CUST = "Required Fields for Account Determination
* ET_PROT_TABLE = "Structure for EURO Log Table
IMPORTING Parameters details for MB_FIND_DIFF_EKB_WRXFRX
I_KZ_USEREXIT_WRX - Deletion flag for all material data of a valuation type
Data type: MBEW-LVORMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AFTERCONV - Deletion flag for all material data of a valuation type
Data type: MBEW-LVORMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_EXCLUSION - Deletion flag for all material data of a valuation type
Data type: MBEW-LVORMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KZ_ALE_ACTIVE - Deletion flag for all material data of a valuation type
Data type: MBEW-LVORMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KZ_NOPAKET_CHECK - Deletion flag for all material data of a valuation type
Data type: MBEW-LVORMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KZ_ONLYBSIS_CHECK - Deletion flag for all material data of a valuation type
Data type: MBEW-LVORMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KZ_ONLYBSEG_CHECK - Deletion flag for all material data of a valuation type
Data type: MBEW-LVORMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KZ_NO_FI_CHECK - Deletion flag for all material data of a valuation type
Data type: MBEW-LVORMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KZ_UPDATE - Deletion flag for all material data of a valuation type
Data type: MBEW-LVORMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PROGNAME - ABAP Program Name
Data type: EWUMMFI-REPIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PAKET - Number of the changeover package
Data type: EWUMMFI-PAKETOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MB_FIND_DIFF_EKB_WRXFRX
E_RESULT - Status of the program
Data type: EWUPGSTAT-STATUSOptional: No
Call by Reference: No ( called with pass by value option)
E_COUNTEKPO - Purchase Order Quantity
Data type: EKPO-MENGEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for MB_FIND_DIFF_EKB_WRXFRX
ET_EWUMMFI - List of Differences Betw. PO History and Clearing Accounts
Data type: EKB_KORROptional: No
Call by Reference: Yes
IT_EBBU - EKKO-EBELN and EKKO-BUKRS
Data type: EBBUOptional: No
Call by Reference: Yes
IT_ALE_ACCOUNTS - Shows if ALE Is Active w. Mess.Type FIDCMT, FIDCC1 or FIDCC2
Data type: ALE_ACCOUNTSOptional: Yes
Call by Reference: Yes
IT_T001CUST - Required Fields for Account Determination
Data type: T001CUSTOptional: No
Call by Reference: Yes
ET_PROT_TABLE - Structure for EURO Log Table
Data type: PROTEWUOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for MB_FIND_DIFF_EKB_WRXFRX 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_result | TYPE EWUPGSTAT-STATUS, " | |||
| lt_et_ewummfi | TYPE STANDARD TABLE OF EKB_KORR, " | |||
| lv_i_kz_userexit_wrx | TYPE MBEW-LVORM, " | |||
| lv_i_afterconv | TYPE MBEW-LVORM, " | |||
| lv_i_exclusion | TYPE MBEW-LVORM, " | |||
| lt_it_ebbu | TYPE STANDARD TABLE OF EBBU, " | |||
| lv_e_countekpo | TYPE EKPO-MENGE, " | |||
| lv_i_kz_ale_active | TYPE MBEW-LVORM, " | |||
| lt_it_ale_accounts | TYPE STANDARD TABLE OF ALE_ACCOUNTS, " | |||
| lv_i_kz_nopaket_check | TYPE MBEW-LVORM, " | |||
| lt_it_t001cust | TYPE STANDARD TABLE OF T001CUST, " | |||
| lv_i_kz_onlybsis_check | TYPE MBEW-LVORM, " | |||
| lt_et_prot_table | TYPE STANDARD TABLE OF PROTEWU, " | |||
| lv_i_kz_onlybseg_check | TYPE MBEW-LVORM, " | |||
| lv_i_kz_no_fi_check | TYPE MBEW-LVORM, " | |||
| lv_i_kz_update | TYPE MBEW-LVORM, " | |||
| lv_i_progname | TYPE EWUMMFI-REPID, " | |||
| lv_i_paket | TYPE EWUMMFI-PAKET. " |
|   CALL FUNCTION 'MB_FIND_DIFF_EKB_WRXFRX' "NOTRANSL: Differenzen Bestellentwicklung <=> FI |
| EXPORTING | ||
| I_KZ_USEREXIT_WRX | = lv_i_kz_userexit_wrx | |
| I_AFTERCONV | = lv_i_afterconv | |
| I_EXCLUSION | = lv_i_exclusion | |
| I_KZ_ALE_ACTIVE | = lv_i_kz_ale_active | |
| I_KZ_NOPAKET_CHECK | = lv_i_kz_nopaket_check | |
| I_KZ_ONLYBSIS_CHECK | = lv_i_kz_onlybsis_check | |
| I_KZ_ONLYBSEG_CHECK | = lv_i_kz_onlybseg_check | |
| I_KZ_NO_FI_CHECK | = lv_i_kz_no_fi_check | |
| I_KZ_UPDATE | = lv_i_kz_update | |
| I_PROGNAME | = lv_i_progname | |
| I_PAKET | = lv_i_paket | |
| IMPORTING | ||
| E_RESULT | = lv_e_result | |
| E_COUNTEKPO | = lv_e_countekpo | |
| TABLES | ||
| ET_EWUMMFI | = lt_et_ewummfi | |
| IT_EBBU | = lt_it_ebbu | |
| IT_ALE_ACCOUNTS | = lt_it_ale_accounts | |
| IT_T001CUST | = lt_it_t001cust | |
| ET_PROT_TABLE | = lt_et_prot_table | |
| . " MB_FIND_DIFF_EKB_WRXFRX | ||
ABAP code using 7.40 inline data declarations to call FM MB_FIND_DIFF_EKB_WRXFRX
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 STATUS FROM EWUPGSTAT INTO @DATA(ld_e_result). | ||||
| "SELECT single LVORM FROM MBEW INTO @DATA(ld_i_kz_userexit_wrx). | ||||
| "SELECT single LVORM FROM MBEW INTO @DATA(ld_i_afterconv). | ||||
| "SELECT single LVORM FROM MBEW INTO @DATA(ld_i_exclusion). | ||||
| "SELECT single MENGE FROM EKPO INTO @DATA(ld_e_countekpo). | ||||
| "SELECT single LVORM FROM MBEW INTO @DATA(ld_i_kz_ale_active). | ||||
| "SELECT single LVORM FROM MBEW INTO @DATA(ld_i_kz_nopaket_check). | ||||
| "SELECT single LVORM FROM MBEW INTO @DATA(ld_i_kz_onlybsis_check). | ||||
| "SELECT single LVORM FROM MBEW INTO @DATA(ld_i_kz_onlybseg_check). | ||||
| "SELECT single LVORM FROM MBEW INTO @DATA(ld_i_kz_no_fi_check). | ||||
| "SELECT single LVORM FROM MBEW INTO @DATA(ld_i_kz_update). | ||||
| "SELECT single REPID FROM EWUMMFI INTO @DATA(ld_i_progname). | ||||
| "SELECT single PAKET FROM EWUMMFI INTO @DATA(ld_i_paket). | ||||
Search for further information about these or an SAP related objects