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

Function PRICAT_PROFILE_READ 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 'PRICAT_PROFILE_READ'"PRICAT: Read PriCat Profile and Description.
EXPORTING
* I_PROFIL = ' ' "PRICAT: Requirements profile
IMPORTING
E_PRICAT_PRO = "PRICAT Outbound: Requirements Profile (Customizing)
E_PRICAT_PRO_T = "PRICAT outbound: Requirements profile (Customizing) texts
TABLES
* T_PRICAT_PRO = "PRICAT Outbound: Requirements Profile (Customizing)
* T_PRICAT_PRO_T = "PRICAT outbound: Requirements profile (Customizing) texts
EXCEPTIONS
PROFILE_NOT_FOUND = 1 PROFILE_TEXT_NOT_FOUND = 2
IMPORTING Parameters details for PRICAT_PROFILE_READ
I_PROFIL - PRICAT: Requirements profile
Data type: PRICAT_PRO-PROFILDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for PRICAT_PROFILE_READ
E_PRICAT_PRO - PRICAT Outbound: Requirements Profile (Customizing)
Data type: PRICAT_PROOptional: No
Call by Reference: No ( called with pass by value option)
E_PRICAT_PRO_T - PRICAT outbound: Requirements profile (Customizing) texts
Data type: PRICAT_PRO_TOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for PRICAT_PROFILE_READ
T_PRICAT_PRO - PRICAT Outbound: Requirements Profile (Customizing)
Data type: PRICAT_PROOptional: Yes
Call by Reference: No ( called with pass by value option)
T_PRICAT_PRO_T - PRICAT outbound: Requirements profile (Customizing) texts
Data type: PRICAT_PRO_TOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PROFILE_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PROFILE_TEXT_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PRICAT_PROFILE_READ 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_profil | TYPE PRICAT_PRO-PROFIL, " SPACE | |||
| lv_e_pricat_pro | TYPE PRICAT_PRO, " | |||
| lt_t_pricat_pro | TYPE STANDARD TABLE OF PRICAT_PRO, " | |||
| lv_profile_not_found | TYPE PRICAT_PRO, " | |||
| lv_e_pricat_pro_t | TYPE PRICAT_PRO_T, " | |||
| lt_t_pricat_pro_t | TYPE STANDARD TABLE OF PRICAT_PRO_T, " | |||
| lv_profile_text_not_found | TYPE PRICAT_PRO_T. " |
|   CALL FUNCTION 'PRICAT_PROFILE_READ' "PRICAT: Read PriCat Profile and Description |
| EXPORTING | ||
| I_PROFIL | = lv_i_profil | |
| IMPORTING | ||
| E_PRICAT_PRO | = lv_e_pricat_pro | |
| E_PRICAT_PRO_T | = lv_e_pricat_pro_t | |
| TABLES | ||
| T_PRICAT_PRO | = lt_t_pricat_pro | |
| T_PRICAT_PRO_T | = lt_t_pricat_pro_t | |
| EXCEPTIONS | ||
| PROFILE_NOT_FOUND = 1 | ||
| PROFILE_TEXT_NOT_FOUND = 2 | ||
| . " PRICAT_PROFILE_READ | ||
ABAP code using 7.40 inline data declarations to call FM PRICAT_PROFILE_READ
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 PROFIL FROM PRICAT_PRO INTO @DATA(ld_i_profil). | ||||
| DATA(ld_i_profil) | = ' '. | |||
Search for further information about these or an SAP related objects