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

Re: XS OData on Calc view with wild card Input Params

$
0
0

Hi Sergio,

 

Thanks for your response.

 

The Input parameters already have default value defined as '*' (star). Which kicks in during data preview.

 

However I am not clear how to construct the OData Query URL for not passing a parameter.

I tried

  1. /InputParams(BILL_STATUS='',PARTNER_ID='0100000000')/Results          returned no results
  2. /InputParams(BILL_STATUS=null,PARTNER_ID='0100000000')/Results     returned no results again
  3. /InputParams(BILL_STATUS,PARTNER_ID='0100000000')/Results              threw syntax error
  4. /InputParams(PARTNER_ID='0100000000')/Results     syntax error number of keys do not match

 

For now, I just need to have the flexibility to choose if a parameter value is passed or not passed. If not passed the default value is applied.

 

The second option, I think will have some limitation when trying to select all values for a particular column.

 

Regards,

Avishek.


Viewing all articles
Browse latest Browse all 9165

Trending Articles