About callable object-send notification

Hi expertise,
when i create a callable object-send notification,when i test it,an exception occurs:
java.lang.NoClassDefFoundError: javax/activation/DataHandler
    at com.sap.caf.eu.gp.model.fnd.mail.MailFactory.createBodyPart(MailFactory.java:468)
    at com.sap.caf.eu.gp.model.fnd.mail.MailFactory.sendMail(MailFactory.java:396)
    at com.sap.caf.eu.gp.callobj.mail.NotificationCO.onExecute(NotificationCO.java:331)
    at com.sap.caf.eu.gp.callobj.bckgd.base.AbstractBackgroundCallableObject.execute(AbstractBackgroundCallableObject.java:102)
    at com.sap.caf.eu.gp.callobj.container.BackgroundCallableObjectsContainer.execute(BackgroundCallableObjectsContainer.java:81)
why?thanks

Hi Jorgen,
This behavior is completely normal. It can seem awkward but what you described is somehow logical.
Let's say you have three actions, the second one is the email notification. When completing the first action, the second action is triggered. As it is a background callable object, it is put into the queue and wait for processing. As the refresh of the screen is faster than the processing of the callable object, the next action (the third) is not yet active/ready to be processed.
When the email is sent (i.e. the background callable object executed), a callback takes place and the next activity is triggered. Then, the 3 action is active and can be shown.
Due to technical restriction of Web Dynpro, it is not possible to refresh the screen when the action is ready to be processed. The user has to refresh it explictly.
With SP12, the processing of the queue has been improved and it's much more faster than before. The "problem" you noticed shouldn't be there anymore.
Hope this helps.
David

