cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter passing problem in query between web page and SAP xMII 12.0

Former Member
0 Kudos

Hi All,

I am using SAP xMII 12.0. I am facing problem in passing paramter and range (low, high) values to SAP xMII query.

In this I am using XacuteQuery as Query, XacuteConnector as server and Query as modes in setting up the query.

In module PPPI 1 project named PPPI_Test created, in which for getting process orders 1 transaction named ProcessOrderListNew_Query has been created. In that under Template Categories tab -> Transaction Details -> Mapped Param Targer 1 -- Mapped Param 32. Here I have written Transaction property name to which i need to pass dynamic value from Web Page. But in Param tab which values has to be passed? When I am hardcoding some default values, proper output is displayed, but here I have to pass values entered on WebPage.

Also tell me which values has to maintained here -- transaction named ProcessOrderList--> Transaction Properties --> MaterialRangeHigh --> Property Detail tab --> Value?? Similarlly for MaterialRangeLow, Date, Production plant and Order type.

Here Applets are used for interfacing.

Plase help me on this issue of passing parameter and range values dynamically to XacuteQuery of SAP xMII from WebPage.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

jcgood25
Active Contributor
0 Kudos

Between webpages is quite simple. It sounds like your Xacute Query template and BLS are configured to receive the properties, so make sure the web page containing your applet uses an irpt extension and then add the following lines within your applet tags to receive the tokens for the query:

<PARAM NAME="Param.1" VALUE="{LowRange}">
<PARAM NAME="Param.2" VALUE="{HighRange}">

Then call your page with a URL like: ...Page.irpt?LowRange=0&HighRange=100

If you look at the web page examples in the Module Library template downloads here on SDN you'll see examples like this, as well as others.

Former Member
0 Kudos

Thanks

But here I am facing problem in generating query template also. Which values should pass in Properties detail window and value for MappedParamTarget.?

Kindly help me on this for generating query template with dynamic parameter and rangehigh, etc

Former Member
0 Kudos

Siddharth,

Mapped Param. Target is where the name of the transaction input property. Param is the value of this property. Thus, if you have an input property to your transaction called rangehigh, this would be the Mapped Param Target to which you would assign a value in the Param field.

From the web page, it is important to remember what transaction input property you designated as Mapped Param Target 1, Mapped Param Target 2, etc.

Hope this helps.

Kind Regards,

Diana Hoppe