Fonction SAP BAPI_PRODCAT_SAVEITEMSREPLICA - Replicate Item Data of a Product Catalog (ALE Inbound)

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameters

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X Enhancement Parameters
ITEMLONGTEXTS BAPIPCLTEXT 210 X Layout Area Item Long Text Lines
ITEMLONGTEXTSX BAPIPCLTEXTX 73 X Change Parameters for Long Text Lines
ITEMPRICES BAPIPCCOND 104 X Prices of Layout Area Items
ITEMPRICESX BAPIPCCONDX 73 X Change Parameters for Prices
ITEMS BAPIPCWLBM 215 X Layout Area Items
ITEMSX BAPIPCWLBMX 66 X Change Parameters for Layout Area Items
ITEMTEXTS BAPIPCWLMT 140 X Layout Area Item Headings
ITEMTEXTSX BAPIPCWLMTX 61 X Change Parameters for Headings
MATERIALDESCRIPTIONS BAPIPCMAKT 96 X Material Descriptions
MATERIALDESCRIPTIONSX BAPIPCMAKTX 57 X Change Parameters for Material Short Texts

Functionality
In Application Link Enabling forproduct catalogs, you use this method to transfer and create/change theitem data of a product catalog.
If it is necessary to use this method outside of ALE distribution,please note that after this method is called, when you call methods"BapiService.TransactionCommit" (in case of success) and"BapiService.TransactionRollback" (in case of errors) the changes areupdated to the database and discarded respectively.
All data that can be changed in product catalog maintenance (with theexception of document links and classifications) for which a separatedistribution mechanism exists can also be changed using this method.
A selection box is displayed next to each data parameter, each with thesame number of fields and field descriptions. This indicates thechange-relevant fields.
To indicate that a data record is to be deleted, the field "FUNCTION"must have value "003" in the relevant structure. Any other value isinterpreted as creation or change of data, depending on context.
If a parameter contains fields for language indicators (e.g."CatalogName": field "Langu"), currencies (e.g. "CatalogBaseData":field "Currency") or units of measure (e.g. "CatalogBaseData": field"Unit_Shares"), there is always a field of the same name with thesuffix "_ISO". This means it is possible for language indicators,currencies or units of measure to be transferred in either the SAP codeor the standardized ISO code. Internally, ISO codes are converted toSAP codes for further processing. This ISO code is only used if the SAPcode is not transferred. If ISO codes are used, there must be a uniqueassignment between the ISO codes and the SAP codes for languageindicators, currencies, and country indicators in Customizing.
If information or error messages occur during processing, they arerecorded in an application log, with reference to the triggering datarecord.
The changed objects (if transfer was successful) or the most seriouserrors (if transfer was faulty) are returned in the paramter "Return".The "Log_No" field of this parameter contains the number of theapplication log in which all (other) messages are stored.

Notes
For data to be created and changed, you need authorization for theactivity "Post IDocs" for the relevant catalog for authorization object"W_PCAT_MTN".
Extension parameter "ExtensionIn" and function exit "Exit_Saplwpca_004"of SAP extension "Wpca001" are available for customer extensions.
Method "ProductCatalog.SaveHeadReplica" is available as an appropriatemethod for the basic and structure data of a product catalog.

Further information

Description
This structure is used to return the return code to the callingprogram.
For information on the significance of the individual fields in thestructure, see the relevant data element documentation on theindividual fields.
As a number of informative and error messages can occur duringprocessing of the layout area items of a product catalog, thesemessages are created and stored in an application log. Only a successmessage and the worst errors are then returned in the return parameter,and the information containing the number under which the messages canbe displayed in the application log is entered in the field "Log_No".

Value range
Type,, ID ,, Number
E ,, 00 ,, 055
E ,, 00 ,, 058
E ,, B1 ,, 549
I ,, S_DX_BAPI ,, 000
I ,, S_DX_BAPI ,, 001
E ,, W+ ,, 101
W ,, W+ ,, 106
E ,, W+ ,, 108
W ,, W+ ,, 109
E ,, W+ ,, 110
E ,, W+ ,, 111
E ,, W+ ,, 112
W ,, W+ ,, 113
W ,, W+ ,, 223
W ,, W+ ,, 224
E ,, W+ ,, 401
E ,, W+ ,, 404
E ,, W+ ,, 420
E ,, W+ ,, 611
W ,, W+ ,, 613
E ,, W+ ,, 613
E ,, W+ ,, 615

