Code for URL iView.. Please guide :)

Hello All,
Need to create an application which consists of a drop-down list & URL iView.
Depending upon the URL mentioned in the drop downlist, that particular URL iView should open.
<i>Option</i> -> The Drop-down list may or may not be in 2 seperate iViews.
I also need to exhibit the Capture fnctionality while coding/showing the URL iViews.
I would appreciate if you please guide me to how should I proceed & with URL iView APIs.
Awaiting Reply.
Thanks and Warm Regards,
Ritu

Ritu,
Split the webpage into two frames.
Frame1: Dropdown that you will dynamically populate. This will have to be coded using http://help.sap.com/saphelp_nw04/helpdata/en/09/9c0e41a346ef6fe10000000a1550b0/content.htm.
Next insert java script into your page so that when one of these links is selected, specifically the onChange event, the other frame gets refreshed with the webpage that you would like to have. This page gives a good example of onChange.
http://docs.sun.com/source/816-6408-10/checkbox.htm
Best.
Sumit.

Similar Messages

  • Unable to locate the Printer Code for Desktjet 3070A, please help?

    Unable to locate the Printer Code for Desktjet 3070A, please help?

    You can follow this link for steps on getting started with ePrint on the Deskjet 3070A: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02728147&cc=us&dlc=en&lc=en&product=5068754&too...=
    I am an HP employee

  • MSS - where find code for java iviews and how to copy and extract??????

    Hi All,
    Not sure if this is the correct forum, so if i'm in the wrong place apologies and if possible could  you point me in the right direction.  If I am in the right place, here it goes......
    we're using R/3 4.7, MSS 6.1.20.  We're just beginning to implement MSS.  I'm wondering if anyone could give me a couple of examples of which MSS options are based on java iviews, where is the code for these java ivews stored on the system and do i have to do anything special to extract this code.
    the reason i want the code is that i want to copy it and see how difficult it is to make changes to the code in netweaver developer studio.
    Also, as i'm new to all this, if anyone knows of a good source of info for java iview creation/manipulation, please let me know.
    Kind regards,
    Liz.

    Hi,
    This is how we access java code for ESS applications. I hope it is the same for MSS as well.
    Open your NWDS -> Window -> Preferences -> Java Development Infrastructure -> Development Configurations.
    Provide the Landscape directory server in URL field. something like http://<server name>:<port number>. Ping and  confirm the connections. Save the settings.
    Now select Window -> Open Perspective -> Development Configurations.
    Right click on the Offline and select Import configurations. Select remote option and import the respective items from the server. Create a project for the required inactive DC and you will be able to edit the code in webdynpro perspective.
    Hope this helps.
    Thanks,
    Preetham

  • Asking authentication for URL iView

    We have created a room and we have created a URL iView whose URL points to that room. We have made some users as members of that group. When these users try to access this URL iview they get the authentication screen (despite being authenticated by portal initially). Is there any means we could bypass this authentication screen and show the URL iView without any authentication.Eagerly waiting for your replies.
    Regards,
    Prathamesh Dalvi

    hi,
       in the url iview choose the options mapped user,mapped password and you need to do a user mapping.you also need to create a system for your 'room' application.
    follow this link
    Http System and User Mapping
    and
    Mapping iView to System Name
    Regards,
    Jules

  • Code for URL Encoder-Decoder!!!

    This is the code to Encode and Decode URL...Any suggestions on this are welcome...
    public class UrlEncoderDecoder
    public UrlEncoderDecoder()
    // TODO: Add constructor logic here
    // http://www.infysolutions.com
    public static string TamperProofStringEncode(string value, string key)
    System.Security.Cryptography.MACTripleDES mac3des = new System.Security.Cryptography.MACTripleDES();
    System.Security.Cryptography.MD5CryptoServiceProvider md5 = new System.Security.Cryptography.MD5CryptoServiceProvider();
    mac3des.Key = md5.ComputeHash(System.Text.Encoding.UTF8.GetBytes(key));
    return Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(value)) + '-' + Convert.ToBase64String(mac3des.ComputeHash(System.Text.Encoding.UTF8.GetBytes(value)));
    public static string TamperProofStringDecode(string value, string key)
    string dataValue = "";
    string calcHash = "";
    string storedHash = "";
    System.Security.Cryptography.MACTripleDES mac3des = new System.Security.Cryptography.MACTripleDES();
    System.Security.Cryptography.MD5CryptoServiceProvider md5 = new System.Security.Cryptography.MD5CryptoServiceProvider();
    mac3des.Key = md5.ComputeHash(System.Text.Encoding.UTF8.GetBytes(key));
    // http://www.infysolutions.com
    try
    dataValue = System.Text.Encoding.UTF8.GetString(Convert.FromBase64String(value.Split('-')[0]));
    storedHash = System.Text.Encoding.UTF8.GetString(Convert.FromBase64String(value.Split('-')[1]));
    calcHash = System.Text.Encoding.UTF8.GetString(mac3des.ComputeHash(System.Text.Encoding.UTF8.GetByte s(dataValue)));
    if (storedHash != calcHash)
    throw new ArgumentException("Hash value does not match");
    catch
    throw new ArgumentException("Invalid TamperProofString");
    return dataValue;

    Ritu,
    Split the webpage into two frames.
    Frame1: Dropdown that you will dynamically populate. This will have to be coded using http://help.sap.com/saphelp_nw04/helpdata/en/09/9c0e41a346ef6fe10000000a1550b0/content.htm.
    Next insert java script into your page so that when one of these links is selected, specifically the onChange event, the other frame gets refreshed with the webpage that you would like to have. This page gives a good example of onChange.
    http://docs.sun.com/source/816-6408-10/checkbox.htm
    Best.
    Sumit.

  • Enhancement code for FM :FAGL_GET_TT_DATA_LEAD Please ?

    Hi Guys,
            I want to enhance the function module  FAGL_GET_TT_DATA_LEAD (that gets the data from FAGLFLEXT) to read the FAGLFLEXA table.Can any one get me an idea on how to enhance it ....
    If possible please send me brief code steps aswell ...
    Thanks in adnvace

    Issue resolved by myself, 0FI_GL_10 data source is new to ECC 6.0 and is a part of New GL Implementation. This ERROR I'm getting, is because of new GL is not implemented in our company yet.
    Thanks to all

  • I wish to install free Adobe photoshop for novice. Please guide me.

    Hi,how to install free version of photo shop for beginners?

    There is no free version.  There is a 30 day trial version of either Photoshop:
    https://creative.adobe.com/products/download/photoshop
    or Photoshop Elements:
    https://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_elements&loc=us

  • I want to open othere pass cod for my phone please?

    I need help to open my iphone phone because i for gotten my screen pass ward

         If you cannot find your original serial number, you will have to contact Apple with a proof of purchase, see these links:
    Pro Application Replacement Serial Numbers: http://support.apple.com/kb/HT1861
    Troubleshooting Professional Application Serial Numbers: http://support.apple.com/kb/TS2005
    Regards
    Léonie

  • Error in java code for removing messages from a Topic

    Trying to write a code using oracle.jms package to remove messages from Topic. I have a similar code with javax.jms package for removing messages from Queue and it is working well. Whereas i have written this new code for removing messages from topic using oracle.jms package as methods like CreateBrowser and CreateTopicReceiver for topic are provided in oracle package only and can't be used from javax.jms package.
    Error i am getting is JMS-126: Invalid Topic specified at
             receiverTopic   = (Topic) ctx.lookup(((String)receiverProps.get( "Q_NAME")).trim()  );
             System.out.println ("receiverTopic is[" + receiverTopic + "]");
             MBeanHome home = (MBeanHome) Helper.getAdminMBeanHome("username","pwd","url:port");
             ((AQjmsSession)topicSession).grantSystemPrivilege("MANAGE_ANY", "SA", true);
             for(Iterator i = home.getMBeansByType("JMSTopic").iterator();i.hasNext(); )
              WebLogicMBean wmb = (WebLogicMBean)i.next();
              System.out.println("topic name found: " + wmb.getName());
                topicBrowser   = ((AQjmsSession) topicSession).createBrowser(receiverTopic, "Edin");topic handle which i am receiving in receiverTopic is same as what i am expecting but still it says Invalid topic specified on createBrowser method. Anyone who can help me to write this type of code, please reply. If anyone has ready code for this situation, please reply with the same as i am working on a prodcution system and we are in serious situation to resolve this problem.

    Hi,
    I am afraid this is impossible. You need to find another solution like a filtering queue. Your messages can be sent to a queue that is monitored by let say a MDB. This MDB will maintain a map of title and only forward once a given title/message to your topic.
    Hope it helps.
    Arnaud
    www.arjuna.com

  • Url Iview from SAP Portal to Infoview encounters "Access is denied"

    Hi
    We are using URL Iview to point to Business Objects Infoview from SAP Portal. Our requirement is to launch the Infoview within the portal content area. We are able to preview the iview, but encounter "Access is denied" error when we add the iview to page, we realised that we are only able to launch infoview when it is setup to open in a new window.
    Is there a way where we can show the Infoview in portal content frame.
    Regards
    Kamal

    Hi experts,
    i got the same problem how to integrate the InfoView Appl into the "Portal Content Area" and not only as an new Window.
    When i try to analyse the problems, the error stacks say some thin about that an Java Script is trying to change the browser size and the portal is not allowing this... thats my assumptions.
    Has anybody how we could solve this tricky topic ?
    For details to to customize the URL iView please refer to this thread: Integration of InfoView into SAP Portal using SSO
    kind regards
    Stefan

  • How can you add iview personalization to web dynpro iviews like URL iviews?

    In the URL iview editor you can define URL paramaters which are available for personalization by the user from the iview's "Personalize" option. 
    Can this also be done using web dynpro for java iviews? 
    Thanks for your help.
    Jeff

    Hi Jeff,
    You do have a personalization that can be defined from the user, for java webdympro iview. But is not the same as you have for URL iviews.
    Have a look on the links bellow:
    http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/content.htm
    http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Tutorial_1.pdf
    Please remember to evaluate the replays, this incentive the SDN to keep growing,
    regards,
    Fabio

  • How to find the PAR file for standard iviews??

    HI all,
    I am trying to customize some screens provided by the standard EP portal. But i am not understanding which will be the PAR file which has code for these iviews.
    For example, in the "Approval screen for New user registration" has an iview which displays the info given by the user(seeing which user admin will either approve or reject the new user). I need to change this. 
    Also the screen where new user enters his information(when the company feature is enabled,it shows a second screen where Contact info of the user, etc. are asked) , needs to be changed which also some iviews.
    Please help me in finding the right PAR file and the JSP which needs to be edited for this purpose (and how to find these in general for any standard screens)
    Regards,
    Narahari

    Hi Narahari,
    --and how to find these in general for any standard screens)
    For getting the right par file for any standard iviews, Check out the property named <b>Code link</b>, which is there in the property list of every iview.This will give you a clear cut idea on which PAR file you have to edit to obtain the desired result.
    Regards
    Rajeev
    Do award points for helpful answers in SDN.

  • Remove Scroll bars in a URL iView

    hi
    I am attaching more than one( three or four) URL iview to a page and while opening the page, I don't want the Scroll bars to appear on the page.
    how can this be done?
    and heard of isolation method.....but doubts whether it is available in EP 7
    Thanks in advance.

    I don't care about the iView functionalities...
    this I am doing as part of the spacing issue I am facing with the iViews.
    for URL iview I guess there is no isolation method.
    for pages it comes.
    but for some other iviews the isolation method is there.

  • Need to send cookie to non-SAP backend from URL iView

    Hi,
    I have a backend application which takes a cookie for
    (non-SAP) SSO purposes. I have created an URL iView
    in my EP 6.0 SP2 that correctly displays the content
    of that web page, i. e. the login screen.
    However, even when I have a cookie in my browser, it still
    displays that login screen, i. e. the cookie is either
    not sent or not recognized.
    I then created a simple test servlet on a backend server
    that prints the contents of all the HTTP headers. When
    I connect my browser directly to that page, I can see
    the cookie. When I connect my iView to that URL, I
    do not see the cookie. So apparently the iView does
    not send the cookie.
    As I learned, in EP 6.0 SP3 there is a "Fetch Mode"
    property for URL iViews which allow to define whether
    the URL in the URL iView should be retrieved by the
    server or the client. This seems to indicate that in
    SP2, always the server issues that request, which would
    explain why there is no cookie in the request (since only
    the browser holds these cookies). So I presume if I
    would use SP3 with Fetch-Mode set to Client, this might
    work. But then again, this fetch mode is not really
    encouraged by the documentation and only recommended
    if you are really desparate ...
    So the question basically is:
    - are my assumptions above correct?
    - is there a way to have the EP server send cookies to
      my backend systems with SP2?
    I'm a little puzzled that this doesn't work out of the
    box, since my understanding was that SAP SSO tokens are
    also transported to backend systems using cookies, and
    this is supposed to be on by default for EP. So I was
    expecting to see at least the SAP SSO tokens in all
    HTTP requests to backends. Apparently, the world is
    not that easy.
    Any insights would very much appreciated!
    Thanks,
    Matthias

    Additional thoughts:
    In general your assumptions are correct. When using client side fetch mode then the cookie should be forwarded, and I would not expect problems there. When using server side mode then the cookie domain changes and becomes the portal domain, and as a result the cookie is kept in the browser, but is a little useless. I'm not 100% familiar with how we solve this problem when using SSO2 cookie in server side. Yoav, can you elaborate ?
         The reason the documentation was not in favor of client side is because at the time the idea was to encourage the users to use the portal server cache. However, this seems less relevant now, because only the first request will be cached, but not the inner calls of the html page.
         Bottom line - I don't see any issue with using client side, and actually the default in FP is client side. So I would simply modify the iview to use it.

  • Want code for reset

    Hello Gurus..
    I have a page that has the Create button and Reset button...I want to reset the values of my fields and i want to write a code for it.So please help with the code....

    There is no single coding solution to do this. If you want to reset to some original values, then most people will re-run the query method that they used to fill the context in the first place.  Basically you want to reset the data in the context.  If you really want to go back to the empty state of the context, then try the INVALIDATE method of the context node or bind an empty table/structure to each context node you are using.

