Iview resizing

Hi Experts,
I have an HR-BSP application which is being displayed through the portal (light framework) with the help of an iview.
On the first attempt the application appears in the normal expected size. However the issue that we are facing is, once the screen is refreshed, the application size shrinks (within the portal) and a scroll appears. The screen does not regain its normal size even after repeated refresh, and only regains its size once we logout of the application.
I have tried removing the iview from the page and displaying it directly through the portal. But still the issue appears, can someone please help me with this?
Thanks a ton in advance.
Best Regards,
Vinay

Hi Alexander
Thanks for answering, I have checked the note mentioned by you too, but then, the iview that I am using is not a url iview. Also, the portal version mentioned in the solution is being used by us. So I am afraid this note doesnt help me too
Is it possible to first confirm in some way whether this issue is with portal or the BSP-application?
Let me reframe my problem,
I have an HR_BSP application iview added to a role directly with an entry point.
The iview when previewed directly in a new window is displayed in full screen (could this be because there is no Top level naviation in the case of preview?)
However, when I check the iview through the portal, the screen minimises and a scroll appears. This screen now sometimes appears full screen in the first attempt, but sometimes it doesnt. Whatever is the case, the application shrinks on refresh.
Please provide your inputs,
I have also tried picking the view source from the browser, and running the html page. It always appears in full screen (again, might be as there is no top level navigation visible).
Please help.
Thanks,

Similar Messages

  • PAR Iview resizing problem....

    Hello Gurus,
    I have the following problem. I've develop a PAR Iview and i want to resize it on runtime. I've write on my PAR app. a javascript code, but the system shows me a javascript's error when i launch it on my portal, after open the error it says "EPCM Undefined" on this line:
    EPCM.subscribeEvent('urn:com.sapportals.portal:browser', 'load', initFooter);
    In my profile i've set EPCFLevel = 2, but my question is: do i have to reference or include a external jar or lib to my PAR??? witch one???. For General culture...a general info about my iview is: The type of my PAR (Iview) is: AbstractPortalComponent and it has a different namespace (com.<company>.portal.addon.footer) than the namespace i want to subscribe the event.... Please Help!!!!!, i dont know why this error happens...and how can i solve it...what am i missing here within my source code????....
    Regards,
    Mariana

    Hi Rajat,
    Thanx for answer me... now i have a question...why with the standard PAR Iviews that doesnt happens???... because that doesnt happens with all the iviews...happens only with mine's. I know that header Iviews (masthead) use the EPCM object, and it is working just fine, that is why I'm asking if there is an external library, jar, etc., that i have to include in my PAR in order to make it work. is This the only solution in my case???
    I will wait for your answer,
    Best regards,
    Mariana

  • KM URL & Quick Poll iViews resize problems

    Hi,
    I use both KM URL & KM Quick Poll iViews in my homepage.
    Whenever I use FQDN those iViews does not resize automatically.
    Any ideas?

    Hi,
    what sandeep is telling is
    Go to iview and open as object.
    Select 'Load' from the Property Category drop down(you can also get it by show all option also)
    There you find the  Isolation method property. Initially it is set to 'url'.  change this to 'Embeded'
    hope that helps
    Raghu

  • IView Sizing

    Hi All,
    I am running a web dynpro app on a separate backend J2EE and I'm displaying the app in an iView on my portal.  I have set the size attribute to automatic, but the size does not adjust with the size of the content.  Instead a scroll bar is placed in the iView.  Does anyone know how to have the iView resize itself based on the content from a backend app?
    Thanks in advance,
    Jonathan

    Hello Jonathan,
    Well I hope this can help, it works well on my iview.  The size of iView windows  automatically update according to the size of the content of the html pages.
    Copy the following code into your html page and place them anywhere between <head> </head>
    /------copy start here ---
    <script type="text/javascript">
    var liBehindFirstDot = location.hostname.indexOf( "." ) + 1;
      if (liBehindFirstDot > 0) {
        document.domain = location.hostname.substr( liBehindFirstDot );
    </script>
    /------end of code -
    Check your properties:
    For your page: Content Adminitration > Portal Content> [your page layout] -->Properties Editors --> make sure Isolation Method is set to Embedded
    For each iView, Content Adminitration > Portal Content> [your iView]-->Property Editors --> make sure the height type is set to AUTOMATIC
    Good luck

  • Html in web dynpro view

    Hi experts,
    I have upload a html page to my webdynpro as a MIME object.
    How to display it in WebDynpro view? use which element?
    btw: I  try to use Interaction Form, but It doesn't work.
    Thanks.

    Do you explicitly want to show this HTML inside your WDA application or potentially replace your WDA with this HTML page?
    I'm not 100% sure that the code below works perfectly (may have issues with iView resizing in portal and would not be ideal in the portal environment as it doesn't trigger any of the portal navigation APIs ) but it can replace your current WDA window.
    data: lo_mr      type ref to if_mr_api,
            l_html type xstring,
            l_mime_type type string.
      lo_mr = cl_mime_repository_api=>get_api( ).
      lo_mr->get( exporting i_url = '/SAP/BC/WebDynpro/SAP/ZMY_COMPONENT/MyHTML.html'
                  importing e_content = l_html
                            e_mime_type = l_mime_type ).
      cl_wd_runtime_services=>attach_file_to_response(
            exporting
              i_filename      = 'MyHTML.html'
              i_content       = l_html
              i_mime_type     = l_mime_type
              i_in_new_window = abap_false
              i_inplace       = abap_true ).

  • ECC Transaction iView Error on Browser Resize

    Hello.
    I have created hundreds of SAP ECC Transaction iViews in the portal.  After doing some testing, I realized that any time a browser window is modified when an ECC transaction iView is within display, the resize causes the transaction iView to refresh.  Upon refreshing, the transaction throws error or works as if the user submitted the transaction on the backend, instead of just remaining in the same state.
    For instance, if you have an SAP Transaction iView to an ECC system for tcode QM01 and it is accessible through the Detailed Navigation, this iView can be opened either in its own browser window, or within the desktop inner page.  If configured to pop-up in a new browser window and you click or drag to resize the browser window, the transaction refreshes, and throws the error: "Fill in all required entry fields."  This is the same error that is thrown in ECC when a user submits the transaction with no data.  Similarly, if you have the iView configured to open within the portal framework and you click on the transaction it opens in the desktop inner page.  If you maximize/restore down the browser window displaying the portal, the transaction refreshes within the desktop inner page and throws this same error, like it was submitted.
    It happens with every ECC transaction iView that I have created, but does not happen with SRM IAC iViews, Web DynPro iViews, or SUS functionality iViews.  This leads me to believe it is a problem in ITS.  Does anyone know what is going wrong, or how to fix this?
    Thanks for any help!
    Alexa

    Hi,
       Super admin has permission for end user for all the iViews. So he will be able to view the iView. As mentioned, please check if the end user permission is given for the end user to access the iView. Also check if the permission is given for that particular system. To check permissions, go to System Administration -> Permissions -> Portal permissions -> Portal Content. Check for iView and system that you have created.
    Regards,
    Harinin S

  • Not able to resize my objects in Nested iview

    Dear all,
    This is how I created my dashboard.
    Model -> iview -> Layers(tabs) -> Each layer has various forms, queries and charts.
    Now I have changed it to
    Model -> iview -> Layers(tabs) -> Nested iview-> Each Nested iview has various forms, queries and charts.
    Can you suggest the best approach in terms of flixibility and performance.
    When I introduced a Nested Iview I amd not able to resize my objects ( table, chart, forms etc). I am not sure why. When I go into nested iview and go to Layout tab I see a blank page and can see nothing.
    Could anyone help me please.
    Also I would appreciate if anyone can  suggest me the best practice for creating a dashboard.
    Thanks,
    KK

    Hi,
    Yes you are correct.
    to make good Layout for Nestedview contents drilldown to the Nestedview and then go to its layout there you can make the Chages to layout.
    Regards,
    Govindu

  • How do iViews on SDN automatically resize themselves?

    Hello,
    I am looking for a solution by which I can resize the current iView. I am working on EP6.0 SP2 Patch 4.
    I believe SDN embeds a JavaScript in every iView to enable auto-resizing, so that when the content becomes large enough, the iView automatically resizes itself. I want to use this feature to eliminate vertical scrollbars and would definitely like some inputs ASAP.
    Thanks in advance,
    Sagar Kirtany

    Yes I am using CS6. Every design made is in PNG format with a transparent background yes. All products rougly go in the same position also. If I can map out a specific area where the design should go with a center point that would be great. Alot of my designs are different shapes and sizes but if I can map out an area with a centre point so the design gets resized and placed there whilst keeping it's aspect ratio it should be fine.

  • Automatically resizing the tray with respect to iView Size

    Hi,
    I want width of the tray should be automatically resized same as the width of the iView in page layout of the SAP EP.
    I have tried to set the same using "Width of the External Window" property of the iView from content administrator but it doesn't work.
    Any help??
    Thanks,
    Prashant

    hi
    Prashanth,
    you can set the size of the iView trays from the theme editor
    goto sys admin,
    portal display.
    theme editor
    select your theme
    under Complex elements
    iView trays
    but her too you can make it automatic or dynamic(changing the size according to the iViews).
    but can set the size of the trays...
    thas is it.
    Cheers.......

  • Resizing the content of an IView which display a transaction

    Hello,
    Is it possible to reduce the size of the content of an IView to not have the scrolling bar on the right of the window ?

    you would get a quicker response if youpost this question in EP forum

  • Resize web dynpro iview

    Hi all.
    I have integrated Ep - -web dynpro. The wdApplication is displayed in the an iview.
    i have created a role so the iview is displayed in the inner page.
    The problem is that the iview takes up only half the page size while i want it to be fit full screen all over the inner page.
    How am i to achieve this?
    Points assured for help

    Hi,
    Initially when you selected a layout for the iView you must have selected two panel layout because of which only half the screen is occupied. Just as to which layout you have selected. A single panel layout should be the apt one.
    Actually in the iView properties, the property Fetch mode has to be server side than client side to suppose automatic adjustment and fit of the iView.
    Also in the appearance-size property you can set it to full_page so that the iView occupies the whole page than a part of it.
    These three options might solve your problem.
    Regards,
    Sujana

  • How to resize ESS iviews/pages

    I am using ess for enroll ment, iview pz07.  When I preview the Iview, the iview occupies the entire browser, thats ok.  But when I preview the page that this iview comes with (defalt page in ESS business package),  The iview is cut off halfway in the browser.  I can still scroll down and see the rest , but i am trying to fix this.
    Any ideas?
    Thanks
    Jeremy

    Hi Jeremy,
    have you checked the following:
    1. What is the iView's appearance (size) configured to?
    2. What is the iView's appearance (size) in the (SAP-provided) page configured to?
    3. Does this behaviour also show up if you place the iView on a new (custom built) page?
    Regards
    Dominik

  • Resize the panels in a transaction iView?

    Some transactions in the transaction iView have 2 panels: one on the
    top and one on the bottom.
    Sometimes the one on the bottom cannot be seen unless the user pull
    the bottom line up.
    Is there any parameter that can be adjusted to let the bottom one
    show up by itself? Thanks! Points guaranteed.

    Go Content Administration --> Portal Content --> Browse the Transaction iView from the tree --> Double Click on that iview --> Select from Property Category --> Appearance - Size or Select show all --> enter new value to the layout.
    Also go thru this link.
    http://help.sap.com/saphelp_nw04s/helpdata/en/9e/7d96bb087311d7b84600047582c9f7/frameset.htm
    Regards,
    Padmanaban

  • Open web page from URL iview in maximized window

    Hi,
    I would like to open a web page in a <b>maximized</b> browser window, using an URL iView.
    I know how to open a window in a separate window, I just can't get it maximized.
    N.B. I do <b>NOT</b> want to open in <b>fullscreen</b> mode, i.e. I want a title bar and menus.
    Does anyone know how to do it?
    I tried to play around with the "window function" property of the iView, but no luck so far. I can't specify a fixed width and height of the target window at design time, as these values may vary at runtime.
    regards
    Lothar

    Hi Lothar,
    Yes, That will require Java Coding, Its true. Basically what the problem here is that to maximize we are trying to fetch the Screen resolution dynamically through Portal that Portal is not allowing us. Thats why I feel that we should go for Java Programing, Create a Par, Deploy it in the server and then create iView for that.
    For Creating the Abstract Portal Component for Opening a Maximized Window You should do following steps.
    1. Open Your NWDS
    2. Create a project ie Portal Application
    3. Create Portal Object ie Abstract Portal Component.
    Now here is the piece of code that may help you
              response.write("<SCRIPT language=javascript>");
              response.write("function onOpenWindow()");
              response.write("{");
              response.write("window.open('http://abc.com','windowName','width=screen.availWidth,height=screen.availHeight,resizable=yes')");
              response.write("}");
              response.write("</SCRIPT>");
              response.write("<a href = \"javascript:onOpenWindow()\">abc.com</a>");
    Paste this code in doContent...
    I think it may help you
    Thanx & Regards
    Anish

  • IView in New Window - fully maximised

    Hi
    I am using EP 6.0
    I have several iviews created. When i click them, they open in a new browser window but this new browser window is not maximised.
    I want  that the new window should be maximised to the full screen size.
    I have tried chanding the properties of iview width & height , but i cannot ensure that the new window is of the full screen size.
    Any help in this regard will be appreciated. Thanks
    Vikram

    Thank a lot Prathamesh, it worked perfectly
    I put the following value to Windows feature property of an iview ( i wanted the url and meny bar to be displayed as well)
    menubar=yes,location=yes,toolbar=yes,resizable=yes,top=0,left=0,width='screen.availWidth', height='screen.availHeight'
    Also i have found out that this property works just like the windows.open javascript function and supports all the parameters that are compatible with the windows.open function.
    Thanks again for ur help.
    Regards
    Vikram

Maybe you are looking for