SAP ABAP IMG Activity COM_PRODUCT_COPY (Copy Products)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   AP-MD-PRO (Application Component) Central Part of Product Master
     COM_PRODUCT_CUST (Package) Product Master Customizing - General
IMG Activity
ID COM_PRODUCT_COPY Copy Products  
Transaction Code S_A4C_68001069   (empty) 
Created on 20030220    
Customizing Attributes COM_PRODUCT_COPY   Copy Products 
Customizing Activity COM_PRODUCT_COPY   Copy Products 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name COM_PRODUCT_COPY    

Use

This enhancement can be used within the product copy functionality to copy additional data and reduce or change the data you wish to copy at various levels.

Relationships (interlinkages) are generally not copied. If you wish to copy relationships as well, the COPY method must be implemented with the sample code provided.

The following methods are available to copy other data:

  • COPY is used to copy data when the product buffer is generated
  • COPY_LATE is used to copy data after the product buffer has been set up, for example documents

The following methods are available to reduce or change data during the copying:

  • CHANGE_DST_BASE_CAT changes the base category of the target product
  • CHANGE_SETTYPES changes the set types which are to be copied
  • CHANGE_DETAILS changes the detailed data

The method CHANGE_DST_BASE_CAT was created specifically for individual objects and can therefore only be used for these. The target base category is normally determined from the settings in the product template, however this can be overridden by a customer-specific implementation.

Parameters

  • IV_SRC_GUID

    Product GUID of product template

  • IV_DST_GUID

    Product GUID of target product

  • IT_DELTA_SETTYPE

    List of set type definitions which for certain reasons must not be copied, for example they are referenced or have been excluded by a base category switch

  • CS_DST_PRODUCT

    Target product data in the form of an API structure

  • CT_BAPIRETURN

    Error messages

Requirements

Standard settings

Activities

Example

Business Attributes
ASAP Roadmap ID 153   Design enhancements 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG COM_PRODUCT_COPY 0 A4C0000261 Central Part of Product Master 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20030228 
SAP Release Created in 400