SAP /SCMTMS/CL_BUFVAR_HELPER OO Class - Buffer variants helper









/SCMTMS/CL_BUFVAR_HELPER 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_HELPER including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events



Method list of /SCMTMS/CL_BUFVAR_HELPER 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_VARIANT_BOAccept one Buffer Variant and release all othersPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>ACCEPT_BUFFER_VARIANT_BO...more details

ACCEPT_BUFFER_VARIANT_TAAccept buffer variant for the whole transactionPublic
CALL METHOD /scmtms/cl_bufvar_helper=>ACCEPT_BUFFER_VARIANT_TA...more details

CHECK_BUFFER_VARIANT_EXISTSCheck if buffer variant existsPublic
CALL METHOD /scmtms/cl_bufvar_helper=>CHECK_BUFFER_VARIANT_EXISTS...more details

CHECK_FOR_NOBUFVAR_DOCheck for no-buffer-variants DO in the current transactionPublic
CALL METHOD /scmtms/cl_bufvar_helper=>CHECK_FOR_NOBUFVAR_DO...more details

CREATE_SUCC_BUFFER_VARIANTCreate a succeeding buffer variantPublic
CALL METHOD /scmtms/cl_bufvar_helper=>CREATE_SUCC_BUFFER_VARIANT...more details

DELETE_BUFFER_VARIANT_BODelete buffer variant from //CL_BUFVAR_DISPATCHERPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>DELETE_BUFFER_VARIANT_BO...more details

DELETE_BUFFER_VARIANT_TADelete buffer variant for the whole transactionPublic
CALL METHOD /scmtms/cl_bufvar_helper=>DELETE_BUFFER_VARIANT_TA...more details

DETECT_REMOVE_SECOND_REDO_PATHSearch for 2nd valid redo path->if there is older is removedPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>DETECT_REMOVE_SECOND_REDO_PATH...more details

DETERMINE_CHANGED_INSTANCESDetermine changed instances for a specific node and buf.var.Public
CALL METHOD /scmtms/cl_bufvar_helper=>DETERMINE_CHANGED_INSTANCES...more details

DETERMINE_LOCK_GROUPDetermine the node instance lock group of a BOPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>DETERMINE_LOCK_GROUP...more details

FILTER_OBSOLETE_MESSAGESFilter messages of obsolete buffer variantsPublic
CALL METHOD /scmtms/cl_bufvar_helper=>FILTER_OBSOLETE_MESSAGES...more details

GET_BUFFER_VARIANTGet current buffer variant of //CL_BUFVAR_DISPATCHERPublic
CALL METHOD /scmtms/cl_bufvar_helper=>GET_BUFFER_VARIANT...more details

GET_BUFFER_VARIANTS_COUNTGet number of used buffervariants of a BOPublic
CALL METHOD /scmtms/cl_bufvar_helper=>GET_BUFFER_VARIANTS_COUNT...more details

GET_EARLIEST_UNDO_PREDEC_BVIs the current BV a BV created from UndoPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>GET_EARLIEST_UNDO_PREDEC_BV...more details

GET_LAST_UNDO_BV_WITH_CHANGESGet the last BV with changes from undo stackPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>GET_LAST_UNDO_BV_WITH_CHANGES...more details

GET_NEXT_REDO_BVGet the last BV with changes from undo stackPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>GET_NEXT_REDO_BV...more details

GET_UNDO_STACK_SIZEGet the current size of undo stackPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>GET_UNDO_STACK_SIZE...more details

HAS_CHANGESCheck if buffer variant containes any changesPublic
CALL METHOD /scmtms/cl_bufvar_helper=>HAS_CHANGES...more details

IS_CURRENT_BV_IS_A_UNDO_BVIs the current BV a BV created from UndoPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>IS_CURRENT_BV_IS_A_UNDO_BV...more details

MERGE_FIRST_UNDO_BV_TO_ACTIVEMerges the first (oldest) variant of the stack to active BVPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>MERGE_FIRST_UNDO_BV_TO_ACTIVE...more details

PROTECT_BUFFER_VARIANTProtect buffer variant against modificaionsPublic
CALL METHOD /scmtms/cl_bufvar_helper=>PROTECT_BUFFER_VARIANT...more details

REGISTER_OBSOLETE_MESSAGE_KEYSRegister keys of messages of obsolete buffer variantsPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>REGISTER_OBSOLETE_MESSAGE_KEYS...more details

REGISTER_UNDOOpen a new BV and register it in undo stackPrivate
CALL METHOD /scmtms/cl_bufvar_helper=>REGISTER_UNDO...more details

RELOAD_BUFFER_AFTER_OLOCK_LOSSReload buffer variant buffers after loss of O-LocksPublic
CALL METHOD /scmtms/cl_bufvar_helper=>RELOAD_BUFFER_AFTER_OLOCK_LOSS...more details

SET_BUFFER_VARIANTSet buffer variant into //CL_BUFVAR_DISPATCHERPublic
CALL METHOD /scmtms/cl_bufvar_helper=>SET_BUFFER_VARIANT...more details

UNPROTECT_BUFFER_VARIANTUnprotect buffer variant against modificaionsPublic
CALL METHOD /scmtms/cl_bufvar_helper=>UNPROTECT_BUFFER_VARIANT...more details



/SCMTMS/CL_BUFVAR_HELPER 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
MO_BUFStatic AttributeInterface to the Data LayerLIKE
/BOBF/IF_FRW_BUFFER
Private
MO_CONFStatic AttributeInterface for ConfigurationLIKE
/BOBF/IF_FRW_CONFIGURATION
Private
MT_OBSOLETE_MESSAGE_KEYStatic AttributeMessage keys of obsolete buffer variantsLIKE
/BOBF/T_FRW_KEY
Private
MV_BUFVAR_DISPATCHER_NAMEStatic AttributeBuffer variant dispatcher classSC_BUFVAR_DISPATCHERLIKE
SEOCLSNAME
Public
SC_ACTIVE_BUFFER_VARIANTConstantActive buffer variant/SCMTMS/CL_BUFVAR_DISPATCHER=>SC_ACTIVE_BUFFER_VARIANTLIKE
/SCMTMS/BUFFER_VARIANT
Public
SC_BUFVAR_DISPATCHERConstantBuffer variant dispatcher class'/SCMTMS/CL_BUFVAR_DISPATCHER'LIKE
SEOCLSNAME
Public


Events of Class /SCMTMS/CL_BUFVAR_HELPER

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_ACCEPTED - AcceptBufferVariant event
BUFVAR_CREATED - CreateVufferVariant event



/SCMTMS/CL_BUFVAR_HELPER types

TS_BV_STACK -

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!