2023 Feb 13 7:46 AM
Hi Experts,
can you please help me out for my requirement.
in my case, i have 3 different OPTIONAL input parameters in CDS view.
and out of this 3 input ANY ONE must be entered , (out of 3 input any one should be dynamically Mandatory )
and this should be CDS level only (RSRT Tcode level)
2023 Feb 28 9:06 PM
Sorry, I'm not even sure what "RSRT Tcode level" is but why does it needs to be "CDS level only"?
I feel you might be trying to use CDS views in a way they weren't intended to. As powerful as they are, CDS views are mostly about data modeling. What you are describing is a function of the application layer / UI. If this was an ABAP program and you wanted to do this on selection screen, for example, you couldn't achieve this by using settings alone, you'd have to write ABAP code to do custom validations. Well, CDS views are not an ABAP program. So it seems rather unreasonable to expect them to provide such features.
I seriously doubt you can accomplish something like that in CDS views alone. And judging by the fact there has been no response from anyone for 2 weeks, I'm likely not wrong.
2023 Mar 01 12:14 PM
I am using cds for AO reporting ,
I have 5 different input values , all are optional , while running AO report any one I want to make it as mandatory. And it can b any out of 5 any one must be entered / user must provide input fir any one atlist