Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8709

Re: Dynamic where clause

$
0
0

Hi Suresh,

 

I had a requirement to implement search help exit for 2 elementary search helps attached to a same collective search help.

The search help exit FM has a fixed interface i.e. tables & changing attributes.

The attribute  SHLP has the selection fields & dynamic select conditions.

you can pass it to the FM ' CONVERT_SELECT_INTO_WHERE' to get a dynamic where condition.

This where condition can be passed to dynamic select statement.

i.e. SELECT * FROM (table) into dynamic_itab where (where_cond).

 

This will get you the results in the dynamic internal table.

Users can enter any values & in any fields in search help.

The dynamic select will serve for all requirements.

 

Let me know if you need more details or have any questions

 

Thanks,

Sharath


Viewing all articles
Browse latest Browse all 8709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>