Weblog for Simple way to debug ESS and MSS Web Dynpro Java applications

Here is the link to the new Weblog topic "Simple way to debug ESS and MSS Web Dynpro Java applications"
/people/yugandhar.reddy/blog/2011/03/26/simple-way-to-debug-ess-and-mss-web-dynpro-java-based-applications--very-useful-technique

Thanks Siddharth. I was trying as you suggested, I was trying to add the link to the FAQ's but looks like the wiki is locked or I dont have permission to create a page in it. Is there any other way to do it?
Edited by: Yugandhar  Reddy on Mar 28, 2011 5:04 PM

Similar Messages

  • Any way to get HTTP header in web dynpro Java?

    Is there any way to get HTTP header in web dynpro java? This method gives me the params. Is params same as header? It doesn't have any way to retrieve header data. I am on NW 7.0.19
    WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("param");

    Dear Faraz,
    I'm afraid the code you've pasted is only to retrieve URL parameters.
    Have you tried this document to see if it offers any good hint:
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0446f5c-fcb9-2910-e082-88becbe3ddc9]
    Not sure if you can process the HTTP header with a WD4J.
    An alternative could be to develop some Portal component in plain JAVA working as a proxy to call your WD4J afterwards.
    That portal component would process your HTTP header and forward any parameter to your WD4J.
    But this is me just guessing.
    Kind Regards
    /Ricardo

  • Web Dynpro Java Application for Handheld Device

    Hi everybody,
    I have been reading some documentation about what is the best option to create an application for handheld device. So this is my landscape. I have SAP Netweaver 7.4 SR1 AS ABAP, and Java instance. So, I want to know whether is possible to create a normal web dynpro java application and then visualize this application on Browser of handheld device. That's all that I have to do? I read that exist another solution Developing mobile application for handhelds. By other side a need to know how to is the integration of this device with this application if exist. This application is going to consume data from SAP Backend system, so I just have to create JCO's for connect this application to this system, right?
    Please, can you help me with that.
    Best Regards.

    Hi Deepti,,
    Refer to the following thread which says that you must retrieve the data from the CRM backend system using standard BAPI's or customer Remote enabled function modules (socalled RFC's) and to access the backend system you will have to set up an RFC connection with CRM system.
    Regarding web dynpro and CRM
    Thanks & Regards,
    Jhansi Miryala

  • Debug a Web Dynpro Java Application.

    Hi All,
    I am trying to debug a Web Dynpro for java application, however I am getting this error whenever i try to do
    Failed to connect to remote VM. connection refused.
    I tried the following options that were suggested in few Threads
    1) I have the J2EE server running in Debug mode,
    2) I also ensured that there is no one else using the NWDS in debug mode
    3) I restarted the NWDS and the portal server several time.
    Are there any other suggestions apart from the ones mentioned above?
    the following thread talks about locking of port [link|NWDS: Debug: Failed to connect to remote VM. Connection refused.;. I doubt if that could be the issue.
    Can someone suggest how to identify the port is locked and how to unlock it?
    Thanks
    Bharath mohan B

    Hi Bharath,
    1) Check if you are following the procedure as mentioned at the following link:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/849170e3-0601-0010-d59e-ddfce735fac5
    2) Please do check whether the Server Instance Debug Mode is "ON"
    You can check it from NWDS >J2EE Engine View>Server Instance>server0
    If its not then you need to change it and any Basis Team can help you.
    3) If it is running in the debug mode then please ensure that there is no one else debugging on the same server node. Generally there is only one instance configured for debugging. If someone is using the same server node instance for debugging then you might have to ask for closing that debug session to continue with your debugging.
    4) Check whether you are using the correct server for debugging. Most of the we make mistake while configuring the debug server
    5) Check this discussion:
    NWDS: Debug: Failed to connect to remote VM. Connection refused.
    Regards.
    Rajat

  • Populate Values for Drop Down by Index in Table in Web Dynpro Java

    Hi Experts,
    I have a table and having a column table cell editor as Drop Down by Index.
    I have created the table node (tbnode) and child node for DDBI (ddbinode) and set the singleton property for DDBI node to false.
    I have same local variable node as same as above node and the values are available.
    I have one button ADD.On click the add button i need to populate the values to table node and as well as DDBI Node.
    I created supply function for DDBI node and populate the values for DDBI Node.
    Add Method:
    IPrivateMdTest8CompView.ItbnodeElement tbnode = wdContext.nodetbnode().createtbnodeElement();
    tbnode.setDescription(wdContext.currentCn_LocalVariableElement().getDescription);
    wdContext.nodetbnode().addElement(tbnode);
    Supply Function Method:
    for(int j=0;j<wdContext.nodetbnode().size();j++)
    wdContext.nodeddbinode().setLeadSelection(j);
    IPrivateMdTest8CompView.IddbinodeElement ddbinode = wdContext.nodeddbinode().createddbinodeElement();
    ddbinode.setddvalue(wdContext.currentCn_localddvalueElement().getddvalue);
    wdContext.nodeddbinode().addElement(ddbinode);
    Problem is one i got the values in the drop down and i click the second row in table again the supply function calls and reset the first row drop down to original value.
    If you any problem like please provide the solution.
    Thanks & Regards,
    SatheshKumar R

    If you created the supply method by setting the supply property of the node, you should have variable 'node' available as argument of the supply method, which will be related to the table row of the triggered dropdown. Opening the dropdown does not change the lead selection of the parent node, so
    ddbinode = wdContext.nodeddbinode().createddbinodeElement();
    wdContext.nodeddbinode().addElement(ddbinode);
    does always relate to the first row of the table (given that leadSelection == 0). With the node variable you can
    IddbinodeElement ddbiElement = node.createddbinodeElement();
    node.addElement(ddbiElement);

  • Nested tables and subforms (Web Dynpro Java)

    Hi to all you gurus,
    my scenario is the following: I have 3 nested nodes in a view context like these
    DEFECTS_NODE
    |          ACTIONS_NODE
    |           |        SUBS_NODE
    |           |          |__action value
    |           |          |__defect value
    |           |          |__sub value
    |           |__action value
    |           |__defect value
    |__defect value
    |__ decription
    All 3 nodes have cardinality 0...n. These nodes are structured as if we have some actions under the same defect value and some subs under the same action value and defect value and so on. so we can have more defects_node with more nested actions_node (with the same defect value) and more nested subs_node (wiith the same action value).
    I hope I was clear...
    Now, I have to read these nodes and output them in a pdf with 3 nested subforms (defects, actions, subs). These 3 subfoms must be a mirror of the 3 nested nodes.
    can you help me??how can i do this?
    thank you very much in advance,
    Enrico
    Edited by: Enrico Grimaldi on Mar 29, 2010 12:50 PM

    hello,
    I don´t understand your problem. When you´re in LCD and can see your context data in the data view tab, you can just drag and drop the root of your form context and when placing that on the form layout, the whole structure should be generated by the system for you.
    Otto

  • Some basic questions on ESS and MSS

    Hi Experts,
    This is the first time I am going to deal with
    ESS and MSS.
    I have some basic questions about it and they are
    listed below:
    1. In an organization if they want to integrate
    ESS and MSS, how do they go about? What I mean
    is, will they install the packages in the R/3
    system and then use the to portal features to
    make iViews of ESS and MSS.
    2. Or is there a seperate package for the portal
    and the R/3 system
    3.What is the best way to customize ESS and MSS
    iViews? Is WebDynpro used to customize ESS and
    MSS applications, if yes how?
    4. Are these ESS and MSS packages different for
    ECC and the older version of R/3 systems? If yes what are the major differences?
    Please do let me know on these subjects and also
    if anyone of you have any links or documents
    associated with this scenario please do send me.
    Thank you
    Regards
    Luke

    Hi,
    here is what I know..
    1 & 2. Depending on the backend SAP version, the relevant ESS/MSS Business Packages have to be installed on the Portal. On the backend it will be via an Add-on.
    3. The webDynpro versions of ESS/MSS are available from mySAP ERP2004/2005 (ECC5/6). The best way to customize the iViews would be through the NetWeaver DevStudio.
    ent
    4. Yes, the ESS/MSS packages are differ depending on the backend SAP version.
    You can find all the  different packages & their info right here on SDN. From the home page click on the Portal Content Portfolio on the right hand side of the page>Browse Content Portfolio>Self Service for ESS & Line Manager for MSS.
    Regards,
    Suresh Datti

  • ESS and MSS configuration in sap ECC 6.0

    Hello friends,
        In our ECC6.0 system we want to configure ESS and MSS...  well is this ECC6.0 system have contains this settings in predefine or i have to apply for some patches and addons???? what will be the further steps for basis peoples in this ESS and MSS configuration??? please help me...
    Regards
    Farkath
    Edited by: farkath ulla on Nov 29, 2011 4:34 PM

    Hello Farkath,
    Please go through the below wiki to get more details of components required in ECC to configure ESS/MSS in portal.
    http://wiki.sdn.sap.com/wiki/display/EP/DownloadinganddeployESSand+MSS
    Good Luck.
    Thanks,
    Siva Kumar

  • Problem: Changing Language for Web Dynpro Java within NW Portal (i18n)

    Hi Experts out there,
    I hope all you had a nice Christmas and a big New Years Eve :)!!!
    i got a challenge for you about WD Java and internationalization (i18n)
    Here is the scenario:
    We are using a SAP NetWeaver Portal 7.0 and my task is to implement some smaller Web Dynpro  Applications.
    These Applications must be i18n conform, so i just created (according to the corresponding WD Java tutorial) some ".xlf" files.
    Okay...Everything is working fine. The user can log at the portal and the application is displayed in his language, which is "english" or "german". (the application is just a simple form)
    So far so good...Now here comes the point where it's getting tricky...
    When the user wants to change his assigned language (of the portal user) he can use the "personalize" button in the Masthead (-> change portal language). All the portal content should now be displayed in his new chosen language.
    For example the user is logged into the portal with "german" as portal language and now changes his languages settings into "english". After this everything in the portal (navigation, portal iViews ) is displayed in the changed language (from english into german) ...
    BUT: my Web Dynpro  Java Application stays as the original languages setting was. That means the whole portal is now english, but my WD Java Appl. stays german .
    Only if the user logs of and logs in again, the WD Java Appl. is displayed in the corresponding portal language...
    VERY Strange?!?!
    Can anybody give me a hint how to solve this problem?
    I guess i have to re-initiate the Web Dynpro  Application some how ...(like killing the application and restarting it ...) but is just a "weak guess"...
    Any Help / Hint is more than welcome !!!
    Cheers
    Stefan

    Hi Stefan,
    This correct see SAP Note [947081|https://service.sap.com/sap/support/notes/947081]
    If the locale for the Web Dynpro iView is changed in the portal (through portal personalization), this is not reflected in the running login session. The user needs to logoff and login again, in order to see the locale change in the Web Dynpro iView.
    Regards,
    Leo

  • How to use Web Dynpro Java isChanged and isChangedByClient

    Hello,
    I have read thorugh a lot of documentation, threads, ... --> but the picture is not geting clearer fro me.
    We have Web Dynpro Java Application (on Netweaver 7.0 SP12) running in Enterprise Portal. We need to tell the portal work protect mode, that we have unsaved changes (how to do this is clear).
    I am struggling with figuring out, that my Web Dynpro Context has unsaved changes. I found the two change-indicators isChanged() and isChangedByClient(), which already confuses me a little bit.
    Anyway, this is what I have figured out so far:
    I am calling wdContext.currentContextElement().isChangedByClient() to figure out changes and when a Save operation has been completed sucessfully, I call wdContext.currentContextElement().node().getContext().resetChangedByClient(). This works for some of the changes made by the user.
    I then tried calling wdContext.nodeABC().getElementAt(i).isChanged() for all nodes of my Web Dynpro Context, but this results in detecting changes before the user ha done any interaction.
    Implementing an own change tracking (i.e. by adding a changed-Attribute to each context node) does not seem a viable option for me.
    So these are my questions:
    - Does anyone now a working pattern relying on those chnage indicators ?
    - Does anyone now how to reset the isChanged indicator (or when it is resetted by the framework) ?
    Any help appreciated.
    Thank you,
    Stefan

    Hi
    Check this link
    Re: How to keep isChangedbyClient flag set between roundtrips?
    http://help.sap.com/javadocs/NW04/current/wd/com/sap/tc/webdynpro/progmodel/api/IWDNodeElement.html
    Thanks

  • Web Dynpro Abap Application for list employees of one manager?

    Hi experts!
    I'm trying to find a Web Dynpro Abap application that could show the list of employees of some manager, like the Web Dynpro Java application for MSS - Training Management.
    In my search's i don't find any, and i want to take sure if there wasn't any Dynpro Abap before to create a new application.
    Thanks & Best Regards,
    Luís Bento

    Hi Gayathri,
    I just have that scenario in my mind, and certainly it's the purpose that i need to implement. However i'm tried to use only standard applications, but maybe this case  it's a exceptional case
    Best Regards,
    Luís Bento
    PS: I give you some points for your answer

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

  • IView Personalization (Web Dynpro Java) for Anonymous User

    Hello All,
    Is it possible for anonymous user to see iView personalization (Web Dynpro Java) when personalized by an administrator?  What I did was create new role and iView making available to anonymous user.  This work fine meaning I can view iView using URL http://<servername>:<port>/irj/portal/anonymous .  But the personalization I made to iView using administrator mode launching iView in preview mode and then using personalization dialog by choosing Ctrl and secondary mouse button to personalize is not showing.  Iu2019m currently on EP7 SP15 and using iView type Web Dynpro Java for the development component sap.com/tcsecumewdenduser application name LogonHelpApp.  
    Any help is very much appreciated.
    Many Thanks,
    Gary

    Hello Michael,
    Yes, the Web Dynpro  for Java Personalization is working perfect for non-anonymous users.  The issue is when I view same iView using anonymous URL http://<servername>:<port>/irj/portal/anonymous the personalization is not showing just defaults back to the original Web Dynpro Java application settings.  The iView that I created and personalized is the new Logon Help Dynpro Java application (LogonHelpApp).  Is there some permissions that restricts anonymous user to view personalization?
    Koti Reddy Iu2019m using the Web Dynpro for Java Administrator Personalization.  Here is the documentation [http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/frameset.htm |http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/frameset.htm ]
    Thank You for your help,
    Gary

  • Web Dynpro Java Internationalization and backend ABAP function modules

    Friends,
    I have a requirement where I want my Web Dynpro Java application to support BRAZIL and CHINESE.
    I have been through the sample programs and tutorials and I understand how to support my application in these 2 languages. The challenge I am facing is how to communicate the language to the backend code (ABAP function modules) so that the function modules can written language specific error messages and texts.
    I searched SDN but could not find anything. Your help is appreciated.

    Prashant,
    When you are configuring JCo connection in WebDynpro Content Administrator, just left language settings blank for metadata connection (you may do the same for data connection). Now WD will supply language of currently logged-in user when obtaining connection settings from system landscape and you'll get necessary functionality.
    By default locale of user determined by parameter sap-locale (sap-locale=de_DE for example), settings of user's browser and lastly preferences of user stored in UME.
    Btw, BRAZIL (or Portugees for this matter) is not fully supported language by SAP, so R/3 side may be not  translated or partly translated.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • About Adobe Form and Web dynpro Java development

    Hello experts,
    We had  a requirement to display different Adboe Forms dynmaticlly in Web dynpro Java application.
    There is only one Web dynpro Java application, but 10 Adobe Forms . If user "a" access the application ,display form 1 ; if user "b" access the application , display form 2 ;  if user "c" access the application , display form 3.... just like this.
    There are about 30 fields in BAPI which Web dynpro Java application called . Form 1 mapping to field 1 to field 3, Form 2 mapping to field 4 to field 6, Form 3 mapping to field 7 to field 9 ....
    Is it possible ? If it is possible , could you please give me a solution ?
    Thank you in advance !
    Best Regards,
    Louis

    Siva,
    I referred to the website, but still having issues with generating tables in Adobe Form. I can get all the table rows in the adove form, but the pdf doee not add new pages to display all the table rows. It just createa one page with the table inside it, display few of the rows and truncates rest of the table data.
    Here is the heirarchy of the page with the properties set
    Master Pages ---
            ||--> Page 1
                     ||--> content area
                     ||--> subfrom (properties:: Content - Flowed / Flow direction - top to bottom...pagination tab is greayed out completly)
                                ||--> Table
                                          ||--> HeaderRows (Object: Row - Type: Header Row)
                                          ||--> Row1 (Object Tab/Binding: Repeat Row for each data item - checked)
    Can't make it wor, not sure what's wrong here
    I am using NDS 7.0 SP18 and Adobe LiveCycle 8.0. Does that could be a problem.
    Appreciate your help
    John

Maybe you are looking for

  • Multi-monitor viewing

    Suggestions or comments for viewing multiple pages horizontally across multiple monitors? Would like to setup 2-3, maybe four pages horizontally.

  • Movie clip resize not working when image is loaded

    Hello, I'm having some strange luck in building an image slide show. I load the image paths into an array from an XML page and then step through the array elements w/ forward and back buttons. I have an empty image clip on the stage where I create an

  • I get an error when I try to activate iCloud backup on my iPad

    When I try to activate my iCloud backup, I get an error message. I simply says that there was an error. I've tried many times and the same thing happens

  • AEBS in bridge mode

    What am I doing wrong? Hi, this is a re-branded follow-up post of a question yesterday. I'm trying to make my AEBS work in bridge mode without success. I have followed instructions from documentation (http://manuals.info.apple.com/en/DesigningAirPort

  • RH_STRUC_GET time out

    Hi everyone ! I still have a big problem with the RH_STRUC_GET FM. When i use it with an evaluation path that contain a lot of object. Is anyone has an idea how to bypass the Time out?? Quentin