SAP ABAP Data Element SWO_RETURN (Exception for method)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-BOB (Application Component) Business Object Builder
⤷
SWO (Package) Business Object Repository Tools
⤷
⤷
Basic Data
| Data Element | SWO_RETURN |
| Short Description | Exception for method |
Data Type
| Category of Dictionary Type | D | Domain |
| Type of Object Referenced | No Information | |
| Domain / Name of Reference Type | SWO_RETURN | |
| Data Type | NUMC | Character string with only digits |
| Length | 4 | |
| Decimal Places | 0 | |
| Output Length | 4 | |
| Value Table |
Further Characteristics
| Search Help: Name | ||
| Search Help: Parameters | ||
| Parameter ID | ||
| Default Component name | ||
| Change document | ||
| No Input History | ||
| Basic direction is set to LTR | ||
| No BIDI Filtering |
Field Label
| Length | Field Label | |
| Short | 0 | |
| Medium | 0 | |
| Long | 20 | Exception |
| Heading | 4 | No. |
Documentation
Definition
Exceptions can be defined for each method.
Exceptions are error statuses to which the system responds in a defined way, with a message to the calling program. The exceptions are implemented in the program for the object type using the macro command EXIT_RETURN.
Each exception is identified by a 4-digit number. This number can then be interpreted in the calling program.
Supplementary Documentation - SWO_RETURN0001
Use
Procedure
The following number areas are incorporated:
- 0001 - 1000: Exceptions defined for interfaces.
- 1001 - 7999: Application-specific exceptions (SAP development).
- 8000 - 8999: Exceptions triggered by the object manager.
- 9000 - 9999: Customer-defined exceptions.
Examples
Dependencies
History
| Last changed by/on | SAP | 19970117 |
| SAP Release Created in |