SAP MARC_QSSYS Function Module for









MARC_QSSYS is a standard marc qssys 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 marc qssys FM, simply by entering the name MARC_QSSYS into the relevant SAP transaction such as SE37 or SE38.

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



Function MARC_QSSYS 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_QSSYS'"
EXPORTING
P_MESSAGE = "
P_MARC_QSSYS = "Required QM System for Vendor
RET_QSSYS = "Required QM System for Vendor
P_MARC_SSQSS = "Control Key for Quality Management in Procurement
RET_SSQSS = "Control Key for Quality Management in Procurement

IMPORTING
RET_QSSYS = "Required QM System for Vendor
.



IMPORTING Parameters details for MARC_QSSYS

P_MESSAGE -

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

P_MARC_QSSYS - Required QM System for Vendor

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

RET_QSSYS - Required QM System for Vendor

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

P_MARC_SSQSS - Control Key for Quality Management in Procurement

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

RET_SSQSS - Control Key for Quality Management in Procurement

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

EXPORTING Parameters details for MARC_QSSYS

RET_QSSYS - Required QM System for Vendor

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

Copy and paste ABAP code example for MARC_QSSYS 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_p_message  TYPE STRING, "   
lv_ret_qssys  TYPE MARC-QSSYS, "   
lv_p_marc_qssys  TYPE MARC-QSSYS, "   
lv_ret_qssys  TYPE MARC-QSSYS, "   
lv_p_marc_ssqss  TYPE MARC-SSQSS, "   
lv_ret_ssqss  TYPE MARC-SSQSS. "   

  CALL FUNCTION 'MARC_QSSYS'  "
    EXPORTING
         P_MESSAGE = lv_p_message
         P_MARC_QSSYS = lv_p_marc_qssys
         RET_QSSYS = lv_ret_qssys
         P_MARC_SSQSS = lv_p_marc_ssqss
         RET_SSQSS = lv_ret_ssqss
    IMPORTING
         RET_QSSYS = lv_ret_qssys
. " MARC_QSSYS




ABAP code using 7.40 inline data declarations to call FM MARC_QSSYS

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 QSSYS FROM MARC INTO @DATA(ld_ret_qssys).
 
"SELECT single QSSYS FROM MARC INTO @DATA(ld_p_marc_qssys).
 
"SELECT single QSSYS FROM MARC INTO @DATA(ld_ret_qssys).
 
"SELECT single SSQSS FROM MARC INTO @DATA(ld_p_marc_ssqss).
 
"SELECT single SSQSS FROM MARC INTO @DATA(ld_ret_ssqss).
 


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!