CL_CRM_MKTPL_HEADER_AGR_ITEM - MKTPL OL: Agreement Header Assignment Item Class
ROGBILLS - Synchronize billing plans Addresses (Business Address Services)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 Agreement
It is responsible for managing the Agreement header attributes
__________________________________________________________
Class Info
| Name: | CL_CRM_MKTPL_HEADER_AGR_ITEM |
| Instantiation: | Public |
Superclass
Implemented Interfaces
None
Friend Classes
None
Subclasses
None
__________________________________________________________
Methods
CHECK_AUTHORITY_OBJECT
Redefined Protected ABAP_BOOL CHECK_AUTHORITY_OBJECT(
| IMPORTING | ACTIV_AUTH | IV_ACTIVITY |
)
| ________________________________________________________________________ |
|---|
CHECK_PLANNING_CUSTOMER
Redefined Protected ABAP_BOOL CHECK_PLANNING_CUSTOMER(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES |
)
| ________________________________________________________________________ |
|---|
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 |
| ________________________________________________________________________ |
|---|
DEFAULT_CAMPAIGN_TYPE_VALUES
Redefined Protected DEFAULT_CAMPAIGN_TYPE_VALUES(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_OLD |
| CHANGING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | CS_ATTRIBUTES_NEW |
)
This method defaults values from the campaign type customizing
The following logic is performed:
- Default the status profile if not set yet
- Default the action profile if not set yet
- Default the partner determination procedure if not yet set
- Default the usage/reference type if not set yet
- Default the communication channel if not set yet
Parameters
| - | IS_ATTRIBUTES_OLD | Old attributes |
| - | CS_ATTRIBUTES_NEW | New attributes |
| ________________________________________________________________________ |
|---|
DEFAULT_CURRENCY
Redefined Protected DEFAULT_CURRENCY(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_OLD |
| CHANGING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | CS_ATTRIBUTES_NEW |
)
This method defaults the currency
The following logic is performed:
- Abort if currency is already filled
- If the marketing organization is filled, try to get the currency from there
- If not and the sales organization is filled, try to get the currency from there
Parameters
| - | IS_ATTRIBUTES_OLD | Old attributes |
| - | CS_ATTRIBUTES_NEW | New attributes |
| ________________________________________________________________________ |
|---|
DEFAULT_MKT_ORG
Redefined Protected DEFAULT_MKT_ORG(
| 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 |
| ________________________________________________________________________ |
|---|
FREE
Redefined Public FREE( )
| ________________________________________________________________________ |
|---|
GET_AUTHORITY_OBJECT
Redefined Protected GET_AUTHORITY_OBJECT(
| EXPORTING | XUOBJECT | EV_AUTHORITY_MKTPL_RESP |
| XUOBJECT | EV_AUTHORITY_MKTPL_CPTY | |
| XUOBJECT | EV_AUTHORITY_MKTPL_CLNK | |
| XUOBJECT | EV_AUTHORITY_MKTPL_AUGR |
)
This method returns the authority objects for the specific fields
It generates the authority objects with the object type for the fields
- employee responsible
- authority group
| - | EV_AUTHORITY_MTKPL_RESP | Authority object for field 'employee responsible' |
| - | EV_AUTHORITY_MTKPL_AUGR | Authority object for field 'authority group' |
| ________________________________________________________________________ |
|---|
INITIALIZE_FIELD_ATTRIBUTES
Redefined Protected ABAP_BOOL INITIALIZE_FIELD_ATTRIBUTES( )
This method initializes the field attributes for agreement
It performs the following logic
- Set the supported fields to changeable
| ________________________________________________________________________ |
|---|
ON_PLANNING_ACCOUNT_CHANGED
Private ON_PLANNING_ACCOUNT_CHANGED(
| IMPORTING | IR_PROJECT | |
| IR_TASK |
)
| ________________________________________________________________________ |
|---|
SET_ATTRIBUTES
Redefined Public SET_ATTRIBUTES(
| IMPORTING | ANY | IS_ATTRIBUTES |
)
| ________________________________________________________________________ |
|---|
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 |
)
After set attributes handling (e.g. defaulting)
| ________________________________________________________________________ |
|---|
SET_ATTRIBUTES_AFTER_TRIGGER
Redefined Protected SET_ATTRIBUTES_AFTER_TRIGGER(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_OLD |
| CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_NEW |
)
| ________________________________________________________________________ |
|---|
SYNCHRONIZE_PLANNING_ACCOUNT
Private SYNCHRONIZE_PLANNING_ACCOUNT(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_OLD |
| CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_NEW |
)
This method synchronizes the Planning Account from the header with
the corresponding partner function on the Parties Involved assignment block.
| ________________________________________________________________________ |
|---|
TRIGGER_KFP_COMPONENT
Redefined Protected TRIGGER_KFP_COMPONENT(
| IMPORTING | CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_OLD |
| CRMS_MKTPL_OL_ATTRIBUTES_ALL | IS_ATTRIBUTES_NEW |
)
ROGBILLS - Synchronize billing plans General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 16351 Date: 20120526 Time: 113742 triton ( 173 ms )






