NEW_INSTANCE SAP Method Creates an internal access objects (needed for addons)









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

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


Parameters of Method NEW_INSTANCE

.

NameTypeData TypeDescriptionDefault Value
IO_BOPFImportingTYPE REF TO
/BOBF/CL_FRW
Framework Main Class
IO_BUFFERImportingTYPE REF TO
/BOBF/IF_FRW_BUFFER
Interface to the Data Layer
IO_CHANGEImportingTYPE REF TO
/BOBF/IF_FRW_CHANGE
Interface of Change Object
IO_CONFImportingTYPE REF TO
/BOBF/IF_FRW_CONFIGURATION
Interface for Configuration
IV_CLASS_NAMEImportingTYPE
CSEQUENCE
Object Type Name
EO_CONTROLExportingTYPE REF TO
/BOBF/IF_FRW_INT_ACCESS_CTRL
EO_INTERNAL_ACCESSReturningTYPE REF TO
/BOBF/CL_FRW_INT_ACCESS
Internal Data Access Object



Exceptions of Method NEW_INSTANCE

This method does not have any exceptions

Example ABAP coding


DATA: lv_EO_CONTROL TYPE /BOBF/IF_FRW_INT_ACCESS_CTRL,
lv_EO_INTERNAL_ACCESS TYPE /BOBF/CL_FRW_INT_ACCESS,
lv_IO_BOPF TYPE /BOBF/CL_FRW,
lv_IO_BUFFER TYPE /BOBF/IF_FRW_BUFFER,
lv_IO_CHANGE TYPE /BOBF/IF_FRW_CHANGE,
lv_IO_CONF TYPE /BOBF/IF_FRW_CONFIGURATION,
lv_IV_CLASS_NAME TYPE CSEQUENCE,
lv_other TYPE c.

CALL METHOD /BOBF/CL_FRW_INT_ACCESS=>NEW_INSTANCE(
EXPORTING
IO_BOPF = lv_IO_BOPF
IO_BUFFER = lv_IO_BUFFER
IO_CHANGE = lv_IO_CHANGE
IO_CONF = lv_IO_CONF
IV_CLASS_NAME = lv_IV_CLASS_NAME
IMPORTING
EO_CONTROL = lv_EO_CONTROL
RECEIVING
EO_INTERNAL_ACCESS = lv_EO_INTERNAL_ACCESS )



"Alternate coding for Method Call with returning parameter
lv_EO_INTERNAL_ACCESS = /BOBF/CL_FRW_INT_ACCESS=>NEW_INSTANCE(
EXPORTING
IO_BOPF = lv_IO_BOPF
IO_BUFFER = lv_IO_BUFFER
IO_CHANGE = lv_IO_CHANGE
IO_CONF = lv_IO_CONF
IV_CLASS_NAME = lv_IV_CLASS_NAME
IMPORTING
EO_CONTROL = lv_EO_CONTROL ).

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!