Open document passing cell value

Hi,
I trying to link summary and detail report from infoview, i would like to pass single cell value, but currently when i click a column its going to detail report but not passsing parameters.
Can some please help on this, if i should use any code instead of infoview default option.
Thanks.

Hi Raghu
You can Leverage this code here
="<a href=\"../../opendoc/openDocument.jsp?sDocName=Report Name %20Report Name%20Report Namel&sType=wid&sRefresh=Y&sWindow=Same\" title=\"Click here to open the Detail Report\" target=\"_self\" nav=\"doc\">Detail</a>"
Thanks,
Ravi

Similar Messages

  • How to pass field value from popup window to oninput processing of other pg

    Hi,
    I want to pass a field value from the popup window to oninput processing of main page ( from where popup window is triggered). and need to close the popup window. How to do it ?
    In the popup window's oninputprocessing, im doing some validation checks. If it passes all the validations, then only the control shd come to main page ..else it should stay in popup window only .
    Regards,
    Jothi.

    Hi Jothi,
    you can use java script to pass the value and close your popup window. use the following code.
    in your popup window:
    function passData(h1)
             window.opener.document.getElementById('var1').value = h1 ;
             window.close();
    then call this function when you finish your validations.
    in your main page layout create an input field with id as passed in the function above "var1".
    In the value attribute give it your variable as follow:
    <htmlb:inputField id      = "var1"
                              value   = "<%= var2 %>"
                              visible = "false" />
    "var2" will be assigned the value from your popup window.
    I hope this will help you..
    Regards,
    Husain

  • Call Transaction from Program by Skipping Initial Screen & Pass the Value

    Hi All,
    Can anybody help me to call a transaction from my program. I do not want to display the initial screen of the transaction but that TCODE should get opened by passing the values to the parameter of the initial screen.
    For Example, in my program I want to call 'SE38' and in that, my Program of Name 'ZTEST' should get opened. So I need to call Transaction SE38, but I donot want to display initial screen of that. Instead of that, I want to put the value of Program 'ZTEST' and thus my program should get opened.
    Sandip

    Hello Sandip,
    Since you have not made any references to Batch Processing, I shall tell you the normal way to do it. First look at the code below and execute it.
    set parameter id 'DTB' field 'VBAK'.
    call transaction 'SE16' and skip first screen.
    There are a few things that you need to keep in mind before you use this statement:
    1. All mandatory input fields of the initial dynpro must be filled completely and with the correct values by the SPA/GPA parameters.
    2. For the initial dynpro, in the Screen Painter the own dynpro number must not be specified as the next screen number. However, if the next screen can be reached from the first screen by just hitting the Enter key, this will work.
    The following will not work as you expect, because the next screen in the transaction cannot be reached by just hitting the Enter Key.
    set parameter id 'RID' field 'ZTEST'.
    call transaction 'SE38' and skip first screen.
    Regards,
    Anand Mandalika.
    Please reward points if this helps.

  • Open Document Method Passing Parameter and Logoon Toke Examples

    I'm looking for Open Document Method Passing Parameter and Logoon Toke Examples. Is it possilbe for a user inside the firewall to click a url link with all the logon token and parameters built in using open document method, i have not bee able examples? Thanks

    Hi,
    Make sure to apply the latest Patch2.11 and retest.
    Also, please state your datasource type. This can influence the syntax (i.e. when passign BEx variable values)
    Finally, have you tried the Web (DHTML) editor (bilaunchpad webi preference)?  it has an OpenDocument 'wizard' to help you build-up the correct syntax . 
    please do the 2 above steps, and get back to us.
    Regards,
    H

  • How to pass multiple dates through open document syntax

    Hi Team,
    I am need to pass more than one date from the summary report to detail report. What is the open document syntax to achieve this requirement. Thanks in advance
    pra

    Hi Pra,
    I believe you would need to use the lsM[NAME] syntax.
    lsM[NAME] is used to specify multiple values for prompts, separated by a comma.
    For instance:
    http://<servername>:<port>/OpenDocument/opendoc/<platformSpecific>?iDocID=Aa6GrrM79cRAmaOSMGoadKI&sID
    Type=CUID&sRefresh=Y&lsMparamStringDR=[c],[d]&lsMparamNumberDR=[3],[4]&lsMparamDateDR=[Date(2003,6,3)],[Date(2003,6,4)]&lsMparamDateTimeDR=[DateTime(2003,6,1,3,1,1)],[DateTime(2003,6,1,4,1,1)]
    Crystal reports
    If the target is a Crystal report, each value must be enclosed in square brackets.
    Web Intelligence documents
    The character ? is a reserved prompt value for Web Intelligence documents in an openDocument URL. Setting the prompt value to lsM[NAME]=? in the URL forces the "Prompts" dialog box to appear for that particular prompt.
    I hope this is a very helpful answer to you.
    Kind regards,
    John

  • How to pass the value of an Excel cell to XL Reporter

    Hi guys,
    I'm posting this here because no one could help at yahoo's XLR group.
    My problem is I need to passa the value of an Excel cell to ixGetData.
    Searching I found there where 3 possible ways,
    1)      =ixGetData("manager"; "RLH6J"; "[Pelissari].[dbo].[RelContas_a_Receber]"; " CardCode, CardName"; " CardCode ="&B6)
    2)      =ixGetData("manager"; "RLH6J"; "[Pelissari].[dbo].[RelContas_a_Receber]"; " CardCode, CardName "; " CardCode =Cell("Contents", B6)”)
    3)      =ixGetData("manager"; "RLH6J"; "[Pelissari].[dbo].[RelContas_a_Receber]"; " CardCode, CardName "; " CardCode = Cell(B6))
    The problem is none of them are working!
    Can anyone help me, please?
    Thanks!
    Edited by: Darius Heydarian on Mar 27, 2008 11:44 AM

    I'm sorry, I dont have the perfect solution.
    I ceated a UDT [@Params] or UDF where the user has to insert the values for XL Reports (for exampel CardCode). After the User inserted the value he can start the XL-Report which are reading from this UDT or UDF the value into the GetData function. You must only insert a query into the condition of GetData :
    =ixGetData("manager"; "RLH6J"; "Pelissari.dbo.RelContas_a_Receber"; " CardCode, CardName"; " CardCode = (SELECT Name FROM [@Params] WHERE ID='XL-CardCode')")
    If you will find some other possibilty please let me know.
    Hannes

  • Creating Hyperlink to pass section values

    Hi All,
    I have created two webi reports. I have to pass a section value from 1 report to another report.So that the second report should open with same section value from 1 st report.
    SAP Mobile app 5.1..9 / BOBJ 4.1 SP3.
    The URL in OpenDoc will have this sytax added
    sectionByPathName
    When I view in IPAD its not working . Any help is appreciated.
    Thanks,
    Pats

    Hi Andrew,
    try getting the parameters to be displayed in a cell and use the parameter lsS or lsM(for multiple values) and pass the parameters to report 2 using openDoc.
    The document here lists the options with openDoc,  might be helpful otherwise
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_opendocument_en.pdf
    Thanks,
    Rajesh

  • Passing all values to the child report in OpenDoc - XIR3.1

    Hi all
    in XIR3.1
    iam able to write the open document syntax and also able pass some prompts i wanted like month, year, ID,... etc
    am able to pass and open a child report based on parameters when i select one value of those fields from dropdown in drill mode
    my requirement is if i select All Months or All Years from the dropdown it should generate a child report based on All Years Parameter can we do this
    Any ideas please
    Thanks in advance

    You may refer to the article:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/WebItrick-drillamongmultiplereports
    And you will find out the way to transfer the all value.

  • How to pass input value to the IN parameter in a function

    Hi ,
    I'm new to pl/sql programming.
    The below function is used inside a package and the package is invoked in visual studio.
    The function uses 2 input parameters.
    Out of which 'in_report_parameter_id' value comes thru job processor service 's job request.
    The second IN paramter values are hard coded in the function.
    I'm not able to understand this.
    If the values are hard coded , how to make sure that only the hard coded values are the right ones?
    Please anyone could explain to me?
    I really dont have good idea about how to pass INPUT parameter to the functions or procedure
    Is there any nice document which could give me good understanding about what are the ways or types we could pass values to the input parameter in subprograms?
    thanks in advance.
    CREATE OR REPLACE FUNCTION get_class_text_str
         in_report_parameter_id IN NUMBER,
         in_which                IN VARCHAR2 DEFAULT 'SELECT'
    RETURN VARCHAR2
    IS
             end_text            VARCHAR2 (50)   := '';
             my_class_text_str  VARCHAR2(10000) := '';
             my_class_value_str VARCHAR2(10000) := '';
         CURSOR class_text(c_1_text VARCHAR2, c_2_text VARCHAR2) IS
         SELECT c_1_text || report_parameters.report_parameter_value
                               || c_2_text
                               || report_parameters.report_parameter_value
                               || '" '
          FROM report_parameters
         WHERE report_parameters.report_parameter_id     = 3690
           AND report_parameters.report_parameter_group  = 'CLASS'
           AND report_parameters.report_parameter_name   = 'CLASS'
    GROUP BY report_parameters.report_parameter_value
    ORDER BY CAST(report_parameters.report_parameter_value AS NUMBER);
    BEGIN
         IF (in_which = 'SUM') THEN     
              OPEN class_text ( 'SUM(NVL("Class ', '", 0)) "Class ' );
         ELSIF (in_which = 'PERC')THEN
              OPEN class_text ( 'ROUND((("Class ', '" / "Total") * 100), 2) "Class ' );
              end_text := ', DECODE("Total", -1, 0, 100) "Total" ';
         ELSE
              OPEN class_text ( 'SUM(DECODE(bin_id, ', ', bin_value, 0)) "Class ' );
         END IF;
         LOOP
              FETCH class_text INTO my_class_value_str;
              EXIT WHEN class_text%NOTFOUND;
              my_class_text_str := my_class_text_str || ', ' || my_class_value_str;
         END LOOP;
         CLOSE class_text;
         my_class_text_str := my_class_text_str || end_text;
         RETURN my_class_text_str;
    END get_class_text_str;
    /Edited by: user10641405 on Nov 19, 2009 8:16 AM
    Edited by: user10641405 on Nov 19, 2009 8:30 AM

    This is not a design I would use, but should work if coded properly. I would probably build a reference cursor query as text and use one open fetch and close.
    You have 2 input parameters, in_report_parameter_id and in_which. I could not find where in_report_parameter_id was used in the program, but the value passed in for in_which is being used in IF logic to decide how to open the cursor. After the cursor is open rows are being fetched and eventually the cursor is closed.
    The values in_which are compared to are hard-coded. It is the programmer's job to make sure the values listed are the right values and the actions taken are also correct. Your program is assuming that if the first 2 values are not encountered the third one listed is the one you want.
    To pass input values to a procedure you merely provide the values as a literal or variable in the call, something like
    whatever := get_class_text_str(1,'SELECT');

  • How to get all open document?

    I want to replace some elements through all open documents in
    dreamweaver.
    eg. replace <b> to <strong> and </b> to
    </strong>
    I know i can do this by using "replacing all", but i want to
    replace a lot of things together. it's boring to replace them one
    by one :P
    Anyone know how to make it?
    Thank you for your help! ^^

    "xsiren" <[email protected]> wrote in
    message
    news:f1v1o5$333$[email protected]..
    > the "dreamweaver.getDocumentList()" is only for get all
    the list of open
    > documens, istn't it?
    > i tried to alert the value of it, and it show something
    like
    > "file://D:\develop\1.html" "file://D:\develop\2.html"
    And then you are supposed to get the DOM out of the url,
    passing it as an
    argument to dreamweaver.getDocumentDOM()
    Massimo Foti, web-programmer for hire
    Tools for ColdFusion and Dreamweaver developers:
    http://www.massimocorner.com

  • Problem in Passing the value from child window to Parent window.

    Hi Frenz,
    I have a requirement like this. i have to pass a value from child window to parent window to one test field. That text field is not a normal text field.
    It was created like the following as SQL query.
    select
    ''LNo,
    apex_item.text(25,'',0,15,
    'style="width:100px;" onblur="javascript:showUpsell(this.value);" onkeypress="javascript:validateKeyPress(event,this.value,this.id);" onkeyup="javascript:this.value=this.value.toUpperCase();" id="P37_ITEMNO"') ItemNo
    Now i want to pass a value to the Item no from child window.
    i wrote the java script like this,
    opener.document.forms[0].f25.value="100";
    It was not working..Any suggestions for that..
    Thanks in advance

    Dear Baaju,
    How do you redirect your control from Child to Parent window.
    If you use a button to do this, then you can set this value in the branching of page.
    Rana

  • Passing JavaScript values to JSP variables

    Can any body correct the follwing code
    <Script language="JavaScript">
    function test( x )
    <%
    int num = x;
    num = num * 2;
    %>
    v.value = "<%out.print(num);%>";
    <input type="button" name="b" value="test" onClick="test(5)">
    <input type="text" name="v" value="0">
    In short, I am trying to pass JavaScript value to JSP variable. I hope that it is possible to do that. If it is possible then how can I do it. I want to assing the variable x passed to the JavaScript function called test to the JSP variable called num.
    Regards,
    Ageel

    Thank you for your reply,,,
    I think then the only way to do it is to post the
    value on the server and then use request.getParameter
    method in jsp code
    but the question now how can I post values to the
    server using JavaScript without reloading the pageyes... you can to it by create a new popup window which will submit the value to server after page was loaded... then, server return a value to the same window in html/jsp page which then using javascript to set it back to the opener and close up the window... however, this is not a good choice unless you have no other alternative...
    >
    There is other possible solution
    if I can get the text field value from the same page
    without reloading it that would work fine and will
    solve my problem, is it possible?yes... you can get the value from the textfield...
    for example :
    function showValueInTextField()
        alert(document.forms[0].elements["mytextfieldname"].value);
    >
    My final question> can jsp change things on the same
    page without reloading it. I mean can it work like
    JavaScript so that I can use it's internal functions
    instead of using java script :S
    not really know what you trying to say here...

  • XI 3.0 Open Document and BEx variables (prompts)

    Can open document in Web Intelligence 3.0  be used to pass values to BEx variable/prompt (where the BEx variable is part of a query which populates the universe)?
    Thanks

    We were actually able to get this to work, but the we have discovered we cannot pass values that have two words.
    For example, the value "Batteries" is accepted successfully.  But the value "Fuel and Gases" is not passed successfully. 
    Here is the open document syntax (as generated by the wizard):
    ="< a href=\"https://stld9862.hydroone.com:8081/OpenDocument/opendoc/openDocument.jsp?iDocID=M0jqGzEABdqBABTwlgAAQ.IAAo4KDH8AAAA&sIDType=CUID&sType=wid&sRefresh=Y&lsMMaterial%20Group%20Mandatory="URLEncode(""URLEncode([L01 Material Group]))"&sWindow=New\" title=\"\" target=\"_self\" nav=\"doc\">"[L01 Material Group]+"</ a>"
    Please note, I changed the tags <a to < a so to keep the formula in BOBJ syntax.
    Edited by: Steve Bickerton on Oct 7, 2008 3:13 PM
    Edited by: Steve Bickerton on Oct 7, 2008 3:14 PM

  • Opener.document.forms.wwv_flow.supplier has no properties

    I'm trying to pass a value from a Popup page to a multi-row report (tabular form).
    and I'm getting the error, which you can read in my subject line of this posting.
    I don't know what the error is telling me when it reads: SUPPLIER has no properties.
    the javascript is as follows:
    opener.document.forms["wwv_flow"].supplier['f01_0008'].value = passVal1; close()...
    where SUPPLIER is the item in the Tabular Form to receive the value I'm passing back from the popup page.
    and
    f01_0008 is the identifier for the row in the tabular form to passback to.
    Can anyone help me here?

    Hi Carl. Thanks for your reply. I'm really floundering around here with this.
    I don't really know how to write javascript, but am using what I find available and trying to adapt it to my application.
    I found an example in the forum that seemed to be an exact match to what I was trying to do, but it was incomplete.
    This is the code that I've got in the HTML header of my Popup page:
    <script language="JavaScript">
    function passBack(passItem1, passVal1)
    opener.document.forms["wwv_flow"].supplier['&P143_ITEM.'].value = passVal1; close();
    </script>
    P143_ITEM is a hidden item on the popup page that contains the rownumber from the tabular form on the calling page.
    SUPPLIER is a column in the row of the calling page.
    And is where I want to pass the value To from the popup page.
    When I drag my cursor over the hyperlink text on the Popup page,
    Then the information I see at the bottom of the page is this:
    javascript:passBack('f01_0006','Graybar Electric Co.');
    It appears to be correct.
    Where F01_0006 is the row where I want to pass the value GRAYBAR ELECTRIC CO.
    The problem seems to be that I cannot specify the Column where I want to pass
    'Graybar Electric Co.' to. (ie: the column SUPPLIER)
    If you have any ideas, it would be greatly! appreciated.
    Thanks- Gary

  • Open document

    I want to connect two parameters for the open document.  The "main" report for lack of a better word.  Has a parameter that allows multi numbers to be picked from a LOV.  I want to pass whatever they picked to the report at the other end of the open document.

    To troubleshoot this, you should this, copy the logic into a regular formula so you can output it when you run the report to what it is producing.
    OpenDocument will work if you don't provide parameter values, it will just prompt you for them before it runs the report.  So you can try this to make sure it is pulling the report:
    "/OpenDocument/opendoc/openDocument.jsp" +
    "?sIDType=CUID" +
    "&iDocID=AThzv_8zPmRFtcbWbCa2QtE" +
    "&sType=rpt" +
    "&sOutputFormat=H" +
    //"&lsS" + urlencode("Parent PK",2) + "=" + ToText({EquityIntelligenceDatamart_query.Product Line Parent PK}, 10, "", ".") +
    "&sWindow=Same" +
    "&sRefresh=N"
    If it works, uncomment the parameter part of the code.
    If you put this whole thing in a regular formula, without the parameter piece commented out, what is returned?  Can you post it so I can see what is returned in the Product Line Parent PK field?

Maybe you are looking for