Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error:cannot use duplicate name of function or procedure

0 Likes
1,699

Hi All,

When i am calling AMDP method i am getting the error "cannot use duplicate name of function or procedure".

so do we need to delete the already created procedure before calling an AMDP method?

Thanks & Regards,

Viswamurthy

1 ACCEPTED SOLUTION
Read only

jasmin_gruschke
Product and Topic Expert
Product and Topic Expert
0 Likes
866

Hi Viswamurthy,
the entire lifecycle of ABAP managed Database Procedures is maintained by the AMDP runtime. This means if you created an AMDP (respectively the ABAP method with the "BY DATABASE PROCEDURE..." statement) and called the AMDP, the corresponding database procedure is created and called. Following this procedure there is no need to manually create/delete artifacts.
Please see http://scn.sap.com/docs/DOC-51146 for more details on how to create and consume an AMDP.
Cheers,

Jasmin

1 REPLY 1
Read only

jasmin_gruschke
Product and Topic Expert
Product and Topic Expert
0 Likes
867

Hi Viswamurthy,
the entire lifecycle of ABAP managed Database Procedures is maintained by the AMDP runtime. This means if you created an AMDP (respectively the ABAP method with the "BY DATABASE PROCEDURE..." statement) and called the AMDP, the corresponding database procedure is created and called. Following this procedure there is no need to manually create/delete artifacts.
Please see http://scn.sap.com/docs/DOC-51146 for more details on how to create and consume an AMDP.
Cheers,

Jasmin