Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem calling Oracle's stored procedure in ABAP ECC6

Hi.

We have the following Native SQL statement in R/3 Release 4.6C, that work's well:

EXEC SQL.

EXECUTE PROCEDURE

sap_distr_utils_pkg.get_info_cli_prc(

in :w_kunnr,

out :nome1) %_ERRCODE INTO :rc

ENDEXEC.

Now we are in an upgrade to SAP ECC 6.0 and the ABAP program d'ont compile.

The Error is:

Unable to interpret "%_ERRCODE". Possible causes: Incorrect spelling or comma error.

Any ideas? Any help will be appreciated.

Thanks & Regards,

Carlos

Tags:
replied

>

> DBIF_DSQL2_SQL_ERROR

> CX_SY_NATIVE_SQL_ERROR

sql_error is pointing to error in your sql statement. i am not sure you need to check the stored procedure input parameters, is number of input parameters are same in stored procedure? or the connectivity is there?

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question