SAP QMS3_CHAR_IN_SPEC_SHOW Function Module for NOTRANSL: Zeigt die Werte eines Spezifikationsmerkmals an









QMS3_CHAR_IN_SPEC_SHOW is a standard qms3 char in spec show 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: Zeigt die Werte eines Spezifikationsmerkmals an 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 qms3 char in spec show FM, simply by entering the name QMS3_CHAR_IN_SPEC_SHOW into the relevant SAP transaction such as SE37 or SE38.

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



Function QMS3_CHAR_IN_SPEC_SHOW 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 'QMS3_CHAR_IN_SPEC_SHOW'"NOTRANSL: Zeigt die Werte eines Spezifikationsmerkmals an
EXPORTING
I_WERKS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_VERSION = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_MKMNR = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_MATNR = "Material Number
* I_DATUV = SY-DATUM "Date and Time, Current (Application Server) Date

EXCEPTIONS
X_CHAR_NOT_IN_SPEC = 1
.



IMPORTING Parameters details for QMS3_CHAR_IN_SPEC_SHOW

I_WERKS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_VERSION - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_MKMNR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_MATNR - Material Number

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

I_DATUV - Date and Time, Current (Application Server) Date

Data type: SY-DATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

X_CHAR_NOT_IN_SPEC - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for QMS3_CHAR_IN_SPEC_SHOW 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_i_werks  TYPE QMSP-WERKS, "   
lv_x_char_not_in_spec  TYPE QMSP, "   
lv_i_version  TYPE QMSP-VERSION, "   
lv_i_mkmnr  TYPE QMSP-MKMNR, "   
lv_i_matnr  TYPE QMSP-MATNR, "   
lv_i_datuv  TYPE SY-DATUM. "   SY-DATUM

  CALL FUNCTION 'QMS3_CHAR_IN_SPEC_SHOW'  "NOTRANSL: Zeigt die Werte eines Spezifikationsmerkmals an
    EXPORTING
         I_WERKS = lv_i_werks
         I_VERSION = lv_i_version
         I_MKMNR = lv_i_mkmnr
         I_MATNR = lv_i_matnr
         I_DATUV = lv_i_datuv
    EXCEPTIONS
        X_CHAR_NOT_IN_SPEC = 1
. " QMS3_CHAR_IN_SPEC_SHOW




ABAP code using 7.40 inline data declarations to call FM QMS3_CHAR_IN_SPEC_SHOW

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 WERKS FROM QMSP INTO @DATA(ld_i_werks).
 
 
"SELECT single VERSION FROM QMSP INTO @DATA(ld_i_version).
 
"SELECT single MKMNR FROM QMSP INTO @DATA(ld_i_mkmnr).
 
"SELECT single MATNR FROM QMSP INTO @DATA(ld_i_matnr).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_datuv).
DATA(ld_i_datuv) = SY-DATUM.
 


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!