Complex WebDynpro Applications

Hi Friends,
Till now I have been working on simple or plain WebDynpro Components.
Please give some complex scenarios on WebDynpro that you faced and do we have any Design Patterns that we need to follow for them.
Regards,
Lakshmi Prasad.

Hi,
The Floor Plan Manager (FPM) is a framework for developing self-service applications using Web Dynpro for Java.
The Floor Plan Manager insures that all self-service applications follow a consistent pattern or road map. The pattern itself was designed to make the applications easily recognizable, clearly structured and simple to use. As a result, once you have set up the self-service applications for your enterprise, there is no requirement for end-user training or documentation.
Events in FPM
Different types of framework events lead to the FPM processing the event loop in different ways. A "user" event starts an event loop. The user event can be an application-specific event that is communicated between visible VACs in a current perspective. A user event can include clicking on a button on a UI, navigating to a new UI (e.g., a new Web page), or the like, which can result in a change of perspective.
A "save" event starts an event loop to save all modified or created UI elements. The save event is a special version of a user event, which causes the self-service application to save data. The save event is triggered after the user has modified UI elements (e.g., screen objects) and saves the modified elements.
A "review" event is a special version of a user event, which allows a user to preview changes before they are saved.
A "selection change" event is an event that is triggered when a UI selection, such as a selected skill in a profile, changes. In response to a selection change event, the FPM checks every VAC to determine if the VAC has unsaved data. If a VAC has unsaved data, the VAC "vetoes" the selection change and the FPM displays a warning message, in response to which the user may discontinue the event loop.
An "exit" event corresponds to exiting from, or shutting-down, an application. In response to an exit event, the FPM notifies all active components, including VACs and BLCs, that the application is about to shut-down. In turn, the components remove all locks on objects they have accumulated over time. The components also perform any necessary "clean-up" operations (e.g.. deleting unsaved data), and shut down.
Regards,
Sunaina Reddy T

