The CTMAPI Action return code is returned in register R15. There are basically two types of failure:
Table 295 shows in more detail the return codes that can be returned to the caller (in register R15).
Table 295 CTMAPI Action Return Codes
Return Code  | 
Explanation  | 
|---|---|
0  | 
The action was successfully performed.  | 
8  | 
The action was not successfully performed. The field BAPIURC contains a return code indicating the fault.  | 
12  | 
Syntax error.  | 
16  | 
Severe error, such as failure to get memory, or failure to open a file.  | 
Parent Topic |