Page Id in Webdynpro Java

Hi All,
I want to know which page I have clicked in Portal in webdynpro java. Based on that some action needs to be taken. So maybe if I get the Page Id or Name in java it may help.
Can anyone tel me how I can do this?
Regards,
Malita

i think it's so general, nothing to do with sap
1.lock the created user when creation
2. create a table to store the newly created user
3. create a servlet to receive the activation call
4. remove user from the table and unlock user

Similar Messages

  • Incomplete load of a webdynpro Java view

    Hi All,
    I have a page containing a Webdynpro Java iview and an abap iview.
    When I navigate to this page, then my first iview does not load completely.
    In this first iview, there is a view containing a breadcrumb, a transparent container and a phase indicator at design time.
    At runtime, I add steps to the breadcrumb, input fields to the transparent container and phases to the phase indicator (I have to do this at runtime as these are decided dynamically based on data returned from an RFC).
    The problem is that when this iview is loaded along with the second abap iview, then it is incomplete. Steps are displayed in the breadcrumb, input elements are displayed in the Transparent container, but phases are not displayed in the phase indicator.
    Also the event handlers for the steps in the Breadcrumb are not called when I click on a particular step. In fact wdDoModifyView is not called at all when I click anywhere.
    All this works completely fine if I remove the abap iview from the page or replace the abap iview with a Java iview.
    But the strange thing is that if I create a page with any other Java iview and the same abap iview, then everything works fine. So there seems to be no problem with the abap iview also.
    I hope someone can help me with this.
    Thanks in advance !
    Regards,
    Sadaf.

    Hi Sadaf,
    make sure all links on that page are using the same protocol i.e.  all http or https. if there is a difference in protocol with any app the web dynpro does not load correctly.
    Regards,
    Raj

  • Print button on my webdynpro JAVA page

    Hi Experts,
    Is there any way that I can include a print button on my webdynpro JAVA page. ON click of the Print button I have to print the entire Page. User is able to print the page by using the print option of Browser, but in that case if the page is having a vertical or horizontal scroll, print output will contain only the visible part.
    Thanks and Regards,
    Sarath Satheesan

    Hi Sarath,
    Printing Web Dynpro Java (WDJ) applications is one of the missing functionalities that everyone wants to have in their application. you can use third party open source reporting tool, JasperReports, to solve this issue
    Printing in Web Dynpro using JasperReports
    PART 1 - /people/jawed.ali/blog/2009/02/09/part-i-print-web-dynpro-java-applications-using-jasperreports
    PART 2 - /people/jawed.ali/blog/2009/02/09/part-i-print-web-dynpro-java-applications-using-jasperreports
    PART 3 - /people/jawed.ali/blog/2009/10/30/part-iii-print-web-dynpro-java-applications-using-jasperreports
    Hope this will fulfil you requiremnt.
    Thanks
    Arun

  • How to integrate webdynpro java application in HTML pages?

    hi EP GUrus
                i need to re design an Webdynpro java application into web home page. there is one home page designed is wd java . now i have to redesign the page and i have make some web content like training calender new schemes and all which they manually update daily
    thanks in advance
    johny

    hii  sir
               currently we have an application which is accessing through internet using url .that applicalion is wd java application which is need to redesign with dynamic contects

  • Create web page in webdynpro java

    i want to create a web page in webdynpro java like in .net, how can i make a web page i.e. different from a simple webdynpro java page.

    As ayyapparaj told, you can create J2EE application with NWDS. it is purely eclipse platform.
    Go for Web Module Project where you can have JSP and Servlets, create a Enterprise Application out of Web Module and deploy it.
    nikhil

  • Reg: calling default desktop page of enterprise portal from webdynpro java

    hi Experts
    Here is an scenario where i need to call enterprise portal desktop from webdynpro java application.
    Actually i have designed a custom Home page in  WDJAVA  and this page i have assigned as default  frame work page in enterprise portal ,so once we logon through the portal URL wewill  be getting this custom home page as default page and when i click on next button it should connect to the predefined  SAP given default frame work page.
    The thing is i am able to see the custom page and the button but when i click on the button it is opening the same custom home page only not able to log on to portal default frame work page.
    My question is how can we connect to the predefined page from the custom home page.
    please share your regarding this scenario...
    regards & Thanks
    Deepika
    Edited by: deepika_indian on Mar 3, 2010 6:05 AM

    hi Experts
    you didnt get my point  i vl give in brief
    1) that at first we are going to enter the portal URL.
    2)we are going give userid and password and click  logon button.
    3)so once we click on that button it should open custom page what we have designed in by using web dynpro java.with in this application we will have next button which should connect to the sap given predefined default desktop page.
    i hope you have got my point.
    and more over where can we get the logon action coding in which par file,if so can you give brief information related to it.
    i changed the themes master rule collection there i have assigned this custom home page ,but when i click on next button it is opening the same custom it is not connecting to the default desktop.i think this is not the write approach.
    please share your knowledge and document also related to it.
    Thanking you
    Deepika.

  • How to create a Registration page in WebDynpro java

    Hi All,
    How to create a registration page in Web Dynpro java.Whatever i enter in the field of registration page should be stored in the pcd..So plz help me???
    Message was edited by: suman sahu

    Hi Suman,
        I have a similar kind of requirement , please let me know if you have got the solution for this??
    Regards,
    Ravi.

  • Passing Parameters via Post Method from Webdynpro Java to a web application

    Hello Experts,
    I want to pass few parameters from a web dynpro application to an external web application.
    In order to achieve this, I am referring to the below thread:
    HTTP Post
    As mentioned in the thread, I am trying to create an additional Suspend Plug parameter (besides 'Url' of type String) with name 'postParams' and of type Map.
    But when I build my DC, I am getting the same error which most of the people in the thread have mentioned:
    Controller XXXCompInterfaceView [Suspend]: Outbound plug (of type 'Suspend') 'Suspend' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'.
    I am using SAP NetWeaver Developer Studio Version: 7.01.00
    Kindly suggest if this is the NWDS version issue or is it something else that I am missing out.
    Also, if it is the NWDS version issue please let me know the NWDS version that I can use to avoid this error.
    Any other suggestion/alternative approach to pass the parameters via POST method from webdynpro java to an external web application apart from the one which is mentioned in the above thread is most welcome.
    Thanks & Regards,
    Anurag

    Hi,
    This is purely a java approach, even you can try this for your requirement.
    There are two types of http calls synchronous call or Asynchronous call. So you have to choose the way to pass parameters in post method based on the http call.
    if it is synchronous means, collect all the values from users/parameters using UI element eg: form and pass all the values via form to the next page is nothing but your web application url.
    If it is Asynchronous  means, write a http client in java and integrate the same with your custom code and you can find an option for sending parameters in post method.
    here you go and find the way to implement Asynchronous  scenario,
    http://www.theserverside.com/news/1365153/HttpClient-and-FileUpload
    http://download.oracle.com/javase/tutorial/networking/urls/readingWriting.html
    http://digiassn.blogspot.com/2008/10/java-simple-httpurlconnection-example.html
    Thanks & Regards
    Rajesh A

  • How to track session in Webdynpro Java application

    Hi All,
    How to get the session reference of any Webdynpro Java Application . My purpose is that thr is one WD application is getting launched , now if suppose user didn't perform any action on it and session for that application got expired . After the session got expired i have to update the table with the status . So to track that i need the session reference of WD application which i m looking for .
    How could i get the same . Kindly help me on this .
    Thanks & Regards,
    Mitul.

    Hi ,
    HttpSession session = request.getSession(false); //get the current session, if there is no session yet, return null
    if (session == null) //forward to first page
    else //do normal work
    Then u can update ur session right ,
    Regards ,
    Venkat

  • Calling Webdynpro Java Application from Webdynpro ABAP Application.

    Hi,
    We have developed one Application using Webdynpro Java and I m in need to call the Webdynpro Java application from Webdynpro ABAP.
    Require Suggestions to acheive this.
    Thanks In advance.
    Reg,
    Ajay.

    Dear Ajay,
    Assuming that both your applications WDA & WDJ are in the portal & you don't have to pass any parameters to the WDJ application.
    Write the following code on the action  where you would call the WDJ application.
      DATA:
            lr_compcontroller TYPE REF TO ig_componentcontroller,
            l_component TYPE REF TO if_wd_component ,
            lr_port_manager TYPE REF TO if_wd_portal_integration ,
            wa_navigation TYPE navigation.
      lr_compcontroller =   wd_this->get_componentcontroller_ctr( ).
      l_component = lr_compcontroller->wd_get_api( ).
      lr_port_manager = l_component->get_portal_manager( ) .
    * The value inserted into the navigation-target field can be found in the Portal
    * content administration tab of your portal. It is the ID or PCD Location field
      wa_navigation-target = pcd. " Please provide the PCD Location of the WDJ Application here.
      wa_navigation-mode   = '0'.  "0 = INTERNAL(same page) and 1 = EXTERNAL(new page).
      CALL METHOD lr_port_manager->navigate_absolute
        EXPORTING
          navigation_target = wa_navigation-target
          navigation_mode   = wa_navigation-mode.
    You can get the PCD from the Page properties of the WDJ application page in the Portal.
    Hope it helps!
    Warm regards,
    Upendra Agrawal

  • WebDynpro ABAP for WebDynpro Java developers

    Hi Masters
    I am a webdynpro java consultant and know I need and I want to develop on webdynpro abap
    I appreciate any suggestion and any links that can help me.

    hello Lehcim
    also try going thru these helpful links in WD ABAP
    Main Topic Page:
    http://sdn.sap.com/irj/sdn/nw-wdabap#section2
    Tutorials for Beginners:
    Web Dynpro for ABAP: Tutorials for Beginners [original link is broken]
    eLearning Videos:
    /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    regards,
    amit

  • Date format problem in webdynpro java

    Currently, the date format that gets displayed in our webdynpro java application is MMDDYYYY...i am assuming this is because the web dynpro application has language resource set to en_US as its Current locale in the web dynpro deployed content section.  Howver i want it to display as DDMMYYYY. I have changed the default properties in visual admin for web dynpro from en to en_GB however this has no impact what so ever as the current locale is always set to en_US even after the change so am wondering this property is hidden some where else.  Now the web dynpro i am talking about is a adobe portal application. Could you give me any pointers as to where else i can look for or how i can change the current locale properly ??
    Regards
    Kalyan

    Hi.
    Also this link could help you.
    http://help.sap.com/saphelp_nw04s/helpdata/en/18/f3674039c6c549e10000000a1550b0/content.htm
    In special the table showing the order the locale is set in the web dynrpo application.
    Also it is shown in the last pages of this document, [Web Dynpro for Experts|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/58a7e390-0201-0010-abb1-8eec7eb7a2ec?quicklink=events&overridelayout=true].
    And finally you may use the sap.locale request parameter, how it's defined [here|http://help.sap.com/saphelp_nw04/helpdata/en/f4/651741f163f023e10000000a155106/frameset.htm]. You must add ?sap-locale=en_GB to url.
    Manuel Loayza.

  • Including Html Pages in Web Dynpro java

    hello Experts,
    _i want to include html page in webDynpro java view so i need to know_
    1)where we need to include the html file
    2)should i creat it externally and then include
    3)or is there any specific place in project to include the HTML code.
    4)also can u tell how to include a vidio in html page i got some tutorial but with that its not working fine saying check specified path....
    <div style ="height:1500;width:1500 align=right">
    <video width="320" height="240" controls="controls">
    <source src="movie1.avi" type="video/avi" />
    <object data="movie1.avi">
    <embed src ="movie1.avi">
    </embed>
    </object>
    </video>
    Please HELP

    hi Prajakta Khobaragade,
       I was trying to include the html file in WDJ application which is developed in NWDS 7.1.but its show error,Kindly see the screen shot.

  • How to call IAC Iview from WebDynpro java code

    Hi Team,
    I am tring to call IAC Iview from WebDynpro Java code. we are passing value but blank page  displayed and there is no error show on error log.
    Below is Java Code which i am calling.
      public void wdDoInit()
          try {
                String strURL = "portal_content/TestSRM/iView/TestSRM";                           //WDProtocolAdapter.getProtocolAdapter().getRequestParameter("application");
                 String random = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("random_code");     
                 //wdContext.currentContextElement().setRandomNumber(random);
    //below we are call URL           
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/TestSRM/iView/TestSRM?VAL="+random,WDPortalNavigationMode.SHOW_INPLACE,(String)null, (String)null,
                       WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String)null,(String)null, " ");
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
    I am passing value from URL.
    http://<host Name>:<port>/webdynpro/resources/local/staruser/StarUser?random_code=111111111
    when we call above URL we getting blank screen.
    Regards
    Pankaj Kamble

    Hi Vinod,
    read this document (from pages 7 ).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62</a>
    In addition lok at these links: (Navigation Between Web Dynpro Applications in the Portal)
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm</a>
    It may be helpful for you.
    Best regards,
    Gianluca Barile

  • Configuration and customization guides for ESS/MSS(webdynpro Java) in EP 7

    Hi All,
    Can anybody help me by providing the guides for Configuration and Customization of ESS/MSS(webdynpro java) in EP 7.0?
    Thanks in advance.
    Regards,
    Shankar

    Hi,
    Please check the links for help
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action%3fpageid=31476
    Configuring ESS in SAP Enterprise Portal 6.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eb036a-0a01-0010-25a3-b2224432640a
    General Settings for Self-Service Applications
    Configuring MSS on Portal 6.0
    Implementation and Configuration guide for ESS into Portal,Backend R/3 4.7C
    Regards
    Santosh

