Skip to Content
author's profile photo Former Member
Former Member

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

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!

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 07:02 AM

    HI

    You have two ways to do.

    1. If your url is on your EP server, you can use relative url. Like

    http://dev.app.com/XXXX/XXXX.jsp, you can use /XXXX/XXXX.jsp instad.

    2. You can use get you url from a http system. In this way, you use portal component to create your iview, and choose com.sap.portal.appintegrator.sap.Generic

    You can see this link http://help.sap.com/saphelp_nw70/helpdata/en/36/5e3842134bad04e10000000a1550b0/frameset.htmhttp://help.sap.com/saphelp_nw70/helpdata/en/36/5e3842134bad04e10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/36/5e3842134bad04e10000000a1550b0/frameset.htm>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 04:08 AM

    Hello Leandro,

    From your description I understand that in your EP DEV box you have some URL Iviews which are pointing to some backend applications and now you want to move them into EP PRD without changing each one of them.

    SAP provides something called System which takes care of these things.

    Try creating an HTTP System (in System Admin->system config) and point your URL iviews to that system so that they take the URL template from that system.

    These things you need to do in your DEV box and when you move to PRD you need to just create a new system (http again) which points to ur PRD details.

    It is the same way we work with SAP Systems. we create in DEV and move iviews to PRD and create new system for PRD with new conn details.

    Hope I am able to clear ur doubt.

    Regards

    Atul Shrivastava

    PS:Award points for helpful answer.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 01:57 PM

    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..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 01:49 PM

    any suggestion?

    thanks in advance

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.