SAP QEBR_S_METHOD_VALUATION Function Module for Valuation by s method for variable inspection (single-sided)









QEBR_S_METHOD_VALUATION is a standard qebr s method valuation SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Valuation by s method for variable inspection (single-sided) 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 qebr s method valuation FM, simply by entering the name QEBR_S_METHOD_VALUATION into the relevant SAP transaction such as SE37 or SE38.

Function Group: QEBR
Program Name: SAPLQEBR
Main Program: SAPLQEBR
Appliation area: Q
Release date: 15-Feb-2002
Mode(Normal, Remote etc): Normal Function Module
Update:



Function QEBR_S_METHOD_VALUATION 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 'QEBR_S_METHOD_VALUATION'"Valuation by s method for variable inspection (single-sided)
EXPORTING
* DYNPROCALL = 'X' "Flag, whether screen should be processed
QABWR = "Record of input data for the valuation

IMPORTING
DBEWERTG = "Characteristic valuation for dynamic modification
FEHLKLAS = "Defect class for the characteristic/sample
MBEWERTG = "Valuation of characteristic/sample for usage decision
FECODSELE = "Defect code for automatically generating defect records
FEGRPSELE = "Code group for the defect code
E_QABWR_EX = "Structure for dependent multiple samples

TABLES
QASPTAB = "Sample table is not needed in the function module

EXCEPTIONS
OTHER_ERROR = 1 SYSTEM_ERROR = 2 USER_ERROR = 3
.



IMPORTING Parameters details for QEBR_S_METHOD_VALUATION

DYNPROCALL - Flag, whether screen should be processed

Data type: QAMKR-MARK
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

QABWR - Record of input data for the valuation

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

EXPORTING Parameters details for QEBR_S_METHOD_VALUATION

DBEWERTG - Characteristic valuation for dynamic modification

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

FEHLKLAS - Defect class for the characteristic/sample

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

MBEWERTG - Valuation of characteristic/sample for usage decision

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

FECODSELE - Defect code for automatically generating defect records

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

FEGRPSELE - Code group for the defect code

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

E_QABWR_EX - Structure for dependent multiple samples

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

TABLES Parameters details for QEBR_S_METHOD_VALUATION

QASPTAB - Sample table is not needed in the function module

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

EXCEPTIONS details

OTHER_ERROR - Other error

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

SYSTEM_ERROR - System error

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

USER_ERROR - Application Error

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

Copy and paste ABAP code example for QEBR_S_METHOD_VALUATION 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_qasptab  TYPE STANDARD TABLE OF QASPR, "   
lv_dbewertg  TYPE QAMKR-DBEWERTG, "   
lv_dynprocall  TYPE QAMKR-MARK, "   'X'
lv_other_error  TYPE QAMKR, "   
lv_qabwr  TYPE QABWR, "   
lv_fehlklas  TYPE QAMKR-FEHLKLAS, "   
lv_system_error  TYPE QAMKR, "   
lv_mbewertg  TYPE QAMKR-MBEWERTG, "   
lv_user_error  TYPE QAMKR, "   
lv_fecodsele  TYPE QAMKR-FECODSELE, "   
lv_fegrpsele  TYPE QAMKR-FEGRPSELE, "   
lv_e_qabwr_ex  TYPE QABWR_EX. "   

  CALL FUNCTION 'QEBR_S_METHOD_VALUATION'  "Valuation by s method for variable inspection (single-sided)
    EXPORTING
         DYNPROCALL = lv_dynprocall
         QABWR = lv_qabwr
    IMPORTING
         DBEWERTG = lv_dbewertg
         FEHLKLAS = lv_fehlklas
         MBEWERTG = lv_mbewertg
         FECODSELE = lv_fecodsele
         FEGRPSELE = lv_fegrpsele
         E_QABWR_EX = lv_e_qabwr_ex
    TABLES
         QASPTAB = lt_qasptab
    EXCEPTIONS
        OTHER_ERROR = 1
        SYSTEM_ERROR = 2
        USER_ERROR = 3
. " QEBR_S_METHOD_VALUATION




ABAP code using 7.40 inline data declarations to call FM QEBR_S_METHOD_VALUATION

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 DBEWERTG FROM QAMKR INTO @DATA(ld_dbewertg).
 
"SELECT single MARK FROM QAMKR INTO @DATA(ld_dynprocall).
DATA(ld_dynprocall) = 'X'.
 
 
 
"SELECT single FEHLKLAS FROM QAMKR INTO @DATA(ld_fehlklas).
 
 
"SELECT single MBEWERTG FROM QAMKR INTO @DATA(ld_mbewertg).
 
 
"SELECT single FECODSELE FROM QAMKR INTO @DATA(ld_fecodsele).
 
"SELECT single FEGRPSELE FROM QAMKR INTO @DATA(ld_fegrpsele).
 
 


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!