This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Parser hdbdd
Nedelcho Delchev edited this page Sep 21, 2021
·
4 revisions
The information on how to develop the design-time data-persistence model for an XSK application using the HDBDD syntax
- SAP Help
- Example:
namespace products.db;
@Schema: 'DBADMIN'
context Products {
entity Orders{
key Id : String(32);
CustomerName : String(500);
CustomerSurname : String(500);
Status : String(100);
CreatedAt : UTCTimestamp;
CreatedBy : String(5000);
Description : String(100);
Address : String(5000);
Phone : String(200);
Email : String(300);
Country : association to Products.Country { Id };
items : Association[*] to Item on items.OrderId = Id;
};
entity Item {
key ItemId : String(32);
OrderId : String(32);
Name : String(500);
Type : String(100);
Price : String(100);
Currency : String(100);
Quantity : String(100);
Comment : String(1000);
};
entity Country {
key Id : String(32);
Name : String(32);
};
};
The following words are key symbols and they are
- case insensitive: key, namespace, entity, context, using, assiciation
- case sensitive: as, type, hana, to, on