UPDATE_BUSINESS_OBJECT SAP Method Updates the business object









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

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


Parameters of Method UPDATE_BUSINESS_OBJECT

.

NameTypeData TypeDescriptionDefault Value
IS_BUSINESS_OBJECTImportingTYPE
/BOBF/S_CONF_MODEL_ADT_BO
ADT BO
IV_CLEANUP_TRANSACTIONImportingTYPE
ABAP_BOOL
IV_UPDATE_ACTIVE_VERSIONImportingTYPE
ABAP_BOOL
IV_WRITE_GENERATION_INFOImportingTYPE
/BOBF/WRITE_GEN_INFO
Categories of writing generation infos
EO_MESSAGEExportingTYPE REF TO
/BOBF/CM_FRW
Interface of Message Object
ET_MODIFICATIONExportingTYPE
/BOBF/T_FRW_MODIFICATION
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
EV_SUCCESSExportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')



Exceptions of Method UPDATE_BUSINESS_OBJECT

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOBF/CL_CONF_MODEL_API_ADT.
DATA: lv_EO_MESSAGE TYPE /BOBF/CM_FRW,
lv_ET_MODIFICATION TYPE /BOBF/T_FRW_MODIFICATION,
lv_EV_SUCCESS TYPE BOOLE_D,
lv_IS_BUSINESS_OBJECT TYPE /BOBF/S_CONF_MODEL_ADT_BO,
lv_IV_CLEANUP_TRANSACTION TYPE ABAP_BOOL,
lv_IV_UPDATE_ACTIVE_VERSION TYPE ABAP_BOOL,
lv_IV_WRITE_GENERATION_INFO TYPE /BOBF/WRITE_GEN_INFO,
lv_other TYPE c.

CALL METHOD lo_class=>UPDATE_BUSINESS_OBJECT(
EXPORTING
IS_BUSINESS_OBJECT = lv_IS_BUSINESS_OBJECT
IV_CLEANUP_TRANSACTION = lv_IV_CLEANUP_TRANSACTION
IV_UPDATE_ACTIVE_VERSION = lv_IV_UPDATE_ACTIVE_VERSION
IV_WRITE_GENERATION_INFO = lv_IV_WRITE_GENERATION_INFO
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE
ET_MODIFICATION = lv_ET_MODIFICATION
EV_SUCCESS = lv_EV_SUCCESS ).

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!