Workflow & Web Dynpro integration - best practice?

Hi,
I am working on ECC6 and EP7 and looking at building some workflow approval scenarios for Travel Management.  I need to move away from the SAP supplied approval scenarios to meet our business requirements.
What I'm looking for is a 'best practice' for integrating a Web Dynpro application (for ABAP) which will be the basis of our approval workitem.  I have seen a number of presentations which talk about integrating the user decision task (BOR object DECISION) into a web dynpro application.  I have also seen an approach where the FM WDY_EXECUTE_IN_PLACE is used to call a Web Dynpro application from within a BOR object method. 
I guess I'm wondering if there is an approach that provides a cleaner integration then either of the above approaches as they both appear (well to me anyway!) to have limitations.  Is there a way for example of implementing an ABAP class method as the basis of the approval task that cleanly integrates with the Web Dynpro application?
Any suggestions would be greatly appreciated.
Thanks in advance
Michael Arter

Hello,
Are you going to use the Universal worklist in your portal? If yes, that will bring you more possibilitites. Then you don't have to code anything into your business object - instead in portal (UWL configuration) you can define what which WD application is launched when the user clicks the task in UWL.
If you are going to use business workplace and just launch WD applications from there, then you probably just need to use WDY_EXECUTE_IN_PLACE (or any other suitable way to launch WD application from ABAP).
>Is there a way for example of implementing an ABAP class method as the basis of the approval task that cleanly integrates with the Web Dynpro application?
Yes, but what is really the need for this? Did you know that you can replace the methods of your BO as methods of an ABAP class? Just implement the IF_WORKFLOW interface for your class, and you can use it in your workflow then just like the BO. If you want to "replace" the whole BO with your ABAP class, just take a look to Jocelyn Dart's blog series about the subject. But as I said, it is not really necessary to do this - especially if you already have lot of custom code in your custom business object - then it is probably a good idea to continue using it for your custom stuff.
Regards,
Karri

