GEN_BUFFER_CONTENT SAP Method Copy the buffer content to a genereated attribute









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

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


Parameters of Method GEN_BUFFER_CONTENT

.

NameTypeData TypeDescriptionDefault Value
IS_BUFFERImportingTYPE
TS_BUFFER_GEN
buffer for generation process
IV_FUNCTION_IDImportingTYPE
IF_FDT_TYPES=>ID
Universal Unique Identifier
IV_TIMESTAMPImportingTYPE
IF_FDT_TYPES=>TIMESTAMP
Time Stamp (active version, UTC)
ET_SOURCE_CODEExportingTYPE
IF_FDT_TYPES=>T_SOURCE_CODE
Table with Source Code
EV_BUFFER_NAMEExportingTYPE
STRING
CTS_USED_CONTEXT_IDChangingTYPE
IF_FDT_TYPES=>TS_USED_CONTEXT_ID
Actually used / required ID's from context in generated code



Exceptions of Method GEN_BUFFER_CONTENT

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 /BOFU/CL_FDT_RETRIEVE.
DATA: lv_CTS_USED_CONTEXT_ID TYPE IF_FDT_TYPES=>TS_USED_CONTEXT_ID,
lv_ET_SOURCE_CODE TYPE IF_FDT_TYPES=>T_SOURCE_CODE,
lv_EV_BUFFER_NAME TYPE STRING,
lv_IS_BUFFER TYPE TS_BUFFER_GEN,
lv_IV_FUNCTION_ID TYPE IF_FDT_TYPES=>ID,
lv_IV_TIMESTAMP TYPE IF_FDT_TYPES=>TIMESTAMP,
lv_other TYPE c.

CALL METHOD lo_class=>GEN_BUFFER_CONTENT(
EXPORTING
IS_BUFFER = lv_IS_BUFFER
IV_FUNCTION_ID = lv_IV_FUNCTION_ID
IV_TIMESTAMP = lv_IV_TIMESTAMP
IMPORTING
ET_SOURCE_CODE = lv_ET_SOURCE_CODE
EV_BUFFER_NAME = lv_EV_BUFFER_NAME
CHANGING
CTS_USED_CONTEXT_ID = lv_CTS_USED_CONTEXT_ID ).

Links to Related Class(s)

/BOFU/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!