Testing a WebDynpro Application

Hi All,
I have a WebDynpro application with three complex screens,
how do test them, what sort of testing procedure i ahve to adopt
Regards,
Murali

Hi Murali
What do you mean "test project"? are you asking how to compile and run it? If yes you should the following:
Right click on your project -> rebuild project.
Right click on your project -> deploy.
Run the main project (if you have more than one project) and check if every thing is working as designed and as required.
If it is not answer to your question please give more detail about your project and indicate what exactly do you want to test?

Similar Messages

  • Popup the wrong URL when testing a webdynpro application

    Hi All.
    I have coded a simple webdynpro component and  created an application in SAPNW7.01ABAPTrial.
    when I test the application in SE80 ,the URL in browser is always <http://localhost:8000/sap/public/myssocntl?sap-client=000>,
    but the correct URL should be  <http://localhost:8000/sap/bc/webdynpro/sap/zz_00_sflight>.
    anybody can help me?
    thanks.

    It is correct that you should get redirected to http://localhost:8000/sap/public/myssocntl?sap-client=000 first. This is the URL that will generate your Single Sign On Ticket. After generation you should be redirected back to your application. I assume from your question that you aren't getting redirected? 
    In the trial system, the proper service nodes should already be activated - but you can double check as already suggested.
    Also try cutting and pasting the URL from the WDA application directly into the browser.  You should get the logon screen and then the applciation. This will bypass the SSO ticket generation.  This might help troubleshoot where your problem is.

  • Testing a webdynpro-abap application

    Hi friends,
       I have created a webdynpro application which calls the bapi get_flightlist.
       while testing the application its throwing an exception :<b> ICF service node for application /sap/public/myssocntl does not exist</b> 
    So i have checked in the SICF this service is not activated. but i didnt understand whats the role of the <b>myssocntl</b>  while testing the webdynpro application.
    Can anybody tell me whats the myssocntl and how it will be useful for executing a webdynpro application.
    Thanks in advance.
    Regards
    Sireesha.

    Hi Sireesha,
        You can check SICF settings in help.sap.com
        I have a PDF where they have mentioned these settings.
        Search in help.sap.com and you will get the answer.
    When you use your own Namespaces [external] (see also Reservation of Namespaces
    [external]) there are some peculiarities to note with regard to the paths in the ICF Internet
    service tree and in the MIME repository.
    When creating your own name spaces follow the rules set out in Defining
    Naming Conventions [external].
    Normally a Web Dynpro application is created in SE80 either in the SAP namespace using its
    simple name, for example, myapp, or in a customer namespace using the complex name
    specification, /<Namespace>/<Application name>, for example, /test40p/myapp.
    Accordingly, the ICF path is under both /sap/ and your own namespace.
    Hope this will help you.
    Cheers,
    Darshna.
    Message was edited by:
            Darshna Thole

  • Error while testing web dynpro application

    Hi all,
    I am trying to test a webdynpro application, following error is being generated.
    The problem is, that I when I try to create a View for a Web Dynpro, the layout window reports the following error message:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL:
    http://<url-of-remote-machine>:8000/sap/public/myssocntl?
    The following error was encountered:
    Connection to <ip-of-remote-machine> Failed
    The system returned:
    (110) Connection timed outThe remote host or network may be down. Please try the request again.
    Your cache administrator is webmaster.
    Please comment.
    Thanks,
    Rekha

    register fully qualified doamin in your ICM file.
    go to drivers->etc->hosts
    write your IP address and fully qualified doamin.
    thanks
    Suman

  • Blackberry issues with WebDynpro application

    We are testing a webdynpro application via a blackberry. The webdynpro application works fine from IE.  With the blackberry, we see the following:
    - User logs into the application. After user's first access attempt, they no longer have to log in. We even turn off the Blackberry and restart. The same issue occurs.
    - User executes a line item transaction in the Blackberry. This item executes fine.  However, we get a communication error on the next lineitem.
    Is there Blackberry Browser and/or Blackberry server settings that need to be applied to allow the sessions and WebDynpro communication to work properly?

    Hi Stephen,
    I'm working on creating Blackberry application for online Purchase requisition Approval process, using PR workflow.
    Workflow configurations have been done in ECC.
    can u guide me how to get "Approve/ Reject" option on the BB device?

  • How to call transaction from webdynpro application

    Hi Experts,
    I have a web dynpro component zxx_comp.its corresponding web dynpro application zxx_app.
    my requirement is , when i test the webdynpro application, i have to call a transaction zxx_txn corresponds to the module pool program zxx_pgm  directly . How can i do that?
    Regards
    Ashwin KV

    Hi Ashwin,
    Use the following to open a T-Code from WD application.
    CALL METHOD cl_http_server=>if_http_server~get_location
    IMPORTING
      host = lv_host
      port = lv_port
      out_protocol = lv_protocol.
    DATA lv_url type string.
    concatenate lv_protocol  '://' lv_host  ':' lv_port  '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction='zxx_txn' into lv_url.
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window_manager->create_external_window(
         EXPORTING
           url    = lv_url
         RECEIVING
           window = lo_window ).
    Regards,
    Harsha

  • Testing Webdynpro Application using ECATT

    Hi
    all
    I am going to test webdynpro Application using ecatt.For this in se80 I selected the
    existing component(z component which was created by me) and i selected the application of that component and right clicked  and selected START ECATT RECORDING and i have given the test cript name at that i have got one error USER ECATT_HTTPDoesnot exist. How to resolve this problem.
    Please give me the soulution regarding this.
    regards
    venkat

    Hi Venkatesh,
    Before you can start recording any webdynpro application make sure that the below settings are done in the ecatt system and the target system , for further information refer ecatt documentation.
    Create User ECATT_HTTP in the eCATT System
    The administrator in the eCATT system must create a user called ECATT_HTTP(with a password). The user requires no special authorization but must be a system user (in transaction SU01, display the user and choose the Logon data tab. Under User Type, select System).
    Activate the Service ecatt_recorder in the eCATT System
           1.      In the eCATT System, start transaction SICF and navigate to the service ecatt_recorder.
           2.      Double-click on ecatt_recorder.
           3.      On the Logon Data tab, enter the user ECATT_HTTPand the password.
           4.      Choose Save.
           5.      Select ecatt_recorder and choose Service/Virtual Host  ->  Activate.
    Activate the Service ecattping in the Target Systems
    Java System
           1.      In the Visual Administrator, choose Server ->Services -> Deploy.
           2.      On the Runtime tab, select Application.
           3.      Select ecattping.
           4.      Choose Start Application.
    ABAP System
           1.      In the target system, start transaction SICF and navigate to the service ecattping.
           2.      Select ecattping and choose Service/Virtual Host ->  Activate.
    Thanks and Regards,
    Balaji.D.N
    Edited by: Balaji DN on Dec 31, 2008 12:04 PM

  • Testing of Java-Based Webdynpro application in NWDS

    hi
    Hi
    I would like to test Java-Based webdynpro application in
    NWDS
    I am able to start and stop recording.
    But when press Start Replay Button.
    i am getting this error in the lower text area where messages area;
    <b>ERROR: Invalid Xml document received from the Xml Client. WindowId attribute is missing</b>
    pls replay ASAP
    Thanks
    Ravi Shankar

    Hi
      Ok now i get it. Well i guess i need to come out of mental block that WebDynpro for ABAP is not there :)..
    Well in that case it should work if you just record your test case.. What version of NDS are you using. It has worked for me.
    Create some inputfield and then deploy and test your application .. See if it runs.
    Then you right click on the application and say Record. It should run you through the screen. Once you are through stop the recording.
    The XML file can be viewed in the NWDS with the test data that you entered.
    regards
    Ravi

  • How to test webdynpro applications using ecatt

    Hi All,
    Can anyone give me detail explanation of what is ecatt and how it can be used for webdynpro applications.
    Thanks in advance,
    Aleem.

    Hi Aleem,
       The Extended computer Aided Test  tool is known as eCATT. Enable businesses  to record and play back applications as automated test scripts.
      The Primary aim is the automatic Testing of SAP business processes. Each test generates a detailed log that documents the test process and result.
    I have written a wiki page for webdynpro abap testing using ecatt .
    <a href="https://wiki.sdn.sap.com/wiki/x/K8Q">ecatt on webdynproabap</a>
    Regards
    Sathish

  • Exception During Testing WebDynpro Application in Developer Studio

    Hi,
    I am trying to test webdynpro application in developer studio as they have mentioned in the url -<b>http://help.sap.com/saphelp_nw04/helpdata/en/c1/c6213e225f9a0be10000000a114084/frameset.htm</b>
    <b>1)</b>During Recording i am getting successful result as follows
    Application Url: http://pawanm:50100/webdynpro/dispatcher/sap.com/compositeapp~webdynpro/MyApplication
    Port: 12000
    The Server is ready to accept Xml files from the Web Dynpro Runtime on Port 12000
    -->Client Connected....
    XML file received from runtime
    The Server is closed and it will not accept any more Xml documents from the Web Dynpro Runtime.
    The script has been stored on the local file system.
    <b>2)</b>But when i am trying to reply the script generated by recording then i am getting
    following error in console
    ->Contacting XML Client on Server to get initial XML document.
    ERROR: Contacted the Xml client on the J2EE Server, but did not receive an Xml document from it.
    <b>And in log viewer i am getting following error</b>
    Date : 03/30/2007
    Time : 20:44:47:481
    Message : Cannot send an HTTP error response [500 Application error occurred during request processing. (details: java.lang.NullPointerException: null)].
    The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: The stream is closed.
    Exception id: [0014222FC3E20052000009490000077C00042CE65506EC3A]
    Severity : Error
    Category : /System/Server/WebRequests
    Location : com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl
    Application : sap.com/tcwddispwda
    Thread : SAPEngine_Application_Thread[impl:3]_10
    Datasource : 17409750:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc
    Message ID : 0014222FC3E200520000094B0000077C00042CE65506EF1F
    Source Name : com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl
    Argument Objs :
    Arguments :
    Dsr Component :
    Dsr Transaction :
    Dsr User :
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 0
    Relatives : /System/Server/WebRequests
    Resource Bundlename :
    Session : 0
    Source : com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl
    ThreadObject : SAPEngine_Application_Thread[impl:3]_10
    Transaction :
    User : Guest
    So anyony please help me by giving some guideline or send me some document or url from where i can get usefull document.
    And also please let me know that how to test CAF application by using some tool provided by SAP.  
    Thanks in Advance
    Pawan Mishra

    Hi Pawan
    Is your engine functioning properly.I mean go to http://localhost:port/index.html then chech out the webdynpro links and other links available on this page .I am suggesting this so that we can check if <b>sap.com/tcwddispwda</b>
    is working fine.Then we can look into the speacific application you are working on
    Reward suitable points

  • Unable to test WebDynpro Application

    Hi,
    I am learning WebDynPro Application development by installing SAP NetWeaver 7.1 Demo System from SDN.
    I am able to view the Views as Preview in SE80 Layout TabPage and they work fine. But an activated WDA wont show up on my browser. I seem to be getting a set of errors that take turns, such as "Die URL enthält keine vollständige Domainangabe (sree statt sree.). "
    Occasionally, a logon page is opened in the browser but i dont know what username/password to input. No matter what i input it wont work.
    During installation I did not specify FQDN since I do not know what it is and since mine is a desktop installation.
    I am new to WDA. Could someone help me with a detailed instruction to help solve the problem.
    I have carried out the following:
    OS: Win XP; Web Browser: IE 6
    MS Loop Back Adapter Installed as instructed.
    Java Runtime Engine 1.4.2 installed as instructed in installation.
    Host name set up in : e:WINDOWSsystem32driversetchosts as 192.168.0.2      NSP
    The above IP is connected to home wireless Router network, and internet connection is working fine
    Installation of Netweaver 7.1 Demo system carried out with no errors.So did not carry out any post installation steps but able to work with the demosystem alright.
    SICF activation of services carried out as per the help link Active Services in SICF
    For example, I am trying to run demo_flash_flight application and its ICF is seen as active  as shown in GO TO > HTTP Service Maintenance
    One of the many different errors that come up are :
    The URL http://sree:8000/sap/bc/webdynpro/sap/demo_flash_flight was not called due to an error
    The following error text was processed in the system NSP : Die URL enthält keine vollständige Domainangabe (sree statt sree.).
    The error occurred on the application server sree_NSP_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    Guess the link has to be https instead of http. How to switch this to HTTPS.
    Tried setting up user name/password in the WDA service was not successful.
    Thanks in advance for any pointers.
    Cheers

    Hi Andreas,
    Thanks for the suggestion. It works.  )
    But couple of questions.
    1)It takes a long time to load.
    2) Everytime, i have to manually change the url from hostname to  <localhost>:8000. 
    3)Also what is the default username / password for SAP WAS. Is it right to assume, each time i start the instance, the WAS is also started? is there a way i can tune it so that the browser loads happen fast.
    The above questions are not show stoppers. I am able to work with the programs. Thanks for the suggestion. Going by the SDN posts, there are many who have had this problem. Your suggestion is definitely a helper.
    thanks heaps!
    Cheers Sree

  • Calling a Webdynpro Application in using WDURLGenerator.getApplicationURL

    Hi,
    I have to call a webdynpro application in an external window using the application name. Please note that no iViews are created out of the application which i am going to call.
    I have DC1 and DC2 and from the Comp Controlller of DC1 , i need to invoke the application in DC2.
    String depObjectName =wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
    WDDeployableObjectPart depObjectpart=WDDeployableObject.getDeployableObjectPart(depObjectName,"TestApp",WDDeployableObjectPartType.APPLICATION);
    String url = WDURLGenerator.getApplicationURL(depObjectpart) ;
    window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,"Test View");
    window.show();
    Is this the correct API to get getDeployableObjectName which is in the different DC.
    Please let me know the correct API which i can use to get the getDeployableObjectName and the subsequently the Application which is availbale in the different DC.
    Thanks and Regards,
    Sekar

    Hi Chintan Virani,
    Thanks for your reply.
    Is it possible to get to know through the APis that the Webdynpro Application Deployed in the server is started.
    I hope some API's will be available.I need to open this application only when it is started.
    I tried this,
    IWDDeployableObject deplObj = WDDeployableObject.getDeployableObject("TestApp");
    if (  deplObj.getState() == WDDeployableObjectState.STARTED ) {
        // do something
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create deployable object TestApp' since it is not a Web Dynpro object.    null
    Thanks and Regards,
    Sekar

  • WebDynpro Application for WinMobile 6.5

    Hi Experts,
    Can anybody tell if there is an official SAP statement that WebDynpro supports or not Windows Mobile 6.5 devices? I can not find anything about that in the PAM.
    WebDynpro supports the URL Parameter sap-wd-client=PieClient to render WebDynpro applications on mobile Devices (Pocket Internet Explorer in our case). Our application works fine on a 5.5/6.0/6.1 device but with view bugs on a 6.5 device (seems that using ParameterMapping on IWDButton and IWDLinkToAction is ignored).
    Regards
    Michael

    Hello Michael,
    Windows Mobile 6.5 device has to be certified and for this the customer vendors should contact SAP to get it certified.                                                                               
    So, new devices that come out with 6.1 and later versions shall be supported by SAP, provided the devices are certified. Certification will be on a "device-level".                                                                               
    So, all you have to do is to ask your device vendor to get the devices certified with SAP.                                                                               
    So, if a device vendor wants to get a device certified - then they can approach SAP. We shall do the testing and then certify that the device can run SAP NetWeaver Mobile client. So, it does not matter if the device OS is 6.0 or 6.1 or later. We shall certify the device, and then customers can run the application on the certified mobile device.
    I hope this helps you.
    Regards,
    Blanca

  • WebDynpro Application issue consuming asynchronous webservice from SAP PI

    Hello experts i ask you for help thie following issue:
    i am developing a webdynpro application which is supposed to
    send some data from inputfields, and a file, in order to achieve it, that dynpro application is consuming an asyncrhronous webservice , this service is running in SAP Process integration .it uses only a component.
    Iam having serious problems at mapping the asynchronous PI web service model -->to -->controller >and then to->view
    since when i deploy the application into the  SAP portal´s application server, it runs , but  inputfields cannot be written.i dont mean unabled, what i mean, is. cannot write anything on them.ECXEPT the file upload UI element.
    I have reviewed sap help page, 3 sappress books, about dynpro, and the procedure i am performind is agree with them.
    endpoint test answers the folloiwng:
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_20_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
    ModuleProcessorRemote not instantiated
    what i did is the same as before(in another projects weh i used to import rfc models):
    1.- import webservice model,and add it to component
    2.-map web service model to controller context
    3.-map controller´s context to view context
    4.-create actions and methods
    5.-binding context controller to ui elements
    Dear experts, my questions are:
    What am i doing wrong?
    should i permorm another steps because the web service is in another application server (SAP PI)?
    Should i create a stand alone proxy and then access it from webdynpro?
    when i call the web service model excution it seems does not run, neverthless the invocation does not have any syntax error , what coul it be?
    Thanx in advance!!

    just for the sake of other who may hit this thread , the solution is to add sap-client=<clientno> in the url for wsdl

  • Issue in webdynpro application while calling from UWL

    Hi All,
    I am working on APPRAISAL workflow in HCM module.
    In new version of SAP has provided ABAP web dynpro application HAP_MAIN_DOCUMENT (component HAP_MAIN_DOCUMENT)
    but it is not integrated with workflow. Earlier insted of this application there was a BSP application and this was integrated with workflow.
    Now to integrate ABAP webdynpro application with workflow I have created new web dynpro application and calling HAP_MAIN DOCUMENT application and when I test through SE80 transaction then I am just passing Work Item ID and it is opening HAP_MAIN DOCUMENT application. I have done it as follows.
    In swfvisu I am passing Work Item ID and In application I am getting business object details using this I am createing a URL and then using exit plug I am calling HAP_MAIN_DOCUMENT application
    *METHOD exit1 .*
    * DATA lo_nd_new_url TYPE REF TO if_wd_context_node.
      **DATA lo_el_new_url TYPE REF TO if_wd_context_element.**
      **DATA ls_new_url TYPE wd_this->element_new_url.**
      **DATA lv_url TYPE wd_this->element_new_url-url.**
      **DATA: l_cmp_api TYPE REF TO if_wd_component,**
            **result TYPE REF TO if_wd_window,**
            **l_window1 TYPE REF TO if_wd_window_manager.**
    ***     navigate from <CONTEXT> to <NEW_URL> via lead selection**
      **lo_nd_new_url = wd_context->get_child_node( name = wd_this->wdctx_new_url ).**
    ***     @TODO handle non existant child**
    ***     IF lo_nd_new_url IS INITIAL.**
    ***     ENDIF.**
    ***     get element via lead selection**
      **lo_el_new_url = lo_nd_new_url->get_element( ).**
    ***     @TODO handle not set lead selection**
      **IF lo_el_new_url IS INITIAL.**
      **ENDIF.**
    ***     get single attribute**
      **lo_el_new_url->get_attribute(**
        **EXPORTING**
          **name =  `URL`**
        **IMPORTING**
          **value = lv_url ).**
      **wd_this->fire_exit_plg( url = lv_url ). "abap_true**
    ***  l_cmp_api = wd_this->wd_get_api( ).**
    ***  l_window1 = l_cmp_api->get_window_manager( ).**
    ***  result = l_window1->create_external_window(**
    ***url = lv_url ).**
    ***  result->open( ).**
    **ENDMETHOD.**
    In SE80 it is opening application perfectly in same session of new Z webdynpro application.
    But when I click on UWL workitem it is not opening.
    In dubugging I checked that workitem ID is passed correctly also URL is created correctly for HAP_MAINDOCUMENT but it is not opening.
    Please let me know is there any setting in UWL config.
    Edited by: Akshay Kale on Nov 17, 2009 11:51 AM
    Edited by: Akshay Kale on Nov 23, 2009 10:07 AM

    Hi akshay,
       Check the following links ,
    Workitems, UWL and Web Dynpro for ABAP
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20f4843e-314f-2a10-2a88-8c4afa20dda6
    another that talks about swfvisu
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a002d1eb-33f0-2b10-f391-e1e0c3057c17&overridelayout=true
    hope this helps.
    Thanks,
    Sahiba

Maybe you are looking for

  • How do I stop unwanted contacts on facetime

    how do I stop unwanted contact on facetime this party keeps sending me messages and I have asked them to stop but they wont.

  • How to replace or change SCCM 2012 R2 install account

    Hello, If we have a need to off-board/replace/change the user (Bob) who originally installed SCCM with, what would the reprocussions of such action be? Anyone attempted to do such a thing before? Is this 'supported'? Details: This user used their 'ex

  • Single Signon and Integration with Active Directory

    Hi, We have a requirement to integrate Active Directory with SAP and implement Single Signon solution. Our Active Directory is running on Windows 2003 and we are having systems 4.7 , ECC6.0 which run on Linux OS in our landscape. Can anyone of you he

  • E-Recruiting: internal error occurs

    Hi guys, I'm trying to test the E-Recruiting-Application, but when I try to save some information in the cadidate's profile over the webapplication an internal error occurs. When I access over the start page of the recruiter I can make changes to the

  • N100 screen resolution problems

    After having my computer reformatted by a local computer store, I turned it on to find that the best screen resolution I can have is 1024x768. Before having it reformatted, I had it at 1280x800 but I can't seem to figure out how to get it back to tha