Web Dynpro access Application Services directly?

We're looking at implementing some processes using Guide Procedures, and I have a question about design 'style'.
I'm creating a data layer using Entity Services.  The entity services will be utilized by the Application Services to create a business layer.  How to do this is clear, and straightforward.
However, where I have a question is how the automatically generated Web Dynpro application (or any other Web Dynpro application, for that matter) can interact with Application Services.  I've seen sample applications where the Web Dynpro application interacts with application services via mapping from the Web Dynpro interface layer through the GP Runtime - from my perspective, this looks like a good way to deal with a small amount of data being passed between the steps in the GP.
The primary Web Dynpro application will let the user interact with the data, massaging it until it's in a form where the next person needs to deal with it.  I was thinking of having the Web Dynpro application interact with the Application Services layer directly to move data from the database to the web dynpro application, and back again.  The only thing that would be passed between the steps in the GP would be the guid of the primary data structure.  I would also expose a method of the Application Service as a CO which would take the guid and return the entire business object, so viewing screens could be constructed - as well, PDF's could be generated, and so on.
Is this considered bad form in a GP, specifically accessing Application Services directly, instead of through a step in the GP?  I understand that what I want to do ties the Web Dynpro application directly to the Application Services layer, but my thinking is that the CO that encompasses the Web Dynpro should be 'atomic', in that all operations related to that specific step should be contained in a single CO.  In other words, the action of creating the business object, fiddling with it, an then submitting it upstream should be contained in one CO.
Comments, suggestions?

Hi,
      In the Composite Application Framework scenario, you first create the Business Entities. These act as data holder. To fill the data within these entities the Application services are created. These application services are later exposed as a webservice and deployed.
               These webservices can contain different methods along with the CRUD operations depending on the Process Flow and Design implemented. We can import the webservices as a model in the WebDynPro Component. The UI elements of the Views can be binded to the Model. So when we execute the model methods the data gets entered into the Business objects.
               This WebDynPro component should be a callable object ( It requires some Dependencies to be added to the WebDynPro Component ). So that you can have Input/Output parameters and ResultStates. These parameters are useful if you have to pass some parameters from one view to other within the same component. So this WebDynPro Callable object includes the Application service calls and also the passing of data through the GP Input/Output Structures.
               These callable objects are then included within the Process.
  This is how I think a Composite Application must be designed.

