SAP READ_CATALOGUE_ITEMS Function Module for Read Catalog Items from PRICAT
READ_CATALOGUE_ITEMS is a standard read catalogue items SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Catalog Items from PRICAT 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 read catalogue items FM, simply by entering the name READ_CATALOGUE_ITEMS into the relevant SAP transaction such as SE37 or SE38.
Function Group: WRF_RFC_INTERFACE
Program Name: SAPLWRF_RFC_INTERFACE
Main Program: SAPLWRF_RFC_INTERFACE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function READ_CATALOGUE_ITEMS 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 'READ_CATALOGUE_ITEMS'"Read Catalog Items from PRICAT.
EXPORTING
IT_ITEM_KEY = "Table with Keys
IMPORTING
ET_PRICAT_K003 = "PRICAT: Table for PRICAT_K003
ET_PRICAT_K003Z = "PRICAT: Table for PRICAT_K003z
ET_PRICAT_K004 = "PRICAT: Table for PRICAT_K004
ET_PRICAT_K005 = "PRICAT: Table for PRICAT_K005
ET_PRICAT_K006 = "PRICAT: Table for PRICAT_K006
ET_PRICAT_K007 = "PRICAT: Table for PRICAT_K007
ET_PRICAT_K008 = "PRICAT: Table for PRICAT_K008
ET_PRICAT_K009 = "PRICAT: Table for PRICAT_K009
ET_PRICAT_010 = "Table Type for wrf_pricat_010
EXCEPTIONS
ITEM_NOT_FOUND = 1
IMPORTING Parameters details for READ_CATALOGUE_ITEMS
IT_ITEM_KEY - Table with Keys
Data type: WRF_PRINBR_EAN_DATE_TTYOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for READ_CATALOGUE_ITEMS
ET_PRICAT_K003 - PRICAT: Table for PRICAT_K003
Data type: TT_PRICAT_K003Optional: No
Call by Reference: No ( called with pass by value option)
ET_PRICAT_K003Z - PRICAT: Table for PRICAT_K003z
Data type: TT_PRICAT_K003ZOptional: No
Call by Reference: No ( called with pass by value option)
ET_PRICAT_K004 - PRICAT: Table for PRICAT_K004
Data type: TT_PRICAT_K004Optional: No
Call by Reference: No ( called with pass by value option)
ET_PRICAT_K005 - PRICAT: Table for PRICAT_K005
Data type: TT_PRICAT_K005Optional: No
Call by Reference: No ( called with pass by value option)
ET_PRICAT_K006 - PRICAT: Table for PRICAT_K006
Data type: TT_PRICAT_K006Optional: No
Call by Reference: No ( called with pass by value option)
ET_PRICAT_K007 - PRICAT: Table for PRICAT_K007
Data type: TT_PRICAT_K007Optional: No
Call by Reference: No ( called with pass by value option)
ET_PRICAT_K008 - PRICAT: Table for PRICAT_K008
Data type: TT_PRICAT_K008Optional: No
Call by Reference: No ( called with pass by value option)
ET_PRICAT_K009 - PRICAT: Table for PRICAT_K009
Data type: TT_PRICAT_K009Optional: No
Call by Reference: No ( called with pass by value option)
ET_PRICAT_010 - Table Type for wrf_pricat_010
Data type: TT_PRICAT_010Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ITEM_NOT_FOUND - Ein oder mehrere Positionen nicht gefunden
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for READ_CATALOGUE_ITEMS 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_it_item_key | TYPE WRF_PRINBR_EAN_DATE_TTY, " | |||
| lv_et_pricat_k003 | TYPE TT_PRICAT_K003, " | |||
| lv_item_not_found | TYPE TT_PRICAT_K003, " | |||
| lv_et_pricat_k003z | TYPE TT_PRICAT_K003Z, " | |||
| lv_et_pricat_k004 | TYPE TT_PRICAT_K004, " | |||
| lv_et_pricat_k005 | TYPE TT_PRICAT_K005, " | |||
| lv_et_pricat_k006 | TYPE TT_PRICAT_K006, " | |||
| lv_et_pricat_k007 | TYPE TT_PRICAT_K007, " | |||
| lv_et_pricat_k008 | TYPE TT_PRICAT_K008, " | |||
| lv_et_pricat_k009 | TYPE TT_PRICAT_K009, " | |||
| lv_et_pricat_010 | TYPE TT_PRICAT_010. " |
|   CALL FUNCTION 'READ_CATALOGUE_ITEMS' "Read Catalog Items from PRICAT |
| EXPORTING | ||
| IT_ITEM_KEY | = lv_it_item_key | |
| IMPORTING | ||
| ET_PRICAT_K003 | = lv_et_pricat_k003 | |
| ET_PRICAT_K003Z | = lv_et_pricat_k003z | |
| ET_PRICAT_K004 | = lv_et_pricat_k004 | |
| ET_PRICAT_K005 | = lv_et_pricat_k005 | |
| ET_PRICAT_K006 | = lv_et_pricat_k006 | |
| ET_PRICAT_K007 | = lv_et_pricat_k007 | |
| ET_PRICAT_K008 | = lv_et_pricat_k008 | |
| ET_PRICAT_K009 | = lv_et_pricat_k009 | |
| ET_PRICAT_010 | = lv_et_pricat_010 | |
| EXCEPTIONS | ||
| ITEM_NOT_FOUND = 1 | ||
| . " READ_CATALOGUE_ITEMS | ||
ABAP code using 7.40 inline data declarations to call FM READ_CATALOGUE_ITEMS
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.Search for further information about these or an SAP related objects