SAP QIRF_SEND_INSP_DATA_FOR_WL Function Module for Transfer of Charac. Specifications and Catalog Entries to the Worklist
QIRF_SEND_INSP_DATA_FOR_WL is a standard qirf send insp data for wl SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Transfer of Charac. Specifications and Catalog Entries to the Worklist 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 send insp data for wl FM, simply by entering the name QIRF_SEND_INSP_DATA_FOR_WL 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_SEND_INSP_DATA_FOR_WL 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_SEND_INSP_DATA_FOR_WL'"Transfer of Charac. Specifications and Catalog Entries to the Worklist.
EXPORTING
* I_IND_EVALUATE_CHARACTERISTIC = ' ' "Transfer Characteristic Valuation Specifications
* I_IND_TRANSFER_CHAR_CODES = ' ' "Transfer Catalog Data for Inspection Characteristics
* I_IND_TRANSFER_USAGE_DEC_CODES = ' ' "Transfer Catalog Data for Usage Decision
* I_IND_MULTI_TRANSFER_POSSIBLE = ' ' "Correction Transfers for Characteristics Possible
* I_IND_ONLY_OBLIGATORY_CHARACT = ' ' "Transfer Required Characteristics Only
* I_IND_READ_PURCHASING_INFO = 'X' "Read Data from Purchasing Info Record
* I_IND_READ_SALES_INFO = 'X' "Read Data from Sales Info Record
* I_IND_READ_VENDOR_AND_PRODUCER = 'X' "Read Vendor Data
* I_IND_READ_WORK_CENTER = 'X' "Read Data for Work Center
* I_IND_SEND_PROTOCOL_MAIL = ' ' "Send Error Log by Mail
* I_IND_SET_BLOCK_INDICATORS = 'X' "Set Lock Entries in QM
TABLES
T_QAICATAB = "List of Catalog Entries
T_QAIMVTAB = "List of Inspection Characteristics to be Processed
T_QAIVCTAB = "List with Operations and Inspection Lots
T_QIERRTAB = "Error Log
T_QIWLTAB = "List of Worklists
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_SEND_INSP_DATA_FOR_WL
I_IND_EVALUATE_CHARACTERISTIC - Transfer Characteristic Valuation Specifications
Data type: QM00-QKZDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IND_TRANSFER_CHAR_CODES - Transfer Catalog Data for Inspection Characteristics
Data type: QM00-QKZDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IND_TRANSFER_USAGE_DEC_CODES - Transfer Catalog Data for Usage Decision
Data type: QM00-QKZDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IND_MULTI_TRANSFER_POSSIBLE - Correction Transfers for Characteristics Possible
Data type: QM00-QKZDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IND_ONLY_OBLIGATORY_CHARACT - Transfer Required Characteristics Only
Data type: QM00-QKZDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IND_READ_PURCHASING_INFO - Read Data from Purchasing Info Record
Data type: QM00-QKZDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IND_READ_SALES_INFO - Read Data from Sales Info Record
Data type: QM00-QKZDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IND_READ_VENDOR_AND_PRODUCER - Read Vendor Data
Data type: QM00-QKZDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IND_READ_WORK_CENTER - Read Data for Work Center
Data type: QM00-QKZDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IND_SEND_PROTOCOL_MAIL - Send Error Log by Mail
Data type: QM00-QKZDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IND_SET_BLOCK_INDICATORS - Set Lock Entries in QM
Data type: QM00-QKZDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for QIRF_SEND_INSP_DATA_FOR_WL
T_QAICATAB - List of Catalog Entries
Data type: QAICAOptional: No
Call by Reference: No ( called with pass by value option)
T_QAIMVTAB - List of Inspection Characteristics to be Processed
Data type: QAIMV_O1Optional: No
Call by Reference: Yes
T_QAIVCTAB - List with Operations and Inspection Lots
Data type: QAIVC_O1Optional: No
Call by Reference: Yes
T_QIERRTAB - Error Log
Data type: QIERR_O1Optional: No
Call by Reference: Yes
T_QIWLTAB - List of Worklists
Data type: QIWLROptional: No
Call by Reference: No ( called with pass by value option)
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_SEND_INSP_DATA_FOR_WL 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_qaicatab | TYPE STANDARD TABLE OF QAICA, " | |||
| lv_no_authority | TYPE QAICA, " | |||
| lv_i_ind_evaluate_characteristic | TYPE QM00-QKZ, " ' ' | |||
| lv_i_ind_transfer_char_codes | TYPE QM00-QKZ, " ' ' | |||
| lv_i_ind_transfer_usage_dec_codes | TYPE QM00-QKZ, " ' ' | |||
| lt_t_qaimvtab | TYPE STANDARD TABLE OF QAIMV_O1, " | |||
| lv_i_ind_multi_transfer_possible | TYPE QM00-QKZ, " ' ' | |||
| lt_t_qaivctab | TYPE STANDARD TABLE OF QAIVC_O1, " | |||
| lv_i_ind_only_obligatory_charact | TYPE QM00-QKZ, " ' ' | |||
| lt_t_qierrtab | TYPE STANDARD TABLE OF QIERR_O1, " | |||
| lv_i_ind_read_purchasing_info | TYPE QM00-QKZ, " 'X' | |||
| lt_t_qiwltab | TYPE STANDARD TABLE OF QIWLR, " | |||
| lv_i_ind_read_sales_info | TYPE QM00-QKZ, " 'X' | |||
| lv_i_ind_read_vendor_and_producer | TYPE QM00-QKZ, " 'X' | |||
| lv_i_ind_read_work_center | TYPE QM00-QKZ, " 'X' | |||
| lv_i_ind_send_protocol_mail | TYPE QM00-QKZ, " ' ' | |||
| lv_i_ind_set_block_indicators | TYPE QM00-QKZ. " 'X' |
|   CALL FUNCTION 'QIRF_SEND_INSP_DATA_FOR_WL' "Transfer of Charac. Specifications and Catalog Entries to the Worklist |
| EXPORTING | ||
| I_IND_EVALUATE_CHARACTERISTIC | = lv_i_ind_evaluate_characteristic | |
| I_IND_TRANSFER_CHAR_CODES | = lv_i_ind_transfer_char_codes | |
| I_IND_TRANSFER_USAGE_DEC_CODES | = lv_i_ind_transfer_usage_dec_codes | |
| I_IND_MULTI_TRANSFER_POSSIBLE | = lv_i_ind_multi_transfer_possible | |
| I_IND_ONLY_OBLIGATORY_CHARACT | = lv_i_ind_only_obligatory_charact | |
| I_IND_READ_PURCHASING_INFO | = lv_i_ind_read_purchasing_info | |
| I_IND_READ_SALES_INFO | = lv_i_ind_read_sales_info | |
| I_IND_READ_VENDOR_AND_PRODUCER | = lv_i_ind_read_vendor_and_producer | |
| I_IND_READ_WORK_CENTER | = lv_i_ind_read_work_center | |
| I_IND_SEND_PROTOCOL_MAIL | = lv_i_ind_send_protocol_mail | |
| I_IND_SET_BLOCK_INDICATORS | = lv_i_ind_set_block_indicators | |
| TABLES | ||
| T_QAICATAB | = lt_t_qaicatab | |
| T_QAIMVTAB | = lt_t_qaimvtab | |
| T_QAIVCTAB | = lt_t_qaivctab | |
| T_QIERRTAB | = lt_t_qierrtab | |
| T_QIWLTAB | = lt_t_qiwltab | |
| EXCEPTIONS | ||
| NO_AUTHORITY = 1 | ||
| . " QIRF_SEND_INSP_DATA_FOR_WL | ||
ABAP code using 7.40 inline data declarations to call FM QIRF_SEND_INSP_DATA_FOR_WL
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_evaluate_characteristic). | ||||
| DATA(ld_i_ind_evaluate_characteristic) | = ' '. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_transfer_char_codes). | ||||
| DATA(ld_i_ind_transfer_char_codes) | = ' '. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_transfer_usage_dec_codes). | ||||
| DATA(ld_i_ind_transfer_usage_dec_codes) | = ' '. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_multi_transfer_possible). | ||||
| DATA(ld_i_ind_multi_transfer_possible) | = ' '. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_only_obligatory_charact). | ||||
| DATA(ld_i_ind_only_obligatory_charact) | = ' '. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_read_purchasing_info). | ||||
| DATA(ld_i_ind_read_purchasing_info) | = 'X'. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_read_sales_info). | ||||
| DATA(ld_i_ind_read_sales_info) | = 'X'. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_read_vendor_and_producer). | ||||
| DATA(ld_i_ind_read_vendor_and_producer) | = 'X'. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_read_work_center). | ||||
| DATA(ld_i_ind_read_work_center) | = 'X'. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_send_protocol_mail). | ||||
| DATA(ld_i_ind_send_protocol_mail) | = ' '. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_set_block_indicators). | ||||
| DATA(ld_i_ind_set_block_indicators) | = 'X'. | |||
Search for further information about these or an SAP related objects