on 2024 Jan 08 9:40 AM
Hi Experts,
We need to define a constraint on one of our table/entity which we defined in the db folder of our CAPM application.
I am not ware on how to define the below Constraint on my entity in CAPM. Please provide any pointer/suggestion on how to acheive this
CONSTRAINT [PK_MARM] PRIMARY KEY CLUSTERED
(
[MATNR] ASC,
[MEINH] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
Request clarification before answering.
There is no special CDL syntax which would you allow to define a custom primary key constraint.
You may make this possible by using `@sql.prepend` or `@sql.append`, refer to this doc: https://cap.cloud.sap/docs/guides/databases#sql-prepend-append
If this doesnt help you, you may need to define this table as a HANA native artifact: https://cap.cloud.sap/docs/advanced/hana#create-native-sap-hana-object
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
42 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.