SAP PRICAT_SEND Function Module for PRICAT: Send a Price Catalog
PRICAT_SEND is a standard pricat send 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: Send a Price Catalog 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 send FM, simply by entering the name PRICAT_SEND into the relevant SAP transaction such as SE37 or SE38.
Function Group: PRICAT
Program Name: SAPLPRICAT
Main Program: SAPLPRICAT
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PRICAT_SEND 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_SEND'"PRICAT: Send a Price Catalog.
EXPORTING
PS_PRICAT_K001 = "PRICAT: Catalog Header
* IV_KZ_READ = C_NO "Kennzeichen, ob die Katalogdaten gelesen werden müssen
* IV_KZ_WRITE = C_NO "Kennzeichen, ob die Status gesichert werden sollen
* IV_CUSTOMER = ' ' "Bearbeitung eines Kunden
* IV_KZ_COMPLETE = C_NO "Kennzeichen, ob auch schon übertragene Daten übertragen werden sollen
* IV_KZ_INTERNET = C_NO "Kennzeichen, Aufruf Internet
* PT_PRICAT_K010 = "Price Catalog: Table Type for Extended Structure
TABLES
* PT_PRICAT_K00C = "PRICAT: Customer of a Price Catalog
* PT_PRICAT_K008C = "PRICAT: Catalog Item Prices / Conditions / Taxes
* PT_PRICAT_K009C = "PRICAT: Catalog Item Scales for the Condition for Each Customer
* PT_PRICAT_K002 = "PRICAT: Catalog Item Product Groups
* PT_PRICAT_K003 = "PRICAT: Catalog Item Basic Data
* PT_PRICAT_K003Z = "PRICAT: Catalog Item Basic Data Extras
* PT_PRICAT_K003S = "PRICAT: Status of the Catalog Item per Customer
* PT_PRICAT_K004 = "PRICAT: Catalog Item Units of Measure, Dimensions, Weights, EANs/UPCs
* PT_PRICAT_K005 = "PRICAT: Catalog Item Texts
* PT_PRICAT_K006 = "PRICAT: Catalog Item Characteristics
* PT_PRICAT_K007 = "PRICAT: Catalog Item Bills of Material
EXCEPTIONS
CATALOGUE_NOT_FOUND = 1 CUSTOMER_NOT_FOUND = 2 PROFIL_NOT_FOUND = 3 WRITE_ERROR = 4 APPL_LOG_ERROR = 5 NO_AUTHORITY = 6 CATALOGUE_CLOSED = 7
IMPORTING Parameters details for PRICAT_SEND
PS_PRICAT_K001 - PRICAT: Catalog Header
Data type: PRICAT_K001Optional: No
Call by Reference: No ( called with pass by value option)
IV_KZ_READ - Kennzeichen, ob die Katalogdaten gelesen werden müssen
Data type: CDefault: C_NO
Optional: No
Call by Reference: No ( called with pass by value option)
IV_KZ_WRITE - Kennzeichen, ob die Status gesichert werden sollen
Data type: CDefault: C_NO
Optional: No
Call by Reference: No ( called with pass by value option)
IV_CUSTOMER - Bearbeitung eines Kunden
Data type: KUNNRDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
IV_KZ_COMPLETE - Kennzeichen, ob auch schon übertragene Daten übertragen werden sollen
Data type: CDefault: C_NO
Optional: No
Call by Reference: No ( called with pass by value option)
IV_KZ_INTERNET - Kennzeichen, Aufruf Internet
Data type: CDefault: C_NO
Optional: No
Call by Reference: No ( called with pass by value option)
PT_PRICAT_K010 - Price Catalog: Table Type for Extended Structure
Data type: TT_PRICAT_K010Optional: Yes
Call by Reference: Yes
TABLES Parameters details for PRICAT_SEND
PT_PRICAT_K00C - PRICAT: Customer of a Price Catalog
Data type: TT_PRICAT_K00COptional: Yes
Call by Reference: Yes
PT_PRICAT_K008C - PRICAT: Catalog Item Prices / Conditions / Taxes
Data type: TT_PRICAT_K008COptional: Yes
Call by Reference: Yes
PT_PRICAT_K009C - PRICAT: Catalog Item Scales for the Condition for Each Customer
Data type: TT_PRICAT_K009COptional: Yes
Call by Reference: Yes
PT_PRICAT_K002 - PRICAT: Catalog Item Product Groups
Data type: TT_PRICAT_K002Optional: Yes
Call by Reference: Yes
PT_PRICAT_K003 - PRICAT: Catalog Item Basic Data
Data type: TT_PRICAT_K003Optional: Yes
Call by Reference: Yes
PT_PRICAT_K003Z - PRICAT: Catalog Item Basic Data Extras
Data type: TT_PRICAT_K003ZOptional: Yes
Call by Reference: Yes
PT_PRICAT_K003S - PRICAT: Status of the Catalog Item per Customer
Data type: TT_PRICAT_K003SOptional: Yes
Call by Reference: Yes
PT_PRICAT_K004 - PRICAT: Catalog Item Units of Measure, Dimensions, Weights, EANs/UPCs
Data type: TT_PRICAT_K004Optional: Yes
Call by Reference: Yes
PT_PRICAT_K005 - PRICAT: Catalog Item Texts
Data type: TT_PRICAT_K005Optional: Yes
Call by Reference: Yes
PT_PRICAT_K006 - PRICAT: Catalog Item Characteristics
Data type: TT_PRICAT_K006Optional: Yes
Call by Reference: Yes
PT_PRICAT_K007 - PRICAT: Catalog Item Bills of Material
Data type: TT_PRICAT_K007Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
CATALOGUE_NOT_FOUND - Item does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CUSTOMER_NOT_FOUND - Vorgegebener Kunde nicht dem Katalog zugeordnet
Data type:Optional: No
Call by Reference: Yes
PROFIL_NOT_FOUND - Profil konnte nicht gelesen werden
Data type:Optional: No
Call by Reference: Yes
WRITE_ERROR - Fehler beim Schreiben der Statusdaten
Data type:Optional: No
Call by Reference: Yes
APPL_LOG_ERROR - Error in Log Processing
Data type:Optional: No
Call by Reference: Yes
NO_AUTHORITY - No Authorization
Data type:Optional: No
Call by Reference: Yes
CATALOGUE_CLOSED - Katalog abgeschlossen
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for PRICAT_SEND 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_ps_pricat_k001 | TYPE PRICAT_K001, " | |||
| lt_pt_pricat_k00c | TYPE STANDARD TABLE OF TT_PRICAT_K00C, " | |||
| lv_catalogue_not_found | TYPE TT_PRICAT_K00C, " | |||
| lt_pt_pricat_k008c | TYPE STANDARD TABLE OF TT_PRICAT_K008C, " | |||
| lt_pt_pricat_k009c | TYPE STANDARD TABLE OF TT_PRICAT_K009C, " | |||
| lv_iv_kz_read | TYPE C, " C_NO | |||
| lt_pt_pricat_k002 | TYPE STANDARD TABLE OF TT_PRICAT_K002, " | |||
| lv_customer_not_found | TYPE TT_PRICAT_K002, " | |||
| lv_iv_kz_write | TYPE C, " C_NO | |||
| lt_pt_pricat_k003 | TYPE STANDARD TABLE OF TT_PRICAT_K003, " | |||
| lv_profil_not_found | TYPE TT_PRICAT_K003, " | |||
| lv_iv_customer | TYPE KUNNR, " SPACE | |||
| lv_write_error | TYPE KUNNR, " | |||
| lt_pt_pricat_k003z | TYPE STANDARD TABLE OF TT_PRICAT_K003Z, " | |||
| lv_appl_log_error | TYPE TT_PRICAT_K003Z, " | |||
| lv_iv_kz_complete | TYPE C, " C_NO | |||
| lt_pt_pricat_k003s | TYPE STANDARD TABLE OF TT_PRICAT_K003S, " | |||
| lv_no_authority | TYPE TT_PRICAT_K003S, " | |||
| lv_iv_kz_internet | TYPE C, " C_NO | |||
| lt_pt_pricat_k004 | TYPE STANDARD TABLE OF TT_PRICAT_K004, " | |||
| lt_pt_pricat_k005 | TYPE STANDARD TABLE OF TT_PRICAT_K005, " | |||
| lv_pt_pricat_k010 | TYPE TT_PRICAT_K010, " | |||
| lv_catalogue_closed | TYPE TT_PRICAT_K010, " | |||
| lt_pt_pricat_k006 | TYPE STANDARD TABLE OF TT_PRICAT_K006, " | |||
| lt_pt_pricat_k007 | TYPE STANDARD TABLE OF TT_PRICAT_K007. " |
|   CALL FUNCTION 'PRICAT_SEND' "PRICAT: Send a Price Catalog |
| EXPORTING | ||
| PS_PRICAT_K001 | = lv_ps_pricat_k001 | |
| IV_KZ_READ | = lv_iv_kz_read | |
| IV_KZ_WRITE | = lv_iv_kz_write | |
| IV_CUSTOMER | = lv_iv_customer | |
| IV_KZ_COMPLETE | = lv_iv_kz_complete | |
| IV_KZ_INTERNET | = lv_iv_kz_internet | |
| PT_PRICAT_K010 | = lv_pt_pricat_k010 | |
| TABLES | ||
| PT_PRICAT_K00C | = lt_pt_pricat_k00c | |
| PT_PRICAT_K008C | = lt_pt_pricat_k008c | |
| PT_PRICAT_K009C | = lt_pt_pricat_k009c | |
| PT_PRICAT_K002 | = lt_pt_pricat_k002 | |
| PT_PRICAT_K003 | = lt_pt_pricat_k003 | |
| PT_PRICAT_K003Z | = lt_pt_pricat_k003z | |
| PT_PRICAT_K003S | = lt_pt_pricat_k003s | |
| PT_PRICAT_K004 | = lt_pt_pricat_k004 | |
| PT_PRICAT_K005 | = lt_pt_pricat_k005 | |
| PT_PRICAT_K006 | = lt_pt_pricat_k006 | |
| PT_PRICAT_K007 | = lt_pt_pricat_k007 | |
| EXCEPTIONS | ||
| CATALOGUE_NOT_FOUND = 1 | ||
| CUSTOMER_NOT_FOUND = 2 | ||
| PROFIL_NOT_FOUND = 3 | ||
| WRITE_ERROR = 4 | ||
| APPL_LOG_ERROR = 5 | ||
| NO_AUTHORITY = 6 | ||
| CATALOGUE_CLOSED = 7 | ||
| . " PRICAT_SEND | ||
ABAP code using 7.40 inline data declarations to call FM PRICAT_SEND
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.| DATA(ld_iv_kz_read) | = C_NO. | |||
| DATA(ld_iv_kz_write) | = C_NO. | |||
| DATA(ld_iv_customer) | = ' '. | |||
| DATA(ld_iv_kz_complete) | = C_NO. | |||
| DATA(ld_iv_kz_internet) | = C_NO. | |||
Search for further information about these or an SAP related objects