Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

Exclude value range with setFilterExt() - What is the correct syntax?

$
0
0

Hi all,

 

I am struggling with an exclusive filter on a value range using setFilterExt() method. I have a BO Design Studio 1.3 (I think SP2) application, using SAP BW datasources (BEx Query).

 

I use the following syntax:

   

DS_1.setFilterExt("C_KNRVB1__C_WWVRT", "!R35_150/19980470 - R35_150/19999999");

 

The application throws an error message, saying that the format of the entered filter value is not correct. If I use for instance

   

DS_1.setFilterExt("C_KNRVB1__C_WWVRT", "!R35_150/19980470");

 

for the exclusion of a single value, this works fine.

 

Characteristic C_WWVRT is actually compounded to 0LOGSYS (= source system) and R35_150 is a valid value for one of our source systems.

 

Also, if I enter

         

DS_1.setFilterExt("C_KNRVB1__C_WWVRT", "R35_150/19980470 - R35_150/19999999");

 

without the "!" sign, the application throws the error message for an incorrect format.

 

If I enter an exclusive filter for a non-compounded characteristic like this:

    

DS_1.setFilterExt("C_WWSTE", "!0470 - 0550");

 

this works fine.

 

So I assume, it has something to do with the compounding. Well, the 0LOGSYS is a 10 CHAR characteristic with ALPHA conversion... maybe I should try out some blanks before/after or some leading or trailing zeros... but I doubt that this would help, as the single exclusion with !R35_150/19980470 has worked fine...

 

Any help on that very much appreciated...

 

Best regards,

Philipp


Viewing all articles
Browse latest Browse all 3668

Trending Articles



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