Ansicht
Dokumentation
COM_PRODUCT_COPY - Copy Products
TXBHW - Original Tax Base Amount in Local Currency ABAP Short ReferenceThis documentation is copyright by SAP AG.
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
General Data in Customer Master CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 2060 Date: 20240523 Time: 164618 sap01-206 ( 31 ms )