SAP /SCMTMS/CL_BUFVAR_DISPATCHER OO Class - Buffer variants dispatcher for TM
/SCMTMS/CL_BUFVAR_DISPATCHER is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /SCMTMS/CL_BUFVAR_DISPATCHER including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Inheritance
This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for /SCMTMS/CL_BUFVAR_DISPATCHER is /BOBF/CL_BUF_DISPATCHERMethod list of /SCMTMS/CL_BUFVAR_DISPATCHER SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| ACCEPT_BUFFER_VARIANT | Accept one buffer variant and delete all other variants | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>ACCEPT_BUFFER_VARIANT...more details | ||
| COMPENSATE_NOTIFICATIONS | Calculate compensating create and delete notifications | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>COMPENSATE_NOTIFICATIONS...more details | ||
| CONSTRUCTOR | CONSTRUCTOR | Public |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>CONSTRUCTOR...more details | ||
| DELETE_DUPLICATES_FROM_CHANGE | Delete duplicate change notifications from change object | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>DELETE_DUPLICATES_FROM_CHANGE...more details | ||
| DEL_BUFFER_VARIANT | Delete all buffer instances of a specific buffer variant | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>DEL_BUFFER_VARIANT...more details | ||
| DETERMINE_CHANGED_INSTANCES | Determine changed instances within a buf.var./node | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>DETERMINE_CHANGED_INSTANCES...more details | ||
|
| ||
| GET_BUFFER_VARIANTS_COUNT | Get number of used buffer variants | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_BUFFER_VARIANTS_COUNT...more details | ||
| GET_BUFFER_VARIANT_BOS | Get list of BOs being touched by one buffer variant | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_BUFFER_VARIANT_BOS...more details | ||
| GET_CHANGE_NOTIFICATIONS | Calculate compensating create and delete notifications | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_CHANGE_NOTIFICATIONS...more details | ||
| GET_CURRENT_BUFFER_VARIANT_ID | Get ID of current buffer variant | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_CURRENT_BUFFER_VARIANT_ID...more details | ||
| GET_DERIVED_BUFVAR | Get derived buffer variant | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_DERIVED_BUFVAR...more details | ||
| GET_FREE_BUFFER_VARIANT_ID | Get next free buffer variant | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_FREE_BUFFER_VARIANT_ID...more details | ||
| GET_PARENT_BUFVAR | Get parent buffer variants | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_PARENT_BUFVAR...more details | ||
| GET_REF_BY_MODIFICATION | returns the buffer instances for the modification | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_REF_BY_MODIFICATION...more details | ||
| MERGE_COMPENSATING_CHANGES | Merge comensating changes into transactional change object | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>MERGE_COMPENSATING_CHANGES...more details | ||
| PROTECT_BUFFER_VARIANT | Protect buffer variant against modificaions | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>PROTECT_BUFFER_VARIANT...more details | ||
| REGISTER_OBSOLETE_MESSAGES | Register obsolete messages at bufvar helper | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>REGISTER_OBSOLETE_MESSAGES...more details | ||
| RELEASE_BUFFER_VARIANT | Remove a deleted buffer variant from registry | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>RELEASE_BUFFER_VARIANT...more details | ||
| RESET_HOST_BO_KEY | Reset host bo key after DO modify via delegation class | Public |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>RESET_HOST_BO_KEY...more details | ||
| SET_BUFFER_VARIANT | Set active buffer variant | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>SET_BUFFER_VARIANT...more details | ||
| SET_HOST_BO_KEY | Set host bo key before DO modify via delegation class | Public |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>SET_HOST_BO_KEY...more details | ||
| UNPROTECT_BUFFER_VARIANT | Unprotect buffer variant against modificaions | Private |
| CALL METHOD /scmtms/cl_bufvar_dispatcher=>UNPROTECT_BUFFER_VARIANT...more details | ||
/SCMTMS/CL_BUFVAR_DISPATCHER attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| C_INITIAL_BO_KEY | Constant | '00000000000000000000000000000000' | LIKE /BOBF/OBM_BO_KEY | Private | |
| GT_BUF_VAR_STACK_UNDO | Static Attribute | LIKE | Private | ||
| MO_CONF | Instance Attribute | Interface for Configuration | LIKE /BOBF/IF_FRW_CONFIGURATION | Private | |
| MT_BUFFERS | Instance Attribute | List of different buffer instances | LIKE TT_BUFVAR_BUFFER | Private | |
| MT_BUFVAR_REG | Static Attribute | Buffer variants registry | LIKE TT_BUFVAR_REG | Private | |
| MT_COMP | Instance Attribute | All compositions | LIKE /BOBF/T_CONFRO_ASSOC2 | Private | |
| MT_COMPENSATED_DO | Static Attribute | Already compensated DO instances | LIKE /BOBF/T_FRW_KEY | Private | |
| MT_MOD_BOS | Static Attribute | Modified BOs | LIKE /BOBF/T_FRW_KEY | Private | |
| MT_NODE_BUFFERS | Instance Attribute | Mapping btw. nodes and different buffer instances | LIKE TT_NODE_BUFVAR | Private | |
| MV_BO_KEY | Instance Attribute | Business Object | LIKE /BOBF/OBM_BO_KEY | Private | |
| MV_CURRENT_BUFFER_VARIANT | Static Attribute | Current buffer variant | /SCMTMS/CL_BUFVAR_DISPATCHER=>SC_ACTIVE_BUFFER_VARIANT | LIKE /SCMTMS/BUFFER_VARIANT | Private |
| MV_HOST_BO_KEY | Static Attribute | Current host BO (only set in case of MODIFY DO) | LIKE /BOBF/OBM_BO_KEY | Private | |
| MV_HOST_NODE_KEY | Static Attribute | Current host dependent node | LIKE /BOBF/OBM_NODE_KEY | Private | |
| SC_ACTIVE_BUFFER_VARIANT | Constant | Active buffer variant | 0 | LIKE /SCMTMS/BUFFER_VARIANT | Public |
Events of Class /SCMTMS/CL_BUFVAR_DISPATCHER
Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... BUFVAR_HIERARCHY_CHANGED - BufferVariantHierarchyChanged event/SCMTMS/CL_BUFVAR_DISPATCHER types
TT_BUFVAR_BUFFER - Buffer variants per bufferTT_BUFVAR_REG - Buffer variants registry
TT_NODE_BUFVAR - Buffer variants per node
TY_BUFVAR_BUFFER - Buffer variants per buffer
TY_BUFVAR_REG - Buffer variants registry
TY_NODE_BUFVAR - Buffer variants per node
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects