SET_BUFFER_VARIANT SAP Method Set buffer variant into //CL_BUFVAR_DISPATCHER









Below is documentation, parameters and attributes of ABAP Method SET_BUFFER_VARIANT 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 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 SET_BUFFER_VARIANT can also be found below:

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


Parameters of Method SET_BUFFER_VARIANT

.

NameTypeData TypeDescriptionDefault Value
IV_CHANGE_COMP_UPDImportingTYPE
ABAP_BOOL
IV_SOURCE_BUFFER_VARIANTImportingTYPE
/SCMTMS/BUFFER_VARIANT
Source buffer variant
IV_TARGET_BUFFER_VARIANTImportingTYPE
/SCMTMS/BUFFER_VARIANT
New target buffer variant
EO_COMPENSATING_CHANGE_TRAExportingTYPE REF TO
/BOBF/IF_TRA_CHANGE
Interface for transaction change objects



Exceptions of Method SET_BUFFER_VARIANT

This method does not have any exceptions

Example ABAP coding


DATA: lv_EO_COMPENSATING_CHANGE_TRA TYPE /BOBF/IF_TRA_CHANGE,
lv_IV_CHANGE_COMP_UPD TYPE ABAP_BOOL,
lv_IV_SOURCE_BUFFER_VARIANT TYPE /SCMTMS/BUFFER_VARIANT,
lv_IV_TARGET_BUFFER_VARIANT TYPE /SCMTMS/BUFFER_VARIANT,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_BUFVAR_HELPER=>SET_BUFFER_VARIANT(
EXPORTING
IV_CHANGE_COMP_UPD = lv_IV_CHANGE_COMP_UPD
IV_SOURCE_BUFFER_VARIANT = lv_IV_SOURCE_BUFFER_VARIANT
IV_TARGET_BUFFER_VARIANT = lv_IV_TARGET_BUFFER_VARIANT
IMPORTING
EO_COMPENSATING_CHANGE_TRA = lv_EO_COMPENSATING_CHANGE_TRA ).

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!