Maybe you are looking for

  • Can't open mail "icon" in control panel office 2013 windows 8.1 (fully patched)

    I can't open mail "icon" in control panel office 2013 Home and business & windows 8.1 (fully patched), nothing happens just a short slowdown then this error. Have **replicated** the error on **three different PC's** including 2 x fresh install VM's u

  • Movie playlist in iTunes is not showing up on ATV3

    I created a Movie playlist in iTunes with 3 trailers and a movie. I can view the playlist fine in iTunes. When I go to my ATV3 the playlist does not show up anywhere. There is no playlist option under movies and the playlist doesn't show up when I se

  • Cannot change column size in iPod Classic

    I received my Classic today and transferred over all my music. After making changes to various things, I tried to adjust the size of the columns. I cannot. I was able to delete a column, then re-add it then change the size. In my 5th Gen Video ipod I

  • Photos app saying "Restoring..."

    I just see this in photos app. Why it is doing that. Please help, i dont want to lose anything. And if i delete something, it delete it with lag like 5~ second http://i.hizliresim.com/g4XJgN.jpg if i create this post to wrong section, forgive me..

  • Screen resolution question: wysiwyg?

    Hi all, my screen is set to 1680x1050, i.e. I get 80ppi, which means that all A4 pages are shown too big. Can I correct that in any way? I need to see layout pages exactly in the size that they will look like in print, wysiwyg. It's cumbersome and an