SAP PRICAT_VERBUCHUNG_UPDATE Function Module for Update: Modify Existing Catalog
PRICAT_VERBUCHUNG_UPDATE is a standard pricat verbuchung update SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Update: Modify Existing 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 verbuchung update FM, simply by entering the name PRICAT_VERBUCHUNG_UPDATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: PRICAT
Program Name: SAPLPRICAT
Main Program: SAPLPRICAT
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1

Function PRICAT_VERBUCHUNG_UPDATE 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_VERBUCHUNG_UPDATE'"Update: Modify Existing Catalog.
EXPORTING
P_PRICAT_K001 = "Pricat-Kopfdaten
* P_HISTORY = '2' "PRICAT: Type of history processing
TABLES
* P_PRICAT_K00A = "PRICAT: Assortments of the Price Catalog
* P_PRICAT_K007 = "PRICAT: Catalog Item Bills of Material
* P_PRICAT_K008 = "PRICAT: Catalog Item Bills of Material
* P_PRICAT_K008C = "PRICAT: Catalog Item Prices/Conditions/Taxes per Customer
* P_PRICAT_K009C = "PRICAT: Catalog Item Scales for the Condition for Each Customer
* P_PRICAT_K009 = "PRICAT: Catalog Item Scales for Condition
* P_PRICAT_K00C = "PRICAT: Customer of a Price Catalog
* P_PRICAT_K002 = "Pricat-Produktguppen-Information
* P_PRICAT_K003 = "Pricat-Artikel-Information
* P_PRICAT_K003Z = "PRICAT: Catalog Item Basic Data
* P_PRICAT_K003S = "PRICAT: Status of the Catalog Item per Customer
* P_PRICAT_K004 = "PRICAT: Catalog Item Basic Data
* P_PRICAT_K005 = "PRICAT: Catalog Item Texts
* P_PRICAT_K006 = "PRICAT: Catalog Item Basic Data
EXCEPTIONS
UPDATE_FAILED = 1 INSERT_FAILED = 2
IMPORTING Parameters details for PRICAT_VERBUCHUNG_UPDATE
P_PRICAT_K001 - Pricat-Kopfdaten
Data type: PRICAT_K001Optional: No
Call by Reference: No ( called with pass by value option)
P_HISTORY - PRICAT: Type of history processing
Data type: PRIHISTORYDefault: '2'
Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for PRICAT_VERBUCHUNG_UPDATE
P_PRICAT_K00A - PRICAT: Assortments of the Price Catalog
Data type: TT_PRICAT_K00AOptional: Yes
Call by Reference: Yes
P_PRICAT_K007 - PRICAT: Catalog Item Bills of Material
Data type: TT_PRICAT_K007Optional: Yes
Call by Reference: Yes
P_PRICAT_K008 - PRICAT: Catalog Item Bills of Material
Data type: TT_PRICAT_K008Optional: Yes
Call by Reference: Yes
P_PRICAT_K008C - PRICAT: Catalog Item Prices/Conditions/Taxes per Customer
Data type: TT_PRICAT_K008COptional: Yes
Call by Reference: Yes
P_PRICAT_K009C - PRICAT: Catalog Item Scales for the Condition for Each Customer
Data type: TT_PRICAT_K009COptional: Yes
Call by Reference: Yes
P_PRICAT_K009 - PRICAT: Catalog Item Scales for Condition
Data type: TT_PRICAT_K009Optional: Yes
Call by Reference: Yes
P_PRICAT_K00C - PRICAT: Customer of a Price Catalog
Data type: TT_PRICAT_K00COptional: Yes
Call by Reference: Yes
P_PRICAT_K002 - Pricat-Produktguppen-Information
Data type: TT_PRICAT_K002Optional: Yes
Call by Reference: Yes
P_PRICAT_K003 - Pricat-Artikel-Information
Data type: TT_PRICAT_K003Optional: Yes
Call by Reference: Yes
P_PRICAT_K003Z - PRICAT: Catalog Item Basic Data
Data type: TT_PRICAT_K003ZOptional: Yes
Call by Reference: Yes
P_PRICAT_K003S - PRICAT: Status of the Catalog Item per Customer
Data type: TT_PRICAT_K003SOptional: Yes
Call by Reference: Yes
P_PRICAT_K004 - PRICAT: Catalog Item Basic Data
Data type: TT_PRICAT_K004Optional: Yes
Call by Reference: Yes
P_PRICAT_K005 - PRICAT: Catalog Item Texts
Data type: TT_PRICAT_K005Optional: Yes
Call by Reference: Yes
P_PRICAT_K006 - PRICAT: Catalog Item Basic Data
Data type: TT_PRICAT_K006Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
UPDATE_FAILED - Ein Update auf eine Datenbanktabelle ist fehlgeschlagen
Data type:Optional: No
Call by Reference: Yes
INSERT_FAILED - Ein Insert auf eine Datenbanktabelle ist fehlgeschlagen
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for PRICAT_VERBUCHUNG_UPDATE 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_p_pricat_k001 | TYPE PRICAT_K001, " | |||
| lt_p_pricat_k00a | TYPE STANDARD TABLE OF TT_PRICAT_K00A, " | |||
| lv_update_failed | TYPE TT_PRICAT_K00A, " | |||
| lt_p_pricat_k007 | TYPE STANDARD TABLE OF TT_PRICAT_K007, " | |||
| lt_p_pricat_k008 | TYPE STANDARD TABLE OF TT_PRICAT_K008, " | |||
| lt_p_pricat_k008c | TYPE STANDARD TABLE OF TT_PRICAT_K008C, " | |||
| lt_p_pricat_k009c | TYPE STANDARD TABLE OF TT_PRICAT_K009C, " | |||
| lt_p_pricat_k009 | TYPE STANDARD TABLE OF TT_PRICAT_K009, " | |||
| lv_p_history | TYPE PRIHISTORY, " '2' | |||
| lv_insert_failed | TYPE PRIHISTORY, " | |||
| lt_p_pricat_k00c | TYPE STANDARD TABLE OF TT_PRICAT_K00C, " | |||
| lt_p_pricat_k002 | TYPE STANDARD TABLE OF TT_PRICAT_K002, " | |||
| lt_p_pricat_k003 | TYPE STANDARD TABLE OF TT_PRICAT_K003, " | |||
| lt_p_pricat_k003z | TYPE STANDARD TABLE OF TT_PRICAT_K003Z, " | |||
| lt_p_pricat_k003s | TYPE STANDARD TABLE OF TT_PRICAT_K003S, " | |||
| lt_p_pricat_k004 | TYPE STANDARD TABLE OF TT_PRICAT_K004, " | |||
| lt_p_pricat_k005 | TYPE STANDARD TABLE OF TT_PRICAT_K005, " | |||
| lt_p_pricat_k006 | TYPE STANDARD TABLE OF TT_PRICAT_K006. " |
|   CALL FUNCTION 'PRICAT_VERBUCHUNG_UPDATE' "Update: Modify Existing Catalog |
| EXPORTING | ||
| P_PRICAT_K001 | = lv_p_pricat_k001 | |
| P_HISTORY | = lv_p_history | |
| TABLES | ||
| P_PRICAT_K00A | = lt_p_pricat_k00a | |
| P_PRICAT_K007 | = lt_p_pricat_k007 | |
| P_PRICAT_K008 | = lt_p_pricat_k008 | |
| P_PRICAT_K008C | = lt_p_pricat_k008c | |
| P_PRICAT_K009C | = lt_p_pricat_k009c | |
| P_PRICAT_K009 | = lt_p_pricat_k009 | |
| P_PRICAT_K00C | = lt_p_pricat_k00c | |
| P_PRICAT_K002 | = lt_p_pricat_k002 | |
| P_PRICAT_K003 | = lt_p_pricat_k003 | |
| P_PRICAT_K003Z | = lt_p_pricat_k003z | |
| P_PRICAT_K003S | = lt_p_pricat_k003s | |
| P_PRICAT_K004 | = lt_p_pricat_k004 | |
| P_PRICAT_K005 | = lt_p_pricat_k005 | |
| P_PRICAT_K006 | = lt_p_pricat_k006 | |
| EXCEPTIONS | ||
| UPDATE_FAILED = 1 | ||
| INSERT_FAILED = 2 | ||
| . " PRICAT_VERBUCHUNG_UPDATE | ||
ABAP code using 7.40 inline data declarations to call FM PRICAT_VERBUCHUNG_UPDATE
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_p_history) | = '2'. | |||
Search for further information about these or an SAP related objects