Similar Messages

  • Complex Webdynpro application architecture on JAVA WAS

    Hello,
    I am planning to develop quite complex application with Webdynpro presentation layer. I'm not so sure in j2ee technologies but I have some experience but only from quite simple applications mostly which shows some issue in j2ee programming model. I want to run my application on Java stack of WAS and underlying DB. In my DB model there is cca. 40 tables. So I'm now looking for some choice of overal architecture. I'm thinking about that there will be on bussiness layer Stateless session bean(s) which will be wrap almost all functionality and I plan to access database from bussines methods (directly or probably through some other wrapper class through openSQL/jdbc).
    My question is if can anyone advice me if this architecture is good or not. I was thinking about object persistence too (mainly JDO) but in my count of tables seems it to me as really hard work, and with entity beans I haven't so much experiences. When to use JDO and when jdbc acces ?
    Secondly I want to ask this:
    I am used to program in java in jdbc to regular database (mysql, oracle) and there I am able to create my DB tables and so on through script generated from modeling tool. Is this can be in Java Dictionary ? or I have to click my tables in Java Dictionary Perspective. And how can I set foreign key constraints in Java Dictionary Perspective ? is it posible ? or I have to check reference integrity each time I use Insert, Update, Delete commands ?
    I know this is quite many question at once, but I will be glad if anyone can answer any of that.
    Best Regards,
    Miroslav Koskar

    Miroslav,
    Your application seems to reach "critical mass" of business objects involved. If you can -- go ahead with CAF.
    Any other approach will work too -- be it either Entity EJB with session facade or JDO (directly / indirectly exposed). But...
    You'll will have to create plain JavaBeans for DTO in case of EJB... Even with JDO you'll have to track CUD operations in CRUD differently hence repeating work that CAF team already did. Next you'll have to create JavaBean models for your objects (thought, not a rocket science till time of model upgrades). Next you'll have to tweak this model to use types from data dictionary... And, again, this is provided with CAF out of the box...
    Your second question is actually minor one -- using DDIC is possible with either approach and referntial integrity will be preserved with either technology.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

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

  • Complex webdynproJava applications with out using Models.

    Hi Experts,
    I want some sample complex webdynpro JAVA applications with out using Models.
    Thank you,
    Usha.G

    HI
    chec this link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    hope you can get some complex application you need
    and check this thread
    how to create one complex project in web dynpro

  • To get login details of portal into webdynpro application

    Hi All,
             How to get the portal login details(user name) into my webdynpro application.
    Thank you,
    Harsha P.

    Hi,
    If you want to have portal login details from backend system (with ABAP) you should ask this question in some portal forum and ask if it is possible. This has nothing to do with workflow or UWL. Even if you get the portal user ID to the backend system, then what? Do you want to manipulate the portal roles etc. from your ABAP WD application? Then you will have even more complicated requirements to achieve with ABAP. It is not that straightforward to call different portal functionalities from backend system. You might need to do some "portal development". And eventually your ABAP WD application might come just an unnecessary wrapper component for calling some web services or whatever in portal.
    Regards,
    Karri

  • Needs a background webdynpro application running at the server side

    Hi All,
    We have a requirement wherein we need to have an application running all the time at the server side to capture the response coming from a web application. Based on the response that the application receives, it needs to update some backend R/3 tables.
    We are thinking of a webdynpro java application.
    Can anyone suggest what kind of application needs to be implemented here?
    And what  would be the steps required to run the application at the server side without calling the application.
    Thanks & Regards,
    Anurag

    Hi Robin,
    Thanks for the detailed explaination.
    This may sound silly to you but I've another doubt which is as follows:
    As you mentioned that the external web application will be sending requests to our Web service(in SOAP envelopes) and rest of the functionality can be  achieved by our web service.
    Actually, we are expecting only responses from the external web application. The thing is that we are sending the requests to the external web applications from our custom webdynpro application and in return the web application will be sending us 2 responses.
    First response would be back to our WD java application URL(to the browser in which WD java app is running) which would get the response and display some message based on the response.
    Second would be to this web service which you have just suggested. We are having two responses so that even if the browser in which the WD java application is running gets accidentally closed, the response from the external web application must get captured somewhere else and should not get lost in any case.
    So, now since we are only expecting the response from the web application and we do not want any requests from the web application to our web service; how is this possible?
    I am asking the above question because you have mentioned that the external web application has to request our Web service but we want is only this web service to capture the response coming from the Web application.
    Or is it like the web application will send us the response string as request string to our Web Service and the web service will capture these response parameters as request parameters from the web application and do the further processing.
    But in that case, we do not want any response to be sent by the Web Service to the external web application.
    Please suggest if this is possible.
    Once again, many thanks for the help so far.
    Thanks & Regards,
    Anurag

  • SSO b/w portal and webdynpro application customized login??

    Hi,
    I  have one webdynpro application which has a login screen (Created as Webdynpro view). If user enters user/passord, the same gets checked from a custom table in the db (Method for checking user credtentials has been written in view controller). if user credentials are correct it performs some actions defined in webdynpro application.
    I want to configure SSO b/w portal and this webdynpro application sothat when user logon to the portal and open this webdypro application, Login page of webdynpro application should not be shown i.e user credentials should be passed from portal and corresponding authentication method in webdynpro should be called to authenticate the user.
    How to do the same without touching webdypro application ?
    Can we call a method of webdynpro application from portal?
    Regards
    Deepak

    1) To enable ticket authentication for the web dynpro iviews, you must maintain the definition of the system running the Web Dynpro application and set logon method to "SAPLOG"
    2)Since you have customized login screen, you need to bypass this screen manually when you login from portal.
    Add parameter to the application while defining the iview.Give some constant value.
    Check value of this parameter in webdynpro and fire to next view.

  • How To Get GP Process Parameters in a Webdynpro Application runtime

    Hi ,
    Iu2019 ll hope you can help me to solve my problem with GP process.
    Iu2019 m trying to get GP process parameters from a Webdynpro application.
    I have to get parameters during the process runtime in every step of the process using
    a webdynpro application with the following code:
          IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
          try {
                IGPProcessInstance processInst = rtm.getProcessInstance(processId,userContext);
                IGPProcessInstanceInfo procInfo = rtm.getProcessInstanceInformation(processInst.getID(),
    userContext.getSAPUser());
                IGPStructureInfo inputstructInfo = processInst.getTemplate().getInputParameters();
                IGPStructure inputparams = GPStructureFactory.getStructure(inputstructInfo);
          } catch (GPEngineException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPEngineException:"+getStackTrace(e), false);
          } catch (GPInvocationException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPInvocationException:"+getStackTrace(e), false);
    But printing the values of attributes with u201Cinputparams.getAttributeAs... ("param name")u201C the value returned is always 0. On the contrary if I check the same parameters structure in the runtime
    GP view of the portal, the values are those that I have set in the start process wizard.
    Have you a solution for this question?
    Thanks in advance
    Luca

    hi Abhimanyu
    I believe originally access to session was deliberately not made available inside WDA.
    Growing security concerns due to misuse of session information and
    perhaps other reasons as well.
    X.509  is considered a better approach.
    This may not help you in your problem.
    But you may see a trend in WDA pushing more robust and client independent
    approaches.
    Full x.509 access should remove the need for session fiddling.
    Also when developers access such session info directly, there is a possiblity
    when they dont understand the technology exactly that they create a security hole.
    You may know how to do safely, it is however discouraged.
    Im not aware of a way to get at the session info inside the WDA framework.
    Well not without a mod to the framework.
    It may be possible without a mod, but I dont know the trick.
    If someone has a little trick... please post.
    You may need to use BSP, if your only solution requires access to the session info.
    regards
    Phil

  • Database connection in a WebDynpro Application - urgent

    Hi
    I am facing a problem with database connection. I am trying to develop a normal webdynpro application.
    I want to retrieve data from a table and show it.
    But my query is not giving the expected output. It is not even raising errors.
    Please give me an answer
    Thanks & regards
    Aparnna

    Connection con=null;
      Statement st=null;
      ResultSet rs=null;
    public void wdDoInit()
        //@@begin wdDoInit()
    try
      Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
      con = DriverManager.getConnection("jdbc:odbc:erdsn","root","enteg123");
      st=con.createStatement();
        catch(Exception e){
        //@@end
    public void onActiononClickLogin(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiononClickLogin(ServerEvent)
         String desig=null;
    try{
    rs = st.executeQuery("select *  from Login where Empid like uid and Pword like pw");
        if(rs.next()){
               desig=rs.getString("Designation");
         wdComponentAPI.getComponent().getMessageManager().reportSuccess(desig);
        if(desig.equalsIgnoreCase("Employee")){
              wdThis.wdFirePlugEmpOutPlug();
         else
         wdComponentAPI.getComponent().getMessageManager().reportWarning("Invalid input!");
          }catch(Exception e){

  • Need help in developing a webdynpro application using UWL API

    Hi developers,
    Iam developing a new WebDynpro application for UWL using UWL API.the functionality is to dispaly the summary of UWL like number of unread items, total items.
    Iam getting the problem while deploying the application, iam getting warning while deployed the application.
    I have given all possible ways mentioned in the below forum link
    Re: Accessing PortalRuntime at runtime?
    The exact problem is coming at reference file.
    Please giude me how to move forward.
    1. Below is the error when given "tckmcbc.uwl~api" in the service entry
    deployed with warning :
    Finished with warnings: development
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application local/UWLCountDemo for startup. Reason=Clusterwide exception: Failed to start dependent service ''tckmcbc.uwl~api'' of application ''local/UWLCountDemo''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
    2.Below is the error  when i gave PORTAL:sap.com/tckmcbc.uwl~api in the sharing refernce entry
    Finished with warnings: development
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/UWLCountDemo cannot be started. Reason: it has hard reference to resource tckmcbc.uwl~api with type application, which is not active on the server.
    Thanks in Advance
    Sekhar.
    Edited by: sekhar c on Mar 21, 2009 11:24 AM

    Please see Kenichi Unnai in his blog "How to use UWL API for NetWeaver BPM Tasks"
    How to use UWL API for NetWeaver BPM Tasks
    The .sca-file can be found on the sap service marketplace, afterwards you need to import the .sca-file, add the SC to your "MyComponents" and then you can select your necessary DC's.

  • Single Webdynpro Application with multiple JCO Connection ?

    Hi Experts,
    I have a strange requirement ......
    We have a Webdynpro Application which is connected to
    say (using JCO connection)
    client:- A
    now i want to connect the same Webdynpro application to
    Client:- B which is again in the same server as the client A.
    Please help me how to handle this.
    how it possible to connect a single Webdynpro application to two different clients using JCO Connection.
    Please help.
    Points would be rewarded to helpful answers.
    Regards,
    Sanjyoti.

    Hi experts
                        We have to use  wd application for both client at a same time e.g. as follow
    Client A -
    > Travel app--->Featches data from A for   employee hired in client A ,in same server as B
    Client B -
    > Travel app--->Featches data from B for   employee hired in client B , in same server as A
    we  are using same EP for both client but using diffrent roles for employees of both client.
    Please reply asap.

  • Storing the output of BAPI for further use in Webdynpro application

    Hi,
    In my webdynpro application, a BAPI_A is called multiple times from a backend.
    All the previous outputs of the BAPI_A need to be stored in the webdynpro application as they serve as a complete set of input parameters for BAPI_B at the end.
    Can anybody shed light on this temporary storage mechanism of the outputs of the BAPI_A.
    Regards
    Meesum

    Hi Meesum,
    Your BAPI structure
    BAPI_A
    --Output (0..n)
    Field1
    Field2
    Field3
    Field4
    Value node structure
    vnBAPI_A (0..n)
    --vnResult (0..n)
    vaField1
    vaField2
    vaField3
    vaField4
    1. Declare objVnBAPI_A (between begin and end)
    2. Initialize in the vnBAPI_A in the wdDoInit()
    3. After each execution of the BAPI (BAPI_A), create the vnResult and populate the fields of vnResult (from the BAPI_A --> output)
    4. Add the vnResult object to objVnBAPI_A
    Hope this should help you.
    Regards,
    Santhosh.C

  • Calling servlet in a webdynpro application

    Hi,
    I have created a servlet for Authentication , and i have to call this servlet in the webdynpro application(on accessing a link)
    Such that it will automatically take care if authentocation
    Servlet is residing in a Java application and the View is residing in WebDynpro application
    when i call the servlet i have to pass two parameters 1)URL and 2)Filename
    Could anyone please help me out in doing this?
    Thanks & Regards
    Swetha

    Hi Anagha,
    Thank you for the information, i would like share my vague idea on resolving this.....please let me know will it be a possible approach
    Here ew have two projects
    1)WebProject(War file)
    2)EarProject(where webproject is integrated
    Steps
    1)Get the EAR file
    2)Create a portal application
    3)Consume the EAR in the Portal application(by passing parameters)
    4)Create a WebDynpro DC
    5)Here call the portal Application( URL and URL parameters)
    6)Get the URL
    7)Finally we can call the servlet
    Will these steps help in solving this issue
    Thanks & Regards
    Swetha

  • 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

