How to run mobile web dynpro application

Hi experts,
I'm using NetWeaver Developer Studio for Mobile SP03.
I create a mobile application for handhelds including 2 components:
- Mobile Application.
- Mobile UI Component (web dynpro component).
I do follow the tutorial for creating the application. I can deploy and run the application on NWDS handheld emulator successfully.
When I deploy it on my SAP Application server to test the web dynpro UI application via a web browser, it throws out a java.lang.ClassNotFoundException: the class <package name>/Internal<Application Name>Comp.class cannot be found by WD framework when I access it. It can be deployed without error and is alive in the web dynpro content admin.
I found that the normal WD component the class Internal<Application Name>Comp is generated during the building process but it is not when developing mobile UI component.
Can anyone tell me there is any difference between the two WD component types? Does my server need to install any extra component for running mobile UI component? Or do I need to configure my NWDS for Mobile to make the application work on SAP server?
Thank you very much,
Steven Linh Nguyen.

Hi,
Mobile webdynpro application for handheld cannot be deployed on SAP AS.
To use the Mobile webdynpro application for handhelds follow the steps:
1. Upload sda files of all DCs to the DOE server (Transaction SDOE_UPLOAD_ARCHIVE) which will be availabe at the location
<workspace.jdi>\LocalDevelopment\DCs\demo.sap.com\<DC>\_comp\gen\default\deploy
2. Install the simulator on laptop or client on PDA
3. Deploy uploaded MCDS(from step1) to the client, after the device registration.
Thanks and Regards,
Suma

