CLASS /hec1/cx_bopf_config DEFINITION
  PUBLIC
  INHERITING FROM /bobf/cm_frw
  CREATE PUBLIC .

  PUBLIC SECTION.

    CONSTANTS:
      BEGIN OF sync_config_for_node,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '000',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF sync_config_for_node .
    CONSTANTS:
      BEGIN OF object_no_not_higher,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '001',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF object_no_not_higher .
    CONSTANTS:
      BEGIN OF sync_config_not_needed,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '040',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF sync_config_not_needed .
    CONSTANTS:
      BEGIN OF default_client_is_zero,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '042',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF default_client_is_zero.
    CONSTANTS:
      BEGIN OF sid_blacklisted,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '044',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF sid_blacklisted.
    CONSTANTS:
      BEGIN OF default_client_in_add_clients,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '043',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF default_client_in_add_clients.
    CONSTANTS:
      BEGIN OF mandatory_field_not_filled,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '002',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF mandatory_field_not_filled .
    CONSTANTS:
      BEGIN OF sync_config_successfully,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '041',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF sync_config_successfully .
    CONSTANTS:
      BEGIN OF config_saved,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '003',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE 'MV_ATTR2',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF config_saved .
    CONSTANTS:
      BEGIN OF save_before_submit_cdd,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '004',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF save_before_submit_cdd .
    CONSTANTS:
      BEGIN OF cdd_request_started,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '005',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF cdd_request_started .
    CONSTANTS:
      BEGIN OF phase_start_after_end,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '007',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF phase_start_after_end .
    CONSTANTS:
      BEGIN OF phase_wrong_timeframe,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '008',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE 'MV_ATTR2',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF phase_wrong_timeframe .
    CONSTANTS:
      BEGIN OF phase_assigned_no_delete,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '009',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF phase_assigned_no_delete .
    CONSTANTS:
      BEGIN OF phase_start_after_subphase,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '010',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF phase_start_after_subphase .
    CONSTANTS:
      BEGIN OF phase_end_before_subphase,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '011',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF phase_end_before_subphase .
    CONSTANTS:
      BEGIN OF phase_remove_assignment,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '012',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF phase_remove_assignment .
    CONSTANTS:
      BEGIN OF phase_no_valid_exist,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '013',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF phase_no_valid_exist .
    CONSTANTS:
      BEGIN OF phase_successor_is_missing,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '014',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF phase_successor_is_missing .
    CONSTANTS:
      BEGIN OF change_delete_standby_node,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '015',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF change_delete_standby_node .
    CONSTANTS:
      BEGIN OF change_add_standby_node,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '016',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF change_add_standby_node .
    CONSTANTS:
      BEGIN OF cloud_of_only_byol_adv_ed,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '017',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF cloud_of_only_byol_adv_ed .
    CONSTANTS:
      BEGIN OF phase_start_end_not_filled,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '023',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF phase_start_end_not_filled .
    CONSTANTS:
      BEGIN OF cloud_of_only_subscript,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '022',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF cloud_of_only_subscript .
    CONSTANTS:
      BEGIN OF cloud_of_only_subscript_adv,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '021',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF cloud_of_only_subscript_adv .
    CONSTANTS:
      BEGIN OF cloud_of_only_byol,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '018',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF cloud_of_only_byol .
    CONSTANTS:
      BEGIN OF cloud_of_only_cloud_start,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '019',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF cloud_of_only_cloud_start .
    CONSTANTS:
      BEGIN OF cloud_of_only_cloudadv_or_prod,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '020',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF cloud_of_only_cloudadv_or_prod .
    CONSTANTS:
      BEGIN OF node_limit_is_exceeded,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '024',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF node_limit_is_exceeded .
    CONSTANTS:
      BEGIN OF new_non_prod_tier_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '025',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_non_prod_tier_added .
    CONSTANTS:
      BEGIN OF new_prod_tier_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '026',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_prod_tier_added .
    CONSTANTS:
      BEGIN OF new_solution_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '027',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_solution_added .
    CONSTANTS:
      BEGIN OF new_server_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '028',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_server_added .
    CONSTANTS:
      BEGIN OF new_serv_perf_cat_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '029',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_serv_perf_cat_added .
    CONSTANTS:
      BEGIN OF new_master_node_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '030',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_master_node_added .
    CONSTANTS:
      BEGIN OF new_standby_node_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '031',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_standby_node_added .
    CONSTANTS:
      BEGIN OF new_worker_node_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '032',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_worker_node_added .
    CONSTANTS:
      BEGIN OF new_datacenter_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '033',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_datacenter_added .
    CONSTANTS:
      BEGIN OF new_connectivity_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '034',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_connectivity_added .
    CONSTANTS:
      BEGIN OF new_add_service_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '035',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_add_service_added .
    CONSTANTS:
      BEGIN OF new_tier_service_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '036',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_tier_service_added .
    CONSTANTS:
      BEGIN OF new_cust_network_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '037',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_cust_network_added .
    CONSTANTS:
      BEGIN OF new_storage_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '038',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_storage_added .
    CONSTANTS:
      BEGIN OF new_backup_added,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '039',
        attr1 TYPE scx_attrname VALUE 'MV_ATTR1',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF new_backup_added .
    CONSTANTS:
      BEGIN OF container_still_referenced,
        msgid TYPE symsgid VALUE '/HEC1/BO_CONFIG',
        msgno TYPE symsgno VALUE '045',
        attr1 TYPE scx_attrname VALUE '',
        attr2 TYPE scx_attrname VALUE '',
        attr3 TYPE scx_attrname VALUE '',
        attr4 TYPE scx_attrname VALUE '',
      END OF container_still_referenced .
    DATA mv_attr1 TYPE symsgv .
    DATA mv_attr2 TYPE symsgv .
    DATA mv_attr3 TYPE symsgv .
    DATA mv_attr4 TYPE symsgv .

    CLASS-METHODS class_constructor .
    METHODS constructor
      IMPORTING
        !textid                  LIKE if_t100_message=>t100key OPTIONAL
        !previous                LIKE previous OPTIONAL
        !severity                TYPE ty_message_severity OPTIONAL
        !symptom                 TYPE ty_message_symptom OPTIONAL
        !lifetime                TYPE ty_message_lifetime DEFAULT co_lifetime_transition
        !ms_origin_location      TYPE /bobf/s_frw_location OPTIONAL
        !mt_environment_location TYPE /bobf/t_frw_location OPTIONAL
        !mv_act_key              TYPE /bobf/act_key OPTIONAL
        !mv_assoc_key            TYPE /bobf/obm_assoc_key OPTIONAL
        !mv_bopf_location        TYPE /bobf/conf_key OPTIONAL
        !mv_det_key              TYPE /bobf/det_key OPTIONAL
        !mv_query_key            TYPE /bobf/obm_query_key OPTIONAL
        !mv_val_key              TYPE /bobf/val_key OPTIONAL
        !mv_attr1                TYPE symsgv OPTIONAL
        !mv_attr2                TYPE symsgv OPTIONAL
        !mv_attr3                TYPE symsgv OPTIONAL
        !mv_attr4                TYPE symsgv OPTIONAL .