Maybe you are looking for

  • WRT54GS VERY Slow Internet?

    Well, We bought a router about 3-4 months ago, when my sister got her a laptop and I got a Nintendo DS. About a week ago, the internet on the main computer downstairs (the router/DSL box is RIGHT on top of the computer tower, so it isn't a interferen

  • IpodTouch 5 stuck in recovery mode, wont restore.

    My ipod is stuck in recovery mode, when i connect it to itunes and press "Restore Ipod" which then downloads iOS 6.1.2, when the ipod software update is complete im left once again with the "Restore Ipod" option which does the whole process again lik

  • Future of BEx Query and BEx Query Designer

    Folks, I understand SAP's future reporting tools is BO suite. All of us need to move to the new tools which are better or more reliable in 2010. Meanwhile our customers are reluctant to use BEx tools for any new development. Being on the techi side I

  • I receive a confirm dialog box, when clicking on "stay on page" nothing happens

    I receive a notice that says "stay on page or leave page". When I click on either button nothing happens, then the page locks up and I have to shut down by pressing the power button as nothing will work and restart my computer a Mac Pro new 2012. I g

  • Java.lang.IllegalArgumentException: -1  ERROR what is ?

    I get this error... when I was coding. I dont know what it can be. Any1 knows ? java.lang.IllegalArgumentException: -1      at com.sap.tc.webdynpro.clientimpl.html.uielements.adaptbase.IndexedItemsIterator.advanceIndex(IndexedItemsIterator.java:104)