Passing dynamic parameters in hyperlinks

Post Author: alguser
CA Forum: Profitability Applications
I am using the former ALG Activity Analysis/Predictive Planning application, which I gather is now known as profitability.  Is there a way to use variables as query string values in hyperlinks in books?  I am unable to escape out of the url string so as to provide a variable name.  I would prefer hyperlinks to buttons.  Here is a quick example of what I mean: [In the URL field of a hyperlink control]BookTitle&SomeVariable=' + somevariableThanks.

Hi Shakeel,
     Actually, currently no custom parameter passing is working through the iView onto the Web Dynpro application.
     The app. feature is for passing parameters automatically to the startup plug as named parameters within a Web Dynpro application.  (On my version this feature does not work either.)
     Anyone else try this yet?

Similar Messages

  • Passing dynamic parameters to an IR Report

    Hello,
    We have installed Hyperion BI+ 9.3.1. We are in the process of evaluating the development of IR reports which would
    have a requirement to have parameters passed dynamically. For example, we'd be interested in passing a date as a parameter which then would be used by the query inside IR to filter/bring back data from the database pertinent to the date being passed.
    The need for this is because once developed we want to execute the IR on a weekly basis whereby the date keeps moving forward to be then used to extract relevent data.
    Any thoughts on how this can be done? Also, on a related note are there any backend command line utilities or interfaces that can be used to pass the parameter dynamically to the IR report?
    Thanks in advance
    Rajesh

    Doug,
    Thanks for the response. The delivery of the report output would be via Workspace (iHTML). I mentioned date parameter as an example. The report or reports may need to accept other paramaters as well - like department id or product. While the number of parameters and the nature of the parameters would be known ahead of time the value would need to be derived dynamically (by say reading a database table containing transactional data)
    As for the command line utility, I am thinking more along the lines of say Oracle Reports which enables you to invoke a run-time command (rwcli60 for example) and pass the necessary arguments to the report.
    I have seen the sample java programs that are shipped with the product (and we have used one of them called AddBqy) but haven't seen one that enables passing dynamic parameters.
    I will look into the SmartCut option as recommended by you.
    Any more insights/suggestions will be greatly appreciated.
    Thanks
    Rajesh

  • Hyperlink Bag : Passing two Parameters to Hyperlink bag

    Hi,
    Pls let me know if any one has worked on how to Pass two parameters to Hyperlink Bag in MSA 5.0.My code is working fine with single Parameter but when I pass two parameter it is throwing an error.
    Appreciate if some one can share a code for the same.
    Thanks in Advanace.
    Thanks and Regds
    Harish

    Hi Ramakrishna,
    Thanks for your prompt reply. I have gone through this document. My requirement is different than what's stated in the document. The users filter their records in the VC application by using more than one filter and press the button called 'Open Query' button. The system then takes them to WAD. The WAD should be able to set the same filter value/s that they select in VC application. But at the moment, it passes only one parameter to WAD regardless of how many filter values that users select in VC. Please suggest on this matter.
    Thanks.

  • Pass Dynamic Parameters to a iView

    Hi,
    We have a reuirement where we need to pass the URL iView Parameters dynamically..The link to access the URL iView needs to be constructed in R/3 with a parameter value(Example: Work Item ID), which is dynamic.
    This constructed link will be send as part of a email. So each email sent will have a different parameter value.
    Thanks in Advance.

    Hi Sethuram,
    What type of application is the iView running?  I can provide code if you'd like to call a BSP or ABAP Web Dynpro application directly.

  • Passing dynamic parameters

    Hi,
    Is there any way to pass parameters dynamicaly to a Web Start application? Using jnlp->application-spec->arguments in jnlp files seems all static, unless I want to generate the jnlp file itself on the run. When I use JSP that includes Applet, I can pass session information and user inputs into the Applet by using something like this:
    <OBJECT ....>
    <PARAM name=USER_NAME value="<%=session.getAttribute("userName")%>">
    </OBJECT>
    Is there any similar machenism for Web Start?
    Thanks a lot.
    -Fang Lu

    The normal way to do this is to dynamically generate the jnlp file. This can be done in javascript, by jsp, or by a servlet such as the JnlpDownloadServlet provided in the developers pack.

  • Passing dynamic parameters to BEx WA queries

    We would like to be able to filter data and customize BW reports by passing variables to BW queries which could be filled dynamically by user profile attributes.  So, a few of questions related to BW iView:
    1. How can User attribute be referenced or specified as UME variables in the query string ?  Or, in other types of iViews ?
    2. What is the difference in passing these as Application Parameters or Parameters Forwarded to BEx Web Application in BW iView?
    3. Would it be more efficient to pass the user id or just a session data to BEx?  Allowing BW to figure out the other user related parameters [for example job role, geography, etc. ] from BW user directory and apply them to the parameterized query internally on the BW server.
    Thanks in advance,
    Jerzy

    hi,
    Below format you can pass the value for bw report .
    For Query report: cmd=ldoc&query=Query_name
    For Template report:cmd=ldoc&template_id=Template_name
    If you want pass more value, you can append with '&' symbol in the query string.

  • How to pass dynamic parameters in ODI

    Hi
    I am using ODI tool for EL-T, i want to understand how dynamic parametrs can be passed from an interface to another. Output of one interface should be the input for another interface. Please advice how to achieve this in ODI?
    Regards
    Prakasam

    Hi Prakasam
    You are best posting this on the ODI forum.
    ODI has variables that you can read and use in an interface. To change their value within an interface I think you'd need to customize the KM and use the ODI substitution API.
    Cheers
    David

  • How to have dynamic parameters with nonstandard taglib with JSTL

    Hello, I am using webwork 2.2.7, tomcat 4.1 (I have a java 1.4 requirement unfortunately), and jakarta-taglibs-standard-1.0.6 and some nonstandard taglibs and need to pass dynamic parameters to the nonstandard taglibs.
    I can see that the standard taglibs handle the ${foo} syntax for attributes but the nonstandard taglib is just getting set with "${foo}". I really need to set attributes of the nonstandard taglib with dynamic parameters. Is there some combination of c:set and the <%= syntax that can work?
    I have tried the following which does not work:
    <input:selectBox options="${accounts}"/> <!-- the nonstandard taglib just has the options property set as the literal string "${accounts}" -->
    I was thinking something like the following might work but it doesn't
    <c:set var="accounts" value="${accounts}"/> <!-- the core taglibs can deal with ${accounts} appropriately -->
    <input:selectBox options="<%=accounts=%>"/>
    I don't care how but I need to somehow access ${accounts} and set that Collection as an attribute of the taglib. Can anyone please help me solve this problem? Thank you very much.
    This is related to this thread: http://forums.sun.com/thread.jspa?threadID=5389311&tstart=0
    Joe.

    Discussion continued in [the original thread|http://forums.sun.com/thread.jspa?threadID=5389311&tstart=0].
    May as well keep it all together.

  • Passing dynamic parameter to stored procedure from CR formula?

    Dear all,
    I need to insert in some textboxes the right string based on the desired Language Code.
    I crated a stored procedure in my db.
    CREATE PROCEDURE MY_GET_TRANSLATION
         @TextID nvarchar(8),
         @LangCode int
    This parameters are used as keys to get the Trans field.
    I created a workshop formula: GetTranslation
    Please, can someone suggest the correct statement to call my MY_GET_TRANSLATION  stored procedure passing parameters?
    I would like to call the GetTranslation formula from all my textboxes, passing the specific TextID value
    and visualized the right translated string.
    For example:
    in my TEXT1 textbox, I would like to call the GetTranslation formula passing the parameters
    TextID = "T000001"
    and
    LangCode = 13    (Italian language)
    How can pass dynamic parameters to a formula?
    How can pass dynamic parameters to a stored procedure from a CR formula?
    Regards
        Emanuele

    Dear Jason,
    I'm trying to modify a SAP B1 CR marketing report.
    This CR marketing document is called by SAP B1 automatically passing the Document Number and Document Type.
    The report uses the right SAP B1 tables to read the information of the header and rows of the document.
    The language of the document is contained in a field of the header table
    {MyMarketingDocTable.LanguageID}
    I created a user table named "MyTranslationTable" where I added some strings in different langiages.
    For example:
    TexiID            TextString              LangID
    T00001          Delivery                          8      
    T00001          Consegna                     13       (Italian translation)
    T00002          Invoice                           8
    T00002          Fattura                         13       (Italian translation)
    In the header of the report I'd like, for example, to visualise the string "Consegna" if my document is a delivery in italian language.
    I'd like to implement this method to translate all the textboxes (header, comments, etc.) based on the languageID of my document.
    For each textboxes, in the CR designer statically I know what TextID I want to visualized but dinamically I need to pass to my stored procedure the right language. I'd like my report automatically gets the language at run-time. I don't want that when I press the Print-preview button in SAP B1, the report asks to prompt the languageID.
    It already read the DocNum and DocType and it already filter the SAP B1 tables basing on the DocNum and DocType of the document. In this way it reads the right row in the SAP B1 table and in this way I can read all the fields of this row (also the languageID of the actual document).
    Regards
        Emanuele
    Edited by: Emanuele Croci on Dec 3, 2010 9:03 AM

  • Dynamic Parameters to DB Adapter

    What are the different methods to pass dynamic parameters to DB adapter ?

    See if this helps..
    http://neeraj-soa-tips.blogspot.in/2012/05/multiple-in-parameters-in-db-adapter.html

  • Passing Dynamic Parameter to URL

    Hi All,
    I have a Webdynpro Application, where I am calling a separate iView through a URL (Quick link to that iView) using a LinkToAction UI element.
    Now, we need to pass a parameter (say Part Number) to the external iView through our webdynpro application.
    The external iView when called should be filled with a value by default. This value has to be retreived on some parameter from the main application.
    Can anybody suggest how to achieve this? We are presently using a common URL, so when the external window opens the iView will be blank. But now we need that when the user navigates to the external window, it should appear with the corresponding value.
    How can we make the URL to pass dynamic parameters?
    Any suggestions on this will be appreciated.
    Thanks,
    Becky.

    Hi Becky,
    A Web Dynpro application can get URL parameters passed to the iView with the following code:
    WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter();
    You can send URL parameters to a Web Dynpro page in the following ways:
    ●      Add to the URL a parameter called DynamicParameter, whose value is a set of key-value pairs to send to the page.
    The following is the format for the DynamicParameter parameter:
    DynamicParameter="param1=value1&param2=value2&"&
    The value ("param1=value1&param2=value2&") must be URL encoded.
    ●      Add to the URL parameters that start with sap-.
    ●      Add parameters to the businessParameters parameter of the navigateAbsolute() or navigateRelative() method, as described in Absolute Navigation and Relative Navigation.
    iView Parameters
    The following are the URL parameters that get passed to each iView on the page, and then to the underlying Web Dynpro application:
    ·        The static parameters defined in the Application Parameters property for each iView. The property value is a set of key-value pairs in the following format:
    param1=value1&param2=value2&
    ·        The parameters passed to the page (those defined in the DynamicParameterparameter as well as all parameters starting with sap-).
    For isolated iViews in a Web Dynpro page, only the parameters specified in the Parameters to Pass from Page Request property for each iView are passed to that iView.
    The property value is a list of parameter names, separated by commas, as follows:
    param1,param2,param3
    To specify all parameters, enter an asterisk (*).
    We did same for one of the requirement in our project let us know if you have any issues.
    Regards
    Jeetendra

  • Use hyperlink to open another page , and pass some parameters to that page

    Hi
    Thank you for reading my post.
    How i can use hyperlink to open another jsp file in a new window meanwhile pass some parameters to it.
    for example i need something like this :
    http://127.0.0.1:8080/myProj/faces/Viewmessage.jsp?messageID=10
    i can not use session bean because i must open that in a new window and use hyperlink not Action
    Thank you

    I tried the following in the equivalent of your Viewmessage (page bean):
            ExternalContext eContext = FacesContext.getCurrentInstance().getExternalContext();
            String text = "Parameters: ";
            Iterator it = eContext.getRequestParameterNames();
            Map requestParams = eContext.getRequestParameterMap();
            while (it.hasNext()) {
                String key = (String)it.next();
                String value = (String)requestParams.get(key);
                text += "; " + key + " = " + value;
            staticText1.setText(text);That works as expected when you reach that new page via a hyper link.
    The session object is also the same as in your `old' window. So be careful about synchronization!
    I hope this helps.
    -- Marco

  • How to pass 2 parameters in a hyperlink?

    Hi,
    I have a jsp form:
    <form name="form1" action="/servlet/ShoppingServlet" method="get">
         <input type="radio" name="productid" value="1">Solitaire Classic / 4.50<br/>
         <input type="radio" name="productid" value="2">Bingo / 3.95<br/>
         <input type="hidden" name="cmd" value="ADD">
         <input type="submit" value="Purchase">
    </form>It has a button to submit the form. It passes 2 parameters: productid and cmd's values to ShoppingServlet.
    If I use a hyperlink text, how can I pass 2 parameters?
    <a href=\"/servlet/ShoppingServlet?productid=" + ProductID + "\">Add this item to cart</a>How can I pass the hidden variable "cmd" in the above hyperlink?
    Thanks

    <a href="\"/servlet/ShoppingServlet?productid=" + ProductID + "&cmd=ADD\">Add this item to cart</a>

  • Running a SQL Stored Procedure from Power Query with Dynamic Parameters

    Hi,
    I want to execute a stored procedure from Power Query with dynamic parameters.
    In normal process, query will look like below in Power Query. Here the value 'Dileep' is passed as a parameter value to SP.
        Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData 'Dileep'"]
    Now I want to pass the value dynamically taking from excel sheet. I can get the required excel cell value in a variable but unable to pass it to query.
        Name_Parameter = Excel.CurrentWorkbook(){[Name="Table3"]}[Content],
        Name_Value = Name_Parameter{0}[Value],
    I have tried like below but it is not working.
    Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData Name_Value"]
    Can anyone please help me with this issue.
    Thanks
    Dileep

    Hi,
    I got it. Below is the correct syntax.
    Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData '" & Name_Value & "'"]
    Thanks
    Dileep

  • Crystal Report Viewer Credential Prompt for Report with Dynamic Parameters

    The .NET Crystal Report Viewer is prompting for database credentials when launching a report containing dynamic parameters. This only occurs for reports created with SAP Crystal Reports 2011 designer. Reports created with Crystal Reports XI designer (where dynamic parameters were first introduced) work correctly.
    The credential prompt window contains the following fields:
    - Server Name: <server name> (disabled)
    - Database Name: <database name> (disabled)
    - User Name: <empty> (enabled)
    - Password: <empty> (enabled)
    - Use Single Signon Key: false (disabled)
    The values in the prompt window which are disabled are the database connection values used during the design of the report in the SAP Crystal Reports 2011 designer.
    Expected Result:
    - No prompt for database credentials.
    - Values read from the database should be populated in a drop down for the dynamic parameters.
    Environment:
    - Visual Studio 2010 (C#)
    - Windows 7 Enterprise
    - SAP Crystal Reports runtime engine for .NET Framework 4
    - SAP Crystal Reports, version for Visual Studio 2010
    - SAP Crystal Reports 2011
    The database connection is being set to use a DSN. It must be a DSN as the calling application is only aware of the DSN/Username/Password values. These values are being passed to the Crystal Report Viewer contained in a Windows form.
    The database connection for the report is being set as follows:
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection otherwise the connection does not work
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Supposed to set the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    The SetConnection method's signature is as follows:
       SetConnection(string server, string database, string name, string password)
    As you can see from the code snippet above I am setting the DSN name as the server parameter, blank for the database parameter (a database connection using DSN should only require DSN name/Username/Password) and the database username and password respectively.
    Is this a SAP bug?
    Is this the correct way of setting the database connection to use a DSN?
    Is there some other properties that need to be set somewhere else in the report through code?
    Any help would be greatly appreciated.

    Thanks for the pointer to the database connection code generator. After taking a look at the output from the tool I was able to finally get the dynamic parameters to load and populate properly without prompting for credentials. I needed to tweak the outputted code a bit to match my requirements of using a DSN only connection.
    Instead of updating the database connection properties contained within the Report.Database.Tables collection from the CrystalReports.Engine namespace, I changed it to replace the database connection properties in the Report.ReportClientDocument.DatabaseController.Database.Tables collection from the CrystalDecisions.ReportAppServer.DataDefModel namespace. For one reason or another, using the RAS namespace solved the problem.
    Below is the updated code with the change made:
    using RAPTable = CrystalDecisions.ReportAppServer.DataDefModel.Table;
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Sets the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    // The attributes for the QE_LogonProperties which is part of the main property bag
    PropertyBag innerPropertyBag = new PropertyBag();
    innerPropertyBag.Add("DSN", this.DSN);
    innerPropertyBag.Add("UserID", this.LoginName);
    innerPropertyBag.Add("Password", this.Password);
    innerPropertyBag.Add("UseDSNProperties", "true");
    // The attributes collection of the tables ConnectionInfo object
    PropertyBag mainPropertyBag = new PropertyBag();
    mainPropertyBag.Add("Database DLL", "crdb_ado.dll");
    mainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
    mainPropertyBag.Add("QE_LogonProperties", innerPropertyBag);
    // Pass the database properties to a connection info object
    ConnectionInfo connectionInfo = new ConnectionInfo();
    connectionInfo.Attributes = mainPropertyBag;
    connectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    connectionInfo.UserName = this.LoginName;
    connectionInfo.Password = this.Password;
    // Replace the database connection properties of each table in the report
    foreach (RAPTable oldTable in this.report.ReportClientDocument.DatabaseController.Database.Tables)
        RAPTable table = new RAPTable();
        table.ConnectionInfo = connectionInfo;
        table.Name = oldTable.Name;
        table.QualifiedName = oldTable.QualifiedName;
        table.Alias = oldTable.Alias;
        this.report.ReportClientDocument.DatabaseController.SetTableLocation(oldTable, table);
    this.report.VerifyDatabase();
    Thanks again Ludek for the help.

Maybe you are looking for

  • Sender RFC comm channel    -   program ID

    Hi all, Short question: I have RFC to FTP scenario. Sender RFC channel needs a program ID. I created a TCP/IP RFC Destination in  <u>source SAP system</u> and specified in there the program ID i will use. However, when i try to test this connection,

  • ACR 4.1 Issue - Lightroom Issue with Nikon D40x Raw Files

    I am running Windows Vista and CS3 and am trying to process Nikon D40x raw files (NEFs) using ACR 4.1. The images come up properly in Bridge. However, when I try to add metadata using a metadata template, I get the error: "There was an error writing

  • Vendor return of produced components

    Client receives "R" material from vendor- A, it goes for subcontracting at B and changes to "S" material. "S" material is received back by client. Machining operation happens at clients machine shop C, after 5 operations- final confirmation  "S" mate

  • Web Kit 2 Web Process quits

    HP Pavilion dv5 350GB 4GB Ram Intel Centrino 2 Running Safari on Windows Vista Professional (64bit) I have an ongoing problem with the WebKit2Web Process has quit working error. Safari then proceeds to quit working on every open window that I have an

  • Can't watch the game live on my pc i paid to watch it can't

    i got my Digital Pass to watch it live and i cant watch ( Dragon vs Storms )