Dynamic Passing of the Parameters In Inforview URL

Hi,
I have a requirement wherein I need to dynamically pass the prompt values through the infoview url. I am able to successfully pass the parameter value in the url and the report renders data based on the prompt value passed.
When the report is opened when clicked on the link....there is  Refresh option to the user. My requirement is such that I do not want the user to be able to run the prompt again upon clicking the refresh button. Is there a way to restrict the user to be able not to see the prompt  ( for which the value is passed in the url)....The user needs to refresh the report to be able to enter values for other prompts that are declared ( date prompts )....but not the ones where its ids are passed...
The url link which works is here  :
http://development/businessobjects/enterprise115/InfoView/scripts/opendocument.aspxsType=wid&sRefresh=Y&sDocName=Prompt_Test&sWindow=New&lsSEnter%20Lines:=Leather&sPath=[A],[EFashionSamples]
Please advice...
Thanks,

Hi,
I have a requirement wherein I need to dynamically pass the prompt values through the infoview url. I am able to successfully pass the parameter value in the url and the report renders data based on the prompt value passed.
When the report is opened when clicked on the link....there is  Refresh option to the user. My requirement is such that I do not want the user to be able to run the prompt again upon clicking the refresh button. Is there a way to restrict the user to be able not to see the prompt  ( for which the value is passed in the url)....The user needs to refresh the report to be able to enter values for other prompts that are declared ( date prompts )....but not the ones where its ids are passed...
The url link which works is here  :
http://development/businessobjects/enterprise115/InfoView/scripts/opendocument.aspxsType=wid&sRefresh=Y&sDocName=Prompt_Test&sWindow=New&lsSEnter%20Lines:=Leather&sPath=[A],[EFashionSamples]
Please advice...
Thanks,

