Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

How Avoid Hard Coding Values in Cal Script Based View SELECT Statement

$
0
0

Hi Folks,

 

I have created Calculation view Script based and in my select statement i am restricting with multiple values by hard coding the values,now as per standards I need to avoid hard coding the values can you please help on this.

 

Here is my select statement

 

ITab1 = select "KSCHL","SALESORG","DISTR_CHAN","MATERIAL","SALES_UNIT",

           ,"/B299/S_KBETR","/B299/S_WAERS_K"

             from <Table>

            where "SALESORG" IN ('AA01', 'AA02, 'AA03', 'AA04')

            AND  "DISTR_CHAN" = '10'

            and KSCHL IN('VKRP', 'VKRR', 'ZKA1')

           order by"SALESORG","DISTR_CHAN","MATERIAL","SALES_UNIT","ToDate" DESC;

 

 

 

Thanks,

kishore.

.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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