CTMAPI Return Codes
CTMAPI return codes are returned in register R15. They are also returned in the following fields:
The following are the types of failure of CTMAPI:
- CTMAPI itself encountered a problem that prevented it from calling a service.
In this case
- register R15 has a value higher than 8
- the reason code is returned in the BAPIRSN field
- The service was activated, but failed to perform the desired action.
In this case
- register R15 has a value of 8
- the return code from the service is returned in the BAPIURC field