Maybe you are looking for

  • Error message after installing latest itunes

    Hi, I have just downloaded the latest version of Itunes and after quitting tunes & retrying, because the UK store will not load(WHY???). I get an error msg. as follows "applesyncnotifier.exe" core foundation.dll not found. Any ideas anyone. Gramps

  • Mobile Broadband Activation - my country is not featured in the list

    Hi my unknown friends. I assembled a modem to my W530 and during instalation of the "Mobile Broadband Activation" application I was asked to "select the country where I was located". Unfortunate I currently live in Iceland but Lenovo does not seem to

  • Migrating to a new computer

    Hi, This is a simple question, but some rudimentary searching has not given me a definitive answer: I am moving from the UK to Asia. I am leaving my current laptop, with iTunes 8.2.0.23, in England and will buy a new computer when I arrive, onto whic

  • Website pdf's won't open under Preview...?

    I have to save copies of documents that are on websites as .pdf files.  They always used to save to my desktop and then subsequently open under Preview.  This is not the case now - nor can Adobe Reader access them.  Any hints?

  • CSCth95017 - Configurable parameter on how callingparty is displayed for hunt groups.

    Hello all, The "fixed-in" versions for this bug are listed below; Fixed in:                          (5) 9.0(0.98000.74),9.0(0.98000.21),8.6(4.98000.21) 8.6(2.21023.1),1.9(9.98000.16) But the bug is related to firmware and the "fixed-in" versions loo