SAP ABAP Class CTS_WS_UTILS (Utility Class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CTS-TMS-PLS (Application Component) TMS for non-ABAP (CTS+)
⤷
SCTS_WS (Package) CTS: WebServices

⤷

⤷

Properties
Class | CTS_WS_UTILS | |
Short Description | Utility Class | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SCTS_WS | CTS: WebServices |
Created | 20100510 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CTS_WS_UTILS has no forward declaration.
Interfaces
Class CTS_WS_UTILS has no interface implemented.
Friends
Class CTS_WS_UTILS has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'E' | ERROR MESSAGE | 20110516 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'I' | INFO MESSAGE | 20110516 | |
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20100510 | ||
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | CTS_WS_LOG_ITEMS | Table of log items from CTS web services runs | 20100510 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | STRING | Logging program | 20100510 | ||
6 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'Web Services' | 20100510 | ||
7 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'XT' | 20100510 | ||
8 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'CTSPLUS' | 20100510 | ||
9 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'TRA_API' | 20100510 | ||
10 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'RFC Call' | 20100510 | ||
11 | ![]() |
Instance attribute | Private | Type reference (TYPE) | STRING | main error message text | 20121017 | ||
12 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'T' | TRACE MESSAGE | 20110516 | |
13 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'W' | WARNING MESSAGE | 20110516 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | adds error text to the summary error text | 20121017 |
2 | ![]() |
Instance method | Public | Method | Checks whether mandatory values are provided | 20100510 |
3 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20100510 |
4 | ![]() |
Instance method | Public | Method | Converts BAPIRET2 structure to a new CTS_WS_L:OG_ITEM | 20100511 |
5 | ![]() |
Instance method | Public | Method | Creates a new log item (using message provided) | 20100510 |
6 | ![]() |
Instance method | Public | Method | Creates a new log item (using text provided) | 20100510 |
7 | ![]() |
Instance method | Public | Method | returns the error text | 20121017 |
8 | ![]() |
Instance method | Public | Method | Returns list of log items | 20100526 |
9 | ![]() |
Static method | Private | Method | Gets the message's text | 20100511 |
10 | ![]() |
Instance method | Public | Method | Logs a message into the application login (tr./slg1) | 20100510 |
11 | ![]() |
Instance method | Public | Method | Logs a text (as it is) into the application login (tr./slg1) | 20100510 |
Events
Class CTS_WS_UTILS has no event.
Types
Class CTS_WS_UTILS has no local type.
Method Signatures
Method ADD_ERROR_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ERROR_TEXT | Call by reference | Type reference (TYPE) | STRING | 20121017 |
Method ADD_ERROR_TEXT on class CTS_WS_UTILS has no exception.
Method CHECK_FOR_MANDATORY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
PARAM_NAME | Value transfer | Type reference (TYPE) | STRING | Name of the parameter | 20100510 | ||
2 | ![]() |
PARAM_VALUE | Value transfer | Type reference (TYPE) | STRING | Value of the parameter | 20100510 | ||
3 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | I | 'T' or 'F' values | 20100511 |
Method CHECK_FOR_MANDATORY on class CTS_WS_UTILS has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
LOG_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Handle to log object | 20100510 | ||
2 | ![]() |
LOG_ITEMS | Call by reference | Type reference (TYPE) | CTS_WS_LOG_ITEMS | List of log items | 20100510 | ||
3 | ![]() |
LOG_PROGRAM | Value transfer | Type reference (TYPE) | STRING | Logging program | 20100510 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Logging error | 20100510 |
Method CREATE_LOGITEM_FOR_BAPIRET2 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
INPUT | Value transfer | Type reference (TYPE) | BAPIRET2 | Return Parameter(s) | 20100511 | ||
2 | ![]() |
ITEM | Value transfer | Type reference (TYPE) | CTS_WS_LOG_ITEM | Log item | 20100511 |
Method CREATE_LOGITEM_FOR_BAPIRET2 on class CTS_WS_UTILS has no exception.
Method CREATE_LOGITEM_FOR_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
MESSAGE | Value transfer | Type reference (TYPE) | BAL_S_MSG | Message to be logged | 20100511 |
Method CREATE_LOGITEM_FOR_MESSAGE on class CTS_WS_UTILS has no exception.
Method CREATE_LOGITEM_FOR_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SEVERITY | Value transfer | Type reference (TYPE) | CHAR1 | 'D' | Type of logging | 20100510 | |
2 | ![]() |
TEXT | Value transfer | Type reference (TYPE) | STRING | Text to log | 20100510 |
Method CREATE_LOGITEM_FOR_TEXT on class CTS_WS_UTILS has no exception.
Method GET_ERROR_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ERROR_TEXT | Value transfer | Type reference (TYPE) | STRING | error text | 20121017 |
Method GET_ERROR_MESSAGE on class CTS_WS_UTILS has no exception.
Method GET_LOG_ITEMS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ITEMS | Value transfer | Type reference (TYPE) | CTS_WS_LOG_ITEMS | List of log items | 20100526 |
Method GET_LOG_ITEMS on class CTS_WS_UTILS has no exception.
Method GET_MESSAGE_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
MESSAGE | Value transfer | Type reference (TYPE) | BAL_S_MSG | Application Log: Message Data | 20100511 | ||
2 | ![]() |
TEXT | Value transfer | Type reference (TYPE) | STRING | Message's text | 20100511 |
Method GET_MESSAGE_TEXT on class CTS_WS_UTILS has no exception.
Method LOG_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
LOG_MESSAGE | Value transfer | Type reference (TYPE) | BAL_S_MSG | Message to be logged | 20100510 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Logging error | 20100510 |
Method LOG_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
LOG_TEXT | Value transfer | Type reference (TYPE) | STRING | Text to be logged | 20100510 | ||
2 | ![]() |
SEVERITY | Value transfer | Type reference (TYPE) | CHAR1 | 'I' | Type of the log message | 20100510 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Logging error | 20100510 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 702 |