Web dynpro design question

Hi,
I have a requirement where there are around 5 web dynpro applications required to fill in some data in a particular order. The differentiation between these 5 applications is in the fact that there could be different navigational paths between the related views. The views themselves are re-usable. Following are 2 ways by which this can be implemented-
1)By having multiple components, the views shared between these components, each application corresponds to one component, each of which only one window with navigational links between the used component interface views of the other components involved.
2)By having a single web dynpro component, with multiple windows, which in turn will have different navigational links between views. Each application will access different windows and its interface views and hence the navigation can be different. The views share a common component controller and different custom controllers, one each for each model.But because different people are sharing this component during development(using DTR and JDI), I dont know whether there are any issues with 2 people working on the same component.
I feel method 2 is better. Do you agree? Do you see any issues?/any suggestions?
Cheers
LM

LM,
I would go for the first option in a team oriented development environment because it would definitely avoid all the dependency issues that would arise in option 2.
Also, option 1 is better if you are thinking about reuse of certain components for future implementations. Refer this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd0e0401-0801-0010-aaab-d0e1742da383">tutorial</a> for further details about Componentization.
Good luck.
Bala
<b>PS: Sorry,initially I've numbered the options incorrectly. It has been corrected now.</b>
Message was edited by: Bala Krishnan

Similar Messages

  • XSS/ESS Web Dynpro Design Principles

    Dear NetWeaver Web Dynproers
    Kind of wondering if any of you have any high level/detailed documentation on Web Dynpro Design principles used by SAP while building XSS business package?
    Looking at the Web Dynpro XSS Code there seems to use a consistent design principals and naming convections that have followed like Cc.., Fc.. , Vc.. and also uses advanced Web Dynpro programming, like Guided Procedures and Floor Manger patterns. I am really excited with the implementation and would like to know more about these topics and kind of understand the core design principals behind it before I make any enhancements and customizations.
    Are there any links and documentation that kind of covers all this...? Is there any cookbook on Web Dynpro enhancements and customizations for XSS for keeping the core design intact and kind of natural bending the custom code to it?
    Any help on this is greatly appreciated.
    Cheers!!

    Hi Phani,
    I am not sure if there is any documentation released about the WebDynpro Design Standards being followed by SAP in ESS and XSS WebDynpro Applications.
    But I can throw some light on the same.
    XSS is the central component which will be used in all probably all the SAP Self Services going ahead. This is being done to provide all the Self Services, consitent User Interface.
    FPM - The floorplan manager (FPM) is the central part of the XSS architecture. It can be said to be the base of all self sevices. Any WebDynpro application that implements FPM is known as FPM Application.
    So if you want to design your own custom application using FPM, you should know the following.
    FPM provdes 4 basic interfaces that are implemented by the Self Services WebDynpro Applications,
    1) IVAC (for the Visual Application Component - Vc)
    2) IBLC (for the Business Logic Component - Fc)
    3) IXssAppConf ( for the Configuration Component - Cc)
    4) IFPM (It gives the self service application access to the FPM and its utility classes)
    You have to define the above interfaces as the implemented interfaces and then you can implement their functions. To start with first analyze any ESS application like this
    1) Cc(here all the configuration is done for the application. You will also see how a persepective is being built and how a navigation path is being defined.
    2) Fc(here all the Model are executed)
    3) Vc(This contain the view or Visual Component)
    Hope this helps in some basic understanding of Self Service Applications.
    Regards,
    Shubham

  • Web dynpro iview question

    Hi
    I created a basic web dynpro application and is successfully deployed it in the WAS 7.0.
    I am able to run the application from the web dynpro cosole inside the portal but I'm unable to run the application when I created a web dynpro iview. In the web dynpro iview I just get the page loading symbol and it stays like that forever.
    I have other applications running without any problem. Pleaes help
    -Mike

    Hi Gopoal,
    I tried both with the iView only and with page, in both the cases I get the loding page view without any change.
    I checked the log file and below are the application log... please help!
    Task#Java#backgroundtask.stop##Completed background task .#1#com.tssap.dtr.server.deltav.runtimeconfig.impl.ConfigParamsCheckerTask#
    #1.5 #0015C5FD0C9102F20000000000000FA400044EB5198315FE#1212439630907#/Applications/DTR/BackgroundTasks#sap.com/tcdtrenterpriseapp#com.tssap.dtr.pvc.basics.transaction.AbstractSessionBoundTask#Guest#0####129f80b030e511dd9e330015c5fd0c91#Thread[Scheduler_com.tssap.dtr.server.deltav.runtimeconfig.impl.ConfigParamsCheckerTask\#506_workerThread\#0,1,Scheduler_com.tssap.dtr.server.deltav.runtimeconfig.impl.ConfigParamsCheckerTask\#506]##0#0#Info#1#com.tssap.dtr.pvc.basics.transaction.AbstractSessionBoundTask#Java#backgroundtask.start##Starting background task .#1#com.tssap.dtr.server.deltav.runtimeconfig.impl.ConfigParamsCheckerTask#
    #1.5 #0015C5FD0C9102F20000000100000FA400044EB519831B71#1212439630907#/Applications/DTR/BackgroundTasks#sap.com/tcdtrenterpriseapp#com.tssap.dtr.pvc.basics.transaction.AbstractSessionBoundTask#Guest#0####129f80b030e511dd9e330015c5fd0c91#Thread[Scheduler_com.tssap.dtr.server.deltav.runtimeconfig.impl.ConfigParamsCheckerTask\#506_workerThread\#0,1,Scheduler_com.tssap.dtr.server.deltav.runtimeconfig.impl.ConfigParamsCheckerTask\#506]##0#0#Info#1#com.tssap.dtr.pvc.basics.transaction.AbstractSessionBoundTask#Java#backgroundtask.stop##Completed background task .#1#com.tssap.dtr.server.deltav.runtimeconfig.impl.ConfigParamsCheckerTask#

  • A web service design question

    Hello,
    I�d like to ask for your help in the following design issue:
    I need to create an email sending web service (with Axis). Only just one method which returns with an integer return code. This handles the following:
    - based on the given parameters gets the email addresses from an
    LDAP server (with netscape ldap for java)
    -     makes a cache from them (only after a timeout period will be the cache
    refreshed) (don�t know what tool to use for this)
    -     selects html templates which to be sent based on the given parameters
    -     sends emails with the appropriate templates (with Velocity)
    -     the whole process is logged (with log4j)
    I have to write the code as generic as possible. I know that some design pattern should be used for this. (some from GoF , and I know there exists design patterns specially created for web services as well).
    Could you enumerate me which patterns (and for what part of the program) would be the best choice to solve this problem? I have read through some books about patterns, but don�t have the knowledge to pick up the right one for a concrete problem like this..
    Thank you in advance,
    nagybaly

    This sounds like a known issue which is tracked in ADAPT01103681. Code from a .NET DataProvider is executed twice if the provider has input parameters.
    At this time there's no known solution for this. This was submitted to the development team and a fix is expected in Service Pack 2. At this time we have not announced a release date for SP2.
    Edited by: David Hilton on Jun 18, 2009 3:02 PM
    Corrected spelling.

  • Web-tier design question

    Hello,
    The web tier framework I'm working utilizes Struts, and I have a question about using interfaces in base action classes. We have created static utility wrapper methods for accessing different scopes and services. Now in our base action class we have wrapper methods which wrap calls to the static utility methods. Now my colleague suggested that we create an interface that defines these wrapper methods to be used in the base classes and implement this interface in all our web-tier base classes i.e. BaseAction, BaseFilter, BaseTilesAction.
    Is this overkill? I don't see the advantage because we're never instantiating these classes. However, we would be placing a rule that these classes must contain certain functionality.
    Any insight would be greatly appreciated.
    Thanks

    Does it make sense to wrap calls to utility methods which are static?Depends - what does that accomplish? Fewer lines of code? Is there state involved in the calls (create object - set state - call method - get results)? If it accomplishes nothing concrete within the current requirements specification, refactor it later if you find a concrete reason to do so.
    There may be reasons to do the non-easy thing. Such as you are going to sell the classes and customers will subclass them. But if that isn't about to happen soon, try hard not to gold plate and complexify the code.
    How big is your application - how many servlets do you expect? How many concurrent developers (1, 2, 10, 100)?

  • Web service design question

    we have to create a web service that will be deployed to oas 10.1.3.0
    the web service has to consume a lot of parameters describing a membership iof a motorclub. the incoming data has to be validated and if all the validations pass, stored in the database. we already have some logic implemented in plsql, but the code cannot be reused completely because some rules get changed for the project. a membership can have 0-n associates
    what would be a preferable approach (performance, flexibility, maintenance, etc) to design such an application:
    1. create a stored procedure that consumes an sql object and wrap it into a web service using jpublisher or jdev wizard
    or
    2. design the wsdl and create the web service using top->down approach, use O-R mapping framework (toplink or jpa) to insert data into the underlying tables.
    thank you

    Hi,
    actually from a data perspective it doesn't matter if you display the app on iPad or smart phone. The Service could be easily build with EJB and ADF BC (your choice as both support nested objects (for ADF BC you need to ensure you set it on the view link as explained in the documentation)). Here are some design considerations
    1. expose a method on the service that takes an input argument for the order to display (usually Long or Integer)
    2. The service should return a collection (List)
    3. The compoent on the mobile to allow master/detail views is the list item. In your case though you only have a single master record (order) and multiple detail records so that I would a read only form for the order and a panelList for the details. On click on a detail item in the list you can then navigate to the detailed detail information
    Frank

  • Web Application Designer questions

    Hello,
    1. I want to write a Java script function to display system date in WAD. I don't know the exact format for writing Javascript code in WAD. I tried with some code. It did not work. Could someone point me to any links for writing the code in WAD (in Script web item)?
    2. I inserted company logo in a report web item (In report designer, I inserted the logo in page header section. There is only header in the report). in the web template, apart from the report item, there are some ext and analysis web items. When i execute the web template, only the logo comes on first page and the text and analysis web items come on the next page. How to fix it? How to see that the text and analysis web items continue below logo.
    3. Also, one of the query title (text element) comes at the end of 2nd page and the data comes in next page. Is there a way of binding the title and data to come in one page?
    Please suggest.
    Regards.

    Hi,
    Hope this helps. You are using WAD 7.0 or WAD 3.5 ?
    WAD 3.5
    1. Use of Text Item: In the Standard Tab, select the  TEXT Web Item and drop it in the template. Bind the Query or Analysis item or Data Provider.
    Then do not tick any of the options under Specific. Instead, go to List of Text Elements. In the first column, select General Text Symbol. In the next column type SYUZEIT.
    This will give the technical name of the query in the output.
    Common text elements:
    u2212 technical name of the query (REPTNAME)
    u2212 description of the query (REPTXTLG)
    u2212 InfoProvider (INFOCUBE)
    u2212 key date for the query (SRDATE)
    u2212 accuracy of the data (date and time) (ROLLUPTIME)
    u2212 the person who wrote the query (AUTHOR)
    u2212 the last time the query was changed (date and time)
    (MODTIME)
    u2212 the last person to make changes to the query (MODUSER)
    u2212 current user (SYUSER)
    u2212 the last time the query was refreshed (date and time)
    (SYUZEIT)
    WAD 7.0
    Go to Misc Tab on the left hand pane and select the Text item. Drag n drop. Bind the Query or Analysis Item. Then select General Characteristics and select "Last Refreshed".
    2.Bind the corresponding Text Element to the Query for the name . Or you can use the option of "Display with Tray".
    Can you give some clarifications here,
    What format do u want to export them to ? Depending on that make the settings.

  • Simple Bex Web Application Designer question

    Hi,
    i have a web template with a Hierarchical Context Menu web item. I'd like to use one of its hierarchy with all node but without only one.
    How can i exclude a hierarchy node from hierarchical context menu? How can i use only a part of a hierarchy?
    Thanks a lot
    Richard

    Hi,
      You need to restrict the hierarchy values in the query design. Select all those hierarchy values without that only one hierarchy for that particular characteristics in query design.
    Hope it helps
    arun

  • Web Dynpro OVS question

    Hi,
    I'm calling an OVS custom search help for an input field in a table. The problem is the value list of the search help should be obtained depending on the value of the input field, and other values in the same table line. Hence for each table line there might be a different hitlist for OVS search help.
    Question: how do I fetch the context element for the table line that OVS help was called from? If the line is selected I can get the lead selection, but what if it's not?
    Btw, Tried calling GET_CONTEXT_ELEMENT method from the event object WDEVENT, doesn't work.
    Many Thanks
    Edited by: Stanley Marsh on Nov 28, 2008 2:42 PM

    WDEVENT->GET_CONTEXT_ELEMENT( NAME = 'OVS_CONTEXT_ELEMENT' ).

  • Integrated Planning & Web Application designer question

    We have a planning application that has an associated web template along with it.
    We have a button on the template and it executes a planning function. The issue i see is the planning function has a filter within it at a higher level (say it returns 1000 rows).
    On the web template we set the filter at a much lower level (say the filtered records are only 50). When we execute the planning function I see that it says 1000 rows read and x changed etc. How do i ensure that the planning function executes for the records that are only in the filter in the front end.
    Here is the setting on the button -
    Command - Execute Planning Function
    Binding type - Web Item Selection
    Web Item - Filter1
    Any suggestions?

    Hello Expert,
    Now if i use '0calyear' as info object, and 'year' as my variable for 0calyear info object in the query. This Info object is under column.
    And i use Navigation block to publish this Info object in the web template. The coding are as below:
    </object></TD>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="NAVIGATIONBLOCK_2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_QUERY"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="CAPTION" value="Period"/>
             <param name="HORIZONTAL_NUMBER" value="1"/>
             <param name="SHOW_ROWS" value=""/>
             <param name="SHOW_FREE_CHARACTERISTICS" value=""/>
             <param name="SHOW_NAVIGATION_ICONS" value=""/>
             <param name="ITEM_NAV_BLOCK_IOBJNM_1" value="0CALYEAR"/>
             <param name="BOOKED_VALUES_1" value="Q"/>
             <param name="ITEM_NAV_BLOCK_IOBJNM_2" value="4458DUVKT8KDWAW4TFD0SGPCW"/>
             <param name="BOOKED_VALUES_2" value="Q"/>
             ITEM:            NAVIGATIONBLOCK_2
    </object></TD>
    So, When i run the web template, the first screen prompts to key in variable year. So, right now, the variable year is 2006.
    So, how should i take/enable this variable '2006' to publish in my navigation block?
    If you say javascript, where should i add in between the coding above?

  • Web Dynpro and Abobe Flex

    Hi Folks,
    I've seen a couple of responses to questions about the mixing of Web Dynpro and Adobe Flex technologies...
    This thread mentions a "Flex Client" which is reportedly able to render existing Web Dynpro apps in Flex: WebDynPro ABAP in adobe flex client
    This thread mentions a technology called "Web Dynpro Islands" which is apparently Flex components within Web Dynpro apps: Flex with WebDynPro
    These concepts seem very different to me - the first being a run-time solution to Flex rendering and the second, design-time. In my opinion, the Flex Client sounds like a more flexible (excuse the pun) solution as it allows the designer to concentrate on application functionality and leaves the visual styling to the GUI. Following on from this thought, the Flex Client gives an added benefit in that, if the person executing the app wants to view it in the current WD style as opposed to Flex, they have this option by choosing a different rendering tool/user interface... and the underlying WD app remains untouched!
    Does anyone have any thoughts on this?
    On a potentially negative side of the Flex Client technology, is the this client yet another GUI tool that needs to be rolled-out and maintained on users' PCs or will it simply be a plugin that can be downloaded on-the-fly and used in a web browser (in a similar way to an ActiveX control)?
    I hope this stimulates some interesting discussions...
    Cheers
    Glen

    Thanks Thomas! I was hoping you'd be around to shed some light on this...
    You're explanation of the use of Web Dynpro Islands was very useful - I was assuming that any UI elements created for Flex designer could also be created as a Web Dynpro component for the Web Dynpro designer (ABAP or Java) but you make a good point that they have different capabilities.
    I think, my biggest concern was that the visual style of the WD Island/Flex component would be so different to the the rest of the WD app that it would stick out like a sore thumb but if you use the Flex Client to render it, as you suggested, then every UI element in the app should look and behave consistently... another assumption...
    This makes me wonder whether we'll need to use the Flex Client for all our portal apps to keep the look-and-feel consistent throughout the portal. There's nothing worse to a user than having one UI element behave a certain way in one app and a totally different way in another - eg. compare the scrolling functionality of the WD table element to the Flex table element.
    I'll look forward to hearing more about the Flex Client in the near future.
    Cheer
    Glen

  • A question on component design in Web Dynpro

    Hi experts,
    We currently working on our console which we want to implement them using Web Dynpro framework.
    During design time,  questions have been raised: we have like 100 EJB methods for our application, about 8 EJBs, we want to have faceless component taking care of persistence.
    The question is what is the best way to distribute the methods in terms of performance and supportability (for ease of development )? We discussed the following options:
    1.     One faceless component with one component controller implements 100 methods (maybe this is the worst)
    2.     Many faceless components, one for each EJB, here the question came up: performance because we have a tab strip in the UI that accesses 6 EJBs, would it take a long time to load/unload these components every single time we switch among the tabs ?
    3.     One faceless component with one custom controller for each EJB, here the question is: can we expose the custom controller in other to use them in the tabs?  Compared to option 1 we clearly separated the methods, so it is easier to support. Furthermore we should have a performance gain since the custom controllers are only loaded on demand.
    What do you think?
    Regards,
    Dat
    Edited by: Dat Triet Banh on Jul 4, 2011 4:47 AM

    Hi
    Better to segregate the EJB's and put it in seperate controller keep atmost 30 in one controller (you have around 3-4 component ). Any component which is going to use in other component is basically based on create on demand priniciple automatically by framework.
    or
    as given in point third create a component , with say 8-10 Custom Controller  implement the all the methods and put a same method signature in Component Controller, call the same through interface thats it.
    Best Regards
    Satish Kumar

  • Can I Design a Forum with using web dynpro for java?

    Hi All:
        Can i design a forum with using web dynpro for java?
        I want to design an application like a simple forum which maybe has many replies.So if i use
    the UI technology "web dynpro for java", i will to create UI elements dynamically.How can i control this
    dynamical UI elements to keep layout ?

    Hi,
    yes you can do that....
    for exaple if you observe SDN...
    you can imagine like....
    A big Transparent Container(TC)....
    Inside that number of other TCs(depending upon the question nd its replies...)....
    In side each TC, again around 9 UIElements....
    one for menioning what is the question/reply?
    other for your description of question/reply...
    other for your name,
    displaing your fourm point... etc...
    So it will be
    for(loop till your (Question+No of replies))
    Create Transparent Container....
    Add Childs to the Container...
    Decide your layout....
    In case if you want to know how to create UIElements dynamically....
    http://help.sap.com/saphelp_nw04/helpdata/en/4f/07cf3dd28b5610e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/dynamic%2bui%2bgeneration
    Regards,
    Srinivas.
    Regards,
    Srinivas.

  • Web Dynpro For ABAP Question

    Hi all,
    I'm creating Adobe Interactive forms in Web Dynpro for ABAP.
    <b>Problem:</b>
    <b>Context defined in the created "View" is not displayed in the 'templates' (Adobe Interactive Form in the "Data View" tab.</b>
    I'm following the exact steps used in the following e-learning class:
    <b>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3</b>
    Except I'm creating 'string' fields instead of numeric fields like in the above e-learning class and creating my forms in Adobe Livecycle designer first then importing them to the web dynpro for abap - 'templates'.
    The 1st form I created went well and works fine.
    <b>Question:</b>
    For my second and third form I'm unable to map my context fields they are not displayed in the "Data View" anyone know why this is not possible?
    Cheers,
    Dharm

    Hello,
    are you creating the form via forward navigation from webdynpro abap?
    When you do that the context of the form should be created automaticaly.
    What Basis SP level are you using?
    Best regards,
    Dezso

  • Basic question on a web dynpro application

    Hi All,
    I am new to NWDS 2004 and I just executed my first web dynpro application that is on https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/a-c/creating your first web dynpro application.pdf
    I have couple of questions
    1. when i click the back button the text that was entered in the Start view is visible even after I hit the back button in the result view. Can you tell me how to keep the input field empty in the start view after hitting back button?
    2. After deploying the Web Dynpro application, where from the Portal, can i assign this web dynpro application to a user .
    Thank you
    Regards
    Luke

    Try putting adding this code to your onActionBack method.
    public void <b>onActionBack</b>(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionBack(ServerEvent)
    <b>String headerText = " ";
    wdContext.currentContextElement().setHeaderText(headerText);</b>
    wdThis.wdFirePlugToStartView();
    //@@end
    REgards,
    RIch Heilman

Maybe you are looking for