Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

AMDP_SITMuc_Jasmin_Gruschke

797 vues

Publié le

Slides shown at the SAP Inside Track in Munich 2014 for the presentation on ABAP Managed Database Procedures ... AMDP - not just a four letter acronym.

Publié dans : Logiciels
  • Login to see the comments

  • Soyez le premier à aimer ceci

AMDP_SITMuc_Jasmin_Gruschke

  1. 1. AMDPs Jasmin Gruschke / SAP SE Public
  2. 2. ©2014 SAP SE or an SAP affiliate company. All rights reserved. 2 Public ABAP Managed Database Procedures Introduction of AMDPs Code-to-Data Paradigm Supported through embedding native database procedure coding Definition & Consumption of AMDPs Definition / maintenance via ABAP Development Tools in Eclipse ABAP class method as containers for DB procedures coding  SAP HANA artifacts created automatically Consumption like any other ABAP class method Fully integrated into the ABAP infrastructure Consistent lifecycle management with other ABAP artifacts Static syntax check for SQLScript coding Detailed analysis of ABAP runtime errors AMDP (class/method) Standard ABAP Transport (CTS) AS ABAP SAP HANA deploy SAP HANA Procedure Lifecycle Mgmt
  3. 3. 4 ©2014 SAP SE or an SAP affiliate company. All rights reserved. AMDP
  4. 4. ©2014 SAP SE or an SAP affiliate company. All rights reserved. 8 Public ABAP Managed Database Procedures Exception Handling Catchable Exceptions Several AMDP runtime errors have a corresponding (catchable) exception Naming convention: <ERROR_NAME>  CX_<ERROR_NAME> To-Dos for AMDP Developers/Consumers: –Add RAISING clause to the AMDP method definition –Enclose the AMDP call in a TRY… CATCH block "definition METHODS <method_name> <method_interface> RAISING cx_amdp_error. ... "consumption TRY. <method_call> CATCH cx_amdp_execution_failed INTO DATA(lx). "do some meaningful error handling ENDTRY. !
  5. 5. 9 ©2014 SAP SE or an SAP affiliate company. All rights reserved. Exceptions
  6. 6. ©2014 SAP SE or an SAP affiliate company. All rights reserved. 11 Public ABAP Managed Database Procedures Debugging Debugging of AMDPs As of ABAP 7.4 SP5 (SAP HANA SPS7): External session debugging. For more information see: –SCN document: http://scn.sap.com/docs/DOC-51790 –Video tutorial: http://www.youtube.com/watch?v=5OEuyl_s5ME
  7. 7. ©2014 SAP SE or an SAP affiliate company. All rights reserved. 12 Public ABAP Managed Database Procedures Debugging Debugging of AMDPs As of ABAP 7.4 SP5 (SAP HANA SPS7): External session debugging. For more information see: –SCN document: http://scn.sap.com/docs/DOC-51790 –Video tutorial: http://www.youtube.com/watch?v=5OEuyl_s5ME Lab Preview Fully integrated support in the ABAP Development Tools in Eclipse
  8. 8. ©2014 SAP SE or an SAP affiliate company. All rights reserved. Thank you Contact information: Dr. Jasmin Gruschke jasmin.gruschke@sap.com

×