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

Parser tablefunction

Antoaneta edited this page Sep 24, 2021 · 4 revisions

Parser for TableFunction(.hdbtablefunction )

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

Reference

  • SAP Help

https://help.sap.com/viewer/b3d0daf2a98e49ada00bf31b7ca7a42e/2.0.04/en-US/18a94543fe3f41f1b29e7c439f255b95.html

  • Example Artifact Code
FUNCTION "MYSCHEMA"."hdb_view::OrderTableFunction" ()
	RETURNS TABLE (
		"Id" NVARCHAR(32),
		"CustomerName" NVARCHAR(500)
	)
	LANGUAGE SQLSCRIPT
	SQL SECURITY INVOKER AS
BEGIN

RETURN  SELECT "Id", "CustomerName" FROM "hdb_view::Item";

END;
  • Sample

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

  • Modules

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

  • Tests

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

Project

Architecture

Tips & Tricks

Infrastructure

Troubleshooting guide

Clone this wiki locally