About Log in Web Dynpro Java

1. Following is my log-configuration:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
<log-configuration>
     <log-formatters>
          <log-formatter
               name="MyFormatter"
               pattern="%24d %-40l [%t] %s: %m"
               type="TraceFormatter"/>
     </log-formatters>
     <log-destinations>
          <log-destination
               count="10"
               effective-severity="INFO"
               limit="100000"
               name="MyDestination"
               pattern="%t/trace.log"
               type="FileLog"/>
     </log-destinations>
     <log-controllers>
          <log-controller
               name="MyController"/>
     </log-controllers>
</log-configuration>
2. Following is my code:
  private static final com.sap.tc.logging.Location logger =
    com.sap.tc.logging.Location.getLocation(StartView.class);
  public void wdDoInit()
    //@@begin wdDoInit()
     logger.entering("StartView - wdDoInit()");
     logger.exiting("StartView - wdDoInit()");
    //@@end
Question:
Why I can not find the outfile in path ("c:\temp")?

were you able to resolve this issue ?? Im facing similar problem, any help from you is highly appreciated.
Thanks,

Similar Messages

  • Storing Current Logged on User Details in Web Dynpro Java

    Hi Experts,
    My GP Process containd 2 steps:
       - Create Activity
       - Evaluate and Approve
    The user creates the Activity and the manager approves it.
    I have to make sure the User Details are avaialble for the Manager to see.
    How do i store the user details logged on.
    I need the "Name", "Date" and "Time" of the user when he creates the Activity.
    Can somebody guide me how to do it using Web Dynpro java.????
    Thanks a lot.
    Cheers
    Gaurav Raghav

    Hi Gaurav,
    Make use of background callable object which retrieves the logged in user details. If you are using WD and you need the logged in user infomation use the IWDClient . Code for getting this is there in sap help.
    Thanks,Uma.A

  • 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

  • Question about meta-data of Web Dynpro ABAP / Web Dynpro Java

    Hello together,
    everywhere I can read, that Web Dynpro meta-data is platform independent.
    I´ve read into a book, that the meta-data of Web Dynpro Java is saved as XML and
    that Web-Dynpro Java Runtime generates runnable classes and sourcecode out of this...
    - What about Web-Dynpro ABAP? Is Meta-code in ABAP is saved in XML too?
    - just for theory: is ist possible to take the meta-data of a Web-Dynpro ABAP component and
      generate a Web-Dynpro Java Component out of this?
    I tried to find it out but i failed... In table WDR_RR_LOAD (is this the right one?) I found only the
    field data. But this is a RAWSTRING and I don´t know how to make I "readable".
    I must know this for my thesis for my studies, not for work.
    Thank you very much !!!!
    Greetings,
    Oliver

    Me again,
    I am not sure if I understood it right...
    The meta-data which describes the visual part of a view is saved as XML and
    would be rendered i.e. in the webbrowser... Right?
    What about the meta-data of the Web Dynpro application?
    Is this meta-code into an other structure or XML too?
    Thank you very much.
    Many Greetings,
    Oliver

  • About Flash Islands In Web Dynpro Java

    Hi All,
    We developed a sample Web Dynpro Java application with Flash Islands. It executed fine. We used the Flex 2.0.1 Hotfix 3 Compiler. But now we have a requirement to use Flex 3.2 complier. But if we use SWF files in Web Dynpro, comipled with Flex 3.0 complier, It is not rendering the UI components. How can I resolve this problem. In some thread, I saw this problem is resolved in latest patch of CE 7.1 EHP1. Is it?. If so what is that patch and from where I can download this patch?
    Thanks,
    Sampath G

    hi,
    Check out this link. It will give you an idea how to integrate Aobe island comp with web dynpro.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480
    Thanx.

  • Web Service Consumption in Web Dynpro Java

    Hi,
    I'm using NetWeaver 2004s for Java. I have generated a Web Service out of a BAPI. I use that Web Service in a Web Dynpro Java Application as Model. Model generation works fine. But when I call the Web Service during execution of the corresponding Web Dynpro Application, I get the following Exception:
    "java.rmi.RemoteException: Service call exception; nested exception is: java.lang.Exception: Call to returned http code 500 with unacceptable content type (text/html; charset=iso-8859-1). <HTML> <HEAD> <TITLE>Unknown Host</TITLE> </HEAD> <BODY BGCOLOR="white" FGCOLOR="black"> <H1>Unknown Host</H1> <HR> <FONT FACE="Helvetica,Arial"><B> Description: Unable to locate the server named "<EM>us0308.wdf.sap.corp</EM>" --- the server does not have a DNS entry.  Perhaps there is a misspelling in the server name, or the server no longer exists.  Double-check the name and try again. </B></FONT> <HR> </BODY>"
    Testing the Web Service via transaction WSADMIN works fine. Can anybody give me an advise how to solve that problem?
    Thanks in advance!
    Regards,
    Frank

    Had Exactly same problem with authorization issues on the server hosting the webservices.
    Create a CPIC user Id on the server hosting the webservice. The user id should have authorization to execute the webservice.
    Create a webservice destination in VA for the said webservice using the user id
    1. Log on to the J2EE Engine as an administrator using the Visual Administrator.
    2. Expand -> Server ->Services.
    3. Select the Destinations service.
    4. Under Destinations, select HTTP and choose New
    You need to create two destinations one for matadata and another for execution data.
    Use the destinations while creating the WS model in NWDS.
    if you have issues importing the model using the URL, you can create the model using the WSDL and use the WS Destinations to execute it.
    I am following the same approach after i had faced similar issues with webservices on PI7.1 and Portal 7.0
    About the option to use _setusername, _set...., not all webservices come with the _set methods.
    and moreover if you do that, it would be more of hardcoding in the code, which should be avoided.
    Regards,
    Nitin
    Edited by: Nitin Mahajan on Jun 11, 2009 6:11 PM

  • Use loadrunner to test Web Dynpro Java Application

    Hi Gurus,
             I'm using Loadrunner 11.0 to do load test to Web Dynpro Java Application. At first, I used web(http/html) protocel script, and I could record the whole business process successfully.  But the script seems very hard to understand. For example, the following script is so complex.
    After this, I tried 'SAP Click and Script'. At this time, loadrunner only record my logon action, while my business operation was not recorded in the script.
    "Body=sap-ext-sid=nYCksrUa3nHq2NIwTPpTKg--LpNoVBU_d2sS7nCHLaG*qQ--&sap-wd-cltwndid=WID1411644055966&sap-wd-norefresh=X&sap-wd-secure-id=kNh-egwklSanOHIGRb7-eA%3D%3D&SAPEVENTQUEUE="
      "ComboBox_Select%EE%80%82Id%EE%80%84aaaa.App_Property_FormCompView.ANLKL%EE%80%85Key%EE%80%84FA040%EE%80%85ByEnter%EE%80%84false%EE%80%83%EE%80%82ClientAction%EE%80%84submit%EE%80%83%EE%80%82urEventName%EE%80%84COMBOBOXSELECTIONCHANGE%EE%80%83%EE%80%81Form_Request%EE%80%82Id%EE%80%84...form%EE%80%85Async%EE%80%84false%EE%80%85FocusInfo%EE%80%84%40%7B%22sFocussedId%22%3A%20%22aaaa.App_Property_FormCompView.ANLKL%22%7D%EE%80%85Hash%EE%80%84%EE%80%85DomChanged%EE%80%84false%EE%80%85IsDirty%EE%80%84fal"
      "se%EE%80%83%EE%80%82EnqueueCardinality%EE%80%84single%EE%80%83%EE%80%82%EE%80%83",
    Could anyone give me the clue or materials about WDJ load test using loadrunner? Thanks very much
    regards.
    zhihua

    Hi Zhihua,
    First delete all the cookies from your browser.
    Close all the internet sessions which are opened in your system. During your script recording
    Open only 1 session which you will be recording for java script.
    The above mention log is the cookies from the internet explorer.
    its of no use for the script you can even delete from the script.
    Regards
    Mohammed

  • 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

  • Deploying problem of web dynpro java application

    Hi,
    I have a web dynpro java application with no problem about deploying.
    I copied this application with another name.
    I tryed new application to deploy but sdm aborted with error.
    Error
    19.Tem.2011 10:22:25 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : vserver0202
    SDM port : 52018
    URL to deploy : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Result
    => deployment aborted : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Aborted: development component 'HF_PERS_RAPOR_BUTCE'/'local'/'LOKAL'/'0.2011.07.19.10.22.15'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/HF_PERS_RAPOR_BUTCE.. Reason: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi,
    Since the exception says "Are all referenced components deployed and available on the engine?"
    Check wether any DC is used as a used DC in the webdynpro component which you are deploying.
    If any used DC is available try to deploy that DC in the server and then deploy ur webdynpro application.
    If all reference DC's are avialable in server, still if you get this error try to rename the component and reload+rebuild the project and deploy it.
    Hope this helps you...
    Regards,
    Saleem Mohammad.

  • Web Dynpro Java : Failed to get deployable object part info for component

    Currently we have a web dynpro java project which connects to the ABAP backend with Web Services. Everything seems fine, and when we transport to the production server via NWDI, we have the following error. Everytime we try to access the application , the error is occurred.
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to get deployable object part info for component com.sie.attachmentcomp.AttachmentComp
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getComponentDeploymentDescription(ClientComponent.java:784)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:934)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
        at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
        at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
    It is working properly in our development , and testing environment. Only production has this error. And one weird thing is that this particular error occurred only sometimes to some user. For example; I could not access to the application with this error yesterday but my friend can access. Today, I can access in the morning but my friend cannot. For another friend , Yesterday he can access by using IE but not by Firefox. But today Firefox is fine but not with IE. It seems crazy.
    For more information, in our J2EE engine for the production server, we have 3 server nodes (clusters). And we are not sure it is the source of the problem. Is there any solution , and any way to know from the application that we are on which server?
    We also go and check from the Content Administrator in Web Dynpro Console. Under our project name, in the list of Components, sometimes we can see AttachmentComp but sometimes not.
    Please help us as our project is about to go-live next week.
    Thanks,
    Yu

    Hi Meenge,
    Please check below document for finding root cause for "Failed to start deployable object part info for <development component> and application <application name>"
    http://help.sap.com/saphelp_nwce711core/helpdata/en/44/7716e1633a12d1e10000000a422035/frameset.htm
    OR http://help.sap.com/saphelp_nw04/helpdata/EN/f4/1a1041a0f6f16fe10000000a1550b0/frameset.htm
    Hope it helps
    Regards
    Arun

  • Ajax in Web dynpro java

    Hi experts,
    Please clarify about the usage of AJAX in webdynpro java ce7.2.
    The doubt is how to use ajax in ce 7.2 certain document says that ajax is embeded in 7.2 .
    All what I found is navigation API's and implementation of TLN, DLN etc using AJAX and AFP as the default framework page.
    Is it possible to use Ajax in webdynpro java?
    Is there are jar files for using navigation API?
    Please
    Thanks and Regards,
    Vibha

    Hi Vibha,
    This blog hopfully will answer your question regarding using Ajax in webdynpro java.
    /people/oliver.mayer/blog/2008/11/17/web-dynpro-java-and-ajax-in-sap-netweaver-ce-71-enhancement-package-1
    This how to guide shows how to use navigation API for Ajax Framework Page.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d02ee44d-3f3a-2d10-3394-f3895cc3573e
    Regards,
    Min

  • Workflows in web dynpro java

    Hi experts,
    please guide me about the workflows in web dynpro java. i have to implement workflow outside SAP, i dont have any idea about it.

    Dear Shilpi
    For Configuring Workflows outside SAP we need to have a Gateway HUB where it channelizes to connect through Outside SAP. Based on the Tasks available in SWFVISU we can choose either Java or ABAP workflow where the Appropriate Task numbers will be available.
    Check these links
    Gateway Workflow Configuration Problem
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10dfad5a-5398-2b10-568b-d3d999d49b5c?QuickLink=index&…
    Hope this Info will be helpful
    Cheers
    Pradyp

  • Component Initialisation in web dynpro java

    Hi all,
    Iam new to web dynpro java.I am using two web dynpro component suppose A and B . Iam declaring the usage of B in A so that i can embedd one of the view in Component B.  I want to use the context in Component B in Component A . which component is initialised first when we run the application ...
    plz give a procedure to do this task......
    Thanks and Regards
    prasad

    Hi Prasad,
    This forum is about Visual Composer. You might want to try the [Web Dynpro|Web Dynpro Java; forum for this question.
    Best regards,
    Tal.

  • ALV table in Web dynpro java

    Hello Experts,
    I have a task to migrate the usage of UI element IWDtable to ALV Table in my application for some features like Sorting and filtering supported in ALV table.
    I searched in Google and SDN about the ALV table, could not find any document about ALV table in Java (Found docs only with ABAP).
    Is ALV table supported in Web dynpro java ? If yes, please pass me the URL for the basics of ALV table.
    Thanks in Advance,
    Regards,
    Harish

    Hello,
    I understand from previous posts in this thread, that the ALV is not yet available for use within WebDynpro. Although it is already documented in the NWDS documentation under:
    SAP NetWeaver CE Developer Studio Documentation > Developer's Guide > Developing and Composing Applications > Developing User Interfaces with Web Dynpro for Java > Reference > UI Element Guide > Tables and Lists > Displaying Lists with SAP List Viewer > Integrating SAP List Viewer into Applications
    Since it is listed under "Developing User Interfaces with Web Dynpro for Java" I would assume that is should be possible. We are on NW CE 7.1 SP5.
    I tried to get a test application running based on the documentation, but the documentation is too thin and I run into an Null-Pointer exception in a SAP class called:
    at com.sap.ip.bi.alv.rendering.ALVGraphicsRenderer.init(ALVGraphicsRenderer.java:117)
    If it is not yet released for use then I wonder why it is already part of the documentation ?
    Take care
       Ingo

  • Date format problem in web dynpro 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
    Kal

    The date format in the Web Dynpro Java Application depends upon locale. At runtime WDJ will do the following process to get the current locale for the date format to be determined.
    1. First the WDJ Application will check for the locale set for the user in UME.
    2. If there is no default locale in UME, then the it will check for the locale in the in the browser which in most cases by default is en-us.
    3. If not, then it will check for the sap.systemLocale in the Propertysheet default of Visual Admin
    4. If there no locale specified in Visual Admin, itu2019s taken from the WAS JVM
    Please check the below SAP Note
    http://help.sap.com/saphelp_nw04/helpdata/en/a0/58db515b95b64181ef0552dc1f5c50/frameset.htm
    Regards,
    Chandran S

Maybe you are looking for

  • Too many Yellow screens, too many emails - how to unsubscribe?

    I started following a yellow screen iPhone thread after getting my yellowscreen 4S direct from Apple - C39 serial Replacement No. 1, at Apple Store Covent Garden, also yellow, did not actually swap, although they messed up the paperwork to show I did

  • Did anyone else have a 'you must restart your computer' screen today?

    I leave my imac on 24/7. This am, I switched from my wifes user profile to miine, checked my email, got done, closed mail, and was going to open my browser (firefox) and the screen dimmed (like before going to screen saver) and then a gray message bo

  • Oracle 9i, Rel.2 - Problems with dynam statement and cursor

    Hello, I have the following problem with Oracle 9i, Release 2: I have a SQL-statement, which I create with the help of a configuration table. That means I don't know how this statement looks at runtime. It could be look like this: SELECT Att1, Att2,

  • HT1689 iTunes is having download error on purchased songs on iPhone. Why?

    Every time I go purchase a song on my iPhone it will start to download Get to 2.0MB, start all over and a message will come up saying Download error, retry or done as options. I never had this problem Til I updated to latest software for iPhone 4. Pl

  • Renaming, but keeping original file numbers problem

    It appears that when I edit RAW files from lightroom in photoshop, upon saving it adds "edit" to the filename AFTER the original file number.  Since what comes back from photoshop is a PSD file instead of a RAW file it's pretty obvious that I've edit