cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass value from html page to Bls

Former Member
0 Kudos

Hi Experts,

I am new to SAP MII. I want to pass the value from the html page to bls.

i.e. the value that we are passing from the html(irpt) page is the input parameter to the sql query action block in the BLS.

It would be helpful if any one solve problem.

Advance thanks..

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Use like this:

document.appletname.getQueryObject().setParam(INDEX, NEWVALUE);

you can go through this help link:

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

Former Member
0 Kudos

Hi manisha,

Thank you.. But I know the syntax for passing parameters. But my actual doubt is to get this value from HTML. what we need to do in BLS.

Former Member
0 Kudos

Hi,

In BLS,define Transaction input properties and pass that as param 1 to your SQL query action block.If more than one param are there define that many Transaction Properties and pass to SQL query action block.

Former Member
0 Kudos

Hi Ramkumar,

Here are the details:

1.Create a transaction with a input parameter through Transaction Properties.

2.Create one Xacute query and map the already created transaction to the query.

3.In IRPT page, create an applet with the above mentioned query as a QueryTemplate and pass the required input parameter to the above applet.

4. In Transaction, the input variable will appear. You can use SQL Data query action block and assign the input value to Param.1 to pass it to SQL query.

Hope this helps.

Best Regards,

Kedar