Can Write Full business logic in web Dynpro ?

Hi All
       We are developing many Iviews with WebDynpro and
       same time where we need to write the pure business logic ?
       Can we write in Web Dynpro ? Any issues on this ?
Any one can help me on this pl
regards
rakesh

At a purely technical level, then you can of course write business login in Web Dynpro - after all, it is still just Java (or ABAP). The real question here is whether that is a good idea.
I think that Web Dynpro works best as a presentation and application-flow framework - actual business logic is best implemented in another layer. This can be done in EJBs in Java, but in most SAP landscapes my experience is that the business logic layer is best implemented in ABAP, since the ABAP back-end is most naturally the place where all business logic exists. Of course, if you only have Java developers and you are using Java Web Dynpro, then an EJB-based business logic layer may be more comfortable to implement.
Hope this helps,
Darren
<a href="http://www.fortybeans.com/">blog</a>

Similar Messages

  • Customizing ESS Business Package using Web Dynpro

    Hi
    Does anyone know how we can customize the ESS Business Package using web dynpro. I tried opening one of its application but since it doesn't carry any .project file, it cannot be opened in the NWDS for customization.
    Also, if there is any document available describing the method to be used for this, can you please pass the link for that or mail at [email protected]
    Thanks & regards,
    Anupreet

    Hi Jithendra,
    The note number has been mentioned in the post. Please try accessing that note. Also for information related to NWDI access the home page for NWDI.
    I would suggest that you search the forum first and try to find similar threads with similar queries. That will really speed up your process also.
    If the SDN search is not to your liking you can also use the google search. That is powerful and you get the exact thing you are looking for instantly.
    <a href="/people/vitaliy.rudnytskiy/blog/2006/09/12/quickly-find-needed-netweaver-information-on-helpsapcom">This</a> blog describes how to use google search.
    Regards
    Sidharth

  • Business Graphics with Web Dynpro?

    Hello @ all,
    I have got a question about displaying dashboards and other charts on mobile devices using SAP Technology.
    1) Does someone know, when it will become possible to display BusinessGraphics in Mobile Devices like BlackBerry, Pocket PC a.s.o buildt with Web Dynpro?
    2) Which Technology can I use instead of Web Dynpro? Does it make sense to use HTMLB or should we use non SAP Products like "JFree Chart" for J2EE applications specially buildt for Mobile Devices?
    Thank you for any hints!
    Mehmet

    Hi Memhet!
    You can use Business Graphics with Web Dynpro with version NWDS 2.0(we are in was 6.40)and could be displayed on mobile devices.We use Symbol devices.I am not sure abt Blackberry.Is that your question? OR Are you looking for some alternate solution to WebDynpro.Is that because you have some limitations in running your WD applications in mobile devices?Just trying to understand......
    Thx
    Gisk
    Message was edited by: Sivakumar Ganesan(Gisk)
    Message was edited by: Sivakumar Ganesan(Gisk)
    Message was edited by: Sivakumar Ganesan(Gisk)

  • How can you add iview personalization to web dynpro iviews like URL iviews?

    In the URL iview editor you can define URL paramaters which are available for personalization by the user from the iview's "Personalize" option. 
    Can this also be done using web dynpro for java iviews? 
    Thanks for your help.
    Jeff

    Hi Jeff,
    You do have a personalization that can be defined from the user, for java webdympro iview. But is not the same as you have for URL iviews.
    Have a look on the links bellow:
    http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/content.htm
    http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Tutorial_1.pdf
    Please remember to evaluate the replays, this incentive the SDN to keep growing,
    regards,
    Fabio

  • Calling session bean's business method through web dynpro component

    Hi All,
    Can anybody tell me how to call a session bean's methods through a web dynpro WITHOUT java-model or web service model ??
    I have following scenario:-
    1. Stateless Session bean having two business methods
    2. Web Dynpro component
    3.Now i want to call business methods without using any model. I have got following piece of code but I dont know how to go about it.
    4.Where do i have to set JNDI name for session bean? which interface will be looked for?
    5. Do I have to declare public part for EJB DC? If yes, how?
    //This is inside web dynpro component
    InitialContext   context = new InitialContext();
    o = context.lookup(JNDIName);
    TestSessionbeanHome homeRef = (TestSessionbeanHome) PortableRemoteObject.narrow( o,                                                                               
    TestSessionbeanHome.class);
    TestSessionbean beanRef = homeRef.create();
    <returnValue> = beanRef.<ejb method name>
    Please help to get a step-by-step approach to this case.
    Thanks and regards,
    Amey Mogare

    Hi,
    If  I comment out the part that is using session bean's business method, DC is building fine.
    And if I uncomment, then compiler is unabl eto resolve business method(s).
    And i would like to mention that my EJB + J2EE App DC is building properly, but it havent yet deployed properly as I am waiting for data-source-alias name prefix to be configured by ERP team. So will this be a reason why Web Dynpro DC is not able to resolve business methods ??
    Because Web Dynpro DC is able to resolved all interfaces of Session bean and entity bean. But when it comes to business method, its not able to resolve.
    Any more ideas why it is not happening?
    Pls help.
    Now i went through some forum posts regarding this and found that we also need to add EJB DC to Java Build Path for WebDynproDC>Properties>Java Build Path.
    I did this and now it is able to resolve business methods and DTOs as well. So to summarize I did following:-
    1. Added EJB DC (complete DC) as a Used DC to Web Dynpro DC with Buid-n-Deploy-n-Run time dependency
    2. Added Sharing reference of J2EE application DC to Web Dynpro DC -->Properties
    This reference I constructed as follows:-
    <vendorname>/<name of j2ee application as appearing under display name tag in application.xml (replacing '/' with '~')>
    So my Sharing Reference becomes:- <vendorname>/reqpstapscreqpstapja_reqid
    3. Added EJB DC to Java Build Path in Web Dynpro DC's properties
    4. Then I added following piece of code to get object of SessionBean class
    InitialContext context = new InitialContext();
    Object o = context.lookup("java:comp/env/ejb/SessionRequestIDBean");
    SessionRequestIDHome homeRef = (SessionRequestIDHome) PortableRemoteObject.narrow(o, SessionRequestIDHome.class);
    SessionRequestID beanRef = homeRef.create();
    beanRef.<business method>
    But After doing this I am facing another problem :-
    The build fails saying it is not able find the package for DTOs. But when I see the Component Controller's code it is not showing any red or yellow marks.
    Can anybody pls help me out here?
    Thanks and regards,
    Amey Mogare

  • MDM OR BUSINESS OBJECTS  OR WEB DYNPRO or SOLUTION MANAGER

    gurus  can anyone tell me is it helpful to learn MDM or BO or WEB DYNPRO or SOLUTION MANAGER for crm consultants? To what extent this technologies are useful for crm consultants.

    Hi Shiva,
    What kind of SAP CRM Consultant Role you are referring to ? Is it Functional Consultant, Technical Consultant or a Techno Functional Consultant ?
    For a Functional Consultant - SAP Solution Manager and Business Objects makes more sense, while the  a basic understanding of Technologies like (Web Dynpro   ) is also required.
    For Techno Functional Consultant - Web Dynpro       understanding is very important followed by MDM, Business Objects and Solution Manager.
    Hope this has cleared your doubts and thrown some lights on your question.
    Hope this helps.
    Thanks,
    Samantak.

  • Business Graphics in Web Dynpro

    How to generate graphs in Web Dynpro?

    Hi,
    Refer below links.
    Business graphics.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/717cae90-0201-0010-a5a4-bbc6713f3779
    Plz Reward if helpful.
    Thanks,
    Kranthi

  • Reuse of Business Packages in WEB DYNPRO FOR ABAP

    Hi folks
    I have now been working with R3 and CRM for the last 8 years.
    As ABAP developer. Now we have to find out of if we can use the WEB DYNPRO FOR ABAP in our Portal Soloution. So far so good.
    Off course we can use the WEB DYNPRO FOR ABAP!!
    But i have heard that there should be a lot of existing IVIEWS in SAP Service Market Place, SDN.COM and so on. My question is: How do I find these IVIEWS and hos do i combine thes iviews, in a page, with our own develope WEB Dynpros????
    Hope You understand my problem and goal!!
    Have a nice weekend
    Carsten

    Hi,
    This is more a question for the webdynpro forum. Pls check threads like
    Embedding SAP standard iviews in Tab controls with Web Dynpro
    Eddy
    PS. Reward useful answers and earn points yourself

  • Can't find code for std web dynpro app but can seeit's name in the package?

    Hi All,
    We're using ECC6 and EPP 7.01 SP4.
    We've recently uploaded some new packages.  Within one is a Portal Buyer role (1.4).  I would like to access the code for one of the standard web dynros.  I retrieved the name of the application from the iview in the portal.  But when I input the application name in se80, it said it didn't exist.  But yet when I look at the package, I can find the application I want in there but it's not in the interface folder, it's in the Applicat. folder.
    I'm new to web dynpro so apologies if it's a stupid question but.. Why is it like this?  What is the difference between an interface and an application?  Is it possible to access the code of the application?
    Package = MMPUR_UI_VIEW
    Application name = MMPUR_UI_PR_APP
    Any help, would be great as I'm totally stumped.
    Thanks in advance,
    Liz.

    Found the component name from the application.  The application is just a link to a component/interface.

  • How can we call methods of one web dynpro component in another one

    Hello Team,
    How do I call  one Web Dynpro component methods in another Web Dynpro component.
    How do we use public parts.
    thanks

    Hi,
    You want to use Comp2's getData() method in Comp1
    If both the WebDynpro components are in the same DC:
    1. Create a wrapper method (with the same signature) in the Comp2's Interface controller. And invoke the Component contorller's getData() method in this method using the below code.
    wdThis.wdGetComp2Controller.getData()
    2. Now Go to the Comp1 and right click on UsedWebDynproComps and add this Comp2 as a UsedWebDypro component.
    3. Now go to the Component Controller of Comp1 and in properties tab add the usage declaration of Interface controller of Comp2.
    4. Now using this below code you can access the method of InterfaceController of Comp2.
    wdThis.wdGetComp2Interface().getData();
    If both the WebDynpro components are in different DCs:
    1. Right click on Comp2 and select Add to public part on Comp2 in DC2.
    2. Now Add this public part in DC1 UsedDCs.
    Now repeat the above stpes 1...to..4. of  "If both the WebDynpro components are in the same DC" same.
    Regards,
    Charan

  • Can I insert ActiveX controls in Web Dynpro Java?

    We want to insert ActiveX controls in Web Dynpro 7.3.
    Is it possible?

    Using the WebWidget UI element you can insert any HTML and JavaScript code but this does not guarantee that your special ActiveX control will work correctly.

  • How can I use EPCM.loadClientData in Web Dynpro???

    Hello colleagues,
    I've created Web Dynpor application and want it to be iView receiveing aparameters from another (not mine) iView on the page. Another iView generates event and store data to EPCF client data bag. In my Web Dynpro app I arranged handling the event but can not get data from client data bag
    Could you help me to find a workaround?
    Thanks and best regards,
    Konstantin.

    Hi,
    The EPCF client data bag API provides methods to store data in a transient data buffer on the client.
    EPCM.storeClientData(nameSpace, name, value)
    This method saves data in value under a key. The key is generated by combining the parameters nameSpace and name. If the key already exists, the stored data will be overwritten.
    For further ref check on to this link.This should help u better.
    http://help.sap.com/saphelp_erp2005/helpdata/en/68/322a9261c54e51b7965f86aac3dae2/frameset.htm
    Hope this helps u,
    Regards,
    Nagarajan.

  • Where can I get project template for Web Dynpro example&

    Hello,
    There is an example in SAP NetWeaver Developer Studio Documentation for creating a Web Dynpro Application accessing ABAP functions. It references the initial Web Dynpro project template file: TutWD_FlightList_Init.zip. How can I get it?
    It is not available in the SAP Developer Network (Web Application Server area | Samples and Tutorials).
         Thanks

    The URL I gave you also contains a link to the _Init project.
    "Project Template: The initial project (starting point for this tutorial) is also available to [download from SDN]." (https://www.sdn.sap.com/sdn/downloaditem.sdn?res=/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/business_packages/a1-8-4/4tutwd_flightlist_init.zip)

  • Can we use MDM 7.1 Web Dynpro UI with MDM 5.5 ?

    Dear Experts,
    Is there any possibility to use new MDM Web Dynpro UI (which has got released with MDM 7.1 SP04).
    with MDM 5.5 SP6 as a backend.
    I wonder, if we deploy MDM 5.5 Java API with MDM 7.1 Web Dynpro components,
    then it should work with MDM 5.5 setup also!
    Any thoughts on this?
    Regards,
    Shailesh.

    Hi Shailesh,
    Is there any possibility to use new MDM Web Dynpro UI (which has got released with MDM 7.1 SP04).
    with MDM 5.5 SP6 as a backend.
    As per my knowledge is concern for MDM7.1 will support .NET API,ABAP API.......
    I wonder, if we deploy MDM 5.5 Java API with MDM 7.1 Web Dynpro components,
    then it should work with MDM 5.5 setup also!
    I dont think so....
    Thanks
    Yugandhar

  • Report Writer (GR55 Txn) reports via Web Dynpro

    Hello,
    Has anybody been able to run Report writer reports but render the output in a webdypro?
    Basically I am looking for a way to run the report but capture the data output and render it on the Web.
    regards,
    Atul Kulkarni

    Bala,
    We want to use the portal to publish the reports too but NOT in SAPGUI on the web.
    We were actually able to get it to work with an SAPGUI iView or "SAPGUI HTML" iView.
    However we want to capture the output of the report writer reports and render them in ABAP or JAVA webdynpro technology.
    Our Top Management does not like anything that resembles SAPGUI.
    How did you all do it?
    regards,
    Atul

Maybe you are looking for

  • Airport Extreme - Slow until power cycle every few hours (wired, not modem)

    I have the latest Airport Extreme Base Station (no time capsule) connected to a Motorola Surfboard 6121 modem. When wired directly to the AEBS I get download speeds of 90Mbps+, but after a few hours (I haven't determined if it is consistent) the dowl

  • IMovie nor Final Cut Pro will import video from camcorder

    Both iMovie 10.0.5 and the Final Cut Pro Trial I just downloaded (to test before purchasing) will not import my movie.  The movie plays on my camcorder and it plays in both iMovie and Final Cut but when I click to import, a message appears in the top

  • Substitution String in URL

    I would like to use Substitution String in url, I defined Substitution String Name => #APPSERVERNAME# and its value as => 100.77.33.22 and URL link as http://&APPSERVERNAME.:7777/pls/apex/f?p=108:72:&SESSION.::::: but the like is like http://:7777/pl

  • FaceTime Activation Could not sign in

    Hi, i bought ipod touch 4g for facetime. and i can't activate it! it stops on ipod>settings>Facetime='FaceTime Activation, Could not sign in. Please Check your network connection and try again.' i have used all the solutions for facetime but all in v

  • How to deploy and run JDev 3.1 App using physical 3-tier Architecure

    We have developed a business application in JDev using 3-tier approach. There is a business component project and a separate client application project in our workspace. Now we want to deploy these projects on separate machines to take full advantage