SAP PRICAT_VERBUCHUNG_INSERT Function Module for Update: Create New Catalog









PRICAT_VERBUCHUNG_INSERT is a standard pricat verbuchung insert 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: Create New 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 insert FM, simply by entering the name PRICAT_VERBUCHUNG_INSERT 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_INSERT 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_INSERT'"Update: Create New Catalog
EXPORTING
P_PRICAT_K001 = "Pricat-Kopfdaten
* P_PRICAT_K010 = "Price Catalog: Table Type for Extended Structure
* P_PRICAT_K010S = "Price Catalog: Table Type for Structure Fields Information

TABLES
* P_PRICAT_K00A = "PRICAT: Assortments of the Price Catalog
* P_PRICAT_K007 = "PRICAT: Table for PRICAT_K007
* P_PRICAT_K008 = "PRICAT: Table for PRICAT_K008
* 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: Table for PRICAT_K003z
* P_PRICAT_K003S = "PRICAT: Status of the Catalog Item per Customer
* P_PRICAT_K004 = "PRICAT: Table for PRICAT_K004
* P_PRICAT_K005 = "PRICAT: Table for PRICAT_K005
* P_PRICAT_K006 = "PRICAT: Table for PRICAT_K006

EXCEPTIONS
INSERT_FAILED = 1
.



IMPORTING Parameters details for PRICAT_VERBUCHUNG_INSERT

P_PRICAT_K001 - Pricat-Kopfdaten

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

P_PRICAT_K010 - Price Catalog: Table Type for Extended Structure

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

P_PRICAT_K010S - Price Catalog: Table Type for Structure Fields Information

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

TABLES Parameters details for PRICAT_VERBUCHUNG_INSERT

P_PRICAT_K00A - PRICAT: Assortments of the Price Catalog

Data type: TT_PRICAT_K00A
Optional: Yes
Call by Reference: Yes

P_PRICAT_K007 - PRICAT: Table for PRICAT_K007

Data type: TT_PRICAT_K007
Optional: Yes
Call by Reference: Yes

P_PRICAT_K008 - PRICAT: Table for PRICAT_K008

Data type: TT_PRICAT_K008
Optional: Yes
Call by Reference: Yes

P_PRICAT_K008C - PRICAT: Catalog Item Prices/Conditions/Taxes per Customer

Data type: TT_PRICAT_K008C
Optional: Yes
Call by Reference: Yes

P_PRICAT_K009C - PRICAT: Catalog Item Scales for the Condition for Each Customer

Data type: TT_PRICAT_K009C
Optional: Yes
Call by Reference: Yes

P_PRICAT_K009 - PRICAT: Catalog Item Scales for Condition

Data type: TT_PRICAT_K009
Optional: Yes
Call by Reference: Yes

P_PRICAT_K00C - PRICAT: Customer of a Price Catalog

Data type: TT_PRICAT_K00C
Optional: Yes
Call by Reference: Yes

P_PRICAT_K002 - Pricat-Produktguppen-Information

Data type: TT_PRICAT_K002
Optional: Yes
Call by Reference: Yes

P_PRICAT_K003 - Pricat-Artikel-Information

Data type: TT_PRICAT_K003
Optional: Yes
Call by Reference: Yes

P_PRICAT_K003Z - PRICAT: Table for PRICAT_K003z

Data type: TT_PRICAT_K003Z
Optional: Yes
Call by Reference: Yes

P_PRICAT_K003S - PRICAT: Status of the Catalog Item per Customer

Data type: TT_PRICAT_K003S
Optional: Yes
Call by Reference: Yes

P_PRICAT_K004 - PRICAT: Table for PRICAT_K004

Data type: TT_PRICAT_K004
Optional: Yes
Call by Reference: Yes

P_PRICAT_K005 - PRICAT: Table for PRICAT_K005

Data type: TT_PRICAT_K005
Optional: Yes
Call by Reference: Yes

P_PRICAT_K006 - PRICAT: Table for PRICAT_K006

Data type: TT_PRICAT_K006
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

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_INSERT 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_insert_failed  TYPE STRING, "   
lv_p_pricat_k001  TYPE PRICAT_K001, "   
lt_p_pricat_k00a  TYPE STANDARD TABLE OF 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, "   
lt_p_pricat_k00c  TYPE STANDARD TABLE OF TT_PRICAT_K00C, "   
lv_p_pricat_k010  TYPE TT_PRICAT_K010, "   
lt_p_pricat_k002  TYPE STANDARD TABLE OF TT_PRICAT_K002, "   
lv_p_pricat_k010s  TYPE TT_PRICAT_K010S, "   
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_INSERT'  "Update: Create New Catalog
    EXPORTING
         P_PRICAT_K001 = lv_p_pricat_k001
         P_PRICAT_K010 = lv_p_pricat_k010
         P_PRICAT_K010S = lv_p_pricat_k010s
    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
        INSERT_FAILED = 1
. " PRICAT_VERBUCHUNG_INSERT




ABAP code using 7.40 inline data declarations to call FM PRICAT_VERBUCHUNG_INSERT

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



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!