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 Name | Description | Visability |
| ACCEPT_BUFFER_VARIANT_BO | Accept one Buffer Variant and release all others | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>ACCEPT_BUFFER_VARIANT_BO...more details | ||
| ACCEPT_BUFFER_VARIANT_TA | Accept buffer variant for the whole transaction | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>ACCEPT_BUFFER_VARIANT_TA...more details | ||
| CHECK_BUFFER_VARIANT_EXISTS | Check if buffer variant exists | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>CHECK_BUFFER_VARIANT_EXISTS...more details | ||
| CHECK_FOR_NOBUFVAR_DO | Check for no-buffer-variants DO in the current transaction | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>CHECK_FOR_NOBUFVAR_DO...more details | ||
| CREATE_SUCC_BUFFER_VARIANT | Create a succeeding buffer variant | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>CREATE_SUCC_BUFFER_VARIANT...more details | ||
| DELETE_BUFFER_VARIANT_BO | Delete buffer variant from //CL_BUFVAR_DISPATCHER | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>DELETE_BUFFER_VARIANT_BO...more details | ||
|
| ||
| DELETE_BUFFER_VARIANT_TA | Delete buffer variant for the whole transaction | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>DELETE_BUFFER_VARIANT_TA...more details | ||
| DETECT_REMOVE_SECOND_REDO_PATH | Search for 2nd valid redo path->if there is older is removed | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>DETECT_REMOVE_SECOND_REDO_PATH...more details | ||
| DETERMINE_CHANGED_INSTANCES | Determine changed instances for a specific node and buf.var. | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>DETERMINE_CHANGED_INSTANCES...more details | ||
| DETERMINE_LOCK_GROUP | Determine the node instance lock group of a BO | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>DETERMINE_LOCK_GROUP...more details | ||
| FILTER_OBSOLETE_MESSAGES | Filter messages of obsolete buffer variants | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>FILTER_OBSOLETE_MESSAGES...more details | ||
| GET_BUFFER_VARIANT | Get current buffer variant of //CL_BUFVAR_DISPATCHER | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>GET_BUFFER_VARIANT...more details | ||
| GET_BUFFER_VARIANTS_COUNT | Get number of used buffervariants of a BO | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>GET_BUFFER_VARIANTS_COUNT...more details | ||
| GET_EARLIEST_UNDO_PREDEC_BV | Is the current BV a BV created from Undo | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>GET_EARLIEST_UNDO_PREDEC_BV...more details | ||
| GET_LAST_UNDO_BV_WITH_CHANGES | Get the last BV with changes from undo stack | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>GET_LAST_UNDO_BV_WITH_CHANGES...more details | ||
| GET_NEXT_REDO_BV | Get the last BV with changes from undo stack | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>GET_NEXT_REDO_BV...more details | ||
| GET_UNDO_STACK_SIZE | Get the current size of undo stack | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>GET_UNDO_STACK_SIZE...more details | ||
| HAS_CHANGES | Check if buffer variant containes any changes | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>HAS_CHANGES...more details | ||
| IS_CURRENT_BV_IS_A_UNDO_BV | Is the current BV a BV created from Undo | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>IS_CURRENT_BV_IS_A_UNDO_BV...more details | ||
| MERGE_FIRST_UNDO_BV_TO_ACTIVE | Merges the first (oldest) variant of the stack to active BV | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>MERGE_FIRST_UNDO_BV_TO_ACTIVE...more details | ||
| PROTECT_BUFFER_VARIANT | Protect buffer variant against modificaions | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>PROTECT_BUFFER_VARIANT...more details | ||
| REGISTER_OBSOLETE_MESSAGE_KEYS | Register keys of messages of obsolete buffer variants | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>REGISTER_OBSOLETE_MESSAGE_KEYS...more details | ||
| REGISTER_UNDO | Open a new BV and register it in undo stack | Private |
| CALL METHOD /scmtms/cl_bufvar_helper=>REGISTER_UNDO...more details | ||
| RELOAD_BUFFER_AFTER_OLOCK_LOSS | Reload buffer variant buffers after loss of O-Locks | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>RELOAD_BUFFER_AFTER_OLOCK_LOSS...more details | ||
| SET_BUFFER_VARIANT | Set buffer variant into //CL_BUFVAR_DISPATCHER | Public |
| CALL METHOD /scmtms/cl_bufvar_helper=>SET_BUFFER_VARIANT...more details | ||
| UNPROTECT_BUFFER_VARIANT | Unprotect buffer variant against modificaions | Public |
| 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.
| Name | Level | Description | Initial Value | Type | Visability |
| MO_BUF | Static Attribute | Interface to the Data Layer | LIKE /BOBF/IF_FRW_BUFFER | Private | |
| MO_CONF | Static Attribute | Interface for Configuration | LIKE /BOBF/IF_FRW_CONFIGURATION | Private | |
| MT_OBSOLETE_MESSAGE_KEY | Static Attribute | Message keys of obsolete buffer variants | LIKE /BOBF/T_FRW_KEY | Private | |
| MV_BUFVAR_DISPATCHER_NAME | Static Attribute | Buffer variant dispatcher class | SC_BUFVAR_DISPATCHER | LIKE SEOCLSNAME | Public |
| SC_ACTIVE_BUFFER_VARIANT | Constant | Active buffer variant | /SCMTMS/CL_BUFVAR_DISPATCHER=>SC_ACTIVE_BUFFER_VARIANT | LIKE /SCMTMS/BUFFER_VARIANT | Public |
| SC_BUFVAR_DISPATCHER | Constant | Buffer 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 eventBUFVAR_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