Similar Messages

  • Where do I complain about an app sending notification spam?

    Hi. A few of my apps have recently started spamming me using push notifications. I will unexpectedly get an alert from the app telling me about some special offer or another. My understanding is that they aren't supposed to do this. I'd like to continue using the app but this behavior both infuriates me and appears to violate Apple's rules (according to the first tip here: https://developer.apple.com/appstore/push-notifications/index.html)
    I've seen Draw Something do this in the past before I disabled notifications for it and eventually stopped playing it, and TextMe is currently doing it.
    Where can I complain about these apps doing this?
    Here's an example:

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico my first language is Spanish. I do not speak English, however I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    You are posting the Mac App Store, apps for Mac computers. You may want to ask for help in the iTunes App Store regarding iOS apps.
    Here is the Apple iPhone feedback site;
    http://www.apple.com/feedback/iphone.html

  • Sending my callable object as interactive form thru workflow for approval

    hai
            I have created a sales order form as per the requirement given by sales head.Also i ve created a role in portal and have deployed my application implementing the rfc s required. i need to send my callable object(component1) to the saleshead with approve and reject button where when he approves notification mail should be sent to the required persons and if he rejects it should come back to me.(order initiator).i need to complete this soon and i dont have any idea about _+sending my callable object as interactive form thru workflow+_ .plz guide me with the steps(step bye step process) to be followed which ll help me to complete this project.

    Can we know the reason why do you need to extract the Interactive Form from Workflow.When you are calling the workflow try to save the form in a shared folder and save the url of the shared folder in a field and try to acces it by using SAP Activity.You can create a button for that create an SAP activity and when you click on the button the Interactive Form can be opened.
    Iam not sure weather i have answered your question or not?

  • Send Email with Attachment Callable Object

    Hello,
    I have a GP Application where i have 2 steps....in the first action the initiator attaches a document through standard GP functionality......i want to send this attachment to the approver alongwith the email i am already sending using 'Send email with Attachment (optional)' callable obejct.....how can i implement this....?
    Any help would be highly appreciated.
    Regards,
    Anil

    Hello Anil!
    Well, if i really undestand your question, i think you resolve it using callable object mail with attachment, you said that do it, so, you only need to configure your smtp on youser server and you don´t need more work.
    Please write any doubts.

  • Notification about cache objects changes when node dies

    Hi Guys,
         Coherence 3.3.1/389
         .Net API 3.3.1.2
         Sorry, i did not find in forum something similar to my question.
         Well, i have this situation:
         I have 8 Coherence nodes.
         I have one client connected to Coherence node number 1.
         The client have been listening for notifications about cache objects changes.
         Coherence node number 1 dead for some reason (not enough memory).
         What's happened with the client which was connected to this node?
         I think it just reconnect to other one, but what's happened with notifications which occurs until the client reconnects?
         Regards,
         Dmitry.

    Hi Dmitry,
         Notifications are delivered only while the client is connected. So if the client or its proxy fail, upon reconnection, the client will need to recover appropriately.
         If you're using Coherence's built-in client-side data management features (such as Near cache or ContinuousQueryCache), Coherence will do this for you automatically (resynchronizing the local datasets).
         One other comment, the reconnection attempt is lazy and the client will not reconnect until your application code touches a clustered resource.
         (EDIT: If store-and-forward guarantees are required, then you can queue those messages on the server on a per-client basis in a dedicated NamedCache, which the client can then consume at its leisure whenever connected. This is an application-level construct.)
         Jon Purdy
         Oracle

  • How to create callable object which implements GP interface

    Hi experts ,  
                        I am very new to GP . I want to create a simple process , in which employee send an request to HR and then HR approves it. for this I am using two process and two callable object . I can create simple WD java project , but how we can call it , and where can i define input and out put , I  dont know .
    I have also gone through a PDF which talks about this same thing but i dont know why its adding a dc in projeact and adding dependencies .
    <b>can anyone tell me what is mainly required to convert a simple wd java application to a callable wd java appliaction .</b>
    Thanks in advance
    Abhay

    Hi,
    There are only 2 zip files you need to extract.
    Location to Extract <b>gp_api_nw04s.zip</b>=>C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\eu\gp
    Location to Extract <b>gp_TopLevelDcs.zip</b>=>C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\SCs\sap.com\CAF\_comp\TopLevelDCs
    Very simple.
    Then in your DC project expand the tree of your previously created DC and
    navigate to DC MetaData->DC Definition ->Used DCs
    Right click on the node “Used DCs” and click on Add Used DC…
    Add both the api's separetely,
    Choose caf/eu/gp/api -> DC MetaData -> Public Parts -> external
    Choose caf/eu/gp/api/wd -> DC MetaData -> Public Parts  ->  GPWebDynproCO.
    For “Dependency Type” select  Build Time, Deploy Time, and Run Time for both.
    Finally ,
    Define Web Dynpro References for  your DC
    a. Right click on your DC b. Click Properties
    Select entry Web Dynpro References
    a. Select tab page Library References
    b. Choose Add
    c. Enter the reference cafeugp~api
    Now your project is ready for GP development.
    Hope it help you...
    Award points if it helps you...
    Regards,
    Nirmal Sivakumar G

  • Understandng the callable object within GP

    Hi All,
    I have basic question on callable objects in GP.
    I would like to know how the Adobe form content gets persisted with in GP .
    Example : We have 4 steps in a GP process , one requestor and two approvers. Each step is a webDynpro callable object.
    Requestor fills a Adobe form and this request goes through two approvers and then to complete state.
    Consider we have two fields in adobe form. For my understanding , we need to take care of the business logic within the webDynpro callable object which takes care of storing the two field data into a database(Maxdb or SQl).Is that correct ? Or GP will take care of storing the content also ?
    2. Another scenario
      Assume that the application context stored with in GP process
      The system restarted/down after the requestor submits his request. In that case will that request gets lost or GP will take care of storing......???
      Please correct me if my understanding is not correct.
    Regards, Anil
    Edited by: Anilkumar Vippagunta on Jun 18, 2008 1:46 AM

    Hi Sumangala,
    Thanks for your response.
    Lets consider I have 2 webDynpro callable objects..One is for requestor another for approver.
    Requestor filled the adobe form in callableobject1 and submitted the request.For some reason j2ee got restarted or went down.
    When requestor submits his request , GP will send the notification to the approver.So a task will be added to approver inbox.
    So GP will take care of storing the process related information but not the content within Adobe or webDynpro application ...Am I right ??
    I am just trying to analyze the overall behaviour of GP in all aspects.
    Thanks, Anil

  • Predefined Callable object instantiation

    Hi everyone. I was wondering if there is a way to call a predefined callable object from an EJB/Webservice or any other component.
    My specific requirement is to use the GP templates, to send notification e-mails. I already have work flows configured to use <i>com.sap.caf.eu.gp.callobj.mail.NotificationCO</i> object. I'm having trouble with the portal's lack of support for holiday/weekend recognition, so I have to develop a component which can deal with notifications and due dates.
    My intention is to be capable of instantiating a <i>NotificationCO</i> which handles the e-mail  issues for me. My second best option is to be capable of accessing the GP templates and send the e-mails myself.

    Problem solved.. Some problem with the transport file itself. Some Callable objects were not transported.

  • Sending notifications to Mobile Client.

    Hi,
    I want to be able to send notifications down to mobile service using NOTIFN_WRITE linked to a BP. Current replication object appears to be linked to the employee only. I want the notifications to follow te BP. I think SFAKNA1 can be used but I do not know enough about interlinkages to make it work. Has anyone done this or does anyone know how to set up this replication using interlinkages?
    Many thanks
    MM

    Hi,
    Now have notifications specific to Business Partners going to mobile Client. This is a fully functioning mobile sales client. In the service notification/BP tile set I have BP number but not partner function or BP name although both are known in client. Any ideas why this information does not display ?
    The status of the service task is also blank with no drop down so is there additional customizing needed in the client ?
    Regards
    M

  • Problem with Background Callable Object

    Hi All,
    I am trying to create a background callable object in GP. From my understanding and according to the help document here is what I did:
    - Generated a deployable proxy development component using the Top down approach.
    - Created a Java Development component which implements the interface IGPBackgroundCallableObject. This Development component has the proxy object generated in Step 1 in the Used DCs. Internally this class does a JNDI lookup to the deployed Webservice Client and executes the webservice. Then I add this class as a public part in the Development Component.
    - Create a J2EE Library that has the public part of the class generated in Step 2 as the Used DCs.
    - Deploy the Library and use that in the GP Design time to create the Callable object.
    Following are the problems that I am facing:
    - The Java class that consumes the deployable proxy does not seem to recognize the classes that are present in the proxy object. Even though there is a reference to it.
    - If we try to include the proxy project in the Java Build path of the class it simply removes the link at build time.
    - At one instance it somehow succeeded during the build phase and I deployed the library to the J2EE engine but while testing the callable project it came up with a NoClassDef exception. Basically it was unable to find the proxy object’s classes.
    I am not sure if I am doing anything wrong or the process that I am following is not right. I would appreciate if anyone could help me understand what the problem is and how do we go about achieving the above scenario.
    Best regards,
    Sudhi

    Hi Jorgen,
    This behavior is completely normal. It can seem awkward but what you described is somehow logical.
    Let's say you have three actions, the second one is the email notification. When completing the first action, the second action is triggered. As it is a background callable object, it is put into the queue and wait for processing. As the refresh of the screen is faster than the processing of the callable object, the next action (the third) is not yet active/ready to be processed.
    When the email is sent (i.e. the background callable object executed), a callback takes place and the next activity is triggered. Then, the 3 action is active and can be shown.
    Due to technical restriction of Web Dynpro, it is not possible to refresh the screen when the action is ready to be processed. The user has to refresh it explictly.
    With SP12, the processing of the queue has been improved and it's much more faster than before. The "problem" you noticed shouldn't be there anymore.
    Hope this helps.
    David

  • Send notification from GP to UWL Notification tab

    Hello all,
    The GP Task are already shown in the Task tab of the UWL and it works fine.
    Has anybody an idea, if it is possible to send a notification after finishing a GP Process to the UWL, which will be shown in the notification tab?
    I tried to use the predefined notification Callable Object, yet it is requires to enter an email template so I assume, that just emails are sent.
    Kind regards
    Lissi

    Please try with this link:-
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/44/9a3276a5726573e10000000a11466f/frameset.htm">Process Notification  from GP</a>
    Please acknowledge if its working or not.
    Regards
    Navneet

  • Sending notifications every after 1 day

    Hi Experts,
    I need to send notification mail every after 1 day, if the task assigned to the user is not completed.
    I tried with adding notification for that action, by selecting duration for 1 day.
    But it triggers only once, if the assigned action is not completed before that day.
    I want that to trigger after every single day, till taht action is not executed/completed. Is that possible?
    Please help me out with this.
    Thanks & Regards,
    Runal
    Edited by: Runal on Oct 31, 2008 2:44 PM
    Edited by: Runal on Oct 31, 2008 2:45 PM

    Unfourtunaly I don't think there is a way to do this with standard objects. The only way to do it is developing a separate application outside the GP, let say a J2EE application, which registers the notifications that need to be send, read this pending notifications and send the emails. When the task is completed, the task will need to notify this J2ee application about it and delete the scheduled notifications. You will also need to use the Portal Scheduler to run this every day or so. The other thing you may struggle with is the calendar, are you going to send notifications on Saturday, Sunday, and public holidays or in general in just working days? There is no standard calendar in the Portal as in SAP HR to use.
    It's a bit of a complex landscape but is the only one I can thing of, and the one we were about to implement.
    Cheers,
    Pablo

  • Portal Page Builder Error in Portal Callable Object

    We have created a callable object in GP of type Portal Page or IView
    When we try execute the action from UWL, the following error it shows,
    The portal page builder required to execute this callable object is not available.
    The same concept we tried in 2004s, its working fine.
    Any idea about this error in ce. Highly urgent..

    Not yet answered

  • Disabled subscription sends notifications, relative date not working properly

    Hi
    I have two problems regarding subscriptions:
    1.When I disable a subscription, should I receive any further notifications? I am receiving notifications despite disabling the subscription.
    (I have cloned the template and deleted the original template, then sending email notification will be stopped, but as soon as assigning new template to subscription, sending emails starts, whether subscription is enabled or not)
    2. The criteria for subscription is as follows:
    Status = Active or Status = Pending and Source = Portal and Created date [relative] = [now-7d]
    Regarding the criteria, it must check whether it has past 7 days from incident creation, but it starts sending notifications without considering the [now -7d] condition.
    I use SCSM 2012 SP1 - Rollup 6.
    Am I doing something wrong?
    YSobhdel

    The actual criteria was Created Date greater than or equal to [now-7d]
    What I am trying to accomplish is that whenever an open incident (i.e., not resolved or closed incident) is active more than 7 days, assigned to user will be notified.
    My Question is , why is it happening in the first place, this criteria is nearly impossible to catch (equal to [now-7d]), yet it is sending notifications from the first day. I have testes the notification with
    Created Date greater than or equal to [now-7d] as well but to no avail, still the same problem.
    About delay, I am 100% sure that this is not performance problem, since this workflow is set to periodically check criteria and is run once a day. I have waited for the setting to apply for about two days and this is far beyond any delay! (for two consecutive
    days, I have received this notification).
    YSobhdel

  • Exposing Web Services as Callable Objects

    Hello!
    I have SAP NetWeaver 04s SP7. How can I expose Web Services as Callable Objects?
    According to "Exposing Web Services as Callable Objects" (http://help.sap.com/saphelp_nw2004s/helpdata/en/44/4758351fcb1193e10000000a155369/frameset.htm), I should start with choosing type of CO "Service -> Web Service".
    Actually, I haven't this entry in CO type list!
    According to integrate Web Services with GP, this type appeared in SP8. What are the alternatives in SP7?
    "Background execution" and "External service" seem to be the best candidates...
    What is the best solution?
    Thanx in advance!

    Hello, Jan!
    I have SAP NWDS 7.0.07, and I cannot find there an option to create a CAF project. I can create Web service, EJB, Web DynPro, and something else - but not a CAF project. In documentation I did not find the connection points between NWDS and External Services, except some plug-ins.
    Maybe I've misunderstood you, sorry - I'm a newbie in SAP
    Actually, I've made a simple EJB, created a Web service from it, and deployed the WS to portal. Maybe, EJB instead of Web service can be somehow used in CAF?
    I've tried to create a CO of type Composite Application Service, but there was necessary to configure endpoint aliases. I've read the manual "Configuring Endpoint Aliases", but didn't succeed to make one for EJB remote call... I've defined the name, URL (http://<host_of_portal>:<portal_port>), user and pwd - but I've got an exception when tried to use the created alias:
    com.sap.caf.core.gp.servicelocator.exception.MetaModelBrowserException: Exception while trying to get InitialContext. at com.sap.caf.core.gp.servicelocator.CAFMetaModelBrowser.getAllApplications(CAFMetaModelBrowser.java:77) at com.sap.caf.core.gp.ui.backgroundco.admin.VSelect.browseCAFCore(VSelect.java:305) at com.sap.caf.core.gp.ui.backgroundco.admin.VSelect.onActionSelectEptAlias(VSelect.java:750) at com.sap.caf.core.gp.ui.backgroundco.admin.wdp.InternalVSelect.wdInvokeEventHandler(InternalVSelect.java:287) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at
    Maybe, the easiest way is to upgrade the versions of SAP and NWDS?
    Are there some manuals that could provide me some help about:
    1) creating CAS from the deployed Web service (from its creation in NWDS till its use in CAF, step-by-step)
    2) binding Web Dynpro apps and Web services, using CAF and GP.
    Or maybe I should attend SAP courses?
    I have SAP NetWeaver 04s SP7 and NWDS ver. 7.0.07.
    Sorry for the messy post, I did my best
    Message was edited by:
            Kirill Shepitko

