CALC_OBJECT_STATUS_SUB SAP Method Substitution for Calculation of Object Status
Below is documentation, parameters and attributes of ABAP Method CALC_OBJECT_STATUS_SUB within SAP class IF_EX_BADI_PHIN_CUST_LOGIC. 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_CUST_LOGIC 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 CALC_OBJECT_STATUS_SUB can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CALC_OBJECT_STATUS_SUB
.| Name | Type | Data Type | Description | Default Value |
| IS_PHIN_MAIN | Importing | TYPE PHIN_S_WD2 | Table Type for itab handling in WD methods | |
| ET_MESSAGES | Exporting | TYPE PHIN_T_MSG | PHIN_MSG table type | |
| CV_PHIN_CELL_VAR | Changing | TYPE PHIN_S_WD2-CELL_VAR | User Action | |
| CV_PHIN_ICON_STAT | Changing | TYPE PHIN_S_WD2-ICON_STAT | User Action | |
| CV_PHIN_OBJECT_STATUS | Changing | TYPE PHIN_S_WD2-STAT_OBJECT | Table Type for itab handling in WD methods | |
| CV_PHIN_OBJECT_TTIP | Changing | TYPE PHIN_S_WD2-STAT_OBJECT_TTIP | Calculated State of Technical Object |
Exceptions of Method CALC_OBJECT_STATUS_SUB
BYPASS_SDR_LOGIC - Bypass standard business logicExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_PHIN_CUST_LOGIC.
DATA: lv_CV_PHIN_CELL_VAR TYPE PHIN_S_WD2-CELL_VAR,
lv_CV_PHIN_ICON_STAT TYPE PHIN_S_WD2-ICON_STAT,
lv_CV_PHIN_OBJECT_STATUS TYPE PHIN_S_WD2-STAT_OBJECT,
lv_CV_PHIN_OBJECT_TTIP TYPE PHIN_S_WD2-STAT_OBJECT_TTIP,
lv_ET_MESSAGES TYPE PHIN_T_MSG,
lv_IS_PHIN_MAIN TYPE PHIN_S_WD2,
lv_other TYPE c.
CALL METHOD lo_class=>CALC_OBJECT_STATUS_SUB(
EXPORTING
IS_PHIN_MAIN = lv_IS_PHIN_MAIN
IMPORTING
ET_MESSAGES = lv_ET_MESSAGES
CHANGING
CV_PHIN_CELL_VAR = lv_CV_PHIN_CELL_VAR
CV_PHIN_ICON_STAT = lv_CV_PHIN_ICON_STAT
CV_PHIN_OBJECT_STATUS = lv_CV_PHIN_OBJECT_STATUS
CV_PHIN_OBJECT_TTIP = lv_CV_PHIN_OBJECT_TTIP ).
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