Executing BLS Transaction through Xacute query template?

Hi Experts,
Am having a SQL query template for which am passing value from web page after user input and i have added this SQL in my BLS transaction in illumSQL action block. I have created Xacute query template and display template(iGrid) for displaying output from transaction.
Problem am facing is that am not able to execute my transaction after passing values to SQL query. How to get this working?
Regards,
Ravi Shankar

Hi som sarkar,
Let me explain my problem this way, let say am having SQL Fixed query and am doing some field selection based on the parameter which is been passed to the query template.
-Checked the query template returning values, working good.
created one Display template to display whatever been fetched by query template(iGrid).
-Generated applet working good.
Now if i pass the parameters from webpage to SQL query(parametes are mapped in query template) and update the grid, it should work right but its not...
Thats what i was trying to ask you so far.
Regards,
Ravi Shankar

Similar Messages

  • Using MAP parameter type through Xacute Query

    Hey All,
    I have a transaction that has an input parameter of type Map.
    My question is what is the format I have to pass to the transaction through an xacute query.
    I've tried
    Key=[string:Value]
    Any help would be appreciated.
    Jasper
    Edited by: Jasper Vander Velden on Nov 8, 2010 9:54 PM

    Hi Jasper,
    This worked for me, give it a try and let me know. Obviously, substitute your own key/value pairs   I added a Tracer inside the transaction, and this is the format that was display in the Tracer Message.
    {myInt=[[integer:22]], myString=[[string:burp]]} 
    Pardon all my edits, for some reason, the brackets weren't showing, should be brackets around integer:22 and string:burp
    I think I got it fixed!
    Kind Regards,
    Diana
    Edited by: Diana Hoppe on Nov 8, 2010 6:10 PM
    Edited by: Diana Hoppe on Nov 8, 2010 6:11 PM
    Edited by: Diana Hoppe on Nov 8, 2010 6:11 PM
    Edited by: Diana Hoppe on Nov 8, 2010 6:12 PM
    Edited by: Diana Hoppe on Nov 8, 2010 6:14 PM

  • Transaction demarcation in query templates and BLE?

    We have a business process which needs to insert N-many records into a table as a single transaction - if one insert fails, they all rollback.  The number of records and record values are, of course, variable.  How does xMII 11.5 support this or does it? 
    I could think of some very ugly hacks using a fixed query and creative use of query template parameters, but I'd rather not go there.
    Thanks,
    -tim

    XMII has no database transactional support.
    The last site I worked at rolled their own action block to handle this and support distributed transactions.  Basically, any number of data connections and SQL statements could be passed to the action block and then commiited in one pass.  It was quite a bit of work but it was a major requirement of the client.

  • $.ajax(): what is the difference between calling a transaction and Xacute query?

    I can call either:
    $.ajax({
         type: "GET",
         url: "/XMII/Illuminator?QueryTemplate=somePathToXacute/someXacute&Content-Type=text/xml&Params...",
         dataType: "xml",
         success: function (result) {...}
    $.ajax({
         type: "GET",
         url: "/XMII/Runner?Transaction=somePathToTransaction/someTran&Content-Type=text/xml&Params...&OutputParameter=outXML",
         dataType: "xml",
         success: function (result) {...}
    When I call an Xacute query, the first execution works, but the second doesn't. I figured out that I have to add "cache:false" and then it is okay. If I use a transaction instead of Xacute query, it works with or without cache. Why is that? Transactions are not cached? Only Xacute queries?
    What is the cost difference in time if I call directly a transaction, instead of an Xacute query? What is the advantage to call an Xacute at all?
    Thx

    Hi Tibor,
    These points should clarify your doubts:
    1. Transactions are not cached but queries are.
    2. Advantage of using Xacute query is that the Illuminator service used to call Xacute query supports JSON from MII 14.0. Use content-type as text/json in the URL. But the restriction is that the transaction should return the XML in MII Rowsets-Rowset format.
    3. Though both the calls would take almost time(I think) but you should call transaction directly( no need to wrap it with Xacute query if not required).
    Regards,
    Rohit Negi.

  • Portal runtime error while executing BI report through BEx Query designer

    I want to execute a query from query designer but when I execute it the following error occurs -
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 04:30_30/04/11_0008_35740651
    Refer to the log file for details about this exception.
    I have checked log, the error displayig in log is,
    ACCESS ERROR: Authorization check for caller assignment to J2EE security role SAP_J2EE_Engine:administrator
    Kindly help me.
    regards
    nk

    Dear Friends
    I have the same with this problem
    Please help us to resolve this problem
    Thanks and best regards

  • Reg : Navition to FB03 Transaction through SAP Query

    Hi Experts,
    I have developed a SAP quesry for BSIS table with Clearing Doc ( which is always blank value) and Acct doc in the output list and I have made this report as interactive ( RRI- Report/ Report Interface ) to navigate to FB03 whenever a line is selected. It is working fine in 4.6c system but now we have upgraded to ECC which is given an error message 'Enter the document number'. I have check with OSS notes and relevant details but I could not find the solution for this.
    Please help me with some suggested solutions on this.
    Thanks in advace.
    Regards,
    Srinivas

    Not possible as bith the data elements are same...

  • Passing query template name to BLS SQL action in the link editor

    I want to have one transaction that uses the SQL query action, but which query template it uses will be dependent on some user input. I am having trouble passing the query name. I'm using the full file path in xml format (i.e. "c://<folder1>//<folder2>//<folderN>//"&PassedFileName&".xml", but with backslashes instead of forward slashes). I got an error around the connector, so I set that too. Then I got an error around mode, so I set it to "FixedQuery". Now I'm getting, "The Query expression was not set with the Query parameter".
    There are only 3-5 possible queries that will be used, so I'd rather build SQL queries and just pass the transaction the name of the query, as opposed to passing the full text of the query each time.
    Thanks,
    Carrie
    Edited by: Carrie Schimizzi on May 9, 2008 6:38 PM
    Edited by: Carrie Schimizzi on May 9, 2008 6:39 PM
    Edited by: Carrie Schimizzi on May 9, 2008 6:40 PM

    Carrie,
    If you haven't already done so, configure your master BLS transaction with a proper representative runtime variation, which will make the whole process simpler to create and troubleshoot.  Quite often when people try to use the dynamic capabilities of MII, they end up getting confused because of user over-complication.  In your SQLQuery action block make sure you configure it to a valid template that would be one that the user would provide as an input (don't forget to allow the generation of sample results for making any subsequent trx efforts easier).  Then look in the link editor and you should see this string value for the query template link if you hover over the corresponding blue T icon.  This will show you the format you need to provide from your Transaction input property (which should also have a valid default value assigned so you can test the transaction by itself, without needing to initially rely on the Xacute Query template layer.
    Regards,
    Jeremy

  • Not getting any output when running the Webservice through Xacute

    hai all,
    I am using a transaction as web service to be called in another transaction in the same server. I can see the output of the web service in the tracer, when I execute it in the BLS. But if I run the same transaction via xacute query I am not getting any output. I had read in one of the threads that reference document has to be assigned. I tried doing that also, but no luck. Can somebody pls. throw some light on how to use reference document & whether it is required in my case?
    Thanks,
    vidhya

    Hai Rick,
                    thanks for the hint i have used document and row actions now iam gettting output through xacute...
    thanks,
    vidhya.

  • Output Parameters - BLS Transaction

    Hi,
    i set an input and output parameter in BLS transaction. Output parameter mapped with write_file.success. i call this transaction via xacute query. i am sending input parameters successfully. the file created. but i want to know at front end via writefile_success. how to call this output parameter via applet? i tried document.<my applet>.getQueryObject().getParam(1). but it shows no object like this. how to do it?
    -senthil

    Hi Senthil,
    If you need a output parameter of a bls from front end.You need to create and Xacute query for that transaction and in the html add the query as a iCommand applet and after executing the applet,Use the line below  to get output parameters of the BLS.
    document.iCommandAppletName.getValue(COLNUMBER,ROWNUMBER)
    Regards,
    Ravi Kumar

  • Getting the input values in xacute query

    Hi friends,
       I have webpage which should send production order number to the xacute query.
         In the xacute query iam calling a BLT where i have defined a transcation property for this production order number of type input and defined tracer to check whether its getting any prodution number or not.
    When am testing the xacute query i was not getting any production number which i was passing thru webpage.
    Can anybody tell me how should i get the value from the webpage to the xacute query.
    Please help me out.
    Thanks in advance.
    Regards
    Sireesha.

    Hi,
    I hope you get the production order no from some applet.
    Include one more param and call a funtion in that applet
    For example:
    <param name="CellSelectionEvent" value="Functionname">
    Then add your Xacute query template in your webpage.
    In the function, You call this query and set the param.
    For example:
    If you enter some value through forms in webpage
    functionname()
    var x = document.<xacute applet name>.getQueryObject();
    x.setParam(1,document.forms[0].<value>);
    If you get values from applet(applet name)
    functionname()
    var x = document.<xacute applet name>.getQueryObject();
    x.setParam(1,document.<applet name>.getGridObject().getSelectedCellValue(columnno);
    You can also directly call this transaction in your web page via URL and pass the parameter.
    In this case thee is no need to create xacute query.
    Hope this helps you.
    Regards,
    P.S.Kishore kumar

  • How to call both xacute query and xml query inside a single applet

    Hi,
    I am very new to XMII. Trying with a simple exercises now.
    1.  I have a Business Logic Transaction which will call external application using web services then it will get an output as xml and storing it in C:\.
    2. Then I created one xacute query which will call the transaction
    3. Then I created a xml query that will read the xml in c:\ and I too created a visual display template(ichart)  for it
    4. Created a html file -- created a applet , called all the 3 inside it. NOt getting any graph in IE
    5. But if I call only xml query and display query its working
    <b>following are my HTML file:</b>
    <html>
    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Order Percent Complete</title>
    </head>
    <body>
    <p>
    <APPLET NAME="MyApplet" WIDTH="640" HEIGHT="400" CODE="iChart" CODEBASE="/Illuminator/Classes" ARCHIVE="illum8.zip" MAYSCRIPT>
    <PARAM NAME="QueryTemplate" VALUE="UserTemplates/POTxnTemplate">
    <PARAM NAME="QueryTemplate" VALUE="UserTemplates/POTemplate">
    <PARAM NAME="DisplayTemplate" VALUE="UserTemplates/POVisual">
    </APPLET>
    </p>
    </body>
    </html>
    6. In POTxnTemplate -- calling Transaction BL
        In POTemplate -- fetching xml from c:\
        In POVisual -- displaying the ichart (using POTemplate)
    Can any one help me with this?
    I am doing in the right path?
    Thanks in Advance,
    Murugappan.

    Hello,
    You can only enter one query template into an applet.  Use the xacute query template.  In the transaction assign the output of the web services results to a transaction property of type xml making sure you select the "Output Parameter?" option.  These results will need to be in xMII format.  Then open the xacute query template and verify that the output parameter you created is selected as an Output on the transaction tab.

  • Web Service to xml to bls to xacute query formatting

    Hi.
    I have a BLS calling a web service which returns a data set in the xMII XML format. I take that output and put it in a xml transaction output property and try to read it with an xacute query. (obviously I will be doing more manipulations to the data in the bls once i get this issue resolved). The query returns a blank page when tested.
    OK, so I take the same xml output, and in the same bls use the Write_File action to create an xml file, then use the XMLLoader action to read in that file back into the bls, assign the results of the xmlLoader to the xml transaction output property and try to read that output with an xacute query. I get the data when I test the query.
    Now, I don't touch the format between the web service and the file or after I load the file. How come the xacute query can read one transaction output and not the other?
    I have taken both transaction propertie values from a trace log and compared the strings and find no difference between the return from the web service and the result of the xmlLoader. I don't want to take the output of the web service and write it to a file just to get in into an xml format that works properly.

    I am sure that is the root cause, but how do I do an explicit type conversion without going through the output to file and load xml step? What else is needed?
    The return of the Web Service is an XML that contains an XML string in the xMII format. I can look at that string and it looks correct (Though xacute doesn't recognize the string as an xml structure). I can take that string and put it in an XML transaction property and it looks correct (the reference in the BLS is: SqlXml2.SQLXML2Response{/ns1:SQLXML2Response/ns1:SQLXML2Return}). I can take that XML variable and output to a file and then load that file and it actually is correct (though the content of the file and the return string from the web service are identical). So, I can see that the type conversion takes place when I load the xml file but I haven't found the action that will do the type conversion otherwise even though the "conversion" doesn't seem to require changing the content at all. Have I missed something?

  • HTML - Business Transaction - Xacute Query

    I have a problem in my HTML/JavaScript calling an Xacute query.  My business transaction gives me the expected results.  My Xacute query gives me the correct results.  However, when I run the HTML, I'm getting an error.  The error does not display on the screen.  Instead blanks display on the screen.  I've been looking at it for a couple of days.  I can't see the problem.  Any help you could provide would be greatly appreciated.
    Here's my JavaScript code:
    document.get_oper_cmd.getQueryObject().setParam(1,order);
    document.get_oper_cmd.getQueryObject().setParam(2,WrkCntr);
    // Execute the get operations applet (DSH_GET_OPER_DET_XQRY)
    document.get_oper_cmd.executeCommand();
    //If there are errors
    if (document.get_oper_cmd.getLastError());
         //Display the error then leave
         {alert(document.get_oper_cmd.getLastError());
         alert("Errors")
          return;
    When it runs - I get an alert that is blank, and then an alert that has "Error" assigned to it.
    Thank you for the help,
    Michelle

    Hi,
    Try something like this:
    I hope <b>get_oper_cmd</b> is your applet name.
    document.get_oper_cmd.getQueryObject().setParam(1,order);
    document.get_oper_cmd.getQueryObject().setParam(2,WrkCntr);
    if ( document.get_oper_cmd.executeCommand() )
    else
         alert("Some Problem has occured" + document.get_oper_cmd.getLastError())
         return;
    the statment <b>document.get_oper_cmd.getLastError()</b>
    will not return any boolean type to if statment it returns a String.
    Through this you will get know where error is going on.
    And you said blanks the screen. through iCommand applet you cannot display instead you need to use iGrid applet. But if you are Inserting/updating etc then use iCommand applet.
    Regards,
    Adarsh

  • Error while executing the payroll through transaction code PC00_M40_CALC

    Dear Sir/ Madam,
    While executing the payroll through the transaction code PC00_M40_CALC , i am getting the error as mentioned below :
    "Division by zero not performed "
    Calculation rule X0133****5            RTE = ISDIVP DIVID ARR ZERO=A   ADD
    I am not able to resolve this error. So request to guide me on this.
    Thanks & regards,
    vijaya.s.c.
    Moderator message: wrong forum, please have a look in the (I guess) ERP HCM forums.
    Edited by: Thomas Zloch on Jan 24, 2012

    Hi,
    Maintain have you changed any x013 rule?
    If not, just maintain attendance/time events then process the payroll.

  • Error While Executing Transaction Through SSO

    Hi Guys,
    I am trying SSO between Portal 6.0 and BW 3.5
    I have added my BW system into Portal, RFC as well as JCo is working fine.
    While executing any transaction its giving me following error.
    http://<host_name>:<Port>/sap/bc/gui/sap/its/webgui call was terminated because the corresponding service is not available.
    The termination occurred in system <SID> with error code 403 and for the reason Forbidden.*
    The selected virtual host was 0 .*
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:<host_name>_<SID>_<nr>-v:0-s:403-r:Forbidden
    Appretiate your response
    Regards,
    Sachin

    Sachin,
    Please refer to these links, you can have a look at the check list to figure out if you might have forgotten or missed a step while configuring the SSO.
    Single Sign On between EP6.0 and BW 3.5
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/sso%2bchecklist
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6535e690-0201-0010-6989-9e27386e1f24
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/portal+implementation&
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d3/41c8ecb31d11d5993800508b6b8b11/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eb036a-0a01-0010-25a3-b2224432640a
    Reward points if handy!
    Cheers,
    Sandeep

Maybe you are looking for

  • Does anyone from Apple support read the forum?

    Just wondering cause a lot of people have unanswered threads here.

  • While loop hangs in my script

    Hi guys, I want to check if SCCM (install windows image) is ready. If it's not, than it has to sleep. I want this in a while loop because when it takes longer, it must loop another 5 minutes. When the image is ready it must go back to the rest of thi

  • Monitor exclusive lock on a table and send notification email through EM

    Hi, I have Oracle10g and EM10G running on different servers. now one of my plsql code creates an exclusive lock on one of my tables. i want to monitor this exclusive lock on this table through the EM. and when the exclusive lock on the table is conti

  • Firefox upgrade kept it a secret what, exactly was different

    I just checked to see if there was an update to Firefox V:5. The check said there was, but gave me no useful information about what was different. So I told the program to download the changes. It downloaded the changes, and promptly installed them w

  • Approaching deadline for submission - OpenSPARC contest

    Hello All, Just wanted to highlight that deadline for OpenSPARC contest (http://www.opensparc.net/community-innovation-awards-contest-rules.html) is fast approaching. Submissions must be turned in by June 30th to be eligible. I have seen many interes