Entering content frame

Background documentation CL_WD_CONTEXT_SERVICES Locate the document in its SAP Library structure

Class CL_WD_CONTEXT_SERVICES is used for identify context changes. This refers to all changes including those made by programs (see Structure linkContext Change Log, for which only the user input is recorded). Normally the context change log should be used.

Methods

SUBSCRIBE_TO_NODE_CHANGES

Method for registering changes to context nodes. A list of nodes is transferred.

UNSUBSCRIBE_FROM_NODE_CHANGES

Method for deregistering changes to a list of nodes.

UNSUBSCRIBE_ALL

Method for the complete deregistration of changes.

DEACTIVATE_SUBSCRIPTIONS

Method for temporarily deactivating changes to registrations.

ACTIVATE_SUBSCRIPTIONS

Method for reactivating changes to registrations.

GET_CHANGE_LIST

Method for getting the change list with optional reset.

RESET_CHANGE_LIST

Method for resetting the change list.

 

To process these changes:

...

       1.      Create an instance of class CL_WD_CONTEXT_SERVICES.

       2.      Register for a set of nodes using SUBSCRIBE_TO_NODE_CHANGES.

       3.      Get and rest the change list at regular intervals using GET_CHANGE_LIST.

       4.      If necessary, switch the change recording using (DE-)ACTIVATE_SUBSCRIPTIONS temporarily to off and on again.

       5.      Delete the registration of the change recording.

 

The following methods provide information on the nodes to be mapped and their originals. They are mainly used to dynamically create binding path in views to mapping nodes.

·        GET_NODE_METAPATH_FOR_CTRL

·        GET_MAPPED_NODE_FOR_CONTROLLER

·        GET_ORIGINAL_NODE

·        GET_ELEMENT_PATH_FOR_CTRL

 

Note

Beachten Sie, dass die folgenden Methoden veraltet sind. For this reason you should not use them.

·         UPDATE_NODE_FROM_TABLE_BY_KEY

·         UPDATE_ELEMENT_FROM_STRUCTURE

·         UPDATE_NODE_FROM_TABLE_BY_IND

·         GET_TABLE_FROM_NODE

 

 

Leaving content frame