SAP QIRF_SEND_CATALOG_DATA2 Function Module for Transfer of Catalog Entries









QIRF_SEND_CATALOG_DATA2 is a standard qirf send catalog data2 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 Catalog Entries 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 catalog data2 FM, simply by entering the name QIRF_SEND_CATALOG_DATA2 into the relevant SAP transaction such as SE37 or SE38.

Function Group: QIRF
Program Name: SAPLQIRF
Main Program: SAPLQIRF
Appliation area: Q
Release date: 07-Aug-2000
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function QIRF_SEND_CATALOG_DATA2 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_CATALOG_DATA2'"Transfer of Catalog Entries
EXPORTING
* I_LANGUAGE = SY-LANGU "Language
* I_CATALOG = ' ' "Catalog (Selected Set or Code Group)
* I_CATALOG_TYPE = ' ' "Catalog type
* I_IND_CATALOG_IS_CODEGROUP = 'X' "Select Code Groups
* I_IND_CATALOG_IS_SEL_SET = 'X' "Choose Selected Sets
* I_PLANT_OF_SELECTED_SET = ' ' "Plant for Selected Set

TABLES
T_QAICATAB = "List of Catalog Entries
T_QIERRTAB = "Error Log

EXCEPTIONS
CODEGROUP_NOT_FOUND = 1 NO_ENTRY = 2 SELECTED_SET_NOT_FOUND = 3 NO_AUTHORITY = 4
.




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_CATALOG_DATA2

I_LANGUAGE - Language

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

I_CATALOG - Catalog (Selected Set or Code Group)

Data type: QAICA-AUSWMENGE
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CATALOG_TYPE - Catalog type

Data type: QAICA-KATALGART
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IND_CATALOG_IS_CODEGROUP - Select Code Groups

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

I_IND_CATALOG_IS_SEL_SET - Choose Selected Sets

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

I_PLANT_OF_SELECTED_SET - Plant for Selected Set

Data type: QAICA-AUSWMGWRK
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for QIRF_SEND_CATALOG_DATA2

T_QAICATAB - List of Catalog Entries

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

T_QIERRTAB - Error Log

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

EXCEPTIONS details

CODEGROUP_NOT_FOUND - Code Group Could Not be Found

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

NO_ENTRY - No Catalogs for Selection Criteria

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

SELECTED_SET_NOT_FOUND - Selected Set Not Found

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

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_CATALOG_DATA2 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_language  TYPE QPCT-SPRACHE, "   SY-LANGU
lt_t_qaicatab  TYPE STANDARD TABLE OF QAICA, "   
lv_codegroup_not_found  TYPE QAICA, "   
lv_no_entry  TYPE QAICA, "   
lv_i_catalog  TYPE QAICA-AUSWMENGE, "   ' '
lt_t_qierrtab  TYPE STANDARD TABLE OF QIERR, "   
lv_i_catalog_type  TYPE QAICA-KATALGART, "   ' '
lv_selected_set_not_found  TYPE QAICA, "   
lv_no_authority  TYPE QAICA, "   
lv_i_ind_catalog_is_codegroup  TYPE QM00-QKZ, "   'X'
lv_i_ind_catalog_is_sel_set  TYPE QM00-QKZ, "   'X'
lv_i_plant_of_selected_set  TYPE QAICA-AUSWMGWRK. "   ' '

  CALL FUNCTION 'QIRF_SEND_CATALOG_DATA2'  "Transfer of Catalog Entries
    EXPORTING
         I_LANGUAGE = lv_i_language
         I_CATALOG = lv_i_catalog
         I_CATALOG_TYPE = lv_i_catalog_type
         I_IND_CATALOG_IS_CODEGROUP = lv_i_ind_catalog_is_codegroup
         I_IND_CATALOG_IS_SEL_SET = lv_i_ind_catalog_is_sel_set
         I_PLANT_OF_SELECTED_SET = lv_i_plant_of_selected_set
    TABLES
         T_QAICATAB = lt_t_qaicatab
         T_QIERRTAB = lt_t_qierrtab
    EXCEPTIONS
        CODEGROUP_NOT_FOUND = 1
        NO_ENTRY = 2
        SELECTED_SET_NOT_FOUND = 3
        NO_AUTHORITY = 4
. " QIRF_SEND_CATALOG_DATA2




ABAP code using 7.40 inline data declarations to call FM QIRF_SEND_CATALOG_DATA2

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 SPRACHE FROM QPCT INTO @DATA(ld_i_language).
DATA(ld_i_language) = SY-LANGU.
 
 
 
 
"SELECT single AUSWMENGE FROM QAICA INTO @DATA(ld_i_catalog).
DATA(ld_i_catalog) = ' '.
 
 
"SELECT single KATALGART FROM QAICA INTO @DATA(ld_i_catalog_type).
DATA(ld_i_catalog_type) = ' '.
 
 
 
"SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_catalog_is_codegroup).
DATA(ld_i_ind_catalog_is_codegroup) = 'X'.
 
"SELECT single QKZ FROM QM00 INTO @DATA(ld_i_ind_catalog_is_sel_set).
DATA(ld_i_ind_catalog_is_sel_set) = 'X'.
 
"SELECT single AUSWMGWRK FROM QAICA INTO @DATA(ld_i_plant_of_selected_set).
DATA(ld_i_plant_of_selected_set) = ' '.
 


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!