SAP Knowledge Base Article - Preview

1199329 - Return values from the SDKServerException.getErrorCode Java function do not match those from the SDK documentation


You are using the error codes returned by the SDKServerException.getErrorCode Java function but the return values do not match the constants defined in the com.crystaldecisions.sdk.exception.ServerErrors class.

For example, the value returned by the getErrorCode function when a change password attempt is made with a password that is too short is 10514.

However, the equivalent in ServerErrors appears to be E_OCA_IA_USERS_PASSWORD_TOOSHORT (= -2147212799).

Likewise E_OCA_IA_USERS_PASSWORD_ISREPEATED is -2147212796, compared to 10517 and E_OCA_IA_USERS_PASSWORD_TOOSOON is -2147212795 compared to 10518.



SAP BusinessObjects Business Intelligence platform R2 ; SAP BusinessObjects Enterprise XI


java, error codes, SDKServerException.getErrorCode(), getErrorCode(), SDK, offset,E_OCA_IA_USERS_PASSWORD_TOOSHORT, E_OCA_IA_USERS_PASSWORD_ISREPEATED, E_OCA_IA_USERS_PASSWORD_TOOSOON , 4041084 , KBA , BI-BIP , Business intelligence platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.