TOBJ_STATUS_ACTIVATE SAP Method Activate/deactivate NHCH resp. INAC statuses during takeover









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

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


Parameters of Method TOBJ_STATUS_ACTIVATE

.

NameTypeData TypeDescriptionDefault Value
IS_PHINHImportingTYPE
PHINH
Header data for takeover
IV_TO_SOURCEImportingTYPE
PHIN_D_PI_DATASOURCE
Takeover scenario (L-template, C-current state, F or X-XML)
EV_EQUI_DAExportingTYPE
PHIN_D_PO_EQU
No History-Relevant Changes for Equipment
EV_FLOC_DAExportingTYPE
PHIN_D_PO_FLO
Activity: Deactivate Functional Locations



Exceptions of Method TOBJ_STATUS_ACTIVATE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_PHIN_DATA_PREPARE.
DATA: lv_EV_EQUI_DA TYPE PHIN_D_PO_EQU,
lv_EV_FLOC_DA TYPE PHIN_D_PO_FLO,
lv_IS_PHINH TYPE PHINH,
lv_IV_TO_SOURCE TYPE PHIN_D_PI_DATASOURCE,
lv_other TYPE c.

CALL METHOD lo_class=>TOBJ_STATUS_ACTIVATE(
EXPORTING
IS_PHINH = lv_IS_PHINH
IV_TO_SOURCE = lv_IV_TO_SOURCE
IMPORTING
EV_EQUI_DA = lv_EV_EQUI_DA
EV_FLOC_DA = lv_EV_FLOC_DA ).

Links to Related Class(s)

IF_EX_BA...
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!