Maybe you are looking for

  • Adobe Illustrator CC Won't Open

    Hello there. I recently purchased Creative Cloud (roughly 2 weeks ago) and downloaded Adobe Illustrator CC. For the past 2 weeks that I've had Adobe Illustrator, it's worked perfectly fine. But now, for no reason that I can find, it won't open. Every

  • "In Update Task" for ABAP OO

    Hi All, is there a simular function for methods like for function modules to call something "IN UPDATE TASK"? My problem is that I want to call a method out of the User Interface which is then executed in a separate process (in background), that the

  • Blue ray reader is no longer working. disc is also stuck in the unit. help!

    Several problems have been detected: My computer doesn't detect  any CD in its unit. Sometimes it detects the CD but every time I tried to play it, it doesn't work and imediately dissapears from any open menu that refers to it (may be iTunes or Windo

  • ADP fail to get the information in WebLogic 10.3 version

    I have configuration ADP in Enterprise Manager 12c r2 version in linux 64 bit version and I can successfully get result for the weblogic server 10.3.2 version,but in customer environment they are spring application running in WebLogic Server 10.3.0 u

  • Moving Illustrator CS2 Image to Photoshop CS5

    I paint in Photoshop CS5, and move easily in the app. However, I'd like to use my copy of Illustrator CS2 to make a simplified base from a photo, move it to PShop, and work there on a painting. I can make (and print) the illustrator drawing, but cann