protected section.
private section.
ENDCLASS.



CLASS /HEC1/CX_BOPF_CONFIG IMPLEMENTATION.


  method CLASS_CONSTRUCTOR.
  endmethod.


  method CONSTRUCTOR.
CALL METHOD SUPER->CONSTRUCTOR
EXPORTING
PREVIOUS = PREVIOUS
SEVERITY = SEVERITY
SYMPTOM = SYMPTOM
LIFETIME = LIFETIME
MS_ORIGIN_LOCATION = MS_ORIGIN_LOCATION
MT_ENVIRONMENT_LOCATION = MT_ENVIRONMENT_LOCATION
MV_ACT_KEY = MV_ACT_KEY
MV_ASSOC_KEY = MV_ASSOC_KEY
MV_BOPF_LOCATION = MV_BOPF_LOCATION
MV_DET_KEY = MV_DET_KEY
MV_QUERY_KEY = MV_QUERY_KEY
MV_VAL_KEY = MV_VAL_KEY
.
me->MV_ATTR1 = MV_ATTR1 .
me->MV_ATTR2 = MV_ATTR2 .
me->MV_ATTR3 = MV_ATTR3 .
me->MV_ATTR4 = MV_ATTR4 .
clear me->textid.
if textid is initial.
  IF_T100_MESSAGE~T100KEY = IF_T100_MESSAGE=>DEFAULT_TEXTID.
else.
  IF_T100_MESSAGE~T100KEY = TEXTID.
endif.
  endmethod.
ENDCLASS.
