Hi folks,
I already asked a general question about the nullable option here and found solutions for properties based on CDS entities and custom entities. Now I need a solution for the properties of action parameter structures defined as abstract entities. How can I make the nullable="false" disappear in this case?
We're on a S/4 HANA oP 2023 release.
Request clarification before answering.
Hi @jrtr I am not sure if I understood your question correctly. but if ask is to not pass Key field while calling Abstract entity you may use in Abstract entity Behavior Definition.
field (suppress) <Key_field>;Refer below code
abstract;
strict ( 2 );
with hierarchy;
define behavior for ZAE_ABSTRACT alias Head
{
field (suppress) key_field;
association _Item;
}
define behavior for ZAE_ABSTRACT_ITEM alias Item
{
field (suppress) key_field;
association _Head;
}Hope this helps...
Thanks-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @AbhishekSharma thanks for your answer. Sorry if I did not ask precisely. The nullable option I want to change is in the metadata document. I attached a screenshot of the part that I want to influence.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.