Question about URL iView parameters

Hi experts.
I have this issue: I have several iviews in DEV instance, URL iViews that points to backend applicationes. The URL parameters in DEV instance, point to DEV instance of backend applications. But when a will need to transport these iview to PROD instance, the URL parameters then I need to point to PROD instance of this backends apps.
Which is the best practices to resolve this issue ?
<b>Example:
in DEV instance:
URL iView "A" point to http://dev.app.com.
in PROD instance
URL iVIew "A" point to http://prod.app.com</b>
But i try to avoid change this parameters after transport to Production , in Production instance directly.
I think for example, use a some type of configuration file o .ini, in order to iviews "take" the URL string from it; and do not harcdode this strings.
Is possible? How?
I am clear?
thanks in advance!

thanks Atul, Wayne,
I could be use "http system" but..
Suposse this case:
In DEV instance, I have:
- URL iview "A" point to backend system "http://dev.zzz.com"
- URL iview "B" point to backend system "http://dev.xxx.com"
- URL iview "C" point to backend system "http://dev.yyy.com"
In PROD instance, I have:
- URL iview "A" point to backend system "http://prod.rrr.com"
- URL iview "B" point to backend system "http://dev.ddd.com/aspx"
- URL iview "C" point to backend system "http://dev.mmm.com/app3"
All different!. No pattern.  If I use a Http system,I think that I am continue with the same problem: in the transport to PROD, I should be change all references, or all http systems.
For this reason, I am begin asking for use a some type of configuration file, but I dont know how.
thanks in advance..

