SAP QIRF_GET_ALL_DATA_VALUES Function Module for Results Confirmation for all Record Types









QIRF_GET_ALL_DATA_VALUES is a standard qirf get all data values SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Results Confirmation for all Record Types 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 qirf get all data values FM, simply by entering the name QIRF_GET_ALL_DATA_VALUES into the relevant SAP transaction such as SE37 or SE38.

Function Group: QIRF
Program Name: SAPLQIRF
Main Program: SAPLQIRF
Appliation area: Q
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function QIRF_GET_ALL_DATA_VALUES 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 'QIRF_GET_ALL_DATA_VALUES'"Results Confirmation for all Record Types
EXPORTING
* I_IND_EVALUATION_TRANSFER = ' ' "Transfer Valuations from Subsystem
* I_IND_CLOSE_PROCESSING = ' ' "Close Samples or Characteristics
* I_IND_PROC_COMMIT_WORK = 'X' "Transmit Commit Work to the Database
* I_IND_POSTING_KZ = 'X' "Call Results Update Task
* I_SEND_PROTOCOL_MAIL = ' ' "Send Error Log by Mail
I_SUBSYS = "Subsystem That Confirms the Results

TABLES
T_QAIMRTAB = "Table of Characteristic Results
T_QIERRTAB = "Error Log
T_QAISRTAB = "Sample Results Table
T_QAISETAB = "Table of Individual Results

EXCEPTIONS
NO_AUTHORITY = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLQIRF_021 Customer Function Before Processing in QIRF_SEND_INSP_REQUIRMENTS
EXIT_SAPLQIRF_022 Customer Function After Processing in QIRF_SEND_INSP_REQUIRMENTS
EXIT_SAPLQIRF_051 Customer Function Before Processing in QIRF_SEND_INSP_DATA_FOR_WL
EXIT_SAPLQIRF_052 Customer Function after Processing in QIRF_SEND_INSP_DATA_FOR_WL
EXIT_SAPLQIRF_101 Customer Function Before Processing in QIRF_GET_ORIGINAL_VALUES
EXIT_SAPLQIRF_102 Customer Function After Processing in QIRF_GET_ORIGINAL_VALUES
EXIT_SAPLQIRF_111 Customer Function Before Processing in QIRF_GET_SAMPLE_VALUES
EXIT_SAPLQIRF_112 Customer Function After Processing in QIRF_GET_SAMPLE_VALUES
EXIT_SAPLQIRF_121 Customer Function Before Processing in QIRF_GET_FEATURE_VALUES
EXIT_SAPLQIRF_122 Customer Function After Processing in QIRF_GET_FEATURE_VALUES
EXIT_SAPLQIRF_131 Customer Function Before Processing in QIRF_GET_ALL_DATA_VALUES
EXIT_SAPLQIRF_132 Customer Function After Processing in QIRF_GET_ALL_DATA_VALUES
EXIT_SAPLQIRF_141 Customer Function Before Processing in QIRF_GET_USAGE_DECISION
EXIT_SAPLQIRF_142 Customer Function After Processing in QIRF_GET_USAGE_DECISION
EXIT_SAPLQIRF_171 Customer Function Before Processing in QIRF_GET_INSP_POINT
EXIT_SAPLQIRF_172 Customer Function After Processing in QIRF_GET_INSP_POINT

IMPORTING Parameters details for QIRF_GET_ALL_DATA_VALUES

I_IND_EVALUATION_TRANSFER - Transfer Valuations from Subsystem

Data type: QM00-QKZ
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IND_CLOSE_PROCESSING - Close Samples or Characteristics

Data type: QM00-QKZ
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IND_PROC_COMMIT_WORK - Transmit Commit Work to the Database

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

I_IND_POSTING_KZ - Call Results Update Task

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

I_SEND_PROTOCOL_MAIL - Send Error Log by Mail

Data type: QM00-QKZ
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SUBSYS - Subsystem That Confirms the Results

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

TABLES Parameters details for QIRF_GET_ALL_DATA_VALUES

T_QAIMRTAB - Table of Characteristic Results

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

T_QIERRTAB - Error Log

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

T_QAISRTAB - Sample Results Table

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

T_QAISETAB - Table of Individual Results

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

EXCEPTIONS details

NO_AUTHORITY - No Authorization for Function

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

Copy and paste ABAP code example for QIRF_GET_ALL_DATA_VALUES 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_t_qaimrtab  TYPE STANDARD TABLE OF QAIMR_O1, "   
lv_no_authority  TYPE QAIMR_O1, "   
lv_i_ind_evaluation_transfer  TYPE QM00-QKZ, "   SPACE
lt_t_qierrtab  TYPE STANDARD TABLE OF QIERR_O1, "   
lv_i_ind_close_processing  TYPE QM00-QKZ, "   SPACE
lt_t_qaisrtab  TYPE STANDARD TABLE OF QAISR_O1, "   
lv_i_ind_proc_commit_work  TYPE QM00-QKZ, "   'X'
lt_t_qaisetab  TYPE STANDARD TABLE OF QAISE_O1, "   
lv_i_ind_posting_kz  TYPE QM00-QKZ, "   'X'
lv_i_send_protocol_mail  TYPE QM00-QKZ, "   SPACE
lv_i_subsys  TYPE QIWL-SUBSYS. "   

  CALL FUNCTION 'QIRF_GET_ALL_DATA_VALUES'  "Results Confirmation for all Record Types
    EXPORTING
         I_IND_EVALUATION_TRANSFER = lv_i_ind_evaluation_transfer
         I_IND_CLOSE_PROCESSING = lv_i_ind_close_processing
         I_IND_PROC_COMMIT_WORK = lv_i_ind_proc_commit_work
         I_IND_POSTING_KZ = lv_i_ind_posting_kz
         I_SEND_PROTOCOL_MAIL = lv_i_send_protocol_mail
         I_SUBSYS = lv_i_subsys
    TABLES
         T_QAIMRTAB = lt_t_qaimrtab
         T_QIERRTAB = lt_t_qierrtab
         T_QAISRTAB = lt_t_qaisrtab
         T_QAISETAB = lt_t_qaisetab
    EXCEPTIONS
        NO_AUTHORITY = 1
. " QIRF_GET_ALL_DATA_VALUES




ABAP code using 7.40 inline data declarations to call FM QIRF_GET_ALL_DATA_VALUES

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 QKZ FROM QM00 INTO @DATA(ld_i_ind_evaluation_transfer).
DATA(ld_i_ind_evaluation_transfer) = ' '.
 
 
"SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_close_processing).
DATA(ld_i_ind_close_processing) = ' '.
 
 
"SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_proc_commit_work).
DATA(ld_i_ind_proc_commit_work) = 'X'.
 
 
"SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_posting_kz).
DATA(ld_i_ind_posting_kz) = 'X'.
 
"SELECT single QKZ FROM QM00 INTO @DATA(ld_i_send_protocol_mail).
DATA(ld_i_send_protocol_mail) = ' '.
 
"SELECT single SUBSYS FROM QIWL INTO @DATA(ld_i_subsys).
 


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!