ACCEPT_BUFFER_VARIANT_BO SAP Method Accept one Buffer Variant and release all others









Below is documentation, parameters and attributes of ABAP Method ACCEPT_BUFFER_VARIANT_BO within SAP class /SCMTMS/CL_BUFVAR_HELPER. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMTMS/CL_BUFVAR_HELPER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method ACCEPT_BUFFER_VARIANT_BO can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method ACCEPT_BUFFER_VARIANT_BO

.

NameTypeData TypeDescriptionDefault Value
IV_BO_KEYImportingTYPE
/BOBF/OBM_BO_KEY
Business Object
IV_BUFFER_VARIANTImportingTYPE
/SCMTMS/BUFFER_VARIANT
Buffer variant
IV_CHANGE_COMP_UPDImportingTYPE
ABAP_BOOL
Return UPDATEs from other buffer variants in EO_CHANGE_COMP
IV_KEEP_CHILDRENImportingTYPE
ABAP_BOOL
Do not release children buffer variants
IV_TARGET_BUFFER_VARIANTImportingTYPE
/SCMTMS/BUFFER_VARIANT
Target buffer variant
EO_DISPATCHERExportingTYPE REF TO
/SCMTMS/CL_BUFVAR_DISPATCHER
Buffer variants dispatcher for TM
CO_CHANGEChangingTYPE REF TO
/BOBF/IF_FRW_CHANGE
Interface of Change Object
CO_CHANGE_COMPChangingTYPE REF TO
/BOBF/IF_FRW_CHANGE
Compensated change notifications



Exceptions of Method ACCEPT_BUFFER_VARIANT_BO

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_CO_CHANGE TYPE /BOBF/IF_FRW_CHANGE,
lv_CO_CHANGE_COMP TYPE /BOBF/IF_FRW_CHANGE,
lv_EO_DISPATCHER TYPE /SCMTMS/CL_BUFVAR_DISPATCHER,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_BUFFER_VARIANT TYPE /SCMTMS/BUFFER_VARIANT,
lv_IV_CHANGE_COMP_UPD TYPE ABAP_BOOL,
lv_IV_KEEP_CHILDREN TYPE ABAP_BOOL,
lv_IV_TARGET_BUFFER_VARIANT TYPE /SCMTMS/BUFFER_VARIANT,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_BUFVAR_HELPER=>ACCEPT_BUFFER_VARIANT_BO(
EXPORTING
IV_BO_KEY = lv_IV_BO_KEY
IV_BUFFER_VARIANT = lv_IV_BUFFER_VARIANT
IV_CHANGE_COMP_UPD = lv_IV_CHANGE_COMP_UPD
IV_KEEP_CHILDREN = lv_IV_KEEP_CHILDREN
IV_TARGET_BUFFER_VARIANT = lv_IV_TARGET_BUFFER_VARIANT
IMPORTING
EO_DISPATCHER = lv_EO_DISPATCHER
CHANGING
CO_CHANGE = lv_CO_CHANGE
CO_CHANGE_COMP = lv_CO_CHANGE_COMP ).

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!