Web dynpro application using java

Hi Experts,
I am new to netweaver . I developed one web dynpro application in  NWDI  but input fields are disabled on screen .
please suggest reason why it is happend.
Thanks,
Santosh.

Hi Santosh,
Once you create the input fields in NWDS you need to bind input field with context attribute to enable in the display screen.
Refer to this Re: Calendar UI element in NWDS and also refer to Tutorials & Samples for Web Dynpro Java [original link is broken]
Hope it helps
Regards
Arun
Edited by: Arun Jaiswal on May 4, 2010 12:19 PM

Similar Messages

  • Web dynpro application using workflow

    Hi all,
    I have developed a web dynpro application and attached that to the portal, so the user will login into the portal and will access the application. We have a new requirement now, when a user enters the data and hit save button on the web dynpro application, the workflow should trigger and should send the filled out (everything filled in) web dynpro application to his superior, the supervisor should be able to click on a link (which he should get through workflow) and should get the web dynpro application filled in. I am not sure how can I do this, so can you please guide me through.
    Thanks,
    Raj

    Hi Raj,
    could I suggest perhaps that you have a good search of SCN - there have been multiple posts about this sort of thing in the past.
    for example : the wiki article
    [Integrating WebDynpro ABAP applications with UWL for workflow in Portal|http://wiki.sdn.sap.com/wiki/display/WDABAP/IntegratingWebDynproABAPapplicationswithUWLforworkflowin+Portal]
    is it perhaps that you do not use the UWL at your site? Or do you want to to send an email to the manager with a link directly to the approval application? The last case is one that I've come across many times before - it just means that you'll need to generate an approval task that is ended by a wf event and send an email to the manager with a URL parameter in the launch of the WDA application so that the app can pick up the details required to display and raise the WF event to complete the approval wf task.
    There are all sorts of ways of persisting the information in the form so that the manager can see it in the approval. You can use the workflow container, you can use a db table, you could even use a shared memory area (not that I'd recommend this for this usage). But this is more a case of how to persist information in a workflow and probably a better question (search first, it's probably been answered already) for the WF forum and not the WDA forum.
    Good luck in designing and building your application. Perhaps when you are done you could write a blog about your experience and further share how to do this with others.
    Cheers,
    Chris

  • Get URL parameters of Web Dynpro Application using Floor plan manager

    Hi Experts,
    I have a web dynpro component using FPM. The default window of the application is FPM_WINDOW which is an interface view of component of FPM framework. so I cannot get the URL parameters in handledefault of a normal web dynpro app which is not using FPM. How do I get URL parameters in this case through FPM? Thanks!

    Hi,
    I guess you might have created the application under FPM_OIF_COMPONENT/FPM_GAF_COMPONENT. For that add the pramaters to the PARAMTERS tab of teh application.
    Now, you can use
    data lo fpm type ref to if_fpm.
    lo_fpm = cl_fpm=> get_instance( ).
      CALL METHOD lo_fpm->mo_app_parameter->get_value
        EXPORTING
          iv_key   = 'PERNR'            "Application param name
        IMPORTING
          ev_value = lv_pernr.
    Regards,
    Lekha.

  • How to make changes to stdandard web Dynpro applications used in ESS

    Hi all
          I have uploaded the standard ESS Business Package,
    now the requirement is to change some features in the web dynpro application in it.How do I go about it?
    Regards
    Mansoor

    Even though those are tow different tabs, but both are under one view controller.
    So create a node and pass the data.. so data will be available to both tabs.
    View controller is local controller
    component controller is global controller.
    if you want to access the node outside your view then declare the node in component controller.
    Regards
    Srinvias

  • Design Choices in a Web-only Application Using Java Persistence - Question!

    Hi,
    Is it possible to use both container and application managed entity manager factories in the same web-only application?
    It is not working for me....
    I have an application that is using container managed (injected) emf and also an application managed emf. The behavior I see is that updates from the application managed emf are not being persisted to the database but it can query properly. The container managed emf works normally.
    However, there is no error for the application managed emf. Maybe this is because I am using hypersonic in my test environment?

    Duh, forgot to joinTransaction in the app managed emf
    Edited by: edge1 on Aug 20, 2008 10:42 PM

  • Java dictionary database table in web dynpro application

    Hi,
    I want to access java dictionary database table in my web dynpro application in java.
    Right now I have created one java dictionary DC.
    and in that Dc i have created two database table .
    Now I want to use this table in my web dynpro application.
    Can anyone help me.

    You can use the Dictionary Projects to create tables in Database. You must use codes to access these database tables that is created using Dictionary projects.
    You have to use the DataSource in order to get connection ; Use Visual Administrator to see the data source name.
    You can use the following code to access the database table.
    ResultSet result = null;
    try
         InitialContext initialcontext = new InitialContext();
         DataSource datasource = (DataSource)initialcontext.lookup("jdbc/<DataSourceName>");
            Connection connection = datasource.getConnection();
         Statement statement = connection.createStatement();
         result = statement.executeQuery( <Query>);
         connection.close();
    } catch (NamingException e) {
         // TODO Auto-generated catch block          
              e.printStackTrace();
    } catch (SQLException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
    Regards
       Vinod

  • 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

  • Assigning a login module to a Web Dynpro application

    Hi everybody,
    I would like a Web Dynpro application to use a custom login module for authentication. How can I do this?
    What I found is the Security Provider (in the Visual Administrator tool) where I can add a login module to the "form" authentication mechanism for example. But if I do this I think all applications using this mechanism have to use my custom login module, right?
    I wonder if I have to add my Web Dynpro application as a component to the Security Provider so that I can assign login modules to it. Am I on the right way? If yes, how can I do this? If I choose "Add" from the "Policy Configurations" tab a popup appears where I can enter the name for a new component. How do I specify my application there?
    Thanks in advance for all answers,
    Torben

    Hi,
    Web Dynpro applications use the ticket authentication template. U wud need to add your login module to the ticket template's login stack.
    Incase you are accessing the Web Dynpro applications thru the EP u wud need to make changes to the authschemes.xml file too.
    regards,
    Vishal

  • How To Consume UME services in Web Dynpro applications

    Dear Friends,
    I am developing a new web dynpro application in which i want to get the user related information in my dynpro code. I have used com.sap.secuirty.jar file in class path -> lib of my project.
    I have written code sth like this.
    IUser user = null;
    String username = user.getCurrentUser().getSAPUser();
    and defined sap.authentication as a application variable to fetch user creadentials from portal run time.(user logs in to the portal and dynpro application fetches user credentials from portal). When i do this, the login window appears twice and user needs to enter his credentials more than once. If I remove sap.authentication parameter from the application then i am not able to get the user credentials. Could you please tell me the right method of fetching the user credentials in web dynpro application? Do we need to use sap.authentication? do we need to include sharing reference of the usermanagement in our application?
    kindly share your knowledge.

    These might be good places for you to start.
    [User|http://help.sap.com/saphelp_nw04s/helpdata/en/80/45da9619d24b61bb869c31ef3b780a/frameset.htm]
    [Protecting Access to the Web Dynpro Application Using UME Permissions|http://help.sap.com/saphelp_nw04s/helpdata/en/f3/a64d401be96913e10000000a1550b0/frameset.htm]
    -Michael
    Edited by: Michael Shea on Sep 2, 2008 8:24 AM
    Edited by: Michael Shea on Sep 2, 2008 8:25 AM
    Fix link

  • Updated data in a web dynpro application

    hi
    when we develop a web dynpro application using a model from an  R/3 as a backend access system , how is the data updated in the application, in the portal whenever there is a change in the source OLTP data tha we used?
    thanks in advance
    krishna chaitanya

    Hi,
    Do you want to change the message server name thriugh coding then use the below code.
    Store the message server name in a customizing table.
    use the below code to replace the MS name:
    DATA    lv_temp_str TYPE char255.
      DATA    lv_split1 TYPE char255.
      DATA    lv_split2 TYPE char255.
    DATA :  lv_string TYPE string,
              lv_application TYPE string.
    DATA    lv_dns_str TYPE /mrss/t_rm_dns_str.
    CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = lv_application " webdynpro application name
        IMPORTING
          out_absolute_url = lv_string."url of the application.
    lv_dns_str = message server name form the customizing table
    lv_temp_str = lv_string.
      SPLIT lv_temp_str AT '//' INTO lv_split1 lv_split2.
      CLEAR lv_split1.
      lv_temp_str = lv_split2.
      SPLIT lv_temp_str AT '.' INTO lv_split1 lv_split2.
      lv_temp_str = lv_split1.
      REPLACE lv_temp_str IN lv_string WITH lv_dns_str.
    Regards,
    MAdhu

  • DB access in Web Dynpro application in Portal

    Hi,
    I will develop a web dynpro application which will run in the EP and use an DB. How are the best practices in this scenario ? Should I use a Web Dynpro Model (EJB or WebService) for the persistence operations or should I use Portal Services ?
    Regards
    Flo

    Hi Florian,
    go trrough these docs:
    EJBs in Web Dynpro Application Using Wrapper Class
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00be903b-8551-2b10-c28a-8520400c6451]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c]
    Accessing database table using EJB and web dynpro
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c]
    Oracle Connectivity with EJB using WebDynpro Application
    [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/oracle%2bconnectivity%2bwith%2bejb%2busing%2bwebdynpro%2bapplication]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0b657b7e-0c01-0010-74a4-b71518871800]
    hpe it hlps u...
    Regards
    Khushboo

  • Problem with HowTo guide - Use the BI Java SDK in a Web Dynpro Application

    Hello,
    I am following the HowTo guide - Use the BI Java SDK in a Web Dynpro Application
    at <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e49be590-0201-0010-0c83-fc20e5da124f">this link</a>.
    I have configured the connector on the WAS as needed.
    The problem is that when I run the application I receive an Unauthorized error on the connector URL.
    If I open this URL on a browser I receive a pop-up for UID and PWD and when I enter the same UID and PWD I used to configure the connector I am able to login and see the WSDL.
    Any ideas?

    I've never tried using BI in WebDynpro !!!
    But i foond one posting on the connection problem https://forums.sdn.sap.com/click.jspa?searchID=955524&messageID=2133396
    Regards,Anilkumar

  • Convert JAVA Web Dynpro to ABAP Web Dynpro application

    Hi,
    I was hoping someone could tell me if there is a way to port a JAVA Web Dynpro application to ABAP Web Dynpro. We have some JAVA WD apps that would now make more sense to have running on our ABAP system so we would like to convert them to ABAP WD apps.
    I know the theory is that WD is metadata/XML based so it should be possible to port the WD definition to ABAP and have the ABAP runtime generate the application again in ABAP. I expect that any custom code that is written in JAVA would need to be manually rewritten in ABAP - but it would be great if there was tool or method to at least port the majority of the application.
    Thanks in advance for your help,
    Simon

    Hi Simon
    You are correct in thinking that all WD apps are based on metadata, but unfortunately, the similarity between WD Java and WD ABAP is just a conceptual one, and no such tool exists to convert one to the other.
    In addition to this, there are certain implementation differences between ABAP and Java that mean you could not convert one to the other.  For instance, the whole concept of model objects does not exist in WD ABAP. Therefore, structural entities used in WD Java such as model components could not be tranlsated into anything that exists in ABAP, because the concept is redundant in the target language.
    Sorry about that, but Java and ABAP are sufficiently different beasts that such a tool is not possible.
    Regards
    Chris W

  • Using a Deployable Proxy in a Web Dynpro Application

    Hi,
    We have a Web Dynrpo application whose model is built from a set of Java business objects (POJOs.)  These Java business objects currently make calls to a back-end R/3 system using JCo.  We would like to provide the ability to allow the calls to be made over Web Services to the back-end system. 
    To call the RFMs as web services we have created a Deployable Proxy project, added the proxy as a public part, then referenced that public part in the web dynpro application.  At this point we can write code to call the web service that looks something like:
    InitialContext ctx = new InitialContext();
    Object serviceObject = ctx.lookup("wsclients/proxies/meridium.com/rcmo~proxies/com.meridium.rcmo.ws.proxies.plants.PlantProxy");                                        
    Z_MRDM_GET_PLANTSService service = (Z_MRDM_GET_PLANTSService)ctx.lookup("wsclients/proxies/meridium.com/rcmo~proxies/com.meridium.rcmo.ws.proxies.plants.PlantProxy");
    Z_MRDM_GET_PLANTSPortType port = service.getLogicalPort();
    Z_MRDM_GET_PLANTS plantParameter = new Z_MRDM_GET_PLANTS();
    plantParameter.setI_PLANTID(id);
    plantParameter.setI_PLANTNAME(name);
    Z_MRDM_GET_PLANTSResponse response = port.z_MRDM_GET_PLANTS(plantParameter);
    MT001W[] plantArray = response.getET_PLANTS();
    The problem is that when I call looup to retrieve the service implementation I get a ClassCastException. 
    The tutorials for using a proxy in web dynpro all assume that the web service is what the model is based upon but that's not possbile for our scenario we need to call the proxy from the business objects which are the basis for our model.
    According to the help documentation for consuming a deployable proxy in a JSP page:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/b9766df88f4a24967dae38cb672fe1/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/b9766df88f4a24967dae38cb672fe1/frameset.htm</a>
    It discusses adding JNDI mappings.  Is this what's needed for the reference to work in a Web Dypro application too?  If so, how would one add the JNDI mappings references to a Web Dynpro application?
    Many thanks!

    Hi Dheeram,
    I'm not certain about JSPDynpage specifically, but in a general J2EE Enterprise Application project you can add a reference to the application-j2ee-engine.xml file.  For example here's the content of an application-j2ee-engine.xml file that references a proxy:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.mw.jco</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.aii.proxy.framework</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.aii.util.misc</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="interface">tc/sec/destinations/interface</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">security.class</reference-target>
         </reference>
         <reference
              reference-type="weak">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">tc~sec~destinations~service</reference-target>
         </reference>
         <reference
              reference-type="weak">
              <reference-target
                   provider-name="sap.com"
                   target-type="interface">tc~sec~destinations~interface</reference-target>
         </reference>
         <reference
              reference-type="weak">
              <reference-target
                   provider-name="engine.sap.com"
                   target-type="service">webdynpro</reference-target>
         </reference>
         <reference
              reference-type="weak">
              <reference-target
                   provider-name="meridium.com"
                   target-type="application">rcmo~proxies</reference-target>
         </reference>
         <provider-name>sap.com</provider-name>
         <fail-over-enable
              mode="disable"/>
    </application-j2ee-engine>

  • Using CSS for Web dynpro application in EP

    Hi,
    I have some CSS (Style sheets) which I need to apply to the portal, so that all the web dynpro applications can have the same look and feel.
    I read something about Theme Editor in EP. Can I somehow use that to import the CSS contents into the EP theme?
    Any pointer to using CSS for Web Dynpro applications will be appreciated.
    Thanks.
    Puneet

    Hi,
    Go thorugh the follwing Web Dynpro Java
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/nw04stack09themes.zip
    To know how to use it and for the steps to be followed please follow the tutorial here
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to edit web dynpro themes.pdf
    the last url gives you a step by step procedure with wizards..
    Regards,
    RK

Maybe you are looking for

  • Vga output not working in lion

    I upgraded to Lion yesterday and noticed that I could not longer use my Macbook Pro with a projector.  I've tried several different projectors (classrooms at the university), and none of them work.  When I plug the VGA cable into my adapter, the Macb

  • Mail on iPhone showing "-2" messages in inbox...

    This has been going on for a couple weeks now. If I have no messages in the inbox - it says I have "-2" - and if I have two or less opened emails in the inbox - it won't let me load them.

  • Prevent screen from going to sleep

    How to prevent mobile device (Android or iOS) to put screen to sleep? I'm using Flash CS6 + AIR, in publish settings under Permissions I do have these two marked: DISABLE_KEYGUARD and WAKE_LOCK. But I don't see it working, i'm testing on Samsung Gala

  • Dead pixel in LED Macbook pro 15.4" display

    I have a dead pixel in my display. Does the Apple's warranty covers this issue?

  • IPOD shuts down after restore

    Renamed the IPod. Used restore feature. Now it won't hold settings and keeps shutting down. Could it be battery?