Similar Messages

  • Access Web Dynpro Java application through direct URL

    Hi Guys,
    we have a requirement that there is a link in web dynpro abap screen, click on it will open a new ie window running web dynpro java application, so what i did is i have given direct url link for that web dynpro java application:
    as this:
    https://servername:50001/webdynpro/dispatcher/sap.com/ess~lea/TeamView
    but after i clicked on this url, it pop up 1 window, after i entered id & passoword, it is showing this wd java appl, but there is 1 grey image on top of the view & "welcome xxxx"; below that is the actual view from wd java.
    the layout is :
    grey image----
                             welcome xxxxxxxx
    Teamview
    actual ivew
    how to remove the grey image & the "welcome xxx"? it looks like masthead but we dun need it.
    thanks

    Hi Feng,
    Actually what you are seeing using the application URL and after giving the credentials on Portal is a portal screen which carries the theme as well. Therefore, you will be able to see the masthead with header and Portal User Name. So, use the URL generated by preview of a web dynpro iView in your component to avoid the masthead.
    Regards,
    Tushar Sinha,
    Infosys,
    Hyderabad

  • Web dynpro abap application on Portal does not work via internet access.

    Dear All,
    I have created a web dynpro abap application and deployed the same on Portal.
    The issue I am facing is that the webdynpro application works fine when the end user logs into Portal from Local Network,
    However when the Portal is accessed from outside the local N/W via Internet, Portal is working fine for other applications like ESS
    but the web dynpro application dont work.
    Is this some configuration issue on the portal / abap development or any workaround is possible.
    Regards
    Abhinav Dagar

    Hi
    Please try to use the [HTTP Watch 5.0 Basic |http://www.httpwatch.com/download/] tool to trace that WD Application link from the portal and you can easily find out the problem.
    Regards
    Prakash T

  • How is Web-dynpro ABAP application is accessed in web.

    Hi
    How are pages in ABAP-Webdynpro rendered in web, how does they get converted in HTML.
    As far as my understanding, ICM forwards the request to Application server ABAP, if request is for ABAP webdynpro page.
    After that does ITS play a role to render these pages in Web ??

    First of all ITS has absolutely nothing to do with Web Dynpro ABAP. 
    When you design a Web Dynpro ABAP application an XML based meta-data representation of the User Interface is saved in the repository.  Then at runtime we have a Web Dynpro ABAP rendering engine (written completely in ABAP Classes) uses this meta-data to render corresponding HTML and JavaScript content that gets loaded into the HTTP Response object. We actually have multiple rendering engines for Web Dynpro (xBCML for Flash and the NWBC) as well as the ability to replace and upgrade these rendering engines over time without disrupting the applications.  This is what is currently happening with 7.01 - we have rewritten the HTML/JavaScript renderer with a new version called LightSpeed.

  • Integration a Web Dynpro ABAP application within one of my EP overview page

    Hi Experts,
    I've got an issue when integrating a Web Dynpro ABAP application within one of my EP overview pages.
    We've implemented PLM using the Web Dynpro ABAP scenario for employees. Now Iu2019m trying to integrate this into the Employee Self-Service overview page. I've got no issue to make the icon and area title appears, but when I click on it I get a blank page with Error 404. However when clicking on the link in the navigation bar (Level 2) then I get the page fine. So it looks like EP is not able to integrate correctly the Web Dynpro ABAP into the overview page in EP. Is there any specific Resource configuration?
    One more thing is that if I've implemented the same iView using Resources -> Services -> Sub Areas -> Areas everything works fine, but I receive two navigation Levels (Area Group contains the Area Link and when I click it brings me to Sub Area with the single Service Link) I want to avoid this double clicking, calling the application directly from Area Group -> Area link.
    Anyone has ever come across that kind of issue? Has anyone ever integrated a WDA application directly into an overview page?

    Hi,
    We faced a similar problem with BSPs and had to change the definition of the area link type entry.
    I am assuming you have set the area link type to WebDynpro for ABAP and the resource is calling an Iview/page that has the WD ABAP application configured.
    To get around the error, change the Area Link type to Calls a Portal page and make sure the resource calls an Iview/Page that has the WD ABAP application configured.

  • Deploying problem of web dynpro java application

    Hi,
    I have a web dynpro java application with no problem about deploying.
    I copied this application with another name.
    I tryed new application to deploy but sdm aborted with error.
    Error
    19.Tem.2011 10:22:25 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : vserver0202
    SDM port : 52018
    URL to deploy : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Result
    => deployment aborted : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Aborted: development component 'HF_PERS_RAPOR_BUTCE'/'local'/'LOKAL'/'0.2011.07.19.10.22.15'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/HF_PERS_RAPOR_BUTCE.. Reason: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi,
    Since the exception says "Are all referenced components deployed and available on the engine?"
    Check wether any DC is used as a used DC in the webdynpro component which you are deploying.
    If any used DC is available try to deploy that DC in the server and then deploy ur webdynpro application.
    If all reference DC's are avialable in server, still if you get this error try to rename the component and reload+rebuild the project and deploy it.
    Hope this helps you...
    Regards,
    Saleem Mohammad.

  • Issue While printing / Previewing a Adobe form in Web Dynpro ABAP application

    Dear All,
    We have designed 4 different adobe forms using SFP transaction for 4 different countries in SAP system.
    Every country have different terms and conditions and therefore we have placed static texts (Hardcoded text) with text in different styles. Some text is in bold, some in different font (Bold, Italic). Font and Paragraph settings of the text was done as per expected. All the forms have same font and paragraph settings.
    When we Launch Web Dynpro ABAP application to open the form in Print preview or to take print, form is not getting displayed / printed as it is designed in SFP. But if you open the form in SFP, everything looks fine.
    It is working fine for 3 different forms but problem with only 1 form.
    Kindly guide what is the reason for this strange issue when previewed or taken print. It is very urgent.
    Thanks,
    Bharath.K

    Dear All,
    Thanks for your responses.
    We had identified the reason.
    Customer has provided terms and conditions for all 4 countries in PDF document. Along with PDF, for 3 out of 4 countries customer has shared pre-prepared word document with pre aligned and justified terms and conditions as per expected outcome. We copied this text from word to Adobe form layout. It worked fine. For 1 country, customer have not shared terms and conditions in word document. Therefore we had copied text directly from adobe PDF document in to Form layout. Then this issue happened.
    Solution for this issue is to, prepared a word document with expected alignment and justification of terms and conditions text . Then copied from word to adobe livecycle designer form layout. It worked fine.
    Thanks,
    Bharath.

  • No switch to HTTPS occurred in Web Dynpro ABAP application

    We are building a Web Dynpro ABAP application and when I logon I get:
    No switch to HTTPS occurred, so it is not secure to send a password
    I want to suppress this message but I can only find a parameter that works for BSP applications (You can suppress the message using the property BspDontShowHttpsWarning. Goto SICF and locate your service, open node and choose tab error pages. At redirect URL add '&bspdontshowhttpswarning=X').
    However, for Web dynpro this parameter does not work. Does somebody know if there is a parameter available for web dynpro ABAP applications to suppress this message?
    kind regards
    Angelique Heutinck

    Angeline
    I asume that you are using a "Basic Authentication" method, if this is your case, you should configure the SICF service with the following parametters:
    1) Go to SICF, /yourservice / double click
    2) On the "Logon Data" tab, in the "Procedure" option choose "Alternative Logon Procedure".
    3) On the same tab, at the "Logon procedure option", delete the SSO option, and change the Number of the another methods, raised the "Basic Authentication" to the first place.
    4) Go to Error pages tab, flag "System logon", and after that click over Configuration, here check "Do no display warnings"
    Hope this help you !

  • Web Dynpro Java Application for Handheld Device

    Hi everybody,
    I have been reading some documentation about what is the best option to create an application for handheld device. So this is my landscape. I have SAP Netweaver 7.4 SR1 AS ABAP, and Java instance. So, I want to know whether is possible to create a normal web dynpro java application and then visualize this application on Browser of handheld device. That's all that I have to do? I read that exist another solution Developing mobile application for handhelds. By other side a need to know how to is the integration of this device with this application if exist. This application is going to consume data from SAP Backend system, so I just have to create JCO's for connect this application to this system, right?
    Please, can you help me with that.
    Best Regards.

    Hi Deepti,,
    Refer to the following thread which says that you must retrieve the data from the CRM backend system using standard BAPI's or customer Remote enabled function modules (socalled RFC's) and to access the backend system you will have to set up an RFC connection with CRM system.
    Regarding web dynpro and CRM
    Thanks & Regards,
    Jhansi Miryala

  • Integrating Web Dynpro ABAP application in portal

    Dear experts,
    I created a Web Dynpro ABAP application. I need to Integrate it in portal and have to capture portal login id to my application.
    Kindly guide me how to integrate WDA in portal and how to capture Portal Logon id in my application.
    Thanks,
    Kind Regards,
    Ram

    Hello ,
    It is asking for SAP system user id and password becasue there is no SSO established between portal and the web dynpro system.
    Now, either you can establish SSO between portal and the backend system by SAP Logon TIcket or  user mapping.
    SSO stands for single sign on.
    SSO using SAP Logon Tickets :-
    by using this technique you will be able to login into the backend by using SAP logon ticket
    issued by the portal system. For this you need to import the .der certificate form the system administration ->system config -->
    key ticket store. there download verify.der and upload it in the trusted system list in the backend in the trasaction strust_import.
    here is link for this method.
    http://wiki.sdn.sap.com/wiki/display/EP/LogonTickets,CertificatesandBackend+Certificates.
    SSO using user mapping. :-
    For this method you need to map the user in the portal to one user in the backend system.
    You can do so by going to user administration in the portal there find the user id with which the user will login.
    then go to the user mapping for system access tab there select the system from the dropdown and give user id and password
    for the same system save it.
    Now when you will login it wont ask for the user id and password.
    And after this you can get the portal user id also in  your web dynpro application.
    Thanks
    Sarbjeet Singh

  • Trigger Web Dynpro Java application automatically.

    Hi All,
    I don't know if I am asking too much, but I have a requirement as below
    I have a Custom Web Dynpro Java application for which an iView has been created and assigned to a role on the Portal. The user just have to access the role and can run the application.
    Now my requirement is to triggered or run this application without any user intervention on it's own periodically lets say after every 15 days or so. Please somebody let me know if is it possible and how?
    All the help would be really appreciated.
    Thanks and Regards,
    Abhishek

    Check out this
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90a95132-8785-2b10-bda5-90d82a76431e?quicklink=index&overridelayout=true
    and
    Scheduling webdynpro java application
    Hope this helps.

  • Can Web dynpro Java application run as background application

    Hi Experts,
    Is it possible to execute the Web dynpro java application in background without opening the application in a web browser.
    We just want the WD java application deployed on the SAP Web AS server to be invoked and get executed as a background application by some external web application. It should not get open at any point of time in a web browser.
    Can anyone suggest if it is possible?
    Thanks & Regards,
    Anurag

    Hi Anurag,
    Since Web Dynpro is "SAPu2019s standard UI technology based on MVC for developing user interfaces" (see http://www.sdn.sap.com/irj/sdn/nw-wdjava) it is by design not possible to run 'in the background'.
    There are other possibilities to develop server processes per your requirements, such as developing web services or servlet development.
    Web services are the de facto standard for executing business logic on a remote server. However, as I understand your external web application is not capable of sending web service requests, have you tried the servlet approach?
    See http://help.sap.com/saphelp_nwce711core/helpdata/en/3f/f8bc3d8af79633e10000000a11405a/frameset.htm for more info on how to develop a servlet using NWDS.
    Take particular attention to the sub-topic 'Servicing Client Requests' of the above guide
    Hope this helps!
    Best regards,
    Robin van het Hof

  • How can I call a java object from Web dynpro ABAP application?

    I made Web dynpro ABAP application and posted it to SAP EP.
    For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
    Is there anybody who experienced this kind of java interface issue?
    I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
    Any comment or suggestion would be greatly appreciated.
    Thanks,
    Raymond, ABAP Consultant

    if you have jco configured, then you can make calls to java api from ABAP .
    check out this weblog.
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Raja

  • " APPLICATION NOT FOUND"  while deploying Web dynpro java Application

    Hi, I am getting a message that "application not found " While deploying the web dynpro java application .......... please give me a solution for this .

    Hi Ram,
    This error comes generally when your webdynpro project does not have an application. To create an application in your webdynpro project follow the underlying steps:
    <Project>->WebDynpro->Applications ---> right click and create New Application.
    Follow the steps to create the application.
    Now if you create archive and deploy, it will not give you the error again.
    Best Regards,
    Ravi

  • Problems creating new Web Dynpro ABAP application

    All,
    I am following this tutorial to create my first Web Dynpro ABAP application
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fc/501b42b5815133e10000000a155106/frameset.htm
    In this tutorial I was asked to create a component as Local object.
    But after giving the name of the component, I get an alert saying
    "Object can only be created in SAP Package"
    When I confirm this, I was shown a "Create Object Directory entry" dialog box which asks for attributes like Package.
    And this box has Local Object button, when clicked I get the message "Test Objects cannot be created in foreign namespaces".
    I found some other article through Google
    http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Web_Dynpro_Part_I.pdf
    According to this, I tried to give $TMP as Package. But still have the same error
    "Test Objects cannot be created in foreign namespaces"
    Where am I and what should I do to create a new project?
    Thanks.

    Thanks Abinav.
    My problem is with naming convention only. Component name starting with Z solved my problem.

Maybe you are looking for

  • Can i upload one page at a time

    I have a very complex website with tons of pages that were designed using a different software.  I have now decided to switch to Adobe Muse. I need to change some pages on my website without having to recreate the whole website in Muse.  Can I upload

  • Any ideas on this dynamic link problem I'm having.....?? CS4

    Installed the full Production Premium CS4 package under Win7, 64-bit. If I right click a clip in Premiere and select "Replace with an After Effects Composition," AE opens, clip appears and I can add an effect, etc. I can also save the AE project. How

  • How to start a particular version of Photoshop when multiple versions are installed

    I have written a small software that automates a few functions in PS CS2. Till now it was working just fine with PS CS2. Now due to some unknow reasons the client has installed CS 4 and CS 5. Now my clinet want that the software should be able to det

  • Sorting Column's Label in Pivot Table

    Hi Fellows !! This is my problem: I have two tables, dates and rates, providing me data for a report. Dates has a DateId (number), Year(number) and Month(varchar2(12)), and Rates has DateId(number) and RateAmount(number). I wrote a quite simple query

  • Fixed Decimal Input

    I am looking for a setting for fixed decimal places.  Most of my data is entered in excel, currently, as 2535(=25.35)   I am looking to do the same in Numbers with out pressing the "." key.  I am sure i am being silly and its in front of my face but