Time based trigger in SAP ME

We need to interface data, (do a web service call for instance) at a time based interval.
What is the best way to trigger an interface time based using SAP ME?

Hi J
Take a look at SAP NW Scheduler. It can schedule the jobs and execute them. The job is implemented in ME as MDB.
For more information you can see this wiki page
[https://cw.sdn.sap.com/cw/docs/DOC-102605]
Thanks
Ivan

Similar Messages

  • Timer based trigger?

    Hi,
    I have a trigger on my logging table that fires on INSERT statements. But the complexity of the trigger routine has increased and performance starts to play a role.
    In normal day business there are only a few INSERTs and the trigger's performance doesn't count. But if I run a batch job there could be a hundred INSERTs within a second and the performance decrease becomes noticeable.
    As there is no need for realtime processing I thought of changing the triggering event from INSERT to some systemclock related stuff (e.g. every 60 seconds). The problem is, I couldn't find anything :(
    Is there a possibility to fire a trigger every n seconds? Do I have to create a job in the database? Are there any other possibilities?
    Any help greatly appreciated!
    thx, mc

    Hi,
    DBMS_SCHEDULER is new on Oracle 10g. The DBMS_JOB package is now deprecated and in Oracle 10g it's only provided for backward compatibility. From Oracle 10g the DBMS_JOB package should not be used any more, because is could not exist in a future version of Oracle. (I'm not sure), but for example until today I still use the DBMS_JOB ... then the choice is yours.
    Take a look on these links below about Scheduling Jobs
    http://www.oracle.com/technology/obe/obe10gdb/manage/scheduler/schuser.htm
    http://www.oradev.com/dbms_scheduler.jsp
    About DBMS_JOB, you can take a look on this link below:
    http://www.dba-oracle.com/tips_oracle_dbms_job.htm
    Cheers

  • Calculation of SLA times based on Service Organization

    Is it possible to calculate the SLA times based only on Service org?
    a) Using Service contracts i.e create SC with only org and assign the Service & Response profiles.
    Else as mentioned below.
    Please give your more thoughts.
    I maintain the Service & response profiles at "Maintain Availability and Response Times" .
    Can I access these values directly in the BADI ?
    My scenario is
    a) An agent belongs to a service org.
    b) I define these Profiles seperately for each Org (Org1 Org2 etc) at the above tcode.This manual entry.I know we dont have org to profiles mapping in the above tcode.I just painly maintain.
    c) In the BADI i check the org entered in the complaint.
    d) for Ex if the Org1 is entered I want to access the profiles for Org1.If else ladder.
    e) then use these profiles to calculate the SLA times.
    f) then save the document.
    g) Also trigger an e-mail saying the above time lines.
    Is the above flow possible??
    Let me know if you want me to post this onto another thread.
    Thanks
    amol

    Shalini,
    I will be just maintaining the service and response profiles in the "Maintain Availa..." tcode.
    There wont be exact mapping stored in any table.
    My logic would be ,i dunno whether this right or wrong..
    1) Once i get the Org ,I would compare like ths
    if( orgdata = org1)
    then service profile 1 etc.
    2) then apply the profiles to the cal of SLA times.
    I think we can achieve what you said using CRM_ORDERADM_I_BADI
    Or we need to use the BADI's specifically mentioned for serv contract det and calculation of SLA.
    As you know in SAP for SLA times we need to have the service contract for a) customer b) org  and many other parameters.then to this SC we need to associate the service and response profiles.When the SC is determined in a complaint ,the serv and resp profiles will be used to get the SLA times.
    But my requirement is to have determine the SLA times based on the service organisations.Not based on the customer and any other parameters.
    For ex : If my serv org is in India the times would be diff ..if my serv org is in US the times would be diff.
    So let me know what approach would be best ?
    Use BADI's as above or does this approach of having define different Service contracts (without having Partner functions customer etc) for diff orgs?
    Thanks
    Amol

  • Sales orders in TDMS company/time based reduction  are outside the scope

    Guys,
    I have had some issues with TDMS wheras it didn't handle company codes without plants very well. That was fixed by SAP. But I have another problem now. If I do a company code and time based reduction, It doesn't seem to affect my sales orders in VBAK/VBUK as I would have expected. I was hoping it would only copy sales orders across that have a plant which is assigned to a company code that was specified in the company code based reduction scenario. That doesn't seem to be the case.
    VBAK is now about one third of the size of the original table (number of records). But I see no logic behind the reduction. I can clearly see plenty of sales documents that have a time stamp way back from what I specified in my copy procedure and I can see others that have plant entries that should have been excluded from the copy as they do belong to different company codes than the ones I specified.
    I was under the impression that TDMS would sort out the correct sales orders for me but somehow that doesn't seem to be happening. I have to investigate further as to what exactly it did bring across but just by looking at what's in the target system I can see plenty of "wrong" entries in there either with a date outside the scope or with a plant outside the scope.
    I can also see that at least the first 10'000 entries in VBAK in the target system have a valid from and to date of 00.00.0000 which could explain why the time based reduction didn't work?
    Did you have similar experiences with your copies? Do I have to do a more detailed reduction such as specifying tables/fields and values?
    Thanks for any suggestions
    Stefan
    Edited by: Stefan Sinzig on Oct 3, 2011 4:57 AM

    The reduction itself is not based on the date when the order was created but the logic enhances it to invoices and offers, basically the complete update process.
    If you see data that definitely shouldn't be there I'd open an OSS call and let the support check what's wrong.
    Markus

  • Time Based Workflow - how to make it work?

    Hello,
    Has anyone successfully built a Time Based Workflow? Could you share your examples?
    For me it does not work properly.
    I have tried to set up 2 workflows: on Opportunity Close Date and Account Contract Expiration Date.
    - Account Contract Expiration Date: I want an Account Owner to get an email notification exactly 6 months before the contract with his client expires. However - the email is triggered each time the record is modified - so I have seen in the workflow monitor that users on the date of contract expiration - 180 days will receive as many emails as many times they modified the record! Is there a way to avoid this situation?
    - Opportunity Close Date - I want to send an email to Opportunity Owner's Manager - 10 days after the opportunity was closed. However - there will be the same issue as above + the wait action is not working with a PRE function.
    Please let me know what you think and if you have already built a Time Based Workflow that works correctly.
    Edited by: MagdaR on May 18, 2010 1:57 AM

    Let's start with the workflow for Opty Close Date.
    There are a lot of ways to do this, so you'll need to evaluate which way is best for your case, but the basics are to check to ensure that the opty is closed for the first time, then set the flag. In order to accomodate for the opty being closed when it is created, you will have to consider a post default for the flag in addition to the workflow.
    In this case, you could create a workflow on Opty using the before modified record saved trigger event. In the Rule Condition, have the workflow check for a closed opty and if the status changed to closed during this modification. There are a number of options to validate this, including sales stage = Closed/Won or Lost, Closed Date is populated for the first time, Status is closed. In any case, just validate that the opty was closed for the first time using the PRE Function (i.e., PRE(Closed Date) is null and PRE(Closed Date)<>Closed Date). When your condition is met, set a flag that will trigger the event. You could also add a date that the wf conditions were met the first time, to ensure that you track when the rule was originally triggered.
    The next step is to have a workflow that unsets the flag if the conditions are not met. Set the order on this one to follow the rule above.
    The last rule is the wait/email rule and it uses the when modified record saved event. This rule triggers on the flag being checked, then waits to send the email.
    Test this and validate that it will work for your purposes. Based on this workflow, you should be able to create the other one, and I can help if you have any issues.
    Good Luck,
    Thom

  • Define Time-Based Fields for Cost Centers

    Dear All!
    I would like to know , how I'm abale to cahnge the setting
    of business area for Time-Based Field of Cost Centers to period
    Transaction is OKEG
    Would be thankful

    You can maintain master data for cost centers, cost elements, activity
    types, and business processes with time dependencies. You can make
    changes at any time for any given time interval. Data storage also takes
    place with a time reference. In this way, a master data record can have
    multiple database records storing different information.
    The smallest interval is one day. To ensure data consistency, you
    cannotchange each field daily. The timeframes in which you can change a
    field depend on the field functions, which are fixed by the SAP R/3
    System and cannot be changed. Master data maintenance includes an
    automatic check for each field's time-based consistency, resulting in
    individual time-based maintenance for each field.
    Regards
    Prabhu

  • Repository Services - Time based publishing missing

    Hi,
    We are running NW07, and want to configure time based publishing.
    I can't find the Repository Services for this it is suppose to be under
    System administratoin -> Content Management -> Repository Services
    But it is not,
    can anyone help?

    After that, you have to define the real lifetime
    http://help.sap.com/saphelp_nw70/helpdata/en/e8/a9a76828b8dc469969ff450ec81ced/frameset.htm
    An keep in mind that only users with not more than read permissions will see the document only during its lifetime. Users with write additional permissions can always see it
    Kind regards
    Karin

  • Time Based Publishing - Not Working

    Hello SAP KM Gurus-
    I had configured Time Based Publishing to work on our clustered portal.  Everything worked fine until we went to a central instance / dialog set-up.  Now Time Based Publishing no longer works and I can't seem to get it to work no matter what I do.  I have so far:  scheduled the job on only one instance (as per the clustering guidelines in SAP Library), turned it on with properties with the repository (and for the folder I wish to use) and have checked to make sure the service is okay in KM Configuration.  However, it seems like the job never comes by to hide the documents b/c they just show up for Read users no matter what I change.  As I stated before, this was working fine until we went to the new configuation.
    I've checked SAP Notes with no luck.  Anyone have any idea why this is not working?  I'm fresh out.
    Any help greatly appreciated...
    Jim

    Hello Anjali-
    Thanks for your post.  Yes, I have checked that.  Here are my settings - I have Check Valid From assigned to one instance running on  the Central Instance and Check Valid To assigned to the other instance (we have two instances on each server) as per the help docs.  In component monitor, tbp is coming up green and the properties it is State-Ok.  On the repositories, I have both tbp and properties assigned and when I enable tbp I can get the lifecycle tab for the documents.  It appears as if everything is set up right.  However, the read users can see the documents just fine when they shouldn't.  It seems as if the Check Valid From and Check Valid To jobs just never run.
    Is there anyway I can see if the jobs have run and what the schedule was?  The tbp report also showing nothing...  Does it look like I'm doing anything wrong above.  I'm on EP 14/KM 14 by the way...
    Thanks for your help-
    Jim

  • Time-based publishing

    Hello All,
      I'm trying to use lifetime documents following this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/5b6635f5e0ef428fb513336881679b/frameset.htm
    So I have done thoose steps:
                  activate lifetime property in my folder
                  activate tasks "valid from" and "valid to"
    I'm trying to activate time-based publishing service (TBP) but I'm unable to find it in the portal.
       I have loocked in System Administration->System configuration->KM->Content Management->Repository Services and in System Administration->System configuration->KM->Content Management->Global Services without sucess.
       How can I check/configurate if TBP is running on the Portal?
       Do I have to do something more for use lifetime documents service?
       I'm using NW 2004s and EP7.0
       Thanks in advance,
       Regards

    Hi Yaiza,
    TBP service should be running in your portal but the configuration of the service cannot be changed. You need only to register this service with a repository and you must also register the application property service as it is described here: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c1/c87d3cf8ff3934e10000000a11405a/frameset.htm">Time-Dependent Publishing Service</a>
    This registration is done by default for standard /documents repository in the portal.
    Please be aware that the user with read/write permission for the folder where you have activated Time-dependant Publishing will be able to see all documents in that folder. Please refer to this: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e8/a9a76828b8dc469969ff450ec81ced/frameset.htm">Lifetime of Documents</a>
    Please remember to set valid time periods for your documents. When time-dependant publishing is activated properties <b>valid from</b> and <b>valid to</b> have the same value by default.
    One more thing is to set correct CM systems for scheduler task for TBP (at least on system in clustered environment) <a href="http://help.sap.com/saphelp_nw70/helpdata/en/d1/5b6635f5e0ef428fb513336881679b/frameset.htm">Scheduler Tasks for Time-Dependent Publishing</a>
    Hope it helps,
    Best Regards,
    Michal M.

  • Time Out parameter in SAP BW

    Hello
    I wanted to know if the Time Out Parameter in SAP BW shoul have the same value of the business object time Out parameter?
    Thanks for your help.

    Hi,
    In BW you will rdisp/wp_max_runtime has a program execution timeout parameter ..
    BO is a web-based application and hence it will not have same parameter. In BO you will have HTTP timeout parameter.
    Hope this helps.
    Regards,
    Deepak Kori

  • Time based scheduling  of adaptors in NW 2004S

    Hi XI gurus,
    I know that time based scheduling  for adaptors(Let say polling starts at 2 AM daily) can be done in SP19 of NW2004.
    Could anyone tell me in NW2004S this feature  is availbale or not and if yes on which SP ?
    Regards
    Vijay

    SAP NetWeaver 2004 SP Stack Release to Customer (RTC) Additional nformation 
    SPS 21 Calender Week 42, 2007 (planned) 
    SPS 20 May 3rd, 2007
    SPS 18 August 22nd, 2006
    more detail
    https://websmp106.sap-ag.de/~sapidb/011000358700001130682005E
    SAP NetWeaver 2004s SP Stack Release to Customer (RTC) Additional Information 
    SPS 14 Calendar Week 45, 2007 (planned)
    SPS 13 Calendar Week 32, 2007 (planned)
    SPS 12 Calendar Week 21, 2007 (delayed)
    SPS 11 March 5th, 2007
    more detail
    https://websmp106.sap-ag.de/~sapidb/011000358700004584092005E
    hope help you!
    Please Award points if help is useful .

  • Message Based Trigger

    Hello
    I am creating a message based trigger to trigger my process with webservice operation. While creating the trigger, the EndPoint Name field is uneditable. So I cannot edit the host name and port.
    When I deploy the process I am getting an exception saying WSDL port bindings are not present. My WSDL is working fine.
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. The passed WSDL is not supported by the proxy generator. It does not contain any WSDL bindings. 
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.initInterfaceMappings(ProxyGeneratorNew.java:915)
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateAll(ProxyGeneratorNew.java:342)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertServiceAltDescriptor(WSAltConvertor.java:228)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertServiceAltDescriptors(WSAltConvertor.java:202)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertWebServicesJ2EEEngineAltDescriptors(WSAltConvertor.java:182)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convert(WSAltConvertor.java:128)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.extractWebServicesJ2EEEngineDescriptors(WSDeployProcess.java:276)
         ... 27 more
    atcom.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException.writeReplace(WSDeploymentException.java:60)
    What could be cause of the issue?
    Is there any other way to pass an input parameter to a process?
    Thanks
    Vidyadhar

    Hi Mireille,
    I don't think this can be done using Default data. You need to implement BADI /SAPSLL/PRN_DET. You will find method MSG_DET_RESULT_MODIFY, where you need to write your conditions to activate or deactivate a message. But please note this is not going to bypass the standard Activity sequence flows unless and until you do something related to that.
    Regards
    Dhilipan

  • Time-based publishing in Web Page Composer

    Hi,
    I'm evaluating Web Page Composer (WPC) for a customer and one of the requirements is time-based publishing for web pages and navigation, but I can’t find any information on that subject.
    Do you know if it’s possible to set up time-based publishing for WPC pages?
    Thanks
    Martin

    FYI.
    I contacted SAP about time-based publishing for WPC pages and unfortunately this feature is not implemented in current versions of WPC. My request has been added to the feature request list for future versions.
    Regards
    Martin

  • Scheduling Time Based Jobs using Web Dynpros.

    Hello Again,
    I would like to know if it is possible to perform time based jobs using Web Dynpros, I have a situation where a Web Dynpro application updates a Database and then later during the day say at around 9:00 PM, I would like the Web Dynpro application to transfer all the updated Data to another Database, I know we can run a batch job but can we run create a Web Dynpro application to programatically fire a batch job at the required time.
    I am welcome to any suggestions.
    Best Wishes,
    John.

    Hi John,
    WD is not good option for this. I would suggest you to "extract" logic to separate layer and use Timeout service (http://help.sap.com/saphelp_webas630/helpdata/en/6b/2550d23ef1994580114d6064bc44a1/frameset.htm) - call logic from service.
    Best regards, Maksim Rashchynski.

  • Time Based Workflow - update existing activities?

    Hi, I've added a checkbox field to my activities template, and wondered if it is possible to update this field on existing >124K activity records using a time based workflow. <br><br> Has anyone come across this requirement, or have any thoughts on how to solve the issue? <br><br> Thanking you in advance for assistance.
    Edited by: Sherry10602332 on Oct 11, 2010 12:07 PM

    Hello SKJ
    Your requirement is to send an email notification to an owner if the Opportunity remains with sales Stage = "Inquiry" for more than 90 days.
    New Record Saved.
    This means even the opportunity can be modified but the sales stage should not change. For e.g. when i create a new record, I can have the sales stage as "Inquiry" and save. At a later date I can modify the description of the opportunity (this would change the modified date), but the sales stage remains at Inquiry. Thus the notification should go 90 days after the sales stage has been set and not since last modified date. Keeping this in mind the condition the rule condition "Rule Condition : Sales stage = "Inquiry" and modified date = Created date" needs to be modified as Sales stage = "Inquiry".
    Coming to Modified Condition:
    Trigger Event - When Modified Record Saved
    Rule Condition : (PRE('<SalesStage>')<>[<SalesStage>] AND [<SalesStage>]="Inquiry") OR ([<SalesStage>]="Inquiry")
    Wait 90 Days
    Revaluate Conditon = 'Y'
    Action Send Email Notification
    Explanation
    When you set the sales Stage as "Inquiry", the condition (PRE('<SalesStage>')<>[<SalesStage>] AND [<SalesStage>]="Inquiry") would be satissfied and then the workflow would trigger. After 90 days if the sales stage is still in "Inquiry", the second part of the condition "[<SalesStage>]="Inquiry" would be satisfied and the email notification would be sent. If the sales stage has been changed to other sales stage, then the condition would fail and the notification would not be sent.
    Regards,
    Paul Swarnapandian

Maybe you are looking for

  • Convert swf/fla

    I have a problem with Flash converting. I have a one swf file that will not open in Adobe Flash. The problem , however, is the following . I want to edit swf file and to access the fla file , I use Sothink decompiler where I convert the same Swf file

  • Troubleshooting Leopard printing problems

    Leopard printing problems fall into several categories a) Faulty or missing Leopard print driver b) Faulty implementation of the print command from the active application c) Faulty equipment, eg printer, cables, etc d) Faulty networking/sharing e) Fa

  • GMA 950 vs GMA X3100

    I am trying to decide on which MacBook to get (new for referb). How does the GMA 950 differ from the GMA X3100? I know the GMA X3100 using more memory (not a problem I plan maxing out the memory on the machine. Just wondering if the GMA X3100 is fast

  • Info on package size

    Hi, I would like to understand what does this setting means in infopackage Maximum size of a data packet in kByte = 50000? How do I determine what is the package size that is going to come from the source system? Is there any documentation or notes t

  • IPhoto book import/templates

    I upgraded to Aperture 3 when it was released and upgraded to Snow Leopard at the same time. I now need to reprint a book I created in iPhoto 08 and have just realized this wasn't imported to Aperture. In reading the discussion groups it appears that