Dynamic parameter in webgui Iview url

Hello experts,
here it's my problem : In a email notification i put a link like this :
[http://<myserver>.org:8000/sap/bc/gui/sap/its/webgui/?sap-client=210&sap-language=EN/webgui/!&transaction=SWNWIEX&P_WI_ID=000000018277&P_ACTION=EXECUTE&OKCODE=ONLI]
(i'ts for realease a purchase request in a webgui frame)
And for SSO reason i want to integrate this url in our portal. So i have created an url iview for join this adress [http://<myserver>.org:8000/sap/bc/gui/sap/its/webgui/] with my statics parameters in url parameters : sap-client, sap-language, transaction, P_ACTION and OKCODE.
I call this new iview with his pcd url like this for exemple :
[http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test]
It works fine, my webgui frame with SWNWIEX transaction in client 210 is opening! But i want add a dynamic parameter in this url for open the right Work Item (P_WI_ID).
In fact, i want open an url like this:
[http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test&P_WI_ID=000000018277]
But it doesn't work.
I search on this forum and i try this solutions with no results :
[http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test&DynamicParameter=P_WI_ID%3D000000018277]
[http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test&DynamicParameter%3DP%5FWI%5FID%3D000000018277]
Thanks a lot for your help !

Dear ronando
why you don't use IAC iViews?
it's for that kind of thinks that you can use that xD
In the System you can setup the SSO config's and you can add the parameter by URL
http://.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test&DynamicParameter%3DP%5FWI%5FID%3D000000018277
You have to read this two pages:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e046cb5c-711a-2a10-95a9-81b365901b95
http://help.sap.com/saphelp_nw04/helpdata/en/5a/6898dddb7afd44b07ca4e3bb15f676/frameset.htm
it's seems very easly xD
Thank you
with best regards
João Macedo

Similar Messages

  • Dynamic parameter on WebGui Iview

    Hello experts,
    here it's my problem : In a email notification i put a link like this :
    [http://<myserver>.org:8000/sap/bc/gui/sap/its/webgui/?sap-client=210&sap-language=EN/webgui/!&transaction=SWNWIEX&P_WI_ID=000000018277&P_ACTION=EXECUTE&OKCODE=ONLI]
    (i'ts for realease a purchase request  in a webgui frame)
    And for SSO reason i want to integrate this url in our portal. So i have created an url iview for join this adress [http://<myserver>.org:8000/sap/bc/gui/sap/its/webgui/] with my statics parameters in url parameters : sap-client, sap-language, transaction, P_ACTION and OKCODE.
    I call this new iview with his pcd url like this for exemple :
    [http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test]
    It works fine, my webgui frame with SWNWIEX transaction in client 210 is opening! But i want add a dynamic parameter in this url for open the right Work Item (P_WI_ID).
    In fact, i want open an url like this:
    [http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test&P_WI_ID=000000018277]
    But it doesn't work.
    I search on this forum and i try this solutions with no results :
    [http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test&DynamicParameter=P_WI_ID%3D000000018277]
    [http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test&DynamicParameter%3DP%5FWI%5FID%3D000000018277]
    Thanks a lot for your help !

    oh its Internet Application component...
    its like you create an iview for an ITS service.
    sorry I should have been specific.

  • Use Dynamic Parameter to call iView

    Hi,
    I have a VC Model with an HTML view. I want to add the URL of another deployed iView from a different model to my HTML view.
    The problem is that I need to pass parameters dynamically via the URL to the called iView. The iView I want to call consists of a data service with an output table and and a start point connected to the variables port. The variable is:
    @Business_Area_Range
    The URL of the deployed iView as obtained via preview from within the portal is:
    http://145.82.189.233:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.gm.cnt!2fvcmodels!2fcom.myComp.myProduct.17NL.Test5!2fcom.myComp.myProduct.iviews!2fcom.myComp.myProduct.17NM.Iview1?sap-config-mode=true
    I need to pass Business Area through the URL to this iView. Is this even possible? Please clarify with an example if possible. Help is appreciated, thanks.
    Regards

    Anyone? Have I posted this to the wrong forum maybe?

  • How to set dynamic host name in the URL of a URL iView?

    Hello,
    I am using a standard URL iView that points to some J2EE app I've written and deployed on the same server.
    I would like to set the host name to be a dynamic one, this way I won't need to change the iView URL when transporting it from one portal to another. As far as I know the system for a URL iView only controls authorizations but cannot replace the full URL set in the iView.
    Any idea who can this be achieved?
    Roy

    Hi Mrityunjay,
    forced URL at runtime will require me to call the URL iView from another iView that I will need to code (setting the URL in the Request object). If I did all this I might as well call it from this iView already.
    I would like to do it with no further developments. I would have thought that SAP has constants that can be plugged in the URL for this type of thing, i.e. $hostname...
    Rgds,
    Roy
    Edited by: Roy Cohen on Aug 21, 2008 4:03 PM

  • Dynamic Parameter only showing 1000 records when Crystal report is run.

    I have created a crystal report using ODBC access to a table that has 3000 records.  I created a dynamic parameter to pull a list of all the Customer ID's in a customer table and the parameter will only show the 1st 1000 records.  In addition I cannot type in the customer ID that I would like.  Version of Crystal - Crystal 11.

    Oh, darn. So sorry. Looks like I hyperlinked the wrong URL (You'd think I got that down by now...). Anyhow here is the correct link:
    1218588 - How to increase the number of values in a dynamic parameter list in Crystal Reports?
    And in case the link does not work, or I goofed again, here is a copy of the resolution:
    Resolution
    CAUTION
    The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. For information on how to edit the registry key, view the 'Changing Keys and Values' online Help topic in the Registry Editor (Regedit.exe). It is strongly recommended that you make a backup copy of the registry files before you edit the registry.
    To increase the maximum number of values available in a dynamic parameter list of values, set the registry key: MaxRowsetRecords, to a value greater than 1,000.
    Open the Microsoft Registry Editor, and navigate to the path corresponding to the version of Crystal Reports used:
    Crystal Reports XI:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports XI R2:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports 2008:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports 2011:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports 2013:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports for Visual Studio 2010:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DatabaseOptions\LOV
    NOTES:
    -  Add the key: LOV, if it is not present.
    -  For 64 bit version of Microsoft Windows, the registry path will be slightly different, it will start with:
          HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\...
       But the rest of the registry path is the same.
    Add the String value: MaxRowsetRecords
    Set the value of: MaxRowsetRecords to the maximum number of values to display in the List of Values.
    For example, a value of 2000 will return up to 2000 values in the lowest level of a dynamic cascading parameter.
    IMPRTANT NOTES:
    - The higher the number of values is, the longer it will take the see the dynamic parameter prompt screen. In brief, it impact the performance.
    - The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    After making changes to the registry, close and reopen Crystal Reports, or restart the Crystal Reports services for the BusinessObjects platforms.
    - Ludek

  • Navigate from Web Dynpro application to an iView URL using parameters

    Hi all,
    I have a problem navigating from a Wed Dynpro application to an iView URL. For the navigation, I use the WDPortalNavigation.navigateAbsolute() method. The navigation works fine, unfortunately any parameter that I pass to the iView URL is ignored.
    Here is the code I use:
    WDPortalNavigation.navigateAbsolute(
    "ROLES://portal_content/rack_visualization/RackView",
    WDPortalNavigationMode.SHOW_INPLACE,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    "space=1&style=3&rack=none");
    The RackView iView is based on the "iView URL" template. I expect that the navigation points to a URL like my_encapsulated_url?space=1&style=3&rack=none. Unfortunately the parameter passing doesn't seem to work.
    Any help would be greatly appreciated!
    Thanks,
    Christophe

    did u get this working ???
    I have a similar issue with the url iview.
    thanks
    venkat

  • Is posible publish a t.code using iView URL

    I have the following question:
    Is posible publish a t.code using iView URL?
    If this is posible how can do this?
    Regards

    Hello,
    You should keep in mind that for exposing ABAP transaction codes you need to use the IAC iView type or the transaction iView type. The URL iView should be used for URLs that do not demand authentication.
    If you want to use the URL iView anyway, then you will need to have less security... the SICF settings for your service should be changed to allow a generic (preferable not dialog) user ID to authenticate.
    The GUI configuration settings should contain, at least:
    ~webgui 1
    ~theme SL
    ~transaction (here you need to tell the t-code you want to call).
    IMHO, the best approach is using IAC or transaction iViews. Use URL iView as last resort, keeping in mind the eventual security risks with this option.
    I hope this helps,
    Cristiano

  • Is there any way to add dynamic parameter in sql without breaking Server Behavior

    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    For example:
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    will become something like this:
    $additionalSQL=", article.articleName_en";
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc $additionalSQL FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    this is just an example, my real scenarion is far more complicated than this... however this kind of approach break the server behavior and force to do hand-coding...
    i would like to know if there's better way to do such thing like this...

    viktor.iwan wrote:
    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    Server behaviors are simply bits of boilerplate code automatically generated by Dreamweaver. Editing the code doesn't "break" it (unless your edits are badly written). However, once you edit the code, Dreamweaver no longer recognizes it, so you lose the ability to drag recordset results from the Bindings panel.
    If you want to edit server behavior code, the best way to handle it is to lay out your page as you want, using the Bindings panel. Once everything has been done, only then edit the server behavior code.

  • How to get the list of values for a dynamic parameter using Web Services SDK?

    <p>I am struggling to get the list of values for a dynamic parameter of a report.</p><p>I am using Java Web Services SDK ... I tried to use PromptInfo.getLOV().getValues() method but it does not work.</p><p>First of all ... is this possible (to get the list of values for a dynamic param) using Web Services?</p><p>Second of all, if this is possible, how should I do it ... it seems it works fine when running the report from CMC. It asks for DB logon info and after that it provides a list of values.</p><p>Thx </p>

    <p>Your assumption is correct. We are trying to get the LOVs from the Crystal Report. I was not aware that this is not supported by Web Services SDK.</p><p>We used Web Services SDK to integrated the Crystal Reports in our web application. We implemented some basic actions for reports: schedule, view instances, run ad-hoc reports.</p><p>We encountered this problem when trying to run/schedule reports with dynamic parameters (a list of values from DB). We were unable to get the LOVs.</p><p>Please let me know if you can think of an alternative to look at.</p><p>Thanks a lot,</p><p>Catalin </p>

  • CR2011 Dynamic Parameter does not show list at all

    I am upgrading some Crystal Reports from CR 8.5 to 2011.  Some would be better served by using a dynamic parameter to allow the user to select the data for the parameter from the database information.  I have created a dynamic parameter on the Customer ID and set the description to be the customer name.  I have set it to handle multiple values.
    When I preview the report in the Crystal designer, I get a text box to type in but not a drop down.  To be clear, I am not talking about the LOV 1000 limit here.  There are only 50 customers in the sample file I am working with.  I tried turning the static parameter into a dynamic one, I deleted the original parameter and created a new one.
    In case it matters, the parameter is only used as part of the selection formula and if I enter a proper customer id, it will retrieve the data.  This report has about 7 tables (no stored procedures or views) and a subreport of two tables that is linked to the main report on the customer id.  The parameter is only used on the main report for record selection.  The SQL statement in the main report and subreport did need to be reset when I first opened the report in CR2011 but I did that on both.  I have verified the database and the option to verify on first refresh is checked.  The original parameter did have an imported list of about 3000 customer names.  I tried exporting the CR template to a new file and while the file size changed, the behaviour did not.
    When I create a brand new report on two of the tables, including the same customer table, and create the parameter the same way, it shows me the list properly in a dropdown at the prompt stage.
    I am not sure where to go here or what else to try.  If anyone has any suggestions, I appreciate the help. TIA, rasinc

    Thank for the reply Dell,
    I see the logic in adding the extra table and keeping it unlinked and I do know the crazy data that can come up if I use it linked to other tables or use the fields in other parts of the programming.
    However, I've now tried it several times, creating the parameter on just the name alone, with the ID alone, etc. and I still only get a text box to type into.
    I have made sure the original selection criteria
    {customer.Id} = {?Customer}
    if from the original table, not the new one, which I assume you expected me to do.
    So I decided to run the same report through CR XIR2.  When I update the Set Datasource Location, I am now getting the message
    "Invalid Argument provided.
    Details: The alias requested 'company', contains a combination of characters which is not considered to be valid"
    Company is a table containing information about the main company, not the customers.  The same message pops up for another table as well.
    Then I get a message that says:
    "Prompting failed with the following error message: 'List of Values failure: fail to get values. [Cause of error: The table company does not exist in the document.]'
    Error source: prompt.dll Error code: 0x8004380D"
    This appears to be a database access issue but I know the firewalls are not a problem because I can create a new report and get the LOV properly with the same database and same desktop computer.  I can take that report created in CR2011 and use it in CRXI also and get the proper LOV.  Is it possible I am dealing with template corruption because there were so many items imported into the static list before?

  • Why Dynamic Parameter is not working, when i create report using stored procedure ?

    Post Author: Shashi Kant
    CA Forum: General
    Hi all
    Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
    Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
    is not shown to me when i referesh the report for viewing the results.
    I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
    ============================================================================================
    1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
    Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
    Dynamic Parameters in Action
    My question is that whether dynamic parameter is working with storedprocedure or not.
    When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
    One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
    Please reply soon , it's urgent
    Regards
    shashi kant

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How can we use C# to read dynamic parameter's value list from .rpt?

    I'm using Cystal Report 2008. We know starting from CR XI we can create dynamic parameters, the list of items of this kind of parameter are fetching from database. So in general the SQLs to get the list of values for dynamic parameters are stored in the .rpt.
    In Crystal Report Designer, if I preview a report with dynamic parameters, it will first query the database and then show the input dialog with list of values from database for user to choose. My question is can we implement the same thing by our C# code? I'm planning to use C# code to read this dynamic parameter's value list from .rpt and render them on the web page. Then pass back the user selected values to the .rpt to run the report after user make the choice. I didn't find any APIs can do this. Is it possible?
    Thanks in advance!!

    Hi,
    Can you explain a bit in detail, I have similar scenario. I am using the following code but not getting the Column name for dynamic parameter list.
    foreach (ParameterFieldDefinition prm
                              in reportDocument.DataDefinition.ParameterFields)
                    try
                        string vParameterFieldName;                   
                        *vParameterFieldName = prm.ParameterFieldName.ToString();*
    Shakeel

  • Can I modify the data type of a dynamic parameter?

    I am using CR2008 against an Oracle 11 db and have a report with dynamic parameters.
    One of the report sources is a custom view that selects all of the possible 'pay ending dates' where one of the fields from this view is used as the source for the dynamic parameter.
    The view performs a TRUNC on the date field in an effort to eliminate the TIME component.
    The problem is that the parameter definintion defaults to DATE/TIME (vs. just DATE). I'm wondering if there is any way to modify the data type of the parameter to be DATE only.
    I've searched several forumns but have not found anything.
    One solution I can think of is to have the custom view format the date field as a VARCHAR (sans the time component) which I assume would force the dynamic parameter data type to string, and then have the report perform a todate function on the value when applying the criteria.
    Anyone else have an idea? Just seems like CR should allow the developer to specify the data type- especially b/w Date and Date/Time, rather than make an assumption.
    Thank you in advance-
    emaher

    emaher,
    Here's what you can do:
    Leave the existing date column as it is in the view...
    Just add another column to the view that casts the the date as a VarChar data type and formats the date as you would like it to be.
    So now you'll have 2 date columns in the view... 1 that's still a date and another that a character string.
    Now for your parameter, use the date version as the parameter value and the text version as the parameter description.
    Be sure to set the "Prompt with description only" is set to true.
    This way the user sees the LoV in the desired format but there's not need to wrangle it back into a date for data selection.
    HTH,
    Jason

  • How to hide Dynamic Parameter userid/password prompts on infoview

    Hi,
    I want to hide Userid/password for each dynamic parameter, which gets prompts while refreshing or scheduling a report
    I do enter userid and password at CMC->database level but when report has dynamic parameter it still does prompts for each parameter.
    Please advise.
    Megha

    I tried what you suggested..
    Well I run into different error now while refreshing report suing dynamic prompt.
    Error says 'List of Values failure: fail to get values.[Cause of error:Failed to the connetion.ProductName]
    ProductName is my dynamic Parameter.
    Please advise.
    thanks
    Megha

  • How to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part

    Hi,
    I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
    http://server/pages/Default.aspx?Title=Arup&Title=Ratan
    But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
    I have followed the
    http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
    Please suggest me.
    Thanks | Arup
    THanks! Arup R(MCTS)
    SucCeSS DoEs NOT MatTer.

    Hi DH, sorry for not being clear.
    It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
    (or a Performance Point Dashboard etc.) and you insert it into your page and add
    a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
    with multiple values for one parameter. If you have any more questions let me know. See you, Ingo

Maybe you are looking for

  • Advice needed on wireless router

    Hello I currently need a wireless router to give my wireless clients an internal address range e.g. 10.1.1.x/24 But, I need to configure the router WAN port on a different subnet (using static ip e.g. 172.30.30.1/24) and obviously with another uplink

  • Trial Download of After Effects CC 2014 freezes at 42%

    I'm working from a macbook pro, version 10.7.5. I have Creative Cloud installed on my desktop and am attempting to download After Effects. However, I am unable to get farther than 42% through the download.

  • Planning Detail Report (GMPPDR) in Excel Output

    Hi All, We have a requirement to show the Planning Detail Report (GMPPDR) output in Excel format. And it need to include all the four templates (Horizontal, Vertical, Exception & Action). Can someone give me some insight on how this can be achieved ?

  • Audio on drag and drop source

    Hello all, I am looking for a way to get a drag and drop source play an audio file when clicked, Such that the user click first to listen to the audio and then places the source on the right target. Any idea or workaround will be appreciated. thanks

  • Need a Replacement Graphics Card for Light Gaming

    My current 7800GT overheats when gaming or even just running GLXgears. I need a replacement of similar or slightly better performance (preferably less than $100) for an nforce4 SLI board. How are the ATI drivers right now? I've heard they still have