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_DISPATCHER

Method 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 NameDescriptionVisability
ACCEPT_BUFFER_VARIANTAccept one buffer variant and delete all other variantsPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>ACCEPT_BUFFER_VARIANT...more details

COMPENSATE_NOTIFICATIONSCalculate compensating create and delete notificationsPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>COMPENSATE_NOTIFICATIONS...more details

CONSTRUCTORCONSTRUCTORPublic
CALL METHOD /scmtms/cl_bufvar_dispatcher=>CONSTRUCTOR...more details

DELETE_DUPLICATES_FROM_CHANGEDelete duplicate change notifications from change objectPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>DELETE_DUPLICATES_FROM_CHANGE...more details

DEL_BUFFER_VARIANTDelete all buffer instances of a specific buffer variantPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>DEL_BUFFER_VARIANT...more details

DETERMINE_CHANGED_INSTANCESDetermine changed instances within a buf.var./nodePrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>DETERMINE_CHANGED_INSTANCES...more details

GET_BUFFER_VARIANTS_COUNTGet number of used buffer variantsPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_BUFFER_VARIANTS_COUNT...more details

GET_BUFFER_VARIANT_BOSGet list of BOs being touched by one buffer variantPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_BUFFER_VARIANT_BOS...more details

GET_CHANGE_NOTIFICATIONSCalculate compensating create and delete notificationsPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_CHANGE_NOTIFICATIONS...more details

GET_CURRENT_BUFFER_VARIANT_IDGet ID of current buffer variantPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_CURRENT_BUFFER_VARIANT_ID...more details

GET_DERIVED_BUFVARGet derived buffer variantPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_DERIVED_BUFVAR...more details

GET_FREE_BUFFER_VARIANT_IDGet next free buffer variantPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_FREE_BUFFER_VARIANT_ID...more details

GET_PARENT_BUFVARGet parent buffer variantsPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_PARENT_BUFVAR...more details

GET_REF_BY_MODIFICATIONreturns the buffer instances for the modificationPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>GET_REF_BY_MODIFICATION...more details

MERGE_COMPENSATING_CHANGESMerge comensating changes into transactional change objectPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>MERGE_COMPENSATING_CHANGES...more details

PROTECT_BUFFER_VARIANTProtect buffer variant against modificaionsPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>PROTECT_BUFFER_VARIANT...more details

REGISTER_OBSOLETE_MESSAGESRegister obsolete messages at bufvar helperPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>REGISTER_OBSOLETE_MESSAGES...more details

RELEASE_BUFFER_VARIANTRemove a deleted buffer variant from registryPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>RELEASE_BUFFER_VARIANT...more details

RESET_HOST_BO_KEYReset host bo key after DO modify via delegation classPublic
CALL METHOD /scmtms/cl_bufvar_dispatcher=>RESET_HOST_BO_KEY...more details

SET_BUFFER_VARIANTSet active buffer variantPrivate
CALL METHOD /scmtms/cl_bufvar_dispatcher=>SET_BUFFER_VARIANT...more details

SET_HOST_BO_KEYSet host bo key before DO modify via delegation classPublic
CALL METHOD /scmtms/cl_bufvar_dispatcher=>SET_HOST_BO_KEY...more details

UNPROTECT_BUFFER_VARIANTUnprotect buffer variant against modificaionsPrivate
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.

NameLevelDescriptionInitial ValueTypeVisability
C_INITIAL_BO_KEYConstant'00000000000000000000000000000000'LIKE
/BOBF/OBM_BO_KEY
Private
GT_BUF_VAR_STACK_UNDOStatic AttributeLIKE
Private
MO_CONFInstance AttributeInterface for ConfigurationLIKE
/BOBF/IF_FRW_CONFIGURATION
Private
MT_BUFFERSInstance AttributeList of different buffer instancesLIKE
TT_BUFVAR_BUFFER
Private
MT_BUFVAR_REGStatic AttributeBuffer variants registryLIKE
TT_BUFVAR_REG
Private
MT_COMPInstance AttributeAll compositionsLIKE
/BOBF/T_CONFRO_ASSOC2
Private
MT_COMPENSATED_DOStatic AttributeAlready compensated DO instancesLIKE
/BOBF/T_FRW_KEY
Private
MT_MOD_BOSStatic AttributeModified BOsLIKE
/BOBF/T_FRW_KEY
Private
MT_NODE_BUFFERSInstance AttributeMapping btw. nodes and different buffer instancesLIKE
TT_NODE_BUFVAR
Private
MV_BO_KEYInstance AttributeBusiness ObjectLIKE
/BOBF/OBM_BO_KEY
Private
MV_CURRENT_BUFFER_VARIANTStatic AttributeCurrent buffer variant/SCMTMS/CL_BUFVAR_DISPATCHER=>SC_ACTIVE_BUFFER_VARIANTLIKE
/SCMTMS/BUFFER_VARIANT
Private
MV_HOST_BO_KEYStatic AttributeCurrent host BO (only set in case of MODIFY DO)LIKE
/BOBF/OBM_BO_KEY
Private
MV_HOST_NODE_KEYStatic AttributeCurrent host dependent nodeLIKE
/BOBF/OBM_NODE_KEY
Private
SC_ACTIVE_BUFFER_VARIANTConstantActive buffer variant0LIKE
/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 buffer
TT_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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!