Similar Messages

  • How to pass dates as parameters in GO URL?

    Hi,
    Can we pass date values as parameters in GO URL?
    I have a date column in my source report that I would like to pass as filter parameter to target reports via GO URL. Could you please let me know the correct syntax if this is possible?

    How can i convert the CHAr to date in the target?? I am using the below syntax and it is receiving a value of 20-JUL-2011.
    '<a href="http://sunt2000-10.wfs.com:9704/analytics/saw.dll?GO&path=/shared/WFS%20Financials/WFS%20Business%20Aviation/WFS%20Business%20Aviation%20Retail%20Volume&Action=Navigate&P0=1&P1=eq&P2="WFS%20Day%20Date"."Calendar%20Date"&P3=' || CAST("WFS Day Date"."Calendar Date" AS CHAR)  || ' ">QTY(USG)</a>'
    I need to convert this as a DATE when navigating to a different page to pass as a parameter.

  • Dynamic passing of the structure in LVC_FIELDCATALOG_MERGE

    Hi ABAP Gurus,
    I'am doing report to read cluster results
    My requirement is :
    The report uses LDB -PNP in the selection screen in addition to that Clusterid is passed and what ever cluster id we select for the pernr that cluSter id results has to show in the report output
    The report has to dynamically change in the output (whole structure of the cluster id) how to pass in selected cluster id (what we selected in the selection screen) in the function module
    LVC_FIELDCATALOG_MERGE
    Importing
    I_STRUCTURE_NAME -  (HERE I WANT TO GET THE STRUCTURE OF THE SELECTED CLUSTER ID IN THE SELECTION SCREEN)
    Thanks and Regards,
    Deepthi.

    Recently I have been working on generic cluster access and I must say the task was challenging. What I've discovered is:
    -  generic access as per cluster ID is impossible via [IMPORT ... FROM DATABASE...|http://help.sap.com/abapdocu_70/en/ABAPIMPORT_SHORTREF.htm] -> in order to create a fully flexible access you would have to go for pure dynamic program generation by means of [GENERATE SUBROUTINE POOL|http://help.sap.com/abapdocu_70/en/ABAPGENERATE_SHORTREF.htm]
    - as there are houndreds of available cluster IDs it is very difficult to determine those relevant to particular employee. For just one table PCL2 there are multiple of unknown to me areas which are hard to distinguish from those (un)relevant to employee. First look at fixed values from domain RELID_PCL2 gives the feeling what we are struggling with.
    - focusing on all common clusters (only from PCL2) like CU, RX, ZL, B2, PS, PT can narrow the search result but still is a lot to be handled by one program
    - eventually looking deeper only on RX and possibly B2 areas seemed to be the best choice (as mostly we use only those - at least I do). So I focused on this area as generic payroll result can be easily extracted. What I needed was  extracting relid for given EE molga, then py result type for this relid, the simply using FM PYXX_READ_PAYROLL_RESULT to access py results itself for given cluster directory entry (table hrpy_rgdir )
    - the final challenge was how to show the results in user friendly form. As the result table I had was not only nested but deep too it wasn't so obvious. Luckily to me I was using Web Dynpro which allows to create table popins (showing the table within the table) but I don't think there is corresponding GUI control in SAP GUI. So considering how you want to show this data is really not an easy thing to do.
    - As for the structure of payroll result itself (or rather structure of each of its components) can be delivered using RTTI but you will also sweat a bit before getting that done.
    To conclude. There is no easy way of accessing clusters by just giving its RELID Even though you would focus on some specific part, it will take you more time then you expect at the beggining. So I would try to suppress the tempation for a moment and consider all these discussed (and those which I didn't think of) aspects.
    Regards
    Marcin

  • Dynamic passing database connection parameters

    I have a situation which is two different source of client but they have the same functions, so have the same screens. But they maintain two separate database even with same table structure/tablename (I inherited this and cann't change it). I am thinking I should have one reusable Entity Object/View Object. But when I create entity object, I create database connection first which has the database name/password/sid etc. My question is that is it possible the database connection parameters(name,password,host,sid etc) can reside in configuration files or something like that. somewhere in the java code, when I create a instance of view object/entity object, I find out which type of client is and so by passing the correct connection string, then the correct database entity object will be created. Is that something feasiable? Do I make myself clear? Please help!
    Type of Client 1 type of Client 2
    Same of ADF face Screen
    |
    |
    Same VIew Object/Entity Object
    |
    |
    | |
    database for Client1 database for client2 but those two database have the same table, lets say Employee with same columns, data types.... etc

    Hi,
    This [url http://jobinesh.blogspot.com/2011/04/modifying-application-modules-jdbc.html]blog would be helpful.
    -Arun

  • Passing UNC path as parameter in URL

    Hello All,
    I used the application creation wizard (APEX 3.1) to create an application (report + form) based on a table who's primary key is a UNC path to an image (\\servername\folder\image.tiff). The report page (page 1) has a link to the form where users can edit information for the record (page 2). Unfortunately, every time I click on a record's link, page 2 comes up with "No data found."
    I know this has to do with the fact that the data I'm passing has backslashes ("\") and they're not being escaped properly. The branch properties show the target as "Page in this Application" where the UNC path is being passed to an item on page two that is hidden and protected.
    I've tried a few different things to try and work around this problem:
    1.) In my main query, selected another field based on the original UNC Path, but with the backslashes replaced with pipes ('|'). I then have a process on page 2 at the "on load" point before the fetch row that converts it back to backslashes. This works so far as pulling the correct record onto page two, but whenever I update anything the update statement is still looking for the UNC with pipes rather than the backslashes. I'm assuming because the item that I'm sending the value to is hidden and protected, that any HTML on that page won't be able to alter that value, so the pipes aren't being replaced with the backslashes.
    2.) I also tried using a javascript:window.document.location.href... function and adding extra backslashes in the UNC path to escape the original ones, but this didn't work.
    I was wondering if anyone had any other suggestions on how to pass this value without changing the item to unprotected.
    Thank you,
    Teddy

    Teddy,
    No bother at all. A long time ago, perhaps in version 1.6, we added the feature that allows "item values" containing commas to be passed in the "f?p" URL. As you know, the comma is the token that separates item values (if there is more than one). But it was becoming increasingly common for developers to need to allow that character as part of an item value. This was implemented such that if an item value starts and ends with a backslash then we would treat any comma between the two as part of the item value and not as a "separator" character.
    When you tried to pass the UNC path as an item value, because this started with a backslash, the parser treated it as the beginning of a backslash-enclosed value. Failing to find a closing backslash, it yielded undesirable results and discarded the first backslash, and perhaps more.
    In other words, it's a bug that what you tried did not work. But the solution is straightforward so I'm going to leave it at that, if you agree.
    Scott

  • Using a dynamic variable in the Import command of a Method call

    Hi,
    I am trying to make a Method call fully dynamic.
    I have found out how to make the Method name dynamic, but I am having trouble figuring out how to make the Importing statement dynamic.
    in my code below:
          CALL METHOD o_main->(v_call)
            IMPORTING
              it_ekko = i_ekko.
    I would like to know if it's possible to make both "it_ekko" AND "i_ekko" dynamic so I can use this same call for various tables.
    Hope that makes sense...thanks for your help.
    Andy

    Hi Andrew,
    The method call is fully dynamic; not only the parameters can be specified dynamically but also the method name.
    This is a help extract:
    DATA: line     TYPE c LENGTH 80,
          text_tab LIKE STANDARD TABLE OF line,
          filename TYPE string,
          filetype TYPE c LENGTH 10,
          fleng    TYPE i.
    DATA: meth  TYPE string,
          class TYPE string,
          ptab TYPE abap_parmbind_tab,
          ptab_line TYPE abap_parmbind,
          etab TYPE abap_excpbind_tab,
          etab_line TYPE abap_excpbind.
    DATA: exc_ref TYPE REF TO cx_sy_dyn_call_error,
          exc_text TYPE string.
    class    = 'CL_GUI_FRONTEND_SERVICES'.
    meth     = 'GUI_DOWNLOAD'.
    filename = 'c:\temp\text.txt'.
    filetype = 'ASC'.
    ptab_line-name = 'FILENAME'.
    ptab_line-kind = cl_abap_objectdescr=>exporting.
    GET REFERENCE OF filename INTO ptab_line-value.
    INSERT ptab_line INTO TABLE ptab.
    ptab_line-name = 'FILETYPE'.
    ptab_line-kind = cl_abap_objectdescr=>exporting.
    GET REFERENCE OF filetype INTO ptab_line-value.
    INSERT ptab_line INTO TABLE ptab.
    ptab_line-name = 'DATA_TAB'.
    ptab_line-kind = cl_abap_objectdescr=>changing.
    GET REFERENCE OF text_tab INTO ptab_line-value.
    INSERT ptab_line INTO TABLE ptab.
    ptab_line-name = 'FILELENGTH'.
    ptab_line-kind = cl_abap_objectdescr=>importing.
    GET REFERENCE OF fleng INTO ptab_line-value.
    INSERT ptab_line INTO TABLE ptab.
    etab_line-name = 'OTHERS'.
    etab_line-value = 4.
    INSERT etab_line INTO TABLE etab.
    TRY.
        CALL METHOD (class)=>(meth)
          PARAMETER-TABLE
            ptab
          EXCEPTION-TABLE
            etab.
        CASE sy-subrc.
          WHEN 1.
        ENDCASE.
      CATCH cx_sy_dyn_call_error INTO exc_ref.
        exc_text = exc_ref->get_text( ).
        MESSAGE exc_text TYPE 'I'.
    ENDTRY.
    BR,
    Valentin

  • Passing parameters in the f?p URL

    Hi,
    I am trying to add a link from a Bar Chart to a
    report such that information from the chart
    "context" can be passed to the report page.
    (Following the "Create a drill down pie chart" How-to)
    The sql for the bar chart is like this:
    select
    'f?p='
    ||:APP_ID || ':3:' || :APP_SESSION || ':::'
    ||:P1_SHOW,P_YEAR,P_B:'
    ||:P1_SHOW,my_t.year,my_t.b link,
    a label,
    b value
    from
    select a, b, year
    from MY_TABLE my_t
    where lower(a) = lower(:P1_SHOW)
    where :P1_SHOW is a selection list.
    The problem is that the application builder errors with
    'ORA-00904: "MY_T"."YEAR": invalid identifier'.
    If I have only a single item name and a single item value
    (eg. omit the P_YEAR and P_B names and values) then
    all is well. The target page 3 can be linked to but the
    report is hard wired with "good" values for B and YEAR.
    I am using the 1.6 verion of html db.
    All and any help would be appreciated thanks = )
    sinclair

    Sinclair,
    The syntax for passing multiple items through the URL is as follows:
    P1_ITEM1,P1_ITEM_2:value1,value2Thus, you need to make some changes to your SQL in order for it render your link & parse correctly:
    select
    'f?p='
    || :APP_ID || ':3:' || :APP_SESSION || '::::P1_SHOW,P_YEAR,P_B:'
    || :P1_SHOW || ',' || my_t.year || ',' || my_t.b link,
    a label,
    b value
    from
    select a, b, year
    from MY_TABLE my_t
    where lower(a) = lower(:P1_SHOW)
    )(I haven't tested the above code, but with some luck, it should work.)
    Thanks,
    - Scott -

  • Passing a portlet parameters on the Query String

    Hello,
    We have a portal page with a portlet on it and would like to be able to make this portlet dynamic by using additional parameters on the portal url query string.
    Back in version 5, I was told that this couldn't be done. Perhaps someone knows whether the G6 portal supports this?

    Yes, you can pass portal url into porlet in G6.
    1. You have to check box "HostPageURI" (don't remember exactly, but close to this one) on User Information page for Web Service.
    2.Use getHostPageURLQueryString() method (for IPortletRequest) to retrive QueryString value;
    3. Parse url value manualy to access parameters and values.
    But think twice before do this. This is because there are more effective ways to pass data and "make portlet dynamic":
    1) Portlet Settings (classic way, total page refresh);
    2) Adaptive portlets techology (inline refresh, passing data to other portlets on the same page);
    3) Portal Session object (for G6). Way to pass data to portlets placed on different page.
    Edited by Bryazgin at 01/18/2007 7:11 PM

  • Dynamically pass the username and password to report server to invoke reports

    Hi
    The scenario is as follows:-
    9iAS is installed under - Windows 2000 (web server and report Server 6i) and everything works fine.
    We have developed a page using pl/sql cartrige (oracle 8i), from that a report is invoked with some parameters. However, the userid and password is stored under keymap file (cgicmd.dat).
    Is there anyway to pass dynamically the username and password to report server in order to invoke the report.?
    Can any one advise?
    null

    Check out
    http://serverfault.com/questions/371907/can-you-pass-user-pass-for-http-basic-authentication-in-url-parameters
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Passing parameters into an URL Services portlet

    Hi,
    is there any way to pass parameters into an URL Services portlet ? I want to give the user the ability to set a preference for which sections of an XML file should be displayed. The preference should be passed into the XMLFilter which should add these parameters as XSLT variables to the stylesheet. Is this possible ?
    Cheers,
    Ernst

    As of now we do not have provision to pass parameters to the portlet dynamically. However, if required, at most could be used is headerTrim tag and footerTrim tag. If you want to discard some data from mid of the file, its not supported.
    bye
    Baig
    null

  • How can I pass more than one parameters in PDK-URL services?

    Hi all,
    How can I pass more than one parameters in PDK-URL service? All samples on Portal Center shows just one parameter passing.
    <inputParameter class="oracle.portal.provider.v1.URLPortletParameter">
    <name>csz</name>
    <isMandatory>false</isMandatory>
    <displayName>What location do you want a map for (City, State or Zip)?</displayName>
    </inputParameter>
    How can I write the privider.xml file for passing multiple parameters?

    I answer to my question. I've got the answer.
    I repeatly write down the <inputParameter> tags, and it works.

  • Passing Parameters in a URL to Reports - Need Help Urgently !

    I have created Image Maps (content area) where I pass parameters in the URL as follows :
    <area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter=PMS 11BBA01">
    <area shape="rect" coords="400,55,600,90" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter=PMS 11BBA02">
    I am having a problem passing this meter parameter to the report [I am generating this report (RPT_SUMKWH) using SQL Query] :
    I have tried the following :
    1) I tried referencing this parameter in the 'Additional PL/SQL code, before displaying page' section of my Report as :- wwpro_api_parameters.get_value('meter', 'RPT_SUMKWH')
    but this did not work (this made the package body invalid).
    2) I then tried using the meter parameter as a bind variable in my SELECT Query of the Report, then, in the 'Customisation Form' section, I place :- wwpro_api_parameters.get_value('meter', 'RPT_SUMKWH') under Default Value, however, when I go back to my Image Map content area & ty to click on the URL, I get an error "Page does not display" .
    How do I then pass this parameter to my report, where do I place the code to make the call for the parameter being passed from the Image Map URL in the content area??
    AVD

    Hi,
    You will have to encode your parameter value. The problem is because of the spaces in the value. Whenever there any special
    characters in the value it should be encoded.
    example
    select '<area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter='||
    <portal_schema>.wwutl_htf.url_encode('PMS 11BBA01')||'">pams</a>' url
    from meters
    The above is just an example. Please change the names to suit your requirements.
    Thanks,
    Sharmila

  • How to pass two parameters in one url?

    the tutorial teaches me to use
    /faces/Details.jsp?personId=#{currentRow.value['PERSON.PERSONID']}
    to pass one parameter.
    How can i pass two parameters in one url?
    /faces/Details.jsp?personId=#{currentRow.value['PERSON.PERSONID']}&personName=#{currentRow.value['PERSON.PERSONNAME']}
    is not right.

    The '&' character needs to be escaped, lest it be interpreted by the application server as a separator character in the HTTP query string. Instead of '&', try '%26'.
    // Gregory

  • Passing parameters from an URL to a WAD Web Template 7.0

    Hi guys, I need to pass parameters from an URL to a web template created with WAD 7.0. We need to open a template with certain filters starting from a link button located on an Xcelsius Dashboard. Our customer wants a web template to be opened with the filters defined within the Xcelsius
    The idea is to run the template with the filters defined in the URL. I know this was incredibly easy with WAD 3.x, but I didn't find any suitable solutions to use with WAD 7.0.
    What is the easiest way to do this with WAD 7.0?
    Thanks in advance and regards.
    Fabio Cristi

    Hi,
    It is possible in 7.0, but unfortunately it is a lot more complicated than i 3.x. There are quite a few examples here:
    http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/content.htm
    I used it in a case where I wanted to embed a Web template in a BPS application and pass characteristic filters from the BPS application to the web template - similar to your requirements. Basically you need the following just to restrict one characteristic :o(
    &BI_COMMAND_1-BI_COMMAND_TYPE=SET_SELECTION_STATE
    &BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=DP_1
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1=SELECTION_INPUT_STRING
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING=PDS06
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=0D_PH2
    I could only get it to work with one characteristic and I suspect, that the reason is that the URL simply gets to long (very quickly). You have to repeat the above for every characterstic you want to use :o(
    Hth,
    Jacob

  • Passing Parameters with a URL to an Oracle Report, on an Oracle Reports App. Server

    I have built an Oracle report which resides on a Windows 4.0 / IIS application server with Oracle Reports installed.
    (8i Database / 6i Developer 2000 suite). This works flawlessly when called from an Oracle Form.
    My question is, how do I call the same report from portals and pass it the required parameters. Thanks!

    Hi,
    You will have to encode your parameter value. The problem is because of the spaces in the value. Whenever there any special
    characters in the value it should be encoded.
    example
    select '<area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter='||
    <portal_schema>.wwutl_htf.url_encode('PMS 11BBA01')||'">pams</a>' url
    from meters
    The above is just an example. Please change the names to suit your requirements.
    Thanks,
    Sharmila

Maybe you are looking for

  • Mac Mini won't boot

    I have an older intel Mini running Lion.  This morning my son told me it was displaying the screen that says you need to reboot.  I told him to reboot it and let me know how it went.  He came back and said it just brings up the reboot screen again. I

  • Firefox window will not maxmize past half a screen

    == Issue == I have another kind of problem with Firefox == Description == Clicking the maximize square in the top right works for half a second then it goes back; dragging with the mouse does not work; Alt+space and Resize or Move does not work; F11

  • Error when updating adobe Indesign cc

    Updated failer Errors encountered during installation (U44M1P7). All other CC apps update successfully.

  • Upgraded to itunes 6.0.2 - now playback pauses randomly again and again

    hi, i've got an emac G4 800 with panther 10.3.9. i got the software update for itunes 6.0.2 and now the playback pauses and then starts again several times during any song. vEry annoying. please any help out there? i've already combed the threads. da

  • Include the Vendor name in S_ALR_87012089 : Vendor Changes

    Hi , The requirement is to add a vendor name to the report S_ALR_87012089 : Vendor Changes. Please let me know the feasibility and the way to achieve it. Regards Rudra