CL_CRM_MKTPL_HEADER_SPG_ITEM - MKTPL OL: Campaign Header Assignment
CL_GUI_FRONTEND_SERVICES - Frontend Services SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
>>> Development Documentation generated by DocuGenerator v2.0 (only available in English => NO TRANSLATION!!!) <<<
General Class Description
This class is the header assignment of the campaign
It is responsible for managing the campaign header attributes
__________________________________________________________
Class Info
| Name: | CL_CRM_MKTPL_HEADER_SPG_ITEM |
| Instantiation: | Public |
Superclass
Implemented Interfaces
None
Friend Classes
None
Subclasses
None
__________________________________________________________
Methods
CONSTRUCTOR
Public CONSTRUCTOR(
| IMPORTING | CL_CRM_MKTGS_ASG_COLLECTION | IR_ASSIGNMENT_COLLECTION |
| ANY | IS_ATTRIBUTES | |
| CRM_MKTGS_CREATE_MODE | IV_CREATE_MODE |
)
This contstructor
- calls the super constructor
- calls the SET_ATTRIBUTES in case of new
- calls the ADJUST_COPY_ATTRIBUTES in case of copy
- updates the attributes with the cgpl attributes if no new object
- initializes the field attributes
| - | IS_ATTRIBUTES | The attributes of the assignment item |
| - | IV_CREATE_MODE | The type of creation: |
| - loading -> cl_crm_mktgs_constants=>create_mode_loading | ||
| - copying -> cl_crm_mktgs_constants=>create_mode_copying | ||
| - new -> cl_crm_mktgs_constants=>create_mode_new | ||
| - | IR_PARENT_ASSIGNMENT_COLLECTI | The parent assignment collection |
Exceptions
| - | CX_CRM_MKTGS_CARDINALITY | This exception occurs when a cardinality violation occurs |
| - | CX_CRM_MKTGS_DUPLICATE_KEY | This exception occurs when a duplicate key is passed |
| - | CX_CRM_MKTGS_INVALID_KEY | This exception occurs when an invalid key is passed |
| - | CX_CRM_MKTGS_NO_CHANGE_MODE | This exception occurs when the assignment collection is not changeable |
| ________________________________________________________________________ |
|---|
COPY
Redefined Public CL_CRM_MKTGS_ASG_ITEM COPY(
| IMPORTING | CL_CRM_MKTGS_ASG_COLLECTION | IR_ASSIGNMENT_COLLECTION |
)
This method copies the campaign automation process model information after the item has been copied
| ________________________________________________________________________ |
|---|
DEFAULT_PLANNING_CUSTOMER
Redefined Protected DEFAULT_PLANNING_CUSTOMER(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_OLD |
| CHANGING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | CS_ATTRIBUTES_NEW |
)
This defaulting is not supported by this object type
Parameters
| - | IS_ATTRIBUTES_OLD | Old attributes |
| - | CS_ATTRIBUTES_NEW | New attributes |
| ________________________________________________________________________ |
|---|
DEFAULT_SALES_AREA
Redefined Protected DEFAULT_SALES_AREA(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_OLD |
| CHANGING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | CS_ATTRIBUTES_NEW |
)
This defaulting is not supported by this object type
Parameters
| - | IS_ATTRIBUTES_OLD | Old attributes |
| - | CS_ATTRIBUTES_NEW | New attributes |
| ________________________________________________________________________ |
|---|
DELETE
Redefined Public DELETE(
| IMPORTING | ABAP_BOOL | IV_NO_CHECK |
)
This method does some delete processing for campaign
- deconnect shortcut
- delete process model
| - | IS_ATTRIBUTES | Current attributes |
| ________________________________________________________________________ |
|---|
FILL_EXT_FLAG_VALUES
Redefined Protected FILL_EXT_FLAG_VALUES(
| CHANGING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | CS_ATTRIBUTES |
)
This method fills the external flag values (inverting of internal flag values)
- campaign automation process model flag
| - | CS_ATTRIBUTES_NEW | Current attributes |
| ________________________________________________________________________ |
|---|
INITIALIZE_FIELD_ATTRIBUTES
Redefined Protected ABAP_BOOL INITIALIZE_FIELD_ATTRIBUTES( )
This method initializes the field attributes for campaigns
It performs the following logic
- Set the supported fields to changeable
| ________________________________________________________________________ |
|---|
SET_ATTRIBUTES_AFTER
Redefined Protected SET_ATTRIBUTES_AFTER(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_OLD |
| CHANGING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | CS_ATTRIBUTES_NEW |
)
This method prepares the attributes after they are set
The following logic is performed:
- Update the process model
Parameters
| - | IS_ATTRIBUTES_OLD | Old attributes |
| - | CS_ATTRIBUTES_NEW | New attributes |
| ________________________________________________________________________ |
|---|
SET_ATTRIBUTES_BEFORE
Redefined Protected SET_ATTRIBUTES_BEFORE(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_OLD |
| CHANGING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | CS_ATTRIBUTES_NEW |
)
This method prepares the CAMPAIGN attributes before they are set
The following logic is performed:
- Perform the logic of the super class first
- Clear the not supported fields
- Set the read-only attributes to the old value -> no change allowed
Parameters
| - | IS_ATTRIBUTES_OLD | Old attributes |
| - | CS_ATTRIBUTES_NEW | New attributes |
| ________________________________________________________________________ |
|---|
SET_CAMPAIGN_TYPE
Redefined Protected SET_CAMPAIGN_TYPE(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_OLD |
| CHANGING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | CS_ATTRIBUTES_NEW |
)
| ________________________________________________________________________ |
|---|
SET_CGPL_DATES_AFTER
Redefined Protected SET_CGPL_DATES_AFTER(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_OLD |
| CHANGING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | CS_ATTRIBUTES_NEW |
)
This method triggers the CGPL date dependent changes
- trigger plan dates changes to CA
Parameters
| - | IS_ATTRIBUTES_OLD | Old attributes |
| - | CS_ATTRIBUTES_NEW | New attributes |
ROGBILLS - Synchronize billing plans CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 14448 Date: 20120526 Time: 113920 triton ( 135 ms )






