cancel
Showing results for 
Search instead for 
Did you mean: 

How can it be passed parameter into xml query?

Former Member
0 Kudos

Hi,

How can it be passed parameter into xml query on query design of xml query?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

jcgood25
Active Contributor
0 Kudos

Cemil,

The typical query properties for

[Param.x]

as well as

[SD] and [ED]

can be used within the URL of your XMLQuery, with the expectation that they can influence the xml request. By having these tokens in the URL the applets and javascript methods can easily impact the http request without having the whole url rebuilt.

Can you elaborate more on your XMLQuery use case?

Regards,

Jeremy

Former Member
0 Kudos

Hi jeremy,

Can you give sample using with SoldPerMonth.xml data (xml query) using with iGrid object?

Parametirized url? (for example : CategoryName : Beverages)

Javascript code? (setting parameter value with javascript)

Thanks.

jcgood25
Active Contributor
0 Kudos

The XMLQuery can only effect the data coming from your source if the URL does it like:

/XMII/Illuminator?QueryTemplate=xxxx/yyyy&RowCount=[Param.1]&Content-Type=text/xml

I assume SoldPerMonth.xml is a static file, so you cannot use xpath or any filtering at the XMLQuery level except through the InlineTransfrom option (the xsl does your filtering and the XParamName.x and XParamValue.x allow you to pass configuration options into the xsl).

Former Member
0 Kudos

Hi,

XML Query Details for xMII 12.0 version

Click the URL : http://help.sap.com/saphelp_xmii120/helpdata/en/index.htm

Browse to the location : Data Services -> SAp xMII Workbench -> Query Template -> XML Query.

XML Query Details for xMII 11.5 version

Click the URL : http://help.sap.com/saphelp_xmii115/helpdata/en/index.htm

Browse to the location : Data Services -> Query Template -> XML Query Editor Overview.

Hope it helps

Thanks

Rajesh Sivaprakasam.