ACCEPT_BUFFER_VARIANT SAP Method Accept one buffer variant and delete all other variants









Below is documentation, parameters and attributes of ABAP Method ACCEPT_BUFFER_VARIANT within SAP class /SCMTMS/CL_BUFVAR_DISPATCHER. 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_DISPATCHER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

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

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


Parameters of Method ACCEPT_BUFFER_VARIANT

.

NameTypeData TypeDescriptionDefault Value
IV_BUFFER_VARIANTImportingTYPE
/SCMTMS/BUFFER_VARIANT
Buffer variant
IV_CHANGE_COMP_UPDImportingTYPE
ABAP_BOOL
Return updates of all rel. buffer variants in EO_CHANGE_COMP
IV_HOST_BO_KEYImportingTYPE
/BOBF/OBM_BO_KEY
Business Object
IV_HOST_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IV_KEEP_CHILDRENImportingTYPE
ABAP_BOOL
Do not release children buffer variants
IV_TARGET_BUFFER_VARIANTImportingTYPE
/SCMTMS/BUFFER_VARIANT
Target buffer variant
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

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: lo_class TYPE REF TO /SCMTMS/CL_BUFVAR_DISPATCHER.
DATA: lv_CO_CHANGE TYPE /BOBF/IF_FRW_CHANGE,
lv_CO_CHANGE_COMP TYPE /BOBF/IF_FRW_CHANGE,
lv_IV_BUFFER_VARIANT TYPE /SCMTMS/BUFFER_VARIANT,
lv_IV_CHANGE_COMP_UPD TYPE ABAP_BOOL,
lv_IV_HOST_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_HOST_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_KEEP_CHILDREN TYPE ABAP_BOOL,
lv_IV_TARGET_BUFFER_VARIANT TYPE /SCMTMS/BUFFER_VARIANT,
lv_other TYPE c.

CALL METHOD lo_class=>ACCEPT_BUFFER_VARIANT(
EXPORTING
IV_BUFFER_VARIANT = lv_IV_BUFFER_VARIANT
IV_CHANGE_COMP_UPD = lv_IV_CHANGE_COMP_UPD
IV_HOST_BO_KEY = lv_IV_HOST_BO_KEY
IV_HOST_NODE_KEY = lv_IV_HOST_NODE_KEY
IV_KEEP_CHILDREN = lv_IV_KEEP_CHILDREN
IV_TARGET_BUFFER_VARIANT = lv_IV_TARGET_BUFFER_VARIANT
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!