hdbstructure - codbex/codbex-kronos GitHub Wiki
Reusable Structures (.hdbstructure)
This object type represents a database table type.
Reference
The information on how to develop the design-time data-persistence structure model for a Kronos application.
SAP Help
Example Artifact Code
table.schemaName = "DBADMIN";
table.public = false;
table.columns = [
{name = "SCENARIO_ID"; sqlType=VARCHAR; nullable=false; length=32; },
{name = "PERIOD_ID"; sqlType=DECIMAL; nullable=false; precision = 20; scale = 3; },
{name = "MATERIAL_ID"; sqlType=VARCHAR; length=32; },
{name = "DEPTH"; sqlType=INTEGER; nullable=true; comment=""; }
];
table.primaryKey.pkcolumns = ["SCENARIO_ID"];
Sample
https://github.com/codbex/codbex-kronos/tree/main/samples/hdb-structure-simple
Modules
- Data Structure Parser
- Processor
Unit Tests
https://github.com/codbex/codbex-kronos/tree/main/modules/engines/engine-hdb/src/test/java/com/codbex/kronos/hdb/ds/parser/hdbstructure https://github.com/codbex/codbex-kronos/tree/main/modules/engines/engine-hdb/src/test/java/com/codbex/kronos/hdb/ds/processors/tabletype