Similar Messages

  • Running ABAP Web Dynpro Application without host entry of web server

    Hi All,
    I am trying to run a web dynpro application, its working fine when I have done host entry (host nam.domain.extension) of web server.
    But when I remove this entry from host file it not runs.
    Can you tell me the posibility of running this application without host entry? Based on this possibility I have to proceed my work. Please guide me.
    Thanks and Regards
    Sudhir Gupta

    Hi Sudhir ,
    See the below link , its necessary to provide FQDN.
    http://help.sap.com/saphelp_nw70/helpdata/en/67/be9442572e1231e10000000a1550b0/frameset.htm
    Regards
    Yash

  • Run a web dynpro application encounter WDUMException exception...

    Dear guys,
    We currently encounter a error when we run a web dynpro application.
    That is, once a user click a url which will redirect to the enterprise portal,
    the com.sap.tc.webdynpro.services.sal.um.api.WDUMException is thrown.
    I have checked the cause of the exception is that "if there is no user (neither authenticated nor anonymous user) attached to the current session"
    The following is our situation:
    When linking to EP domain(ex. http://sapep.xxx.com), single signed on wil automatically process.
    The url which I mentioned above is something like "http://sapep.xxx.com/portal?doc=xxx&ver=2010"
    Our web dynpro program will invoke the IWDClientUser api initially for get the currently logon user's information.
    And this is caused the WDUMException.
    We think that the error is because that the session is not created while loading the web dynpro application,
    so that, the system can't get the cuurent user with a non-user session.
    The situation is not often happened. We think this is because of the system service issue.
    So we try to prevent this problem with the following mechanism:
    When the excpetion is thrown, we invoke a waiting program to let the system has time to generate the require session.
    So when invoke the IWDClientUser, this exception can be prevented.
    Any suggestion.please advise, thanks.

    Try using WDPortalUtils.isRunningInPortal() method to see if the session (somehow) disconnects
    Hi,
    We check the method you proposing, but seems it's not the method to check the session of the current user.
    The API of WDPortalUtils.isRunningInPortal() is as follows:
    public static boolean isRunningInPortal()
            Checks whether or not the Web Dynpro application is running the the portal environment or not.
            Returns:
                  true if the Web Dynpro application is running in the portal environment, false otherwise.
    Is there any other API which can check the current session alive or not?
    thanks.

  • Creating mobile web dynpro application which customized theme

    Hi guys,
    I have created a mobile web dynpro application and a theme with Theme Editor. Then I have appended this theme with the sap-cssurl parameter to my application.
    <b>my_application? sap-cssurl=http://host:port/webdynpro/resources/sap.com/tcwddispwda/global/SSR/themes/MyTheme</b>
    It works well in my first testing on my laptop.
    In order to test it on my mobile device I have also appended sap-wd-client parameter to my application. Now my URL looks like
    <b>my_application? sap-cssurl=http://host:port/webdynpro/resources/sap.com/tcwddispwda/global/SSR/themes/MyTheme&sap-wd-client=PieClient</b>
    It doesn’t work. My application layout looks as if I don’t use the theme. Did somebody have the same problem and can help me by finding a solution.
    Thanks for your answers.
    Marita

    Hi Marita,
    Mobile Web Dynpro supports several handheld mobile devices. I guess yours is a Pocket PC. Except the newest Pocket PC 2003, all the other versions don't have CSS support. Therefore the current Pocket PC client "PieClient" of Web Dynpro lacks the ability for customized themes. On the other hand, themes are supported for more advanced devices, such as Nokia Communicator 9500/9300.
    Regards,
    Wei

  • FPM Form Scripting - How to call a web dynpro application as pop up

    Hi All,
    I want to call a web dynpro application as a pop up from FPM form scripting.
    Like click on button -Maintain Approval Routing in a FPM form i want to open a web dynpro pop up..
    Thanks In Advance.

    Refer to the post How to show pop up’s in WDA HCMPF by Yugandhar Reddy - on some hints
    Hope this helps.
    Regards,
    Sahir.

  • Getting error "Access via null" when running the web dynpro application

    Hi experts,
    I am getting the below error while executing my web dynpro application
    500 SAP Internal Server Error
    ERROR: Access via 'NULL' object reference not possible. (termination: RABAX_STATE)
    I am getting the error only when I am calling a method create manufacturer from my web dynpro program. If i comment this code my application works fine
    CALL METHOD wd_this->mo_ch_instance->create_manufacturer
      EXPORTING
        gi_manufacturer = ls_manufacturer
      IMPORTING
        lv_message      = lv_status
    i have created a attribute mo_ch_instance of type YSRM70CL_CH_SW_MD  where YSRM70CL_CH_SW_MD is the class which has the create_manufacturer method that i am using in my code.
    Kindly let me know whats the issue.
    Regards,
    Vinod

    Hi,
    if   wd_this->mo_ch_instance is not initial.
    CALL METHOD wd_this->mo_ch_instance->create_manufacturer
    EXPORTING
    gi_manufacturer = ls_manufacturer
    IMPORTING
    lv_message = lv_status
    endif.
    Check wether you have created the object for that class r not.
    Regards,
    Lekha.

  • Error when running a Web Dynpro application

    I created a webdynpro component and created a service call to a FM with IMPORTING parameter as PSTLZ and in the MAIN view( the only view in the component) I created a label and an Input field, I binded the input field with the importing parameter of the FM( in the context of the view) and tried to run the application....but it gives me error as :
    Adapter error in &VIEW_ELEMENT_TYPE& "PSTLZ" of view "ZSERVICEREP_LOOKUP.MAIN": Context binding of property VALUE cannot be resolved: Node MAIN.1.INPUT does not contain any elements
    Thanks.
    Deepti Kaza

    Hi Deepthi,
    Dont map attribute of component controller  to attribute of view context.
    Now your problem is you are unable to map the controller context to view context.follow the below steps.
    1.Durectly drag and map the Controller context node (Importing)  to the view context node(INPUT).
    Then you bind the attribute I_ZIPCODE to the Input element in Layout.
    ( or )
    2. Right click on view context node INPUT and select define mapping then a pop up will comes with Controller nodes.select Importing node and then click ok.Thats all your view context node will mapped to controller context node.
    Thanks
    Suman

  • How to create a web dynpro application to open the KM Files?

    I want to create a webdynpro application to open the <b>KM Excel files</b>?What would i do ?Can anybody help me ?

    Hi zhang,
    take a look to this:
    KM:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/kmc/resource%2band%2bcollection%2bversioning%2busing%2bkm%2bapis
    https://help.sap.com/javadocs/NW04S/SPS09/km/index.html
    Excel:
    /people/subramanian.venkateswaran2/blog/2006/10/02/enhanced-file-upload--uploading-and-processing-excel-sheets
    Hope this help you.
    Vito

  • How to display the error message during the web dynpro application runtime

    hi,
        I'm a java developer,During i 'deploy and run ' a web dynpro application on server-1,if the application have some runtime errors. there are displayed many infomation about the runtime error,such as exception track,etc.
        But when i do the same on server-2,there just show something like:
                500   Internal Server Error
                                    SAP NetWeaver Application Server 7.00/Java AS 7.00
                Failed to process request. Please contact your system administrator.
    but the server-1 will stop the j2ee engine. 
    how can do i make server-2 show detail error message as server-1. when i debug web dynpro application need these infomation.
    Appreciate your inputs...
    (Note:server-1 and server-2 have same software version)
    Edited by: BingLin Zhong on Feb 18, 2008 2:13 AM

    The Sap-Notes 962319:
    1. Check in the Visual Administrator, "Licensing Adapter" -> "General" -> "SystemType" !
    If it is set to "DEVELOPMENT_MODE", verbose error messages are shown.
    If it is undefined, proceed with the next step.
    If it is set to something else, only exception IDs are shown. In this case the only chance is to search for this exception ID in the default traces.
    2. If the system type is undefined, then in the Config Tool "Configurations" -> "webdynpro" -> "sap.com" -> "tcwddispwda" -> "Propertysheet default" -> "DevelopmentMode" is evaluated. If it is "true", verbose error messages are shown.
    3. If verbose error messages are required but still the short version is shown, you probably face an error message that is not raised by Web Dynpro but by other components of the NetWeaver. In the Visual Administrator set "Properties" -> "HTTP Provider" -> "DetailedErrorResponse" to "true".
    4. In addition to the error page shown in the browser or client, important messages - including error messages and stack traces - are written to the log and trace files, e.g. to the default traces usr\sap\<SID>\<instance>\j2ee\cluster\server<number>\log\defaulttrace.trc.<number>.
    a) In some cases, when an exception ID is included in the error message, the detailed error message can easily be retrieved in the log file.
    b) When no exception ID is given, you have to search for the detailed error message in the log specifying time stamp and/or user ID.
    Always consider restarting the system after making changes on the settings.
    It is not recommended to switch the "SystemType" to an inappropriate value just for viewing verbose error messages. The system type potentially affects framework, applications and licensing in an perhaps unintended way.
    In the past there was no distinction between different system types regarding error messages. For security reasons this distiction has been introduced. It is not intended to show stack traces in non-development systems in the future. SAP does not provide workarounds or patches to enable such a behaviour again.

  • Not able to run web dynpro application from portal.

    Hi portal experts,
    I want to run my web dynpro application from portal.
    So created a seperate iview  and a role  for the purpose.
    Assigned the iview to the role and also mapped a abap user id to the new role created.
    But when I click on 'preview'  the iview , getting the following dump.
    Error when processing your request
    What has happened?
    The URL http://mnghcmsap:8000/sap/bc/webdynpro/sap/zhr_cp_admin/ was not called due to an error.
    Note
    The following error text was processed in the system HRM : Die URL enthält keine vollständige Domainangabe (mnghcmsap statt mnghcmsap.<domain>.<ext>).
    The error occurred on the application server mnghcmsap_HRM_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CHECK of program CX_FQDN=======================CP
    Method: STARTUP_CHECKS of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system HRM in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server mnghcmsap_HRM_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server mnghcmsap_HRM_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 200 -u: INF51515 -l: E -s: HRM -i: mnghcmsap_HRM_00 -w: 0 -d: 20110209 -t: 121224 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Please let me know if I am doing the process correctly and also let me know if I am missing somthing.
    Thanks,
    Aditya.

    Are you able to run teh web dynpro application independtly i.e. without creatin an iview.
    http://mnghcmsap:8000/sap/bc/webdynpro/sap/zhr_cp_admin/ by using this link.
    or there also you are getting the error.
    i guess there also you should be gettign the error.
    this is some problem with the FQDN settings in the abap system.
    in the host name of the web dynpro applciation server one .(dot) is must.
    so you might have to change the host name to some thing like mnghcmsap. from mnghcmsap
    thanks
    sarbjeet singh

  • Running Web Dynpro Applications in Different Browsers

    Hi,
    I runned an Web Dynpro Application in different browsers(Opera, Firefox and Internet Explorer). The problem is that in Firefox is running fine, but in Internet Explorer some controls are missing and in Opera I got an Error Page that say the following:
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    This page was created by SAP NetWeaver. All rights reserved.
    Web Dynpro client:
    Nokia Series 80 Client
    Web Dynpro client capabilities:
    User agent: Opera/9.25 (Windows NT 6.0; U; en), client type: op6, client type profile: op6, ActiveX: disabled, Cookies: enabled, Frames: enabled, Java applets: disabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Accessibility mode: false
    Web Dynpro runtime:
    Vendor: SAP, build ID: 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:13:14[UTC], changelist=455669, host=pwdfm101), build date: Wed Nov 14 08:48:35 GMT-03:00 2007
    Web Dynpro code generators of DC agile.com/pmg_bonefish~webdynpro:
    SapDictionaryGenerationCore: 7.0013.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:57:42[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro: 7.0013.20070703112649.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:00:50[UTC], changelist=454024, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore: 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:45:23[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:15:27[UTC], changelist=455669, host=pwdfm101)
    SapWebDynproGenerationCTemplates: 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:15:27[UTC], changelist=455669, host=pwdfm101)
    SapGenerationFrameworkCore: 7.0013.20060719095755.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:44:42[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:04:26[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary: 7.0013.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:54:53[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon: 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:45:30[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCore: 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:04:37[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates: 7.0013.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:57:50[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    Web Dynpro code generators of DC sap.com/tcwddispwda: No information available!
    Web Dynpro code generators of DC sap.com/cafUIptn~common:
    SapDictionaryGenerationCore: 7.0013.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:26:06[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro: 7.0013.20070703112649.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:28:49[UTC], changelist=454024, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore: 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:14:35[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:42:07[UTC], changelist=455669, host=pwdfm101)
    SapWebDynproGenerationCTemplates: 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:42:07[UTC], changelist=455669, host=pwdfm101)
    SapGenerationFrameworkCore: 7.0013.20060719095755.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:13:54[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:32:11[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary: 7.0013.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:23:29[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon: 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:14:42[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCore: 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:32:21[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates: 7.0013.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:26:13[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    Web Dynpro code generators of DC sap.com/tcwdcorecomp: No information available!
    J2EE Engine:
    7.00   patchlevel 109044.44
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_09-b05, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2003, version: 5.2, architecture: x86
    I don´t know is the problem I have in both browsers Internet Explorer and Opera are from the browser or from the layout I´m using in Web Dynpro.
    regards

    Hi Aida,
    For getting an information of the Web Browsers supported by SAP NetWeaver, check out the following link:
    [http://service.sap.com/pam|http://service.sap.com/pam]
    To access the Product Availability Matrix (PAM), you will need a sUser Login Name.
    For Reference,
    http://help.sap.com/saphelp_nw04s/helpdata/en/79/23c7410400c717e10000000a155106/frameset.htm
    Regards,
    Alka.

  • Difference between mobile web dynpro and simple web dynpro application

    Hi Everyone,
    Can anyone pls let me know what's the difference b/w mobile web dynpro application and an offline or simple web dynpro application.
    Thank U!!
    Ravi Aswani

    Hi ,
    Mobile WebDynpro
    The SAP Web Application Server allows direct online access to Web Dynpro applications using mobile devices. As part of the SAP Web Application Server, Web Dynpro provides a development and runtime environment with which you can quickly and simply create professional user interfaces for desktop PCs or for mobile devices. An appropriate infrastructure and renderer classes are provided for developing mobile Web Dynpro applications for Pocket PCs as well as for BlackBerry Wireless Handhelds and Nokia Series 80 devices.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/100d4113eff16fe10000000a1550b0/frameset.htm
    WebDynpro Java
    Web Dynpro is a client-independent programming model of the SAP NetWeaver technology platform for developing user interfaces for professional business applications. It is based on the model view controller paradim which ensures that the business logic is separated from the presentation logic. This architecture is visible in the Web Dynpro perspective of the SAP NetWeaver Developer Studio (NWDS).
    Web Dynpro helps you with the development of Web applications by:
    ·        Ensuring platform-independence with the meta model approach
    ·        Minimizing the implementation effort through declarative programming
    ·        Supporting a structured design process by applying the model view controller paradigm
    ·        Providing reuse and better maintainability by using components
    ·        Providing graphical support with tools in the Web Dynpro perspective
    ·        Providing the SAP NetWeaver Java Development Infrastructure (NWDI) which supports team work with different services such as source code versioning and the Central Build Service.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/100d4113eff16fe10000000a1550b0/frameset.htm
    Thanks
    Suresh
    Edited by: Suresh Mandalapu on Sep 2, 2008 11:07 AM

  • Access Web Dynpro application on different WAS ??????????

    Hi All,
    Current Scenario -
    We have deployed ESS & MSS Business package on one WAS and the iviews are present on another WAS.We have created a Dedicated R/3 system which is pointing to the WAS where these packages are deployed.
    All these things are working fine i.e. once the user maps the id pswd it directly runs the Web Dynpro applications in the iviews.
    That means, even if application is running on one WAS, and the user personalises data on another WAS, it still retrieves the credentials and shows the appropriate results for ESS MSS Packages.
    Query-
    Now i need to implement the same scenario in my Web Dynpro application
    Steps
    1) I have the WD application running on one WAS and portal on another
    2) In portal there is a R/3 system created
    3) The Web Dynpro application needs to know if the user has personalised mapping against that system created on portal(other WAS)
    4) If yes show him the home page else take him to the login page.
    Just as it is implemented for ESS MSS Packages.
    How can i pass the mapped data to the Web Dynpro iview ?
    Thanks and Regards,
    Samta Nichani

    Amol,
    as this questions existed twice, I've deleted one.
    As roles are in the UME, you can access them. But why do you want to do this? You could login to that user, but then the question is what you want to do....
    Regards,
    Benny

  • Emulators for testing mobile web dynpro

    I am developing mobile web dynpro applications and need emulators to run them. Can anyone suggest the URLs to download the emulators (Pocket PC, BlackBerry, and Nokia series 80). As I do not have the real device to test the applications, I need the emulators badly to test the applications.

    Hi Kishore,
    sorry i am not using BlackBerry,only Windows mobile.
    There i only have to enter the URL of the WD-Application into the Device Browser of the simulator.
    I noticed from this threads that Vikram has the same problem as you.
    https://forums.sdn.sap.com/click.jspa?searchID=2033248&messageID=3259667
    Mobile Webdynpro!!
    Perhaps you can watch this thread and get a solution for blackberry.
    Regards
    Frank

  • Web Dynpro Application URL

    Hi All,
    I need to run a Web Dynpro application without using Portal, is there a was to do so? Can I run the application by calling it directly using a URL?
    Thanks,
    Rajiv

    Hi,
    you can. simply right click on your Web dynpro application and selecte deploy and run.
    other wise use this url to run
    http://hostname:portnumber/webdynpro/dispatcher/local/projename/wpplication name
    Regards,
    Naga

Maybe you are looking for