Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Can CE_PROJECTION work with two filters e.g. using two stored procedure parameters

$
0
0

Hi all

Just wondering if it is possible to use the CE_PROJECTION with two filters from two parameters

 

Something like this, which will not check

 

lt_rdr_proj1 = CE_PROJECTION ( :lt_rdr, ["MATNR", "CHARG", "KUNWE_AL", "SPSHN", "MODEL", "ADBTH_MTH"],

  '"ADBTH_MTH" = :l_month' and "KUNWE_AL" = :l_kunwe_al'  ) ;

 

instead of having to do this, which does check

 

lt_rdr_proj1 = CE_PROJECTION ( :lt_rdr, ["MATNR", "CHARG", "KUNWE_AL", "SPSHN", "MODEL", "ADBTH_MTH"],

                                                                                          '"ADBTH_MTH" = :l_month' ) ;

 

lt_rdr_proj2 = CE_PROJECTION ( :lt_rdr_proj1, ["MATNR", "CHARG", "KUNWE_AL", "SPSHN", "MODEL", "ADBTH_MTH"],

                                                                                          '"KUNWE_AL" = :l_kunwe_al' ) ;

 

or does it even matter to HANA ?

 

ta

g


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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