SAP C_OI_ERRORS OO Class - Error Handling for Office Integration
C_OI_ERRORS is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class C_OI_ERRORS including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of C_OI_ERRORS SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
Method Name | Description | Visability |
ADD_ERROR | For Internal Use | Public |
CALL METHOD c_oi_errors=>ADD_ERROR...more details | ||
CREATE_ERROR_FOR_RETCODE | For Internal Use | Public |
CALL METHOD c_oi_errors=>CREATE_ERROR_FOR_RETCODE...more details | ||
FLUSH_ERRORS | For Internal Use | Public |
CALL METHOD c_oi_errors=>FLUSH_ERRORS...more details | ||
GET_MESSAGE | Returns Error Data | Public |
CALL METHOD c_oi_errors=>GET_MESSAGE...more details | ||
RAISE_MESSAGE | Triggers Error Display for Error | Public |
CALL METHOD c_oi_errors=>RAISE_MESSAGE...more details | ||
SET_ERROR_CODE | For Internal Use | Public |
CALL METHOD c_oi_errors=>SET_ERROR_CODE...more details | ||
| ||
SET_MESSAGE | For Internal Use | Public |
CALL METHOD c_oi_errors=>SET_MESSAGE...more details | ||
SET_MESSAGE_FOR_ERROR | For Internal Use | Public |
CALL METHOD c_oi_errors=>SET_MESSAGE_FOR_ERROR...more details | ||
SHOW_MESSAGE | Triggers Error Display for Error | Public |
CALL METHOD c_oi_errors=>SHOW_MESSAGE...more details | ||
TRANSLATE_PROXY_ERROR_CODE | For Internal Use | Public |
CALL METHOD c_oi_errors=>TRANSLATE_PROXY_ERROR_CODE...more details |
C_OI_ERRORS attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
Name | Level | Description | Initial Value | Type | Visability |
ERROR_CODE | Static Attribute | Error Code | LIKE SOI_RET_STRING | Public | |
ERROR_LIST | Static Attribute | Error list | LIKE | Private | |
HAS_FAILED | Static Attribute | 'X' - Failed | LIKE CHAR1 | Public | |
HAS_SUCCEEDED | Static Attribute | 'X' - Succeeded | LIKE CHAR1 | Public | |
MESSAGE_ID | Static Attribute | For Internal Use | LIKE SY-MSGID | Private | |
MESSAGE_NR | Static Attribute | For Internal Use | LIKE SY-MSGNO | Private | |
NEEDS_FLUSH | Static Attribute | For Internal Use | LIKE CHAR1 | Private | |
PARAM1 | Static Attribute | For Internal Use | LIKE SY-MSGV1 | Private | |
PARAM2 | Static Attribute | For Internal Use | LIKE SY-MSGV2 | Private | |
PARAM3 | Static Attribute | For Internal Use | LIKE SY-MSGV3 | Private | |
PARAM4 | Static Attribute | For Internal Use | LIKE SY-MSGV4 | Private | |
RET_APPLICATION_NOT_RESPONDING | Constant | Application Is Not Responding Or Is Busy | 'APPLICATION_NOT_RESPONDING' | LIKE SOI_RET_STRING | Public |
RET_CALL_NOT_FLUSHED | Constant | Call not Executed | 'CALL_NOT_FLUSHED' | LIKE SOI_RET_STRING | Public |
RET_CONTROL_CREATE_ERROR | Constant | Control Not Created | 'CONTROL_CREATE_ERROR' | LIKE SOI_RET_STRING | Public |
RET_CONTROL_ERROR | Constant | General Error | 'CONTROL_ERROR' | LIKE SOI_RET_STRING | Public |
RET_CONTROL_INSTALL_ERROR | Constant | Installation errors | 'CONTROL_INSTALL_ERROR' | LIKE SOI_RET_STRING | Public |
RET_CONTROL_INTERNAL_ERROR | Constant | Internal error | 'CONTROL_INTERNAL_ERROR' | LIKE SOI_RET_STRING | Public |
RET_CONTROL_NOT_INITIALIZED | Constant | Control not installed | 'CONTROL_NOT_INITIALIZED' | LIKE SOI_RET_STRING | Public |
RET_DOCUMENT_ALREADY_OPEN | Constant | Document already opened | 'DOCUMENT_ALREADY_OPEN' | LIKE SOI_RET_STRING | Public |
RET_DOCUMENT_NOT_OPEN | Constant | Document Not Opened | 'DOCUMENT_NOT_OPEN' | LIKE SOI_RET_STRING | Public |
RET_DOCUMENT_NO_VIEW_DATA | Constant | No Presentation Data Available | 'DOCUMENT_NO_VIEW_DATA_AVAILA' | LIKE SOI_RET_STRING | Public |
RET_DOC_TYPE_NOT_REGISTERED | Constant | No Editing Program Available | 'DOCUMENT_TYPE_NOT_REGISTERED' | LIKE SOI_RET_STRING | Public |
RET_ERROR | Constant | Errors | 'ERROR' | LIKE SOI_RET_STRING | Public |
RET_INPLACE_DISABLED | Constant | InPlace Display Deactivated | 'INPLACE_ACTIVATION_DISABLED' | LIKE SOI_RET_STRING | Public |
RET_INTERFACE_NOT_SUPPORTED | Constant | Interface Not Supported | 'INTERFACE_NOT_SUPPORTED' | LIKE SOI_RET_STRING | Public |
RET_LINK_SERVER_ALREADY_ACTIVE | Constant | Link Server is Already Running | 'LINK_SERVER_ALREADY_ACTIVE' | LIKE SOI_RET_STRING | Public |
RET_LINK_SERVER_NOT_ACTIVE | Constant | Link Server is Inactive | 'LINK_SERVER_NOT_ACTIVE' | LIKE SOI_RET_STRING | Public |
RET_MACRO_OR_SCRIPT_FAILED | Constant | Macro Execution Failed | 'MACRO_OR_SCRIPT_FAILED' | LIKE SOI_RET_STRING | Public |
RET_MACRO_OR_SCRIPT_NOT_FOUND | Constant | Macro Not Found | 'MACRO_OR_SCRIPT_NOT_FOUND' | LIKE SOI_RET_STRING | Public |
RET_METHOD_CANCELLED | Constant | Call Terminated by User | 'METHOD_CANCELLED' | LIKE SOI_RET_STRING | Public |
RET_METHOD_NOT_SUPPORTED | Constant | Method Not Supported | 'METHOD_NOT_SUPPORTED' | LIKE SOI_RET_STRING | Public |
RET_NO_LINK_ITEM_SELECTED | Constant | No link item selected | 'NO_LINK_ITEM_SELECTED' | LIKE SOI_RET_STRING | Public |
RET_NO_STANDARD_INTERFACE | Constant | Standard Interface Not Supported | 'NO_STANDARD_INTERFACE' | LIKE SOI_RET_STRING | Public |
RET_OBJECT_ALREADY_INITIALIZED | Constant | Object Already Initialized | 'OBJECT_ALREADY_INITIALIZED' | LIKE SOI_RET_STRING | Public |
RET_OBJECT_NOT_INITIALIZED | Constant | Object Not Initialized | 'OBJECT_NOT_INITIALIZED' | LIKE SOI_RET_STRING | Public |
RET_OK | Constant | OK | 'OK' | LIKE SOI_RET_STRING | Public |
RET_OPEN_DOCUMENT_FAILED | Constant | Error when opening | 'OPEN_DOCUMENT_FAILED' | LIKE SOI_RET_STRING | Public |
RET_OPEN_DOCUMENT_FILE_FAILED | Constant | Error when opening | 'OPEN_DOCUMENT_FILE_FAILED' | LIKE SOI_RET_STRING | Public |
RET_SAVE_DOCUMENT_FAILED | Constant | Error when saving | 'SAVE_DOCUMENT_FAILED' | LIKE SOI_RET_STRING | Public |
RET_SAVE_DOCUMENT_FILE_FAILED | Constant | Error when saving | 'SAVE_DOCUMENT_FILE_FAILED' | LIKE SOI_RET_STRING | Public |
RET_SYSTEM_ERROR | Constant | System Error | 'SYSTEM_ERROR' | LIKE SOI_RET_STRING | Public |
RET_UNKNOWN_ERROR | Constant | Unknown error | 'UNKNOWN_ERROR' | LIKE SOI_RET_STRING | Public |
C_OI_ERRORS types
ERROR_ENTRY - ERROR_ENTRYLinks to Related Class(s)
C_OI_ERR...Full list of available SAP object classes
Search for further information about these or an SAP related objects