CL_CRM_MKTPL_HEADER_PERS - Persistency Object For Assignment to Mkt Plan/Campaign Att.

rdisp/max_wprun_time - Maximum work process run time   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

>>> Development Documentation generated by DocuGenerator v2.0 (only available in English => NO TRANSLATION!!!) <<<

General Class Description

Persistency Object For Assignment to Mkt Plan/Campaign Att.

__________________________________________________________

Class Info

Name:CL_CRM_MKTPL_HEADER_PERS
Instantiation:Public

Superclass

CL_CRM_MKTPL_ASG_PERSISTENCY

Implemented Interfaces

None

Friend Classes

CL_CRM_MKTPL_HEADER_COLL
CL_CRM_MKTPL_HEADER_ITEM

Subclasses

None

__________________________________________________________

Methods

ARCHIVE_DELETE

Redefined Protected ARCHIVE_DELETE(

IMPORTINGSYTABIX IV_ARCHIVE_HANDLE

)

This method deletes the assignment database data once the data
has been put into archive

Parameters

- IV_ARCHIVE_HANDLEArchive handle

________________________________________________________________________

ARCHIVE_WRITE

Redefined Protected ARCHIVE_WRITE(

IMPORTINGCGPL_OBJECT_IDS IT_PROJECTS
CGPL_OBJECT_IDS IT_TASKS
SYTABIX IV_ARCHIVE_HANDLE

)

This method transfers the assignment database data to the archive

Parameters

- IT_PROJECTSTable with cgpl project guids of to be archived objects
- IT_TASKSTable with cgpl task guids of to be archived objects
- IV_ARCHIVE_HANDLEArchive handle

________________________________________________________________________

CHECK_CHANGES

Redefined Protected ABAP_BOOL CHECK_CHANGES( )

________________________________________________________________________

CHECK_SHORTCUT_IS_UNIQUE

Protected CHECK_SHORTCUT_IS_UNIQUE(

IMPORTINGCL_CRM_MKTPL_OL_MKTPROJECT IR_MKTPROJECT
COMT_PON_CAMPAIGN_SC IV_SHORTCUT
EXPORTINGCGPL_GUID16 EV_PROJECT_GUID
CGPL_GUID16 EV_TASK_GUID
SYUNAME EV_LOCKED_BY

)

________________________________________________________________________

CONNECT_SHORTCUT

Protected CONNECT_SHORTCUT(

IMPORTINGCL_CRM_MKTPL_OL_MKTPROJECT IR_MKTPROJECT
ABAP_BOOL IV_NONUNIQUE
COMT_PON_CAMPAIGN_SC IV_SHORTCUT

)

________________________________________________________________________

DECONNECT_SHORTCUT

Protected DECONNECT_SHORTCUT(

IMPORTINGCOMT_PON_CAMPAIGN_SC IV_SHORTCUT
CL_CRM_MKTPL_OL_MKTPROJECT IR_MKTPROJECT

)

________________________________________________________________________

FETCH

Redefined Protected FETCH(

IMPORTINGCRMT_MKTGS_ASG_PERSISTENCY_DAT IT_PERSISTENCY_DATA

)

This method fetches the data from the database, creates the assignment items and
appends them to the assignment collection

Parameters

- IT_PERSISTENCY_DATATable with fetch information (key, collection reference)

________________________________________________________________________

FETCH_DB

Redefined Protected FETCH_DB(

IMPORTINGCRMT_MKTGS_ASG_PERSISTENCY_DAT IT_PERSISTENCY_DATA
CRM_MKTGS_DB_TABLE_NAME IV_DB_TABLE_NAME
CHANGINGTABLE CT_DB_DATA

)

This method fetches the header attributes from the two header tables (historical reasons)
- CRM_MKTPL_ATTR
- CRM_MKTPL_TPATTR

Parameters

- IT_PERSISTENCY_DATATable with fetch information (key)
- IV_DB_TABLE_NAMEDatabase table name
- CT_DB_DATAGeneric table datacontainer

________________________________________________________________________

GET_CHANGED_BUSINESS_OBJECTS

Protected GET_CHANGED_BUSINESS_OBJECTS(

IMPORTINGABAP_BOOL IV_RETURN_PROJECTS_ONLY
EXPORTINGSIBFLPORBT ET_ARCHIVED_BUSINESS_OBJECTS
SIBFLPORBT ET_CHANGED_BUSINESS_OBJECTS
SIBFLPORBT ET_CREATED_BUSINESS_OBJECTS
SIBFLPORBT ET_DELETED_BUSINESS_OBJECTS

)

This method collects business object information about the changed objects

________________________________________________________________________

INITIALIZE

Redefined Protected INITIALIZE( )

________________________________________________________________________

MERGE_ARCHIVE_ATTRIBUTES

Private MERGE_ARCHIVE_ATTRIBUTES(

IMPORTINGCRMT_MKTPL_ATTR IT_MKTPL_ATTR
CRMT_MKTPL_TPATTR IT_MKTPL_TPATTR
CHANGINGTABLE CT_DB_DATA

)

________________________________________________________________________

NOTE_ITEM_FOR_DELETION

Redefined Protected NOTE_ITEM_FOR_DELETION(

IMPORTINGCL_CRM_MKTGS_ASG_ITEM IR_ASSIGNMENT_ITEM

)

This method marks the external id for deletion

Parameters

- IR_ASSIGNMENT_ITEMAssignment item to be deleted

________________________________________________________________________

NOTE_ITEM_FOR_UPDATE_EXT_ID

Protected NOTE_ITEM_FOR_UPDATE_EXT_ID(

IMPORTINGCL_CRM_MKTGS_ASG_ITEM IR_ASSIGNMENT_ITEM

)

________________________________________________________________________

SAVE

Redefined Protected SAVE( )

This method collects the change information and puts it into the update task

________________________________________________________________________

SET_OBJECT_MOVING_LOCKED

Protected SET_OBJECT_MOVING_LOCKED( )

This method collects business object information about the changed objects

________________________________________________________________________

SET_OBJECT_STATE

Redefined Protected SET_OBJECT_STATE(

IMPORTINGCL_CRM_MKTGS_ASG_ITEM IR_ASSIGNMENT_ITEM

)

________________________________________________________________________

WRITE_BI_DELTA_QUEUES

Protected WRITE_BI_DELTA_QUEUES( )

This method collects the information relevant for writing the BI delta queues and
triggers the delta queue update. It distinguishes between non-MDF and MDF objects
because MDF objects have their own datasources and delta queues. Templates are
ignored because they are not relevant for BI extraction.
- Collect all created & changed guids
- Collect all renamed & deleted external ids (key field in BI)

________________________________________________________________________

WRITE_CHANGEDOCUMENTS

Redefined Protected WRITE_CHANGEDOCUMENTS(

IMPORTINGCL_CRM_MKTGS_ASG_ITEM IR_ASSIGNMENT_ITEM
ANY IS_ATTRIBUTES_NEW
ANY IS_ATTRIBUTES_OLD

)

This method writes the change documents of the assignment items if provided
by passing the new and old attributes to the change document handler

Parameters

- IR_ASSIGNMENT_ITEMAssignment item
- IS_ATTRIBUTES_NEWNew attributes
- IS_ATTRIBUTES_OLDOld attributes



CPI1466 during Backup   General Material Data  
This documentation is copyright by SAP AG.


Length: 16881 Date: 20120526 Time: 113908     triton ( 156 ms )