Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Parser hdbprocedure

Nedelcho Delchev edited this page Sep 21, 2021 · 1 revision

Parser for Procedures (.hdbprocedure)

The information on how to develop the design-time data-persistence model for an XSK application using the HDBProcedure syntax

Reference

  • SAP Help

https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.02/en-US/93de88bf2c8242179647e40f958c24e5.html

  • Example Artifact Code
PROCEDURE "MYSCHEMA"."hdb_view::OrderProcedure" ()
   LANGUAGE SQLSCRIPT
   SQL SECURITY INVOKER
   --DEFAULT SCHEMA <default_schema_name>
   READS SQL DATA AS
BEGIN
   /*************************************
       Write your procedure logic
   *************************************/

      SELECT * FROM "hdb_view::Item";
END
  • Issues

https://github.com/SAP/xsk/issues/78

  • Sample

https://github.com/SAP/xsk/tree/main/samples/hdb-view

  • Modules

https://github.com/SAP/xsk/blob/main/modules/engines/engine-core/src/main/java/com/sap/xsk/hdb/ds/processors/hdbprocedure

  • Tests

https://github.com/SAP/xsk/tree/main/modules/engines/engine-core/src/test/java/com/sap/xsk/hdb/ds/test/processors/HDBProcedureProcessorTest.java