on 09-05-2008 4:08 PM
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
a®s,
Thanks for your reply.
I've changed but i get a dump:
DBIF_DSQL2_SQL_ERROR
CX_SY_NATIVE_SQL_ERROR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The addition %ERRCODE is exclusively designed for internal use. It is no longer available as of Release 6.10
please see the note 364707
May be you can change code this way
EXEC SQL.
EXECUTE PROCEDURE
sap_distr_utils_pkg.get_info_cli_prc(
in :w_kunnr,
out :nome1 )
ENDEXEC.
IF SY-SUBRC ne 0 OR nome1 ne 347.
WRITE: / 'Wrong result for EXECUTE PROCEDURE:', nome1.
ENDIF.
a®
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.