Skip to Content

Issue with calling a HDB-Procedure from AMDP


i hope someone can help me.

I have created a procedure within HANA-WebIDE:

It is callable by another proc without any problem.

But when I try to call it via my AMDP i get some strange error messages:

Any ideas what these messages want to tell me?

System is on 750SP3 HDB Rel 1.00.112.



error.PNG (123.7 kB)
proc.PNG (78.9 kB)
Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    Posted on May 24, 2016 at 10:57 AM

    Hi Joachim,

    you have to declare all objects you use inside your AMDP procedure via the USING addition. Please see the ABAP help for AMDP. There are also articles in SCN where you can see "USING" in action:

    If the objects are in another schema, not managed by the ABAP, then they don't have to be declared. There really is an excellent ABAP help, so no need to ask these questions here ... Just search for "USING" and click on "METHOD ... USING ...".

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded

    • Hi Joachim,

      this principally has nothing to do with the namespace. This namespace is just some hack for rare uses (mostly SAP internal). You normally have to put the procedure in a different schema (with the exception of the above mentioned hack).

      The ABAP believes all objects in the SAPSID schema as being managed by ABAP.

      If all objects in the ABAP schema could also be unmanaged, then the check would not make any sense at all. Then we wouldn't need any USING clause at all. But the namespace is a valid option, too.

      But, as I said, everything mentioned in the ABAP help :-).

      Best regards,

  • Posted on May 24, 2016 at 01:48 PM

    Hi Joachim,

    your orginal problem is that the procedure is defined in the HANA repository (the Content folder),

    but from AMDP you can only refer to Catalog entities.

    Your repository procedure gets deployed into the _SYS_BIC schema. You should be able to call this as _SYS_BIC."CVPM_CFM::SET_CF_RDL"

    Regards, Thomas

    Add comment
    10|10000 characters needed characters exceeded