Similar Messages

  • Web Dynpro integration with R/3

    Dear all,
    We have the following requirement in Web Dynpro integration with R/3
    We have to update the local SQL tables based on R/3 system return values. R/3 system should call the webdynpro business method for updating local SQL Status table.  In the R/3 system after purchase order is created, via user exit it should call and update some fields in the local SQL tables. To solve this problem we have thought of following solutions possibility:
    1.       In R/3 system based on user exit, it calls the ABAP Proxy ->  XI (SOAP Adapter) -> Web Dynpro Web Service in WebAS->  XI -> ABAP Proxy -> User exit – PO continues.
    2.       In R/3 system based on user exit, it calls directly web service then web service goes to user exit.
    3.       In R/3 -> user exit -> ABAP Proxy – JDBC Adapter -> SQL stored procedure call - > user exit.
    Please give your valuable suggestion or any other options to solve above problems.
    And another one question is how to create web service and deploy into WebAS through webdynpro project?. Kindly guide us to the correct document for creating webservice through webdynpro or any other related url link.
    Advance thanks,
    S.Saravanan.

    Hi Sarvanan,
    Please refer to the following link for help on webservice,
    Creating webservice, http://help.sap.com/saphelp_nw2004s/helpdata/en/db/99c04ba22fe64f96a8651df68eab92/frameset.htm
    Consuming a Web Service in JAVA,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/81/12703e5da3e946e10000000a114084/frameset.htm
    Consuming webservices in webdynpro,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/91/9c2226df76f64fa7783dcaa4534395/frameset.htm
    I feel once you go through these links you yourself will be in a much better position to decide upon to your design options.
    Reply back for more help,
    Guru.

  • XI - MDM - Web Dynpro Integration..

    Hi,
        Can you please explain me the steps used for integration of XI - MDM and Web dynpro integration..
    I need the front end through web dynpro that has the data from MDM tables (Read / Write) and also store the data from MDM into a flat file with multiple records.
    Thanks
    Mamta

    Hi,
    Have you seen this weblogs:
    /people/balas.gorla/blog/2006/09/27/mdm-xi-r3-integration
    /people/sriram.vasudevan3/blog/2005/09/01/mdm-55-data-distribution-using-sap-xi
    /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario
    /people/balas.gorla/blog/2007/02/05/r3-xi-mdm-outbound-scenario
    /people/steffen.nesper/blog/2007/01/05/master-data-management-posting-confirmation
    ---Satish

  • SAP to Non-SAP Integration best Practices

    Hi Folks,
    Recently I demonstrated to few of my managers the integration of our SAP ISU with a 3rd Party MDUS System via SAP PI. A question which was repeatedly asked is 'Why SAP PI'? Isn't there any other way to do it? They did mention BAPIs and doing things directly in ABAP but I couldn't really answer as to how weigh one on the other in this particular scenario.
    I do know that there are standard ES Bundles for achieving integration with 3rd Party Systems via SAP PI, We can do the interface and message mappings but
    is it possible to achieve this integration with the 3rd Party MDUS System without using PI?
    3rd party MDUS can only integrate via its web Services so how would they get called?
    Whats the trade-off in case of Performance, Development Cost?
    I am looking for best practices, recommendations, trade-offs and possibilities. Your input is very much appreciated.
    Regards,
    Adil Khalil

    Hi Adil,
    The below blog might be useful
    Consuming Services with ABAP
    regards,
    Harish

  • Jdev101304 SU5 - ADF Faces - Web app deployment best practice|configuration

    Hi Everybody:
    1.- We have several web applications that provides a service/product used for public administration purposes.
    2.- the apps are using adf faces adf bc.
    2.- All of the apps are participating on javaSSO.
    3.- The web apps are deployed in ondemand servers.
    4.- We have notice, that with the increase of users on this dates, the sessions created by the middle tier in the database, are staying inactive but never destroyed or removed.
    5.- Even when we only sing into the apps using javasso an perform no transacctions (like inserting or deleting something), we query the v$sesisons in the database, and the number of inactive sessions is always increasing, until the server colapse.
    So, we want to know, if this is an issue of the configurations made on the Application Module's properties. And we want to know if there are some "best practices" that you could provide us to configure a web application and avoid this behavior.
    The only configurations that we found recomended for web apps is set the jbo.locking.mode to optimistic, but this doesn't correct the "increasing inactive sessions" problem.
    Please help us to get some documentation or another resource to correct configure our apps.
    Thnks in advance.
    Edited by: alopez on Jan 8, 2009 12:27 PM

    hi alopez
    Maybe this can help, "Understanding Application Module Pooling Concepts and Configuration Parameters"
    see http://www.oracle.com/technology/products/jdev/tips/muench/ampooling/index.html
    success
    Jan Vervecken

  • Web application security best practice?

    Hi guys,
    I am developing web app using JSF + Spring + Hibernate. I got a user backing bean which handling user login and logout session. Hence if user sign-in successfully, I will just set userLogIn=true in the userBean.java. I really don;t know if this is the best practice for handling user login session. Any security probelm here? Please advice, Thanks !
    regards,
    kmthien

    hi
    you can also find a lot of info about security handling and JSF if you search the forum.
    thanks.

  • Web Intelligence Security Best Practices

    Hi All,
    We are in the process of starting to use web intelligence. I am puttng together a security model for it and I have some questions around best practices. We have a fairly simple two tier security model so far, end users and creators. Creators will be able to create reports in certain folders and everyone else will be able to run and refresh those reports they can see.
    I was going to create a group for all the creators and assign them to a custom access level in the web intelligence application. Then they would also need to be in another creator group for the particular folder. So they would be able to the create reports in that folder and execute reports in another.
    For all the end users, they need to be able to view and refresh reports, drilling, data tracking, etc. if they have access to them. Is the best practice then to just assign the Everyone group the out of the box view on demand access level?
    I have been digging around looking for resources and welcome anyone's input or ideas on the subject.
    Thanks in advance for any assistance provided.

    Thank you for your prompt reply.
    But that means that the same security groups will need to be creaed on both palces, web intelligence application and at the folder level?
    I was thinking if I create a developer group for the web intelligence application level, all developers would go into there. Then at the folder level I could create another folder level security group for developers to access the folder.
    Would that not simplify the maintenance at the application level? Or would that not work?

  • EBusiness Suite Integration Best Practice

    I'm just starting an integration project with eBusiness Suite. We are using SOA Suite for the majority of the intergration points but I have a question over large flat files, e.g. 100MB+. SOA suite doesn't handle these too well as you need to do a lot of tuning and need big hardware.
    Traditioanlly we used to use unix scripts and dataloader but this seems so old school, therefore I'm looking for a solution that brings it into this century.
    Any ideas are appreciated.
    James

    For large datafiles sql*loader is still the tool of choice. The only variation that You may find nowdays is the use of external tables.

  • WEBI Report Size Best Practices

    What are some standards (measured in time, records and db size) for the following for WEBI reports on BW Universes -
    1 - when run on demand
    2 - when scheduled to create an instance
    We are looking for some baselines.  For example: <5 mins for on demand and <15 mins for scheduled, etc

    Hi Subham,
    If you are looking for the size of the WID file, you can get this through the InfoObject.
    Please note that this WID file only changes if the WebI document was actually saved.
    Below is a sample code snippet that will retrieve the file size from an InfoObject:
    IInfoStore boInfoStore = (IInfoStore) boEnterpriseSession.getService("InfoStore");
    String query = "SELECT SI_FILES FROM CI_INFOOBJECTS WHERE SI_INSTANCE='false' AND SI_NAME='" + webiDoc + "'";
    IInfoObjects boInfoObjects = boInfoStore.query(query);
    if (boInfoObjects.size() > 0) {
         IInfoObject boInfoObject = (IInfoObject) boInfoObjects.get(0);
         IFiles boFiles = boInfoObject.getFiles();
         IFile boFile = null;
         for (int i=0; i<boFiles.size(); i++) {
             boFile = (IFile) boFiles.get(i);
             out.print(boFile.getName() + ": " + boFile.getSize() + "<BR>");
    } else {
          out.print("No WebI document found!");
    Hope this helps.
    Regards,
    Dan

  • Best practices for apps integration with third party systems ?

    Hi all
    I would like to know if there is any document from oracle or from your own regarding best practices for apps integration with third party systems.
    For example, in particular, let's say we need customization in a given module(ex:payables) need to provide data to a third party system, consider following:
    outbound interface:
    1)should third party system should be given with direct access to oracle database to access a particular payments data information table/view to look for data ?
    2) should oracle create a file to third party system, so that it can read and do what it need to do?
    inbound:
    1) should third party should directly login and insert data into tables which holds response data?
    2) again, should third party create file and oralce apps will pick up for further processing?
    again, there could be lot of company specific scenarios like it has to be real time or not... etc...
    How does companies make sure third party systems are not directly dipping into other systems (oracle apps/others), so that it will follow certain integration best practices.
    how does enterprise architectute will play a role in this? can we apply SOA standards? should use request/reply using Tibco etc?
    Many oracle apps implementations customizations are more or less directly interacting with third party systems by including code to login into respective third party systems and vice versa.
    Let me your know if you have done differently and that would help oracle apps community.
    thanks
    rrb.

    you want to send idoc to third party system (NONSAP).
    what kind of system is it? can it handle http requests
    or
    can it handle webservice?
    which version of R/3 you are using?
    what is the mechanism the receiving system has, to receive data?
    Regards
    Raja

  • Examples on Web Dynpro Java ? For more practice purpose

    Hi EP experts
        I want more examples on Web Dynpro Java for practice purpose
        My project next phase is on full  webdynpro
        Pl...provide me more worked examples but in SDN i found very few
    regards
    kiran LVS

    Hi,
    did you have a look at this page https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d ?
    Kind regards
    Karin

  • Adobe Interactive Forms without Web Dynpro and ACF???

    Hi All, we would like to build an interactive forms solution based on the Adobe software integrated into WAS. However, the customer requires a true thin client application with no additional installation on the client. Integrating Adobe Interactive Forms into Web DynPro however requires the Active Component Framework (ACF) to be installed since these forms are integrated into the page within an ActiveX container.
    So the question is whether there is a way to use Adobe Interactive forms including the Adobe Documents Service within WAS but without(!) using Web Dynpro?(the full blown Adobe LifCycle Forms solution is not an option). Any suggestions on this are highly appreciated!
    Tanks!
    Frodo

    Hello everyone,
    I would like to add a couple of points from the SAP Product Management perspective.
    Adobe has a number of stand-alone products that are the foundation for what SAP can now offer thanks to our partnership. This is exactly why we decided on a partnership that provides us with established technology, which is now integrated.
    It is true that Web Dynpro is the main SAP way of integrating the interactive functions of the solution. We made this decision consciously, because the development and run-time environments provide very useful features that reduce the need for manual coding, such as the possibility of passing the data back to the backend using the Web Dynpro context. The automatism we offer here needs to be implemented from scratch with any other solution, including the Adobe stand-alone one.
    While it is true that the ACF constitutes a certain limitation for the reasons you mention, Adobe will remedy this in 2005. The Reader/Web Dynpro integration will be available later this year for multiple platforms (OS, browsers) and will not require ACF anymore.
    If you do not want to use a full-blown Web Dynpro application for your concrete scenario, consider developing an application that provides nothing but the interactive PDF form to the end user, to be filled in using the stand-alone Reader. The submit of the form data (with or without the PDF itself) could then happen via HTTP or e-mail.
    Kind regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • ABAP Web Dynpro ALV: event for "tabel selection menu" needed

    Hi all,
    we need to react on the "table selection menue" control in our ALV grids. We found, that event "lead_select" is triggerd, if single lines are selected and if "delete selection" from the table selection menu is used.
    But if the "select all" item is used, the event is not triggered.
    Is there another event we can use? Does anybody know a sensible workaround for this problem?
    Thanks  and regards
    Joachim

    Hello Joachim,
    perhaps it's better to post your question in the WebDynpro ABAP forum:
    Web Dynpro ABAP
    Best regards
    Stephan

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

  • Creating dynamic file through web Dynpro

    Hai All,
         Please tell information about my question.
        HOW TO FETCH CLLIENT MACHINE ADDRESS IN WEB DYNPRO.
    Best Regards,
    S.V.Selva Bala.

    Hi Saravanan,
       Go through Re: IP problem in UME this thread. It might help you.
    Regards,
    Satyajit.
    Message was edited by: Satyajit Chakraborty
    Message was edited by: Satyajit Chakraborty