Description
Parameter for transferring customer-specific data. This data can betransferred to customer-specific tables using function exit"Exit_Saplwpca_004" of SAP extension "Wpca001". It is also possible totransfer customer-specific extensions (Appends) of SAP table "WLBM"automatically (without separate coding) as part of the 'BAPI TableExtensions'.

Value range
In addition to customer-specific data, the following BAPI TableExtensions can be processed automatically:
"BAPI_TE_WLBM" for table "WLBM".

Notes
For further information, see Reference structure forBAPI extension parameters.
This parameter contains long texts for the layout area items of aproduct catalog. This comprises the following fields:

  • FUNCTION: Message on how data is to be processed

  • PRODCAT: Catalog number

  • ORGSYS: Original system that the catalog comes
  • from
    • LAYOUT: Layout of the catalog

    • AREA: Layout area number

    • ITEM: Identifier for layout area item

    • APPL_OBJECT: Application object of the text

    • TEXT_ID: Text ID

    • LANGU_ISO: ISO code for the language of the text in TEXT

    • LANGU: Language of the text in TEXT

    • TEXT_TYPE: Format of the text

    • FORMAT_COL: Format tag

    • TEXT_LINE: Text line

    • This parameter contains information on changes relating to the longtexts of layout area items of a product catalog. This comprises thefollowing fields:
      • FUNCTION: Message on how the data is to be processed

      • PRODCAT: Catalog number

      • ORGSYS: Original system that the catalog comes
      • from
        • LAYOUT: Layout of the catalog

        • AREA: Layout area number

        • ITEM: Identifier for layout area item

        • APPL_OBJECT: Application object of the text

        • TEXT_ID: Text ID

        • LANGU_ISO: ISO code for the langauge of the text in TEXT

        • LANGU: Language of the text in TEXT

        • TEXT_TYPE: Updated information relating to the format
        • of the text
          • FORMAT_COL: Updated information relating to the tag
          • column
            • TEXT_LINE: Updated information relating to the text
            • line
              This parameter contains prices for the layout area items of a productcatalog. This comprises the following fields:
              • FUNCTION: Message on how data is to be processed

              • PRODCAT: Catalog number

              • ORGSYS: Original system that the catalog comes
              • from
                • LAYOUT: Layout of the catalog

                • AREA: Layout area number

                • ITEM: Identifier for layout area item

                • CURRENCY_ISO: ISO code currency

                • CURRENCY: Currency

                • COND_VALUE: Price of the layout area item

                • CURRENCY_EWU_ISO: ISO code for parallel currency

                • CURRENCY_EWU: Parallel currency

                • COND_VALUE_EWU: Price of the layout area item in parallel currency

                • PROMOTION: Promotion

                • PRICE_NOT_FOUND: Price ID not found

                • This parameter contains information on the changes relating to theprices of the layout area items of a product catalog. This comprisesthe following fields:
                  • FUNCTION: Message on how the data is to be processed

                  • PRODCAT: Catalog number

                  • ORGSYS: Original system that the catalog comes
                  • from
                    • LAYOUT: Layout of the catalog

                    • AREA: Layout area number

                    • ITEM: Identifier for layout area item

                    • CURRENCY_ISO: ISO currency code

                    • CURRENCY: Currency

                    • COND_VALUE: Updated information relating to price of
                    • layout area item
                      • COND_P_UNT: Updated information relating to the
                      • condition pricing unit
                        • COND_UNIT_ISO: Updated information relating to the
                        • condition unit of measure (ISO)
                          • COND_UNIT: Updated information relating to the
                          • condition unit
                            • PROMOTION: Updated information replating to the
                            • promotion
                              • PRICE_NOT_FOUND: Updated information relating to the
                              • price not found indicator

                                Description
                                This parameter contains layout area items for a product catalog. Thiscomprises the following fields:

                                • FUNCTION: Message on how data is to be processed

                                • PRODCAT: Catalog number

                                • ORGSYS: Original system that the catalog comes
                                • from
                                  • LAYOUT: Layout of the catalog

                                  • AREA: Layout area number

                                  • ITEM: Identifier for layout area item

                                  • MATERIAL: Material number

                                  • UNIT_ISO: ISO code for unit of measure

                                  • UNIT: Unit of measure

                                  • SORTNR: Sort sequence in layout area

                                  • PAGE: Product catalog page

                                  • PICTURE: Illustration number

                                  • PAGE_SHARE: Display size

                                  • MATTYPE: Material category

                                  • PARENT: Higher-level layout area item

                                  • ORDER_NUMBER: Material order number

                                  • This parameter contains information on changes relating to the layoutarea items of a product catalog, and comprises the following fields:
                                    • FUNCTION: Message on how the data is to be processed

                                    • PRODCAT: Catalog number

                                    • ORGSYS: Original system that the catalog comes
                                    • from
                                      • LAYOUT: Layout of the catalog

                                      • AREA: Layout area number

                                      • ITEM: Identifier for layout area item

                                      • MATERIAL: Update information relating to the material
                                      • number
                                        • UNIT_ISO: Updated information relating to the ISO
                                        • code for the unit of measure
                                          • UNIT: Updated information relating to the unit of
                                          • measure
                                            • SORTNR: Updated information relating to the sort
                                            • sequence
                                              • PAGE: Updated information relating to the product
                                              • catalog page
                                                • PICTURE: Updated information relating to the
                                                • illustration number
                                                  • PAGE_SHARE: Updated information relating to the
                                                  • display size
                                                    • MATTYPE: Updated information relating to the material
                                                    • category
                                                      • PARENT: Updated information relating to the
                                                      • higher-level item
                                                        • ORDER_NUMBER: Updated information relating to the
                                                        • material order number
                                                          This parameter contains texts on the layout area items of a productcatalog. This comprises the following fields:
                                                          • FUNCTION: Message on how the data is to be processed

                                                          • PRODCAT: Catalog number

                                                          • ORGSYS: Original system that the catalog comes
                                                          • from
                                                            • LAYOUT: Layout of the catalog

                                                            • AREA: Layout area number

                                                            • ITEM: Identifier for the layout area item

                                                            • LANGU_ISO: ISO code for the language of the text in TEXT

                                                            • LANGU: Language of the text in TEXT

                                                            • TEXTID: ID for the layout area item text

                                                            • LINE: Consecutive number for text line

                                                            • TEXT: Title line

                                                            • This parameter contains information on changes relating to the texts oflayout area items of a product catalog. This comprises the followingfields:
                                                              • FUNCTION: Message on how the data is to be processed

                                                              • PRODCAT: Catalog number

                                                              • ORGSYS: Original system that the catalog comes
                                                              • from
                                                                • LAYOUT: Layout of the catalog

                                                                • AREA: Layout area number

                                                                • ITEM: Identifier for the layout area item

                                                                • LANGU_ISO: ISO code for the language of the text in TEXT

                                                                • LANGU: Language of the text in TEXT

                                                                • TEXTID: ID for layout area item text

                                                                • LINE: Consecutive number for text line

                                                                • TEXT: Updated information relating to the title line


                                                                • This parameter contains the material short texts for the layout areaitems of a product catalog. This comprises the following fields:
                                                                  • FUNCTION: Message on how the data is to be processed

                                                                  • PRODCAT: Catalog number

                                                                  • ORGSYS: Original system that the catalog comes
                                                                  • from
                                                                    • LAYOUT: Layout of the catalog

                                                                    • AREA: Layout area number

                                                                    • ITEM: Identifier for layout area item

                                                                    • LANGU_ISO: ISO code for language of the text in DESCRIPTION

                                                                    • LANGU: Language of the text in DESCRIPTION

                                                                    • DESCRIPTION: Material description

                                                                    • This parameter contains information on the changes relating to thematerial description of the layout area items of a product catalog.This comprises the following fields:
                                                                      • FUNCTION: Message on how the data is to be processed

                                                                      • PRODCAT: Catalog number

                                                                      • ORGSYS: Original system that the catalog comes
                                                                      • from
                                                                        • LAYOUT: Layout of the catalog

                                                                        • AREA: Layout area number

                                                                        • ITEM: Identifier for layout area item

                                                                        • LANGU_ISO: ISO code for language of the text in DESCRIPTION

                                                                        • LANGU: Language of the text in DESCRIPTION

                                                                        • DESCRIPTION: Updated information relating to the
                                                                        • material description