Menu

SAP Function Module RFC_1A_GENERAL_ERROR_HANDLING

Raise Exceptions for common API errors

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module RFC_1A_GENERAL_ERROR_HANDLING (Raise Exceptions for common API errors) is a standard Function Module in SAP ERP and is part of the function group FITP_AMADEUS_RFC_INTERFACE within the package PTRI_ADDON.

Technical Information

Function Module RFC_1A_GENERAL_ERROR_HANDLING
Short Text Raise Exceptions for common API errors
Function Group FITP_AMADEUS_RFC_INTERFACE
Package PTRI_ADDON
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ERROR_CODE LIKE FTPS_API-ERROR_CODE Return error code of API interface
ERROR_TYPE LIKE FTPS_API-ERROR_TYPE Type of API return error code

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
AMADEUS_GATEWAY_ERROR Internal error on amadeus Gateway
API_INTERNAL_EXCEPTION (-32658) (-32588)
API_INVALID_SESSION (-32467)
API_NO_SESSION (14478 14486)
API_RESOURCE_TIMEOUT (-32655)
API_SERVER_TIMEOUT (-32656)
API_SERVER_TO_RESET (-32584)
API_SERVER_UNAVAILABLE (-32687)
EDIFACT_ERROR From Amadeus Central to API Server
HOST_COMMUNICATION (-32667)
HOST_CONNECTION (-32668)
INVALID_SESSION_CONTEXT Syytem Error 6
NO_TRIP_PLAN (-32635)
REGISTRATION_DATABASE (-32654)
RPC_ERROR From amadeus Gateway to API server
SEGMENT_SELL_UNSTABLE (-32619 -32618 -32582 -32581 -32580)
SINE_IN (-32665)
UNEXPECTED_AMADEUS_RESPONSE (-32583)
UNKNOWN_ERROR_CODE Unknown Error code
UNKNOWN_ERROR_TYPE Unknown Error type
USER_ALREADY_REGISTERED (-32660)
USER_NOT_REGISTERED (-32661)