Maybe you are looking for

  • HOWTO: Using a BC4J Application Module in an Stateless EJB Session Bean

    HOWTO: Using a BC4J Application Module in an Stateless EJB Session Bean by Steve Muench Overview BC4J provides automatic facilities for deploying any application module as a stateful EJB session bean. If you want to leverage the features of your BC4J

  • JSF question

    We have simple template, which have four �c:import� directive to dynamically include pages which present different areas on the screen. On one from the imported JSF pages, let�s say <c:import url="/pages/tiles/tree.jsp"/> we have a tree leaf selected

  • DW Beginner - Tables, Div Tags and CSS Confusion

    Hi, I am a beginner to DW. The layout I am designing is as follows: First I have an overall "container" on the outside of my layout which I called "wrapper" and I made it using a div tag. Next I made a table within or right after this "wrapper" div t

  • Formatting URLs

    Hi, I'm wondering how to format a long url. I want it to be allowed to break at the end of the line anywhere within the URL, without adding a hyphen. So: http://www.microsof t.com would be fine. I've tried creating a character style with the language

  • Barcode printing on EPSON dot matrix

    Hi,    We are printing barcode on Invoice using EPSON dot martrix. We created a new bar code using New Barcode technology through SE73 and created a ZPDF417 type .We taken a PDF417 symbology in New Barcode Technology. While using this , the data is p