MODIFY_CURRENT_STATE SAP Method Modify current state









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

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


Parameters of Method MODIFY_CURRENT_STATE

.

NameTypeData TypeDescriptionDefault Value
IO_CHANGEImportingTYPE REF TO
/BOBF/IF_FRW_CHANGE
Change Object
IT_MODIFICATIONImportingTYPE
/BOBF/T_FRW_MODIFICATION
Changes
IV_ONLY_TRANSIENTImportingTYPE
BOOLE_D
Modifications during loading process
IV_STATEImportingTYPE
/BOBF/CONF_STATE
Zustand
EO_MESSAGEExportingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object



Exceptions of Method MODIFY_CURRENT_STATE

/BOBF/CX_FRW - Exception class

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/CL_B_OBJSRV_PERSOBJ_BASE.
DATA: lv_EO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IO_CHANGE TYPE /BOBF/IF_FRW_CHANGE,
lv_IT_MODIFICATION TYPE /BOBF/T_FRW_MODIFICATION,
lv_IV_ONLY_TRANSIENT TYPE BOOLE_D,
lv_IV_STATE TYPE /BOBF/CONF_STATE,
lv_other TYPE c.

CALL METHOD lo_class=>MODIFY_CURRENT_STATE(
EXPORTING
IO_CHANGE = lv_IO_CHANGE
IT_MODIFICATION = lv_IT_MODIFICATION
IV_ONLY_TRANSIENT = lv_IV_ONLY_TRANSIENT
IV_STATE = lv_IV_STATE
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE ).

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!