SAP ABAP IMG Activity CMPD_ASSIGNMENT_MERG (Business Add-In for Merging Assigned Campaigns)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-BF-PR (Application Component) Pricing and Conditions
     CMPD (Package) Campaign Determination: Operational Determination
IMG Activity
ID CMPD_ASSIGNMENT_MERG Business Add-In for Merging Assigned Campaigns  
Transaction Code S_PCO_36000124   (empty) 
Created on 20050427    
Customizing Attributes CMPD_ASSIGNMENT_MERG   Business Add-In for Merging Assigned Campaigns 
Customizing Activity CMPD_ASSIGNMENT_MERG   Business Add-In for Merging Assigned Campaigns 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name CMPD_ASSIGNMENT_MERGE    

Use

Using the Business Add-In CMPD_ASSIGNMENT_MERGE, you can merge the campaigns assigned to a document item.

  • The MERGE method is called after campaign determination and groups campaigns that already existed and campaigns that have just been determined into one result.
  • You can use the methods SUBITEM_BEFORE_DETERMINATION and SUBITEM_NO_DETERMINATION specially for campaign assignment for subitems. Method SUBITEM_BEFORE_DETERMINATION is called immediately before campaign determination for the subitem. Method SUBITEM_NO_DETERMINATION is called if no campaign determination is taking place for the subitem. You can use both methods to copy.

Requirements

Standard settings

The standard logic is found in the default implementation CMPD_ASSIGNMENT_MERGE_STD. The following is implemented there:

  • After the new campaign determination, the manually assigned campaigns are transferred to the result. The campaigns determined automatically during campaign determination are added, provided they have not already been assigned manually. (The campaigns assigned automatically before campaign determination are not copied to the result.)
  • When you create a subitem, the campaigns that were manually assigned to the main item are copied before campaign determination takes place for the subitem (method SUBITEM_BEFORE_DETERMINATION). If campaign determination is not to be carried out for the subitem, all campaigns assigned to the main campaign are copied when the subitem is created (method SUBITEM_NO_DETERMINATION).

Activities

If you want to use a different logic, create your own implementation. You can use the default implementation as a template.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050427 
SAP Release Created in 600