SAP MARC_D_SPECIAL_CHECK Function Module for NOTRANSL: Zusammenfassung Feldprüfungen Disposition für Tabelle MARC









MARC_D_SPECIAL_CHECK is a standard marc d special check 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: Zusammenfassung Feldprüfungen Disposition für Tabelle MARC 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 marc d special check FM, simply by entering the name MARC_D_SPECIAL_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function MARC_D_SPECIAL_CHECK 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 'MARC_D_SPECIAL_CHECK'"NOTRANSL: Zusammenfassung Feldprüfungen Disposition für Tabelle MARC
EXPORTING
FLG_UEBERNAHME = "
* WRMPGD = "
WMBEW = "Material Valuation
P_NEUFLAG = "
P_T134_KZPRC = "
P_KZRFB = "
P_KZ_NO_WARN = "Indicator: Suppress warnings / convert to infos
FLG_PRUEFDUNKEL = "
WMARC = "
LMARC = "
OMARC = "Original content of MARC (as saved in the database)
WMARA = "
WT130M = "
WRMMG1 = "
WMPGD = "

IMPORTING
WMPGD = "
WMARC = "
WMARA = "

CHANGING
WRMMG2 = "

TABLES
FAUSWTAB = "
* MPTAB = "

EXCEPTIONS
ERR_MARC_D_SPECIAL_CHECK = 1
.



IMPORTING Parameters details for MARC_D_SPECIAL_CHECK

FLG_UEBERNAHME -

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

WRMPGD -

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

WMBEW - Material Valuation

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

P_NEUFLAG -

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

P_T134_KZPRC -

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

P_KZRFB -

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

P_KZ_NO_WARN - Indicator: Suppress warnings / convert to infos

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

FLG_PRUEFDUNKEL -

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

WMARC -

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

LMARC -

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

OMARC - Original content of MARC (as saved in the database)

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

WMARA -

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

WT130M -

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

WRMMG1 -

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

WMPGD -

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

EXPORTING Parameters details for MARC_D_SPECIAL_CHECK

WMPGD -

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

WMARC -

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

WMARA -

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

CHANGING Parameters details for MARC_D_SPECIAL_CHECK

WRMMG2 -

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

TABLES Parameters details for MARC_D_SPECIAL_CHECK

FAUSWTAB -

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

MPTAB -

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

EXCEPTIONS details

ERR_MARC_D_SPECIAL_CHECK - One of the checks failed

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

Copy and paste ABAP code example for MARC_D_SPECIAL_CHECK 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_wmpgd  TYPE MPGD, "   
lv_wrmmg2  TYPE RMMG2, "   
lt_fauswtab  TYPE STANDARD TABLE OF SFAUSWTAB, "   
lv_flg_uebernahme  TYPE T130F-KZREF, "   
lv_err_marc_d_special_check  TYPE T130F, "   
lv_wrmpgd  TYPE MPGD, "   
lv_wmbew  TYPE MBEW, "   
lv_p_neuflag  TYPE T130F-KZREF, "   
lv_p_t134_kzprc  TYPE T134-KZPRC, "   
lv_p_kzrfb  TYPE MTCOM-KZRFB, "   
lv_p_kz_no_warn  TYPE RMMG08_012-MSGTYP, "   
lt_mptab  TYPE STANDARD TABLE OF SPTAP, "   
lv_wmarc  TYPE MARC, "   
lv_flg_pruefdunkel  TYPE T130F-KZREF, "   
lv_wmara  TYPE MARA, "   
lv_wmarc  TYPE MARC, "   
lv_lmarc  TYPE MARC, "   
lv_omarc  TYPE MARC, "   
lv_wmara  TYPE MARA, "   
lv_wt130m  TYPE T130M, "   
lv_wrmmg1  TYPE RMMG1, "   
lv_wmpgd  TYPE MPGD. "   

  CALL FUNCTION 'MARC_D_SPECIAL_CHECK'  "NOTRANSL: Zusammenfassung Feldprüfungen Disposition für Tabelle MARC
    EXPORTING
         FLG_UEBERNAHME = lv_flg_uebernahme
         WRMPGD = lv_wrmpgd
         WMBEW = lv_wmbew
         P_NEUFLAG = lv_p_neuflag
         P_T134_KZPRC = lv_p_t134_kzprc
         P_KZRFB = lv_p_kzrfb
         P_KZ_NO_WARN = lv_p_kz_no_warn
         FLG_PRUEFDUNKEL = lv_flg_pruefdunkel
         WMARC = lv_wmarc
         LMARC = lv_lmarc
         OMARC = lv_omarc
         WMARA = lv_wmara
         WT130M = lv_wt130m
         WRMMG1 = lv_wrmmg1
         WMPGD = lv_wmpgd
    IMPORTING
         WMPGD = lv_wmpgd
         WMARC = lv_wmarc
         WMARA = lv_wmara
    CHANGING
         WRMMG2 = lv_wrmmg2
    TABLES
         FAUSWTAB = lt_fauswtab
         MPTAB = lt_mptab
    EXCEPTIONS
        ERR_MARC_D_SPECIAL_CHECK = 1
. " MARC_D_SPECIAL_CHECK




ABAP code using 7.40 inline data declarations to call FM MARC_D_SPECIAL_CHECK

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 KZREF FROM T130F INTO @DATA(ld_flg_uebernahme).
 
 
 
 
"SELECT single KZREF FROM T130F INTO @DATA(ld_p_neuflag).
 
"SELECT single KZPRC FROM T134 INTO @DATA(ld_p_t134_kzprc).
 
"SELECT single KZRFB FROM MTCOM INTO @DATA(ld_p_kzrfb).
 
"SELECT single MSGTYP FROM RMMG08_012 INTO @DATA(ld_p_kz_no_warn).
 
 
 
"SELECT single KZREF FROM T130F INTO @DATA(ld_flg_pruefdunkel).
 
 
 
 
 
 
 
 
 


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!