SAP ABAP IMG Activity RCP_COPY_MODIFY (BAdI: Change Data When Copying Objects)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PLM-RM-REC (Application Component) Recipe
     RMSRCPMSC (Package) RMS-RCP: Miscellaneous
IMG Activity
ID RCP_COPY_MODIFY BAdI: Change Data When Copying Objects  
Transaction Code S_E36_82000030   (empty) 
Created on 20070521    
Customizing Attributes RCP_COPY_MODIFY   BAdI: Change Data When Copying Objects 
Customizing Activity RCP_COPY_MODIFY   BAdI: Change Data When Copying Objects 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name RCP_COPY_MODIFY    

Use

The Business Add-In (BAdI) RCP_COPY_MODIFY is used in the Recipe Management (PLM-RM) component. You use this BAdI to change data when you copy recipes, independent stages, or processes.

  • You can change the following data when you copy recipes:
    • Output substance
    • Output material
    • Short text and long text
    • Creation reason
    • Recipe header data
  • You can change the following data when you copy an independent stage or a process:
    • Short text and long text
    • Header data

Requirements

Standard settings

The BAdI is not active in the standard system. It is not intended for multiple use and is not dependent on a filter.

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Example

You want to change the output substance when copying a recipe. The recipe contains a substance-material combination, therefore, the substance and material both have to be changed.

Use the method adjust_copied_recipe with the parameters x_sub_out (output substance) and x_mat_out (output material) to do this. During implementation make sure that you assign the substance and material correctly. If you do not do this, the system issues an error message after calling the method and cancels the copying process.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional 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 RCP_COPY_MODIFY 0 ALN0000381 Recipe 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070521 
SAP Release Created in