Similar Messages

  • How to use URL iview parameters??

    Hi all,
    i have created a URL iview  to www.gmail.com, now my requirement is i dont want to give user id and password and it should logged me in directly so for that i need to make use of URL iview parameters, but i am not aware of how to use it, can anybody help me to resolve this issue??
    Thanks in advance,
    Regards,
    Ameya.

    Hi Ameya,
    Basically, you need to create a HTTP system, then create a URL Iview giving this http system as a reference in it.
    Check this <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=389042">thread</a> for details.
    You can also refer to
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/f5/eb51730e6a11d7b84900047582c9f7/frameset.htm">SAP Help Library</a>
    cheers~
    avadh

  • Question about the Initialization Parameters Information in the Alert.log

    Hi, All -
    What is the correct answer for the following question.
    Specifically, what information does Oracle provide you with in the alert.log regarding initialization parameters?
    a. Values of all initialization parameters at startup
    b. Values of initialization parameters modified since last startup
    c. Values of initialization parameters with non-default values
    d. Only values of initialization parameters that cannot be modified dynamically.
    I think the answer should be B, but I would like to confirm.

    The answer is C
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/process.htm#sthref1633
    The alert log is a special trace file. The alert log of a database is a chronological log of messages and errors, and includes the following items:
    All internal errors (ORA-600), block corruption errors (ORA-1578), and deadlock errors (ORA-60) that occur
    Administrative operations, such as CREATE, ALTER, and DROP statements and STARTUP, SHUTDOWN, and ARCHIVELOG statements
    Messages and errors relating to the functions of shared server and dispatcher processes
    Errors occurring during the automatic refresh of a materialized view
    The values of all initialization parameters that had nondefault values at the time the database and instance start
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Question about URL

    My website, www.jumpunder.com, is under construction, but I got my blog available.
    When you click the link to the blog, the URL stays www.jumpunder.com, instead of www.jumpunder.com/blog, or something of the sort. I have godaddy and did all the masking and forwarding so i can get my homepage to end with the .com instead of some annoying iweb extention.
    my question, is it possible to have my site change url everytime i click a page. I want it to say, "www.jumpunder.com/blog" for blogs and "www.jumpunder.com/movie" for movies.
    Thank you so much

    With domain masking the basic name, www.jumpunder.com, is replaced in all pages of the site. I don't think you can have it as you'd like. If you undo the masking you can have the /movie or /blog but the rest will be your standard .Mac URL.

  • Quick question about url/jsp mapping

    Could anyone clarify whether the following mapping in the web.xml file is possible?
    I want to access the file webapps\examples\gate\login.jsp by going to the page http://192.168.2.143:8080/work/login.jsp instead of http://192.168.2.143:8080/examples/gate/login.jsp
    Currently I can map it fine to http://192.168.2.143:8080/examples/work/login.jsp,
    which is an existing folder, but when I try and get it above the examples folder, it gives me the 404 error.
        <servlet>
            <servlet-name>Login</servlet-name>
            <jsp-file>/gate/login.jsp</jsp-file>
        </servlet>
        <servlet-mapping>
            <servlet-name>Login</servlet-name>
            <url-pattern>/../work/login.jsp</url-pattern>
        </servlet-mapping>

    Using only work/login.jsp will cause an error, and the tomcat server to crash, if I use the pattern
    <url-pattern>/work/login.jsp</url-pattern>, I just map the URL http://192.168.2.143:8080/examples/work/login.jsp instead of
    http://192.168.2.143:8080/examples/gate/login.jsp
    My entire webaps structure is rather long, and contains code other than my own, so I'd rather not post it, I just need to figure out if it is possible to map the jsp page to a path above the file. (do you think I need to do it in another web.xml?)

  • Simple question about using passing parameters in a procedure

    I have a below stored procedure (part of a package) that I need to modify by removing hard coded declaration of "cutoffdays" and change it into a parameter passed from procedure. I am not sure how to do declare and pass values for delete from a table.
    CREATE OR REPLACE PROCEDURE  counttimes
    IS
       CutOffDays   NUMBER := 14;
    BEGIN  
    DELETE FROM   timetable
             WHERE   timestamp_val < SYSDATE - CutOffDays;
       COMMIT;
    END counttimes;

    Hints
    <li>never commit at the end of a procedure, if you didn't commit at the beginning. Do the transaction handling at a higher level.</li>
    <li>Name the procedure so that it is clear what it does. If records are deleted, then the procedure name should reflect that.</li>
    <li>Work with full days, i.e. use trunc(sysdate) instead of sysdate. </li>
    CREATE OR REPLACE PROCEDURE  removeTimes (CutOffDays in integer)
    IS
    BEGIN  
           DELETE FROM   timetable
           WHERE   timestamp_val < trunc(SYSDATE) - CutOffDays;
    END counttimes;Edited by: Sven W. on Feb 14, 2011 4:17 PM

  • Quick Question About Region/Track Parameters

    Hello, all. I just started working on the score to a feature, and it's been a while since I was on Logic (I have 7.2.3), so I forgot how to convert a midi region parameter - say, for example, a volume curve set while in the midi window on a virtual instrument - to the track itself.
    I know there's a specific menu command for this, but, search as I did, I couldn't for the life of me find it.
    Any help would be greatly appreciated.
    Thank you very much in advance,
    Javier Calderon

    It's in the main menu bar under Options -> Track Automation. You can use the "Move Current (or All) data to Track Automation" options there.

  • URL iView Problem - How to Use URL Parameter of Type 'User Information'

    Hello URL iView experts
    I am currently working on integration of backend-functionality with the help of an URL iView.
    I want to use a parameter of type 'User Information'. In SAP Help Library it is said, that it is possible to set the value of a parameter according to a dynamic query on the users attributes. (Link SAP HELP)
    It is also said, that one can retrieve the Logon ID of the users account.(Attribute Name: j_user -> Link SAP HELP Attributes )
    I can choose the type 'User Information' but i don't know what to specify in the field 'Value'.
    I have made a screenshot of the problem.->[Link to screenshot|http://img66.imageshack.us/img66/7782/urliviewproblemfrsdnthrel3.jpg]
    But if i am calling the application this way, he doesn't retrieve the Logon-ID of the account, but he just uses the 'j_user' as value for the parameter.
    Can you tell me, what i need to specify in the field value?
    Best Regards
    Marcus
    Edited by: Marcus Böhm on Jun 2, 2008 1:22 PM

    Hi Marcus,
    > It is also said, that one can retrieve the Logon ID of the users account
    This is not correct; on the help.sap.com-page concerning the URL-iView-Parameters, it is printed that "other attributes (general, account, group, role) are not supported". The j_user attribute is part of the account group, so - not supported.
    For your needs, it may be a better choose to use the AppIntegrator, which offers such a possibility by using "<User.LogonUid>"; see http://help.sap.com/saphelp_nw70/helpdata/EN/36/5e3842134bad04e10000000a1550b0/frameset.htm and https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0cbc309-ff89-2a10-8bad-bcde4c152ecb
    Hope it helps
    Detlev

  • Question about parsing parameters through url

    Hello,
    I have some questions about parsing parameters through a url.
    What I want to build is a page with some text fields and maybe one drop down list. After user enter values into the text fields and select one option in the drop down list, then press the submit button, a report will be opened, which according to the parameters parsed.
    These were what I have done:
    1. create a blank page and a region
    2. create one text field in the region, the name is FIRSTNAME
    3. create one hidden items FN, of which the source value is item FIRSTNAME
    4. create a process. the type is "Set Preference to value of Item" which set PN with the value of FIRSTNAME when the page submitted
    5. create a button "Submit Page and Redirect to URL", in the URL I entered:
    http://dianti.local.net:9704/xmlpserver/~shichao/GuestFolder/orderdetail/orderdetail.xdo?_xpf=&_xpt=0&_xdo=%2F~shichao%2FGuestFolder%2Forderdetail%2Forderdetail.xdo&FIRSTNAME=&FN.&_xt=orderdetail&_xf=pdf&_xmode=4
    My problem is: it seems working for the first time after I entered a value in the FIRSTNAME text field and press submit button, but when I come back to the page (the report was opened in the same page, wondering how to open it in a new window?), the value is saved in the text field and after I enter another value and submit the page again. It still parse the old value to the report. The value of the parameter doesn't change.
    What's the reason? and is this the correct way to build what I want?
    Thank you in advance.
    Best Regards,
    Shichao

    Hi Scott,
    Thank you again for the help.
    But this didn't answer my question exactly. I have tested what you created and the problem remains. When I first time enter a value in the text field and press the button, it goes to page 2, but the parameter didn't parsed. When I go back to page 1 and then click the button again. After that I can see the value I parsed on page 2. Same thing happens when I try to enter a new value. So which means the button has to been pressed twice to parse the parameter.
    Due to the limitation of my knowledge of Apex. I don't know how to fix it. Could you please help me again and hope you understand what the problem is. Thank you very much.
    Shichao

  • Dynamic Parameters in URL-IView

    Hai,
    I am using the ESS-framework and I want to create a link which calls an URL with dynamic parameters.
    I have already created an URL-Iview with the example url:
    http://a.nl:51800/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrForm
    And I also defined a resource and a service in the backend (Customizing)
    My question is:
    How can I dynamically generate the Parameters SCENARIO and MODE in the url using the URL input field in the defined resource?

    Hi Remco,
    If you create several resources for the same webdynpro (isrform) you can pass params via the resource definition (URL params).
    Your webdynpro application can be defined as:
    - Webdynpro application (in the xss homepage framework) as a resource;
    - URL resource linking to a portal page/iview (with params): url iview with params
    - URL resource linking to a portal page/iview (with params): webdynpro iview with params
    But before you are going to tweak with it, please try to find out if your url will work:
    http://a.nl:51800/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrForm?scenaro=SPEG&mode=CREATE.
    If this works, then create an iview in the portal of the url type or webdynpro type. Does it still work with static params? If so, remove the static params from your iview properties.
    Now try the following link:
    http://yourportal:port/irj/portal?NavigationTarget=pcd_path_to_your_iview
    If this works, check out the following link:
    http://yourportal:port/irj/portal?NavigationTarget=pcd_path_to_your_iview&DynamicParameter=MODE%3DCREATE%26SCENARIO%3DSPEG
    Everything after DynamicParameter must be encoded. To find out what the encoding is, just use google and search for your characher. As an example (let's find the = sign):
    http://www.google.nl/search?hl=nl&q=%3D&meta=
    %3D is the = sign
    Last step:
    Create a resource as described on top of this post.
    This will be my approach to get this working
    Good luck!

  • Question about mangled URLs

    Hello,
    I have a load testing app that I'm adapting to work with BSPs and I have a question about the mangled URLs that are used.
    If I record a URL that is mangled, can I save that URL and reuse it during the playback of a session?  From what I understand it includes things like theme, language and such.  But obviously if it includes a session  ID, it won't work.
    Session ID seems to be stored in a cookie.  Can it also be stored in a mangled URL and if so, why the duplication?
    Any help greatly appreciated!
    Thanks!!!

    Those parameters are there for a reason; to pass along information to the page so that the dynamic content can be manipulated based on them. So your question really is: "Can I pass along this information to the page in another way than URL parameters?"
    There are always options, but most of them require work. For example:
    1) use a POST to generate the page
    In a POST request the parameters are part of the request body, so you don't see them. The trouble is that a POST request cannot be created just like that; it requires some sort of form submission behind it. This can be facilitated with javascript (output a form and let the link submit it through an onclick handler), but it is far from a clean solution.
    Added pain: form submits behave badly in combination with the browser back/forward buttons. Also, bookmarking cannot work like this.
    2) "web 2.0". Using Ajax it is possible to do page updates in the background, so you could do the request (with parameters) asynchronously and update the page accordingly.
    Added pain: again back/forward buttons and bookmarking will be broken unless you take very specific steps (that I don't know of myself).
    3) conversation scope technology. Some APIs provide a so called "conversation" scope, which allows you to hold on to certain values across requests until you end the conversation. You could use this to push certain values into the conversation and reuse them in different pages without having to pass along the values as request parameters or in a form. Even without a conversation scope, you could simply abuse the session for this purpose.
    I hope this has given you some idea how to go about implementing your requirement.

  • Wrong results in URL iview and overview of URL parameters

    I have created an URL iView that is supposed to query an index and return results. I am using the URL:
    /irj/servlet/prt/portal/prtroot/com.sap.km.cm.service
    and added following URL parameters:
    StartPage=SearchPage
    ConfigFileName=Navigation.xml
    layoutSetMode=exclusive
    ResourceListType=com.sapportals.wcm.SearchResultList
    SearchType=quick
    QueryString=marketing
    SelectedSearchIndices=KnowledgeBase
    The problem that I have is that the iView returns the second page of results (11-20) instead of the first one (1-10). When I hit the Search button again the result is the first page of results.
    Does anyone have experience with this problem?
    I've searched SDN on an overview of URL parameters (for example a parameter to specify the number of results to be shown on a page) to solve this problem, but couldn't find anything. Does anyone have an overview on URL parameters?
    Thanks in advance!
    Kind regards, Hilco

    Hi,
    Please check if the iView properties are as per properties mentioned in this <a href="http://help.sap.com/saphelp_nw04/helpdata/en/4c/eee2bedf3b4082b14a933e5ee63472/frameset.htm">link</a>.
    Regards,
    Sujana

  • Passing portal username and password as parameters in URL iview.

    Hi Gurus,
    i Have Created URL iView. i want to send the Username and password of portal to this url ,
    how can i access the portal username and password.
    Note: tried with j_user and j_password
    Regards
    K Naveen Kishore

    Hi,
    Jigar Oza
    Thanks for u r reply, i have tried with application integrator but there is a problem with usermapping.
    now what i have done is created HTTP System based on this system created URL iView,in application parameters username and password as MappedUser and MappedPassword every thing is working fine. user  logged in automatically when he logged into portal.
    there are tabs ,links in application .when i click on tabs or links it is assking to enter username and password of the application.
    did i do any thing wrong in creating HTTP system or URL iView,
    what are the necessary properties should be given.
    replys are highly appreciated.
    Regards
    K Naveen Kishore

  • Use of Parameters in URL iViews

    I'm looking for information/documentation/examples of using parameters in URL iViews.  In particular, I'm hoping that we can pick up some portal runtime info to include as parameters in the URL  for a URL iView.
    For example, here at my customer, Kodak, we plan to have country specific roles.  The US Role will have a US specific Welcome Page which has a URL iView that points to a Content Management document for the US Welcome Page.  The problem is that I could have one US user who's preferred language (and Portal Language Preference) is English and another who's preference is Spanish.  Thus, I would need to point to the correct language version for the user.  To do this, I would like to be able to pick up the language preference in the current Portal session and include it in the URL.
    Is this possible?  Is it standard stuff? What types of user or session context information or parameters can we pick up to use in the target URL of a URL iView and how would I use or code it in the iView.
    Thanks for you help.

    Hi John & Luis,
    The standard solution is the <i>Application Integrator</i> :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/the application integrator in ep 6.0
    A flexible way of providing parameters to it (if the standard options described in the above document are not enough) is to write a <i>Customer Parameter Provider</i> :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/how to start transaction iviews with a dynamically computed language.pdf
    Hope that helps,
    Yoav.

  • Question about function with in parameters

    Hello,
    I have a question about functions with in-parameters. In the HR schema, I need to get the minimum salary of the job_id that is mentioned as an in-parameter.
    this is what I am thinking but I dont know if it's correct or not or what should I do next!
    create or replace function get_minimum_salary (i_job_id in varchar2)
    return number
    as
    begin
    SELECT min_salary INTO min_sal
    FROM jobs
    where job_id = get_minimum_salary(xy);
    RETURN i_job_id;
    end get_minimum_salary;
    thanks in advance
    EDIT
    Thanks for your help all.
    Is it possible to add that if the i_job_id which is the in type parameter does not have a minimum salary then use the following function to register an error:
    create or replace procedure insert_error (i_error_code in number,
                                                      i_error_message in varchar2)
    as
    begin
    insert into error_table (error_user, error_date, error_code, error_message)
    values (user,sysdate,i_error_code,i_error_message);
    end insert_error;
    This function is basically to say that an error has occured and to register that error, at the same time I need to print out the error using the dbms_out.put_line.
    Any ideas of how to do that?
    Thanks again
    Edited by: Latvian83 on Jun 1, 2011 5:14 AM

    HI
    I have made little bit changes in ur code. try this
    create or replace function get_minimum_salary (i_job_id in varchar2)
    return number
    as
    v_Min_sal jobs.salary%type=0;---- Variable declaration
    begin
    SELECT min_salary INTO v_ min_sal
    FROM jobs
    where job_id = i_job_id;
    RETURN v_Min_sal;
    end get_minimum_salary;
    Regards
    Srikkanth.M

Maybe you are looking for

  • I have a adobe acrobat 9 standard version I'd like to download on a newer computer

    how do I download and install adobe acrobat 9 standard version?

  • Help! DLL's replying with strings give errors

    Hi , I use the Call Library node to call a DLL function I wrote in C void test (char Text[50]) strcpy(Text, "This is a test\0\n"); Next, I configured the Call Library Function as follows: Parameter RETURN TYPE: Type = Void; Parameter ARG1: Type = Str

  • No ringtones at all

    Upgraded 16 gig Edge phone to 2.2 and now no ringtones whatsoever. Confirmed all settings are correct, reset, reboot to no avail. When changing ringtones, I can hear, but when calls come in, no ring sounds at all.

  • Auto Employee vendor creation

    Hi, There is a requirement of finding way that while employee get hired in SAP through HR PA 40 , employee vendor in FI gets created automatically. does any standard place exists to write code for this. Thanks

  • Streaming files through servlet

    Hi, I'm trying to stream a file to the client browser via a Struts action. I use a helper method as follows: public static void streamFile(HttpServletResponse response, String contentType, String fileName, InputStream fileData) throws Exception {