Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Select Option - CDS Hana Studio

f_allocca
Participant
0 Kudos
257

Hi Experts,

I have a CDS with PARAMETERS see below:

but I need also a simply SELECT-OPTION for the LFA1-LIFNR field

Please, can you show me the example of code for 1 field?

Thanks

Best Regards

Francesco

2 REPLIES 2

FredericGirod
Active Contributor

ThorstenHoefer
Active Contributor
0 Kudos
215

Hello,

You should create a SQL statement outside of the CDS view:

Therefore you can use class CL_SHDB_SELTAB.

Please check the following example:

https://codezentrale.de/tag/cl_shdb_seltab/

Regards

Thorsten