CL_CRM_MKTRU_BRANCHINGELEMENT - Branching Element for Campaign Process Model

CPI1466 during Backup   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Functionality

This class represents branching elements in the process model of an automated (marketing) campaign.

Relationships

Example

Notes

  • The attributes of class CL_CRM_MKTRU_BRANCHINGELEMENT should be interpreted as follows:
  • GUID
    GUID for branching element object from database (Table CRMD_MKTRU_BE_H, component GUID)

  • CAMPAIGN
    Reference to marketing campaign whose process model contains the branching element object.

  • ORIGINAL_LANGUAGE
    Language in which the branching element object was created.

  • SHORT_TEXTS
    Current short descriptions of branching element objects in different languages.

  • SHORT_TEXTS_OLD
    Status of attribute SHORT_TEXTS before last save.

  • PROCESSING_MODE
    Current processing mode (for the rules) of the branching element objects (Table CRMD_MKTRU_BE_H, component PROCESSING_MODE)

  • PROCESSING_MODE_OLD
    Status of attribute PROCESSING_MODE before last save.

  • RANKED_RULES
    Current list of numbered rules belonging to the branching elementobject. Each line in this list consists of a number and a reference to a rule (see class CL_CRM_MKTRU_RULE;table CRMD_MKTRU_BE_R, components RANK and RULE_GUID). The number is taken as the '(processing) rank' for the relevant rule.
    IMPORTANT:
    1. the ranks in the list RANKED_RULES must be numbered from 1 to the maximum rank number with no gaps and each rank number must only be used once.
    2. the list RANKED_RULES must be sorted by rank.

  • RANKED_RULES_OLD
    Status of attribute RANKED_RULES before last save.

  • EDIT_MODE
    Editing mode of branching element object (' ' = Display, 'X' = Change).

A branching element object always has the 'old status', given by the attribute values GUID, SHORT_TEXTS_OLD,PROCESSING_MODE_OLD and RANKED_RULES_OLD, as well as a 'current status', given by the attribute values GUID, SHORT_TEXTS, PROCESSING_MODE and RANKED_RULES.

  • The methods of class CL_CRM_MKTRU_BRANCHINGELEMENT are as follows:
  • SET_xyz
    Set the value of the attribute xyz in branching element object

  • GET_xyz
    Delivers the value of attribute xyz in the branching element object

  • RESTORE
    Sets the current status of the branching element object back to its old status

  • COMMIT
    Sets the old status of the branching element object to its current status

  • ...

IMPORTANT:

A branching element object is marked to be saved to the database later, if it is attached to a change list in the class CL_CRM_MKTCA_DB_LAYER.

This can be achieved by calling up the method ADD_TO_CHANGELIST for the relevant branching element object.

After every change to a branching element object that should later be saved to the database, these methods should be called up!

Further information



ABAP Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.


Length: 3946 Date: 20120526 Time: 131835     triton ( 100 ms )