SAP QG_EVAL_START_EVALUATION Function Module for NOTRANSL: Aufruf der Qualitätssicht von extern









QG_EVAL_START_EVALUATION is a standard qg eval start evaluation 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: Aufruf der Qualitätssicht von extern 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 qg eval start evaluation FM, simply by entering the name QG_EVAL_START_EVALUATION into the relevant SAP transaction such as SE37 or SE38.

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



Function QG_EVAL_START_EVALUATION 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 'QG_EVAL_START_EVALUATION'"NOTRANSL: Aufruf der Qualitätssicht von extern
EXPORTING
IS_SELECTION = "Selection Type
* IT_TRANGE = "
* IV_TREEVARIANT = "Layout (External Use)
* IV_MAX_VIEWS = 2 "Maximum Number of Views Per Page
* IV_DATATYP = '001' "Different Data Selection and Data Processing
* IV_VIEW4STRUCTURE = "DDIC Structure for Aggregated Hierarchical View in Tree
* IV_VIEW_TYPE = "QM Evaluations: View Types
* IV_TREE_SHOW = 'X' "X and Blank

EXCEPTIONS
NOT_POSSIBLE = 1 NO_AUTHORIZATION = 2
.



IMPORTING Parameters details for QG_EVAL_START_EVALUATION

IS_SELECTION - Selection Type

Data type: QGEVAL_SELECTION_TYP
Optional: No
Call by Reference: Yes

IT_TRANGE -

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

IV_TREEVARIANT - Layout (External Use)

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

IV_MAX_VIEWS - Maximum Number of Views Per Page

Data type: QG_EVAL_MAX_VIEWS
Default: 2
Optional: Yes
Call by Reference: Yes

IV_DATATYP - Different Data Selection and Data Processing

Data type: QG_EVAL_DATATYP
Default: '001'
Optional: Yes
Call by Reference: Yes

IV_VIEW4STRUCTURE - DDIC Structure for Aggregated Hierarchical View in Tree

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

IV_VIEW_TYPE - QM Evaluations: View Types

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

IV_TREE_SHOW - X and Blank

Data type: QKZ
Default: 'X'
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NOT_POSSIBLE - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

NO_AUTHORIZATION - No Authorization

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for QG_EVAL_START_EVALUATION 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_is_selection  TYPE QGEVAL_SELECTION_TYP, "   
lv_not_possible  TYPE QGEVAL_SELECTION_TYP, "   
lv_it_trange  TYPE RSDS_TRANGE, "   
lv_no_authorization  TYPE RSDS_TRANGE, "   
lv_iv_treevariant  TYPE DISVARIANT, "   
lv_iv_max_views  TYPE QG_EVAL_MAX_VIEWS, "   2
lv_iv_datatyp  TYPE QG_EVAL_DATATYP, "   '001'
lv_iv_view4structure  TYPE QG_EVAL_TREE_STRUC, "   
lv_iv_view_type  TYPE QG_EVAL_V_TYP, "   
lv_iv_tree_show  TYPE QKZ. "   'X'

  CALL FUNCTION 'QG_EVAL_START_EVALUATION'  "NOTRANSL: Aufruf der Qualitätssicht von extern
    EXPORTING
         IS_SELECTION = lv_is_selection
         IT_TRANGE = lv_it_trange
         IV_TREEVARIANT = lv_iv_treevariant
         IV_MAX_VIEWS = lv_iv_max_views
         IV_DATATYP = lv_iv_datatyp
         IV_VIEW4STRUCTURE = lv_iv_view4structure
         IV_VIEW_TYPE = lv_iv_view_type
         IV_TREE_SHOW = lv_iv_tree_show
    EXCEPTIONS
        NOT_POSSIBLE = 1
        NO_AUTHORIZATION = 2
. " QG_EVAL_START_EVALUATION




ABAP code using 7.40 inline data declarations to call FM QG_EVAL_START_EVALUATION

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.

 
 
 
 
 
DATA(ld_iv_max_views) = 2.
 
DATA(ld_iv_datatyp) = '001'.
 
 
 
DATA(ld_iv_tree_show) = 'X'.
 


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!