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

Custom Query Javascript. importPackage Not found

$
0
0

Hi Experts,

 

I am trying to follow below example in an effort to convert JAVA classes of SP03 into javascript:

 

How to Handle Filters in Soap Operations

 

However, when I try accessing below URL from browser:

 

https://SMPURL:8083/gateway/odata/SAP/CUSTOMQUERYTEST;v=1/MedCareSuppliersSet?$filter=MedCareSuppliersID eq 'California'

 

In server logs I get below error:

 

com.sun.phobos.script.util.ExtendedScriptException: org.mozilla.javascript.EcmaError: ReferenceError: "FILTER" is not defined. (/CustomQueryTest/src/main/resources/script/MedCareSuppliersSet_SOAP_Query.js#77

 

I am attaching MedCareSuppliersSet_SOAP_Query.js file for reference. I am using SMP3 SP07.

 

Any idea why required package is not found although I am importing it.

 

Regards,

Affaan


Viewing all articles
Browse latest Browse all 3523

Trending Articles



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