Change portal Page layout from Web Dynpro

I have some problem:
I need to rearrange Portal Page layout from 2 columns to 1 collumn from Dynpro action. Decision to hide 1 Column or resize its width to 0 is good idea, but I do not now how.
Absolute Navigation is wrong idea, because I need to go back to multiply IViews mode and I will lost my data context.
I saw PageService - custom Portal service, where I can resize IViews.
In my Netweaver 2004 this class is absent.
Probably exist some Portal events to manage Page layout? Anybody knows?
Thanks!

Hi,
For this we have to use eventing among the webdynpro components of two different views.You can refer this example for this.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a
Thanks,
Murthy.

Similar Messages

  • Set Portal Page URL in Web Dynpro IFrame

    Hi All,
    I've a Web Dynpro application that runs in the portal.
    The application creates iframes dynamically.
    I want to set in the iframes portal pages.
    In order to get the page's url, I go to content admin, navigate to the page and then press the 'preview' button then I copy the url from the browser's address bar.
    I copy the url from the '/irj....' to the src property of the IFrame UI element.
    So the source property looks something like this:
    /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.mycomp.Omri!2fcom.mycomp.TestPage
    When I run the project I get:
    <i>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Access denied (Object: portal_content/.../...).
    Exception id: 06:01_17/10/06_0015_4401150
    See the details for the exception ID in the log file</i>
    The page's permissions are set to everyone so I don't know why do I get this error.
    So, how do I set portal page url in Web Dynpro IFrame?
    p.s
    I tried to use NavigatinTarget in the URL and it works. The problem is that the TLN is included. I want to display only the page.
    Thanks,
    Omri

    Hi Valery,
    I have only one domain...
    I searched SDN and I found this post:
    /message/1259616#1259616 [original link is broken]
    Daniel Wroblewski from SAP says:
    <i>This, naturally, sounds like a permission issue. Two steps:
    You must give the Everyone group end-user permission to the iView. This will eliminate the error and cause a login screen to display.
    If you want to eliminate the login screen, you must set the iView property Authentication Scheme to anonymous.</i>
    I will try it tomorrow in the Office.
    Omri

  • Portal dynamic iView from Web Dynpro ABAP?

    I wish to use a "Dynamic iView" from a Web Dynpro ABAP application, but it appears the API is only available in Web Dynpro Java.  Can this feature be used from Web Dynpro ABAP, or can this be accomplished in another way?
    Scenario: I have two iViews on a page, one Web Dynpro ABAP and another iView whose source I want to change dynamically based on something a user clicks in the Web Dynpro ABAP.
    Dynamic iView:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/a72c155df77038e10000000a422035/frameset.htm

    So you are suggesting the WDA fires an event to a new WDJ that we would need to create that would in turn use the Dynamic iView service mentioned in that help document?

  • Accessing portal dictionary tables from Web Dynpro project

    Hi
    Am a new to whole portal and webdynpro thing, and I hope that you can help here
    I created a new dictionary project through NWDS and created a table with columns and I successfully deployed it
    I also created a web dynpro project and I added a TABEL UI to the layout
    how can I connect or access the table I created in the dictionary project from the Web dynpro project so I can query all data to fill the TABEL UI  in the web dynpro ?
    is there a driver that I can use like JDBC where I can just write regular SQL queries ?
    regards

    Hi swathi
    See the persistence API--Adv and Disadvantages what ever you mentioned come under the persistence API
    Relational Persistence
    =================
    SQL-based coding: expressive!
    SQLJ: for static SQL, checked at design time,
    recommended
    JDBC: for dynamic SQL, can be combined with SQLJ
    =======================
    Object-relational Persistence
    ======================
    SQL-free! Portable!
    JDO: light-weight object persistence, Java-like dynamic
    query language
    EJB CMP: part of J2EE standard, relatively heavy-weight,SQL-like static query language
    Regards,
    Venkata Kalyan Karanam

  • Portal Page layout from 1 col to 2 col

    Can any one guide me how to see properties of a portal page and change layout from 1 column to 2 columns?

    Hi
    You need to create a custom page layout. You can edit the JSP pages of 1 column layout and allocate 50% width for both the columns which previously was 100%.
    You can refer this documentation
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9242a890-0201-0010-32a9-8516639c5afa
    Will certainly help you out....
    Regards,
    Ganesh N
    Reward points for useful answers!

  • Portal integration: Navigation from Web Dynpro to other iviews

    Hello,
    I am trying to implement a navigation from my web dynpro application (which is embedded in our corporate Netweaver portal) to another portal iview.
    Therefor I use the "absolute navigation" functionality:
    CALL METHOD lo_portal_manager->navigate_absolute
      EXPORTING
        navigation_target  = 'pcd:portal_content/BOSCH_CONTENT/INTERNAL/CONTENT/MY_WORK/MANAGEMENT_SUPPORT/ORDERINGS/PAGES/rb.inside.page.EWORKS_PROCUREMENT'
    By hitting a button in the web dynpro this functionality is executed but nothing happens.
    The iview defined as target is not called.
    The SAP documentation (http://help.sap.com/saphelp_nw70/helpdata/de/18/f96f4132f15c58e10000000a1550b0/frameset.htm) says, the "Absolute address, path for page or iView in the portal content directory. " should be defined as target.
    Address, for example ROLES://portal_content/...
    I also copied the address from the portal content directory, but it always starts with "pcd:portal_content" and not with "ROLES://portal_content/".
    Is this an issue of the portal or of the method call?
    Thank you a lot in advance...
    Regards
    Stefan Löhlein

    Hi,
    1.first check if popup blokcer is is disabled for the portal url you are testing with.(This is asuming you are navigating to the iview as an external window).
    2.Make sure you are testing this in the context of portal .ie you are runnning the web dynpro within portal and not outside portal as an application.
    3.The iview that you would be prefixing with ROLES:// should have the permissions set for the user you are testing with.
    Regards,
    Ashok

  • Navigate from Web Dynpro app to portal page

    Dear All,
    I've created a number of Web Dynpro applications which I run from various portal pages. From one of the Web Dynpro's I navigate to a different portal page using the WDPortalNavigation.navigateAbsolute method. This works fine, but I'm left with one problem:
    I'd like to pass parameters from the Web Dynpro which navigates to the portal page to the Web Dynpro applications which run on that specific page. I've appended the parameters to the URL I'm navigating to (eg ROLES://<pcd location>?<param=xxx>) and in the Web Dynpro's I've added a parameter to the Default interface plug. This doesn't seem to work. As an alternative I've added the statement WDWebContextAdapter.getWebContextAdapter().getRequestParameter("param") to the doInit() method of the view, but this also doesn't work.
    Either I'm doing something wrong, or what I want to accomplish is not possible. Does anybody know of a way to access parameters passed to a portal page from Web Dynpro applications contained on that page?
    Thanks,
    Arnoud

    I hope you are passing parameters between two WebDynpro applications.
    Please go through the example available for passing interaction between two webdynpro components.
    Please check the following link
    Alternative method for navigating to another page ?
    or the following link
    Re: Can we pass parameters in querystring of the webdynpro application?

  • Custom Layout for Web Dynpro Proxy page

    Hey all
    I have a requirement to display 4-5 Web Dynpro for ABAP iViews on a page. 
    I have the option of using the standard PRT page to display these iViews for which I can create a custom layout using com.sap.portal.layouts.default.par and the simple JSP layout file in it.
    However, they should really be on a Web Dynpro Proxy page but custom layouts created using above component wont work. 
    In the document [Integrating Web Dynpro and SAP NetWeaver Portal|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9] it says -
    Within the SAP NetWeaver 04s release it is not possible to define application specific page layouts for Web Dynpro pages. Within the SAP NetWeaver 07 release this will be possible. Layouts for Web Dynpro page are implemented then as Web Dynpro components implementing a special ILayout Web Dynpro component interface.
    Has this been released as yet?
    Anyone find the APIs or workaround for this?
    Cheers

    I have the same question, but can't find any good solutions for this.
    For standard portal applications you can use com.sap.portal.design.layouts and modify layouts via JSP. But all webdynpro proxy pages are using their own layout.
    I'd like to change that layout too.
    Anyone?
    Cheers,
    Noel
    I am using NW 701

  • Using Portal Theme for a Web Dynpro ABAP Application

    Hello everyone,
    I've created a web-dynpro abap application that I display on one of my portal pages using a Web-dynpro iView.
    Somehow, the WDA app never reads the portal theme properties and has the default SAP roadshow theme colors. I've tried almost everything including passing the theme as an application parameter using WDTHEMEROOT and WDFORCEEXTERNALSTYLESHEET params.
    Documentation states that the application should automatically read the portal's theme, but it never does.
    Interestingly, I have one more web-dynpro java application that works fine and uses the portal theme correctly.
    Am I missing anything? Are there special considerations for WDA apps to adapt to the current portal theme?
    Any ideas, suggestions, solutions would be greatly appreciated.

    >Am I missing anything? Are there special considerations for WDA apps to adapt to the current portal theme?
    What are the release and support package levels of both your ABAP system and your portal?  If the ABAP AS has a later release or SP level than the portal, the Web Dynpro framework will always fall back to using the theme of the backend ABAP system.  This is to protect the application rendering.  Running with a theme (CSS and JavaScript) from an older release or support package level could cause the application to render incorrectly.

  • How to change the Portal Password using a link from Web dynpro application

    Hello Everybody,
    I have a requirement to change the user password from a web dynpro application which is available on a mobile device. Firstly User will log into the portal through a mobile device and after getting authenticated user will be redirected to the mobile application. Within this mobile application there will be a link to change the login password(Portal login). Can somebody tell me how can i change the portal login password from a link available within the mobile application. Looking forward for a suitable reply.
    Thanks to all,
    Regards,
    Saby.

    Hi Maksim,
    Thanks for your reply..but i would also like to know can we directly use the Change Password Iview "persoUserPassword" from the portal. Can i directly Pass the URL of this iview from the portal to a "Change Password" link in the web dynpro application, so that when the user click this link he should be able to see this Iview on his/her mobile device and should be able to change the password from there. But i dont know whether this iview will appear properly on the mobile device or we have to have a custom web dynpro application for this purpose...Please reply with a suitable answer.
    Thanks in advance.
    Regards,
    Sarabjeet Singh.

  • Passing parameters to Transactions from Web dynpro Application through ITS

    Hi,
    i need to call a transaction from Web dynpro through ITS. On action from web dynpro application, i am concatenating the respective parameters mentioned below along with URL. The problem is one parameter(VARIANT) is being passed to the t-code CAT3 correctly. The next mandatory parameter(PERNR) is not passed to the respective field.Here is the URL Code:
    CONCATENATE 'http'
    '://' host ':' port
    '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'CAT3'
    '%20TCATST-VARIANT=' lv_name2 '&CATSFIELDS-PERNR=' lv_name1 INTO url.
    Called T-Code CAT3
    Passing Parameters are:
    Data Profile TCATST-VARIANT
    Pernr: CATSFIELDS-PERNR

    Pradeep,
    iam trying to pass values from webdynpro application to SAP GUI Transaction
    here is the sample code which iam using
    CONCATENATE  'http://s0164dep01.adta.uae:50000/irj/portal/interop?NavigationTarget=pcd:portal_content/Testing/trn_iw33?'
    '%20CAUFVD-AUFNR='
                 'ApplicationParameter=CAUFVD-AUFNR='
                  lv_workorder';'
              'DYNP_OKCODE=SHOW'
             INTO lv_url.
    i could'nt able to succed as its displaying page not found exception.
    Help me on this to proceed further
    Regards
    Jaipal.E

  • Moving from Web Dynpro Java timesheet to Web Dynpro ABAP timesheet

    Hi
    We are in the process of moving from Web Dynpro Java ESS timesheet to Web Dynpro ABAP ESS timesheet.  When using Web Dynpro Java ESS timesheet it is possible to enter time using a daily or weekly view. 
    When using the Web Dynpro version and ensuring the period type is set to weekly view for the data entry profile it is only possible to enter time on the weekly view, the tab for the daily view is no longer available.
    Still using the Web Dynpro version and changing the period type to daily view I can enter time using the daily view and the weekly tab also becomes available, but the weekly tab is read only.
    Do you know if it is possible to make daily and weekly timesheet entry for one data entry profile.
    Thanks
    Mark

    Yes you can have only one view ie weekly or daily as per your CATS profile in CAC1.
    but of course you can select multiple profiles
    Configuration
    The application configuration HRESS_AC_CATS_1 is provided by default and allows you to provide default values for the application parameters. It also allows you to specify the layout and appearance of the application.
    The following application parameters are provided:
    HIDE_CLOCK_TIMES_IN_WEEKLY
    Hides the clock times in the weekly view.
    MULTIPLE_PROFILE
    Enables the selection of multiple data entry profiles from the dropdown list

  • How to get the Response Code when a URL is launched from Web Dynpro

    Hello Experts,
    I have a Web Dynpro Application in which in one of its views i have an IFrame UI element in which i will show a resource stored somewhere ..
    But before showing it i want to check if the resource actually exists. For this i have to check the HTTP Response code from Web Dynpro Application without setting it in the Iframe..
    I am using the following code to get the Response Code:
    try{
    URL url = new URL("Some Url");
    HttpURLConnection.setFollowRedirects(false);
    HttpURLConnection connection = (HttpURLConnection) url.openConnection();
    connection.connect();
    wdComponentAPI.getMessageManager().reportSuccess("Response code ="+connection.getResponseCode());
    }catch(Exception e){
    wdComponentAPI.getMessageManager().reportSuccess("Exception");
    Now the Problem is whatever response Code occurs 403 (for No Proper Authorization), 404 (for Resource not found) etc..
    i always get Response Code=  500 (which is for Internal Server Error) shown in the messgae i have printed.
    Please let me know the correct way of getting the Response Code from Web Dynpro.
    Also my resource is lying on a SAP Portal 6.4
    Best Regards
    Sundeep
    Edited by: Sundeep Sethi on Feb 18, 2008 9:07 AM
    Edited by: Sundeep Sethi on Feb 18, 2008 10:23 AM

    Hi,
      Check this code from /thread/5242768 [original link is broken] if it works.
    try{
    URL myurl = new URL("http://calendar.google.com");
    URLConnection connection = myurl.openConnection();
    if(connection instanceof HttpURLConnection) {
    HttpURLConnection httpConnection = (HttpURLConnection) connection;
    HttpURLConnection.setFollowRedirects(true);
    httpConnection.setRequestMethod("HEAD");
    httpConnection.connect();
    System.out.println("Response = "+httpConnection.getResponseCode());
    catch(Exception e) {
    // print exception
    Regards,
    Harini S

  • Possible to change the charset of a Web Dynpro Application ?

    Hello All,
      Does anyone knows if this is possible ? To be able to change the charset of a Web Dynpro application or even changing it dynamically ? Thank you.
    from
    Kwok Wei

    Hello Anilkumar,
      Sorry for not elaborating further again (This is getting to be a habit ;p).
      I have the document on "international of wed dynpro application" but it appears to be more on customising the label fields to reflect the corresponding text in different languages. This is indeed a very cool idea. However, the reason why I am asking if it is possible to change the charset is because (do correct me if I am wrong)I need to display japanese and english characters and to do that I need to change the charset so that Web Dynpro can have them displayed properly. Is this assumption correct ?
      I have actually log a CSN ticket on this query as well and this is the reply "...... My understanding is that with Web Dynpro Java being based on Unicode, we don't need to charset settings. One should be able to display both Japanese and other characters in parallel, automatically, without problem."
      Your comments please. Thank you.
    from
    kw

  • CAF DB Update for CAF Entity Service from Web Dynpro

    Hi all,
    I have created an entity service in CAF called “Contacts’ which contains the following attributes.
    phoneNo
    cellNo
    emailID.
    Another entity service called "Person" is created. This contains the following attributes.
    personId
    personName
    personAddr
    contactsRef. (Cardinality -> 0..n , Relational Type -> Composition)
    That means Contacts entity service is used within Person entity service. Now it is working fine within CAF service browser. Now the Web Dynpro DC of CAF application is used within another custom Web Dynpro DC project. I want to store data from Web Dynpro.
    Within the context of component controller of  Web Dynpro the structure is like
    APerson
         |_ personId
         |_ personName
         |_ personAddr
         |_ contactsRef       
                    |_ phoneNo (Under contactsRef)
                    |_ cellNo (Under contactsRef)
                    |_ emailID (Under contactsRef)
    So I have written the following code within web dynpro custom method.
    APerson person = PersonServiceProxy.create();
    java.util.List ls = new ArrayList();
    for(int i=0; i<4;i++)
    AContacts contact = ContactsServiceProxy.create();
    contact.setCellNo("9092130156");
    contact.setEmailID("[email protected]");
    contact.setPhoneNo("432258");
    contact.getAspect().sendChanges();
    ls.add(contact);
    person.setRelatedModelObjects("contactsRef",ls);
    person.setPersonID("9999");
    person.setPersonName("xyz");
    person.setPersonAddr("ABC, KOL");
    wdContext.nodeAPerson().bind(person);
    person.getAspect().sendChanges();
    CAFServiceFactory.getServiceFacade(idendityDefinition.class);
    After saving the data from Web Dynpro I am trying to test it from CAF service browser. But I am getting only the parent row. I mean only the value of personId, personName and personAddr fields which I have stored from Web Dynpro. But no value is coming within the table for Contacts entity service for composition relation.
    Could anybody help me how can I solve my problem?
    Thanks & Regards
    Chandan
    Message was edited by:
            Chandan Jash

    Hi Chandan,
    Can you do person.getRelatedModelObjects() and get the contact object, to check whether it is null, also check in the CAF DB whether the data you entered is present.
      I am not sure the code is actually adding the contact model object to person.
    Go thru this SDN Blog on usage of the CMI API's, there is a link for CMI documentation in it which might help you get the right code for adding the contact object.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cef4f43e-0d01-0010-db84-ede25c874115.
    award points if  info is helpful
    Regards,
    Anish

Maybe you are looking for

  • Authorizing and Backing Up

    This morning when I started iTunes and clicked a song to play on my laptop it asked for my ID and password to authorize iTunes on the computer. I gave the information, but it is the same computer I've had for a few years now. Why did iTunes suddenly

  • How to restrist access for a  message type

    how do we  insert A-HQ, HS-Z , 0-9 in the Message type (EDI_MES) for the auth object S_IDOCMONI, here we are just excluding all the values that start with HR. This will not give the users access to HR messages

  • How to find the Feeder class behind Incident creation in SAP EHS?

    I have a requirement where i need to change the message text after clicking "Send" button while creating Incident. How to find the feeder class and method which is called behind "Send" button ? Thanks, Vimal

  • OVM 3.1.1 iSCSI multipathing

    I am setting up an OVM 3.1.1 environment at a customer site who is presenting iSCSI LUNs from an EMC Filer. I have a few questions: * what is the proper way to discover a set of iSCSI LUNs when the storage unit has 4 unique IP addresses on 2 differen

  • Imoprting RAW images from my Nikon D90 into iphotos

    I'm sorry I know this must be pretty basic but I am having problems importing my RAW images into iphotos. I have a Nikon D90 and I shoot in both jpeg and RAW - when I import the images from the camera into iphoto it imports two images but they are bo