GET_BUFFER_REF SAP Method returns the relevant buffer instance









Below is documentation, parameters and attributes of ABAP Method GET_BUFFER_REF within SAP class /BOBF/CL_BUF_DISPATCHER. 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 /BOBF/CL_BUF_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 GET_BUFFER_REF can also be found below:

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


Parameters of Method GET_BUFFER_REF

.

NameTypeData TypeDescriptionDefault Value
IV_BUFFER_ONLYImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IV_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node
EO_BUFFERExportingTYPE REF TO
/BOBF/IF_FRW_BUFFER
Interface to Dispatcher to be imp. by Buffers under Dispat.
ES_NODE_BUFFERExportingTYPE
/BOBF/S_BUF_NODE_BUFFERS
Mapping btw. nodes and different buffer instances



Exceptions of Method GET_BUFFER_REF

/BOBF/CX_FRW -

Example ABAP coding


DATA: lo_class TYPE REF TO /BOBF/CL_BUF_DISPATCHER.
DATA: lv_EO_BUFFER TYPE /BOBF/IF_FRW_BUFFER,
lv_ES_NODE_BUFFER TYPE /BOBF/S_BUF_NODE_BUFFERS,
lv_IV_BUFFER_ONLY TYPE BOOLE_D,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_other TYPE c.

CALL METHOD lo_class=>GET_BUFFER_REF(
EXPORTING
IV_BUFFER_ONLY = lv_IV_BUFFER_ONLY
IV_NODE_KEY = lv_IV_NODE_KEY
IMPORTING
EO_BUFFER = lv_EO_BUFFER
ES_NODE_BUFFER = lv_ES_NODE_BUFFER ).

Links to Related Class(s)

/BOBF/CL...
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!