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 R3up  
This 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

CL_CRM_MKTPL_HEADER_ITEM

Implemented Interfaces

None

Friend Classes

None

Subclasses

None

__________________________________________________________

Methods

CONSTRUCTOR

Public CONSTRUCTOR(

IMPORTINGCL_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_ATTRIBUTESThe attributes of the assignment item
- IV_CREATE_MODEThe 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_COLLECTIThe parent assignment collection

Exceptions

- CX_CRM_MKTGS_CARDINALITYThis exception occurs when a cardinality violation occurs
- CX_CRM_MKTGS_DUPLICATE_KEYThis exception occurs when a duplicate key is passed
- CX_CRM_MKTGS_INVALID_KEYThis exception occurs when an invalid key is passed
- CX_CRM_MKTGS_NO_CHANGE_MODEThis exception occurs when the assignment collection is not changeable

________________________________________________________________________

COPY

Redefined Public CL_CRM_MKTGS_ASG_ITEM COPY(

IMPORTINGCL_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(

IMPORTINGCRMS_MKTPL_OL_ATTRIBUTES_ALL IS_ATTRIBUTES_OLD
CHANGINGCRMS_MKTPL_OL_ATTRIBUTES_ALL CS_ATTRIBUTES_NEW

)

This defaulting is not supported by this object type

Parameters

- IS_ATTRIBUTES_OLDOld attributes
- CS_ATTRIBUTES_NEWNew attributes

________________________________________________________________________

DEFAULT_SALES_AREA

Redefined Protected DEFAULT_SALES_AREA(

IMPORTINGCRMS_MKTPL_OL_ATTRIBUTES_ALL IS_ATTRIBUTES_OLD
CHANGINGCRMS_MKTPL_OL_ATTRIBUTES_ALL CS_ATTRIBUTES_NEW

)

This defaulting is not supported by this object type

Parameters

- IS_ATTRIBUTES_OLDOld attributes
- CS_ATTRIBUTES_NEWNew attributes

________________________________________________________________________

DELETE

Redefined Public DELETE(

IMPORTINGABAP_BOOL IV_NO_CHECK

)

This method does some delete processing for campaign
- deconnect shortcut
- delete process model

- IS_ATTRIBUTESCurrent attributes

________________________________________________________________________

FILL_EXT_FLAG_VALUES

Redefined Protected FILL_EXT_FLAG_VALUES(

CHANGINGCRMS_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_NEWCurrent 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(

IMPORTINGCRMS_MKTPL_OL_ATTRIBUTES_ALL IS_ATTRIBUTES_OLD
CHANGINGCRMS_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_OLDOld attributes
- CS_ATTRIBUTES_NEWNew attributes

________________________________________________________________________

SET_ATTRIBUTES_BEFORE

Redefined Protected SET_ATTRIBUTES_BEFORE(

IMPORTINGCRMS_MKTPL_OL_ATTRIBUTES_ALL IS_ATTRIBUTES_OLD
CHANGINGCRMS_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_OLDOld attributes
- CS_ATTRIBUTES_NEWNew attributes

________________________________________________________________________

SET_CAMPAIGN_TYPE

Redefined Protected SET_CAMPAIGN_TYPE(

IMPORTINGCRMS_MKTPL_OL_ATTRIBUTES_ALL IS_ATTRIBUTES_OLD
CHANGINGCRMS_MKTPL_OL_ATTRIBUTES_ALL CS_ATTRIBUTES_NEW

)

________________________________________________________________________

SET_CGPL_DATES_AFTER

Redefined Protected SET_CGPL_DATES_AFTER(

IMPORTINGCRMS_MKTPL_OL_ATTRIBUTES_ALL IS_ATTRIBUTES_OLD
CHANGINGCRMS_MKTPL_OL_ATTRIBUTES_ALL CS_ATTRIBUTES_NEW

)

This method triggers the CGPL date dependent changes
- trigger plan dates changes to CA

Parameters

- IS_ATTRIBUTES_OLDOld attributes
- CS_ATTRIBUTES_NEWNew 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 )