Fonction SAP BAPI_OUTBOUNDPRICAT_CREATE - Create Intstance of PriceCatalogue

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
KART KATALOGART C 10 X Customizing for Price Catalog: Catalog Type
PRICATCHANGE BAPIPRICATCHANGE u 22 PRICAT: Parameters for Engineering Change Management
PRICATCREATE BAPIPRICATCREATE u 81 PRICAT: Structure for Creating a Price Catalog
PRICATHEADER BAPIPRICATHEADER u 180 PRICAT: International Location Number of Sender (CHAR 35)
PRICATWEB BAPIPRICATWEB u 11 PRICAT: Price Catalog Settings for the Internet

Paramètre Reférence Type Long. Description
PRICECATALOGUE BAPI1171_1-PRICECATALOGUE C 10 New Catalog Number
RETURN BAPIRET2 u 548 Confirmations

Functionality
The method "SaveReplica" is used to create or add to a catalog as aninstance of the business object "Price Catalogue".
A catalog is created for each combination of vendor, catalog ID andtext indicator. If the catalog already exists, an error message isissued.

Notes
In the method, authorization object "W_PRICAT_OUT" is checked for theactivity "Create and add to (1)".
If error messages occur during processing of the data, these arerecorded in an application log. If you want to display the loggedmessages, you need to execute a Commit after calling this method, sothat the data in the application log is written to the database. Evenif the structure "RETURN" returns a message of type "E" in the field"TYPE", a Commit must be executed so that the application log is saved.
INCLUDE BAPI_RET
INCLUDE BAPI_TABLE OBJECT DOKU ID TX

Value range
Success messages
Type,,ID,,Number,,Message
S,,VJ,,303,,,,Price catalog &v1& was created
S,,VJ,,302,,,,Price catalog &v1& was updated
Error messages
Type,,ID,,Number,,Message
E,,VJ,,304,,,,Price catalog &v1& is already closed
E,,VJ,,305,,,,The base unit for unit of meas. &2 could not bedetermined in catalog &v1&
E,,VJ,,306,,,,Base unit of measure for unit of measure &V2& does notexist in catalog &V1&
E,,VJ,,300,,,,Error during entry in price catalog &V1& (table &V2&)
E,,VJ,,301,,,,Error during change to price catalog &V1& (table &V2&)