SAP MCEX_UPDATE_13_QRFC Function Module for NOTRANSL: RFC for update-queue application 13









MCEX_UPDATE_13_QRFC is a standard mcex update 13 qrfc 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: RFC for update-queue application 13 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 mcex update 13 qrfc FM, simply by entering the name MCEX_UPDATE_13_QRFC into the relevant SAP transaction such as SE37 or SE38.

Function Group: MCEX
Program Name: SAPLMCEX
Main Program: SAPLMCEX
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function MCEX_UPDATE_13_QRFC 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 'MCEX_UPDATE_13_QRFC'"NOTRANSL: RFC for update-queue application 13
EXPORTING
* MC13VD0HDR_ISOURCE = "DataSource
* MC13VD0ITM_ISOURCE = "DataSource
* MC13VD0KON_ISOURCE = "DataSource
* IS_MCEXLOG_INFO = "OLTP Transaction Information for MCEX Logfile
* I_DDIC_HASH = "MD5 Hash value RAW 16
* I_TMSP_HASH = "MD5 Hash value RAW 16

TABLES
* MC13VD0HDR_TAB = "Extraction SD Billing Document BW: Document Header
* MC13VD0ITM_TAB = "Extraction SD Billing Document BW: Document Item
* MC13VD0KON_TAB = "Extraction SD Billing Documents BW: Document Condition
.



IMPORTING Parameters details for MCEX_UPDATE_13_QRFC

MC13VD0HDR_ISOURCE - DataSource

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

MC13VD0ITM_ISOURCE - DataSource

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

MC13VD0KON_ISOURCE - DataSource

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

IS_MCEXLOG_INFO - OLTP Transaction Information for MCEX Logfile

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

I_DDIC_HASH - MD5 Hash value RAW 16

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

I_TMSP_HASH - MD5 Hash value RAW 16

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

TABLES Parameters details for MCEX_UPDATE_13_QRFC

MC13VD0HDR_TAB - Extraction SD Billing Document BW: Document Header

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

MC13VD0ITM_TAB - Extraction SD Billing Document BW: Document Item

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

MC13VD0KON_TAB - Extraction SD Billing Documents BW: Document Condition

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

Copy and paste ABAP code example for MCEX_UPDATE_13_QRFC 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_mc13vd0hdr_tab  TYPE STANDARD TABLE OF MC13VD0HDR, "   
lv_mc13vd0hdr_isource  TYPE TMCEXACT-ISOURCE, "   
lt_mc13vd0itm_tab  TYPE STANDARD TABLE OF MC13VD0ITM, "   
lv_mc13vd0itm_isource  TYPE TMCEXACT-ISOURCE, "   
lt_mc13vd0kon_tab  TYPE STANDARD TABLE OF MC13VD0KON, "   
lv_mc13vd0kon_isource  TYPE TMCEXACT-ISOURCE, "   
lv_is_mcexlog_info  TYPE MCEXLOG_INFO, "   
lv_i_ddic_hash  TYPE MD5_FIELDS-HASH_RAW16, "   
lv_i_tmsp_hash  TYPE MD5_FIELDS-HASH_RAW16. "   

  CALL FUNCTION 'MCEX_UPDATE_13_QRFC'  "NOTRANSL: RFC for update-queue application 13
    EXPORTING
         MC13VD0HDR_ISOURCE = lv_mc13vd0hdr_isource
         MC13VD0ITM_ISOURCE = lv_mc13vd0itm_isource
         MC13VD0KON_ISOURCE = lv_mc13vd0kon_isource
         IS_MCEXLOG_INFO = lv_is_mcexlog_info
         I_DDIC_HASH = lv_i_ddic_hash
         I_TMSP_HASH = lv_i_tmsp_hash
    TABLES
         MC13VD0HDR_TAB = lt_mc13vd0hdr_tab
         MC13VD0ITM_TAB = lt_mc13vd0itm_tab
         MC13VD0KON_TAB = lt_mc13vd0kon_tab
. " MCEX_UPDATE_13_QRFC




ABAP code using 7.40 inline data declarations to call FM MCEX_UPDATE_13_QRFC

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 ISOURCE FROM TMCEXACT INTO @DATA(ld_mc13vd0hdr_isource).
 
 
"SELECT single ISOURCE FROM TMCEXACT INTO @DATA(ld_mc13vd0itm_isource).
 
 
"SELECT single ISOURCE FROM TMCEXACT INTO @DATA(ld_mc13vd0kon_isource).
 
 
"SELECT single HASH_RAW16 FROM MD5_FIELDS INTO @DATA(ld_i_ddic_hash).
 
"SELECT single HASH_RAW16 FROM MD5_FIELDS INTO @DATA(ld_i_tmsp_hash).
 


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!