/BOBF/CL_LIB_H_SET_PROPERTY - Typed helper class to set the properties of objects

BAL Application Log Documentation   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 helps to set the properties of different objects like actions, attributes, associations andsubtrees. The usage is limited to determination classes, because the determination context is needed as mandatory input parameter.

Example

Setting the properties of an action:

  1. Create an instance of the helper class

    DATA lo_set_property TYPE REF TO /bopf/cl_lib_h_set_property.
    CREATE OBJECT lo_set_property
    ,,EXPORTING ,,
    ,,,,is_context = is_ctx
    ,,,,io_modify = io_modify.
  2. Enable an action

    lo_set_property->set_action_enabled(
    ,,EXPORTING ,,
    ,,,,iv_key = ls_root-key
    ,,,,iv_action_key = /bopf/if_tst_cust_invoice_c=>sc_action-root-invoice_issued
    ,,,,iv_value = abap_false ).

Notes

Use the "SET_NODESUBTREE_CHANGE_ENABLED" method to enable (or disable) create, update and delete subtree properties with just one call.


Addresses (Business Address Services)   PERFORM Short Reference  
This documentation is copyright by SAP AG.


Length: 973 Date: 20120526 Time: 051858     triton ( 37 ms )