The SAP native error codes during its integration with other technologies are always difficult to understand.. Here is a possible list of standard SAP Error Codes
/**********************************************************************/
/* Standard error codes. */
/**********************************************************************/
SAP_O_K ( ECode)0 /* Ok */
MYSAP_NO_USER (ECode)1 /* No user provided to function */ MYSAP_BUFFER_TOO_SMALL ( ECode)3 /* Provided buffer too small */ MYSAP_EXPIRED ( ECode)4 /* Ticket expired */ MYSAP_INVALID ( ECode)5 /* Ticket syntactically invalid */ MYSAP_BUFFER_TOO_SMALL_USER ( ECode)6 /* provided buffer too small */ MYSAP_NO_COOKIE ( ECode)8 /* no ticket provided to function */ MYSAP_INTERNAL_ERROR ( ECode)9 /* Internal error */ MYSAP_HDLNOTINITIALIZED ( ECode)10 /* API is not initialized*/ MYSAP_NO_MEMORY ( ECode)11 /* malloc failed*/ MYSAP_WRONG_ACTION ( ECode)12 /* wrong action */ MYSAP_FUNCPOINTERNULL ( ECode)13 /* tried to call NULL p. function*/ MYSAP_SECTK_RELATED ( ECode)14 /* Error occured in security tk */ MYSAP_NULL_POINTER ( ECode)15 /* pointer was NULL */ MYSAP_NO_MORE_CONTENTS ( ECode)16 /* incomplete information . */ MYSAP_NO_CERTIFICATE ( ECode)17 /* couldn't get certificate */ MYSAP_RESERVED_ID ( ECode)18 /* reserved */ MYSAP_MISSING_AUTH ( ECode)19 /* missing authentication */ MYSAP_VERIFY_FAILED ( ECode)20 /* Signature couldn't be verified*/ MYSAP_WRONG_VERSION ( ECode)21 /* Ticket too new for lib*/ MYSAP_CP_CONVERSION ( ECode)22 /* Conversion error*/ /**********************************************************************/ /* SSF error codes. */ /**********************************************************************/ #SSF_API_OK 0 /*operation ok */ #SSF_API_NOSECTK 1 /no security toolk. found/ #SSF_API_INVALID_FORMAT 2 /*unknown wrapper format */ #SSF_API_NODATA 3 /*input data length zero */ #SSF_API_NOMEMORY 4 /*insuff. main memory */ #SSF_API_SIGNER_ERRORS 5 /*there are signer errors */ #SSF_API_NORESULTLISTMEMORY 6 /no memory f. result list/ #SSF_API_UNKNOWN_PAB 7 /Priv.Addr.Book not found/ #SSF_API_INVALID_PAB_PASSWORD 8 /*invalid PAB password */ #SSF_API_RECIPIENT_ERRORS 9 /*there are recip. errors */ #SSF_API_INVALID_MDALG 10 /*unknown MD algorithm */ #SSF_API_ENCODE_FAILED 11 /*could not encode output */ #SSF_API_DECODE_FAILED 12 /*could not decode input */ #SSF_API_UNKNOWN_SECTK_ERROR 13 /unknown sec.toolk. error/
/**********************************************************************/ /* SSF Aux Function Return Codes -
/**********************************************************************/ #SSF_AUX_OK 0 /* function ended successfully*/ #SSF_AUX_NOMEMORY 51 /* no more memory output data */ #SSF_AUX_NOSIGRCPID 52 /* signer/recip. id is empty */ #SSF_AUX_NOSIGRCPINFO 53 /* signer/recipient info empty*/ #SSF_AUX_NOSIGRCPINFOLIST 54 /* sig./recip. info list empty*/
/**********************************************************************/ /* Signer and Recipient result codes - */ /* - used in uResult component of a signer or */ /* recipient security information structure */
/**********************************************************************/ #SSF_API_SIGNER_OK 0 /* operation ok for signer */ #SSF_API_RECIPIENT_OK 0 /* operation ok for recipient */ #SSF_API_PROFILE_LOCKED 21 /* security profile is locked */ #SSF_API_UNKNOWN_SIGNER 22 /* unknown signer */ #SSF_API_UNKNOWN_RECIPIENT 22 /* unknown recipient */ #SSF_API_UNKNOWN_PROFILE 23 /* security profile not found */ #SSF_API_INVALID_PROFILE 24 /* security profile not usable*/ #SSF_API_INVALID_PASSWORD 25 /* invalid password for signer*/ #SSF_API_NOCERTIFICATE 26 /* certificate not found */ #SSF_API_SIGNER_NOT_OK 27 /* signature invalid */ #SSF_API_RECIPIENT_NOT_OK 27 /* operation not ok f. recip. */ #SSF_API_UNDEFINED_RESULT 28
No comments:
Post a Comment