The methods defined in the IF_ODL_REQUEST interface may cause two types of exceptions:
Exception Class |
Typical Reason |
CX_ODL_PROCESS (static
exception)
|
- The response of the call cannot be deserialized.
- The request could not be sent, for example, due to missing or
incorrect Customizing.
|
CX_ODL_PROCESS_DYNAMIC (dynamic exception)
|
- Some ABAP SMI API methods were called in the wrong order. This
is the case, for example, if you try to collect the result of a
request before the request has been submitted.
- An ABAP SMI API method (for example, submit)
was called with an incorrect combination of parameters.
- The HTTP method of the request is not supported.
|
Recommendation If you call these methods within an appropriate try/catch block, you can resolve these exceptions and avoid dumps within your application.