Automatic creation of Calendar entries

Hi. I'm trying to find a good solution to the following. I think Applescript may hold the answer but I'm hoping someone has already done something that may fit the bill already.
My situation is that I have Mountain Lion on my MBP as well as an iPhone and iPad. My wife also has an iPhone and iPad. We both have iCloud calendars shared to each other so we can check when we're each working (we both work freelance so no regular hours). I also have an Exchange based calendar where most of my work is managed.
What I'd ideally like to do is set up something that creates entries in my Exchange calendar saying 'Unavailable' when we set a personal event in an iCloud calandar and I'd like to set entries saying 'Working At Home' or 'Working Away' in the iCoud calendar based on new events in the Exchange calendar (the two states dependant on whether the location of the event is 'home' or elsewhere - a straight copy of the location would be the ideal. I'd like the entries to be created automatically when new events in either calendar are created. I'm currently jsut creating two calendar events whenever one is set up but I'd rather not have to. It would be better for the second one to be automatic and even better if they were somehow linked so that changes would be reflected.
My question really is: can I achieve this with Applescript and if so can someone point me in the right direction (or just give me the answer ;-)) I'm guessing that the behaviour I'm trying to achieve is actually beyond a simple scripting task so I may have to write something a bit more complicated than just a script. Any help much appreciated though.

for assigning the primary key while using insert statement, write a piece of code to get the last pk value, increment it by 1 and then assign this value to the pk field of the next record while inserting. if you are using a fn mod to insert values, just have this piece of code right before the insert query. a better way would be to use a GUID which will be unique globally. there is a fn mod GUID_CREATE which you can use to generate GUID. i don't think there is a way to automate this while making entries using se11, unless you change the code that actually creates the entry in the database.

Similar Messages

  • Automatic Creation of primary key at the time of creating entries

    Hi All,
    I have a requirement to generate the primary key automatically at the time of creating entries. I have managed to do so by writing an event code for the maintainance object in SE54.
    However called only when I create entries throught the Maintainance View.
    It does not get called when I write an insert statement in the program.
    Please suggest a way to achieve this.
    Thanks in advance,
    Archana.

    for assigning the primary key while using insert statement, write a piece of code to get the last pk value, increment it by 1 and then assign this value to the pk field of the next record while inserting. if you are using a fn mod to insert values, just have this piece of code right before the insert query. a better way would be to use a GUID which will be unique globally. there is a fn mod GUID_CREATE which you can use to generate GUID. i don't think there is a way to automate this while making entries using se11, unless you change the code that actually creates the entry in the database.

  • Calendar entries automatically deleted

    I synced my iPhone 3GS for the first time today since upgrading to iOS4 and in the Calendars app my new Calendar entries for the next two months were deleted from the iPhone and not transferred to the desktop Calendar! Any ideas why?

    exactly the same problem occured to me! after sync with itunes, calender-entries I made on my iphone have disappeared, but those I made on my mac in ical have been properly transfered.
    (second problem: the birthday-thing (all birthdays are doubled on the iphone, but not on ical)

  • Prevent auto creation of service entry sheet

    Dear friends,
    I am using maint plan for creating service entry sheets automatically. I am using framework order where I give the validity period. Now when I try to generate service entry sheets through the plans after the end of validity period given in framework order,the system is allowing creation of service entry sheets. Is it possible to prevent a maint plan triggering a service entry sheet if the call date for the service entry sheet to be generated falls outside the validity period given in framework order.
    best regds
    Arun

    Arun,
    This doesn't suprise me...
    I'm not sure if there is a standard solution, but you could do this via user-exit/BADI (see [here|http://www.sapfans.com/forums/viewtopic.php?p=648307] under maintenance plans )
    PeteA
    [www.pjas.com]

  • Iphone Calendar Entries don't show up on Mobile Me

    This is new problem - I think it started after I entered the latest ITunes update and MAC OS X (10.6.6)
    When I make calendar entries on Mobile Me or ICal, they automatically show up on my IPhone. However, it doesn't work the other way around. I have made calendar entries on my phone and they don't appear on Mobile Me or ICal.
    Please HELP!

    Syncing  Calendar with MobileMe is bi-directional, so if entries get from MobileMe to the phone, entries made on the phone should get to MobileMe (and to your laptop). 
    The only time I've seen your problem is with a jailbroken phone.  Is that the case here?  (Still using iOS 4.2...)

  • Stop Automatic creation and confirmation of Transafer Order for a doc type

    Hello All,
    There is a requirement that I need to stop Automatic creation and confirmation of Transafer Order for a particular document type.
    The issue is that sometimes the cycle goes upto creation of Invoice automatically but sometimes this does not happen. More over the user wants that the transafer order needs to be confirmed manually.
    Can u please provide the .steps involved for thie case.
    Thanks
    Chandrashekhar

    Dear Steve,
    Thanks a lot for giving reply with what I need to do, but I am unable to see result.
    I have down configuration like below even though system not processing Auto TO creation. Can you explain me if I have down any mistake below.
    Click on ‘Assign’ button,
    Press on ‘New entries’
    WhN = ‘900’
    Reference Movement Type = ‘101’
    Movement indicator = ‘B’
    Movement type for Whse Mgmt = ‘101’
    TR create Transfer Requirement = ‘X’
    Immed.TO Creation
    Mail confirmation for background processing = ‘01’.
    GR date = ‘2’

  • Why is my address book no longer being automatically updated with new entries?

    why is my MacBook Pro address book no longer being automatically updated with new entries?
    thanks!
    Joe

    thanks for the question!
    i have an iphone that uses addresses/contacts.  i don't use icloud because i was getting doubled calendar entries.
    updating is done "via itunes on this computer"

  • Automatic Creation of Equipment Master

    Hi Experts
    I have gone through lot of discussion available on forum but still Asset Equipment link is not working.
    I would like to create Equipment when I create Asset.
    I have done below settings.
    1) Asset Accounting --> Master Data --> Automatic Creation of Equipment Master -> Specify Conditions for Synchronization of Master Data
    here i have assigned equipment category and object type and selected direct synchronization after saving in Create Equipment
    2) Asset Accounting --> Master Data --> Automatic Creation of Equipment Master -> Assign Master Data Fields of Assets and Equipment
    here i have assigned fields here.
    When I create asset and save its only creating assets and even not getting error message . I have also checked screen layout and equipment is optional and not seems to be a problem.
    To see whether synchronization functionality works I have done settings from Equipment to Asset creation and it's working but that's not the requirement.
    I have changed the settings back to the 1) above to create equipment when asset is being created and it's not working.
    So to summaries when I create Asset - No equipment is created but if i change settings other way then asset is getting created from equipment.
    My question is what settings are missing to create Equipment when I create Assets?
    Is there any settings required from equipment side? any specific requirement on equipment category and object type?
    Thank you.

    Hi,
    Simple,
    1. Go to AOLK and check which tab layout is assigned to your asset class, to transaction group 'Others'.
    2. Go to AOLA select layout you found out at 1st step, then double click on 'Tab Page Titles'.
    3. Select tab page Allocations and click on position group on tab pages.
    4. Click on new entries and insert 'S0013', save.
    after doing this you will be able to find 'equipment' box under allocation.
    and regarding asset synchronization..
    Asset Accounting --> Master Data --> Automatic Creation of Equipment Master -> Specify Conditions for Synchronization of Master Data
    In this step, under the box 'Edit Asset Master Record' mention,
    Create Equipment                 2 Direct Synchronization after saving
    Change Equipment               2 Direct Synchronization after saving
    Make sure you do not have any other field 'required' in equipment creation and not assigned to asset field.
    After doing this you should be able to get equipment created automatically..
    Regards,
    Sayujya

  • Automatic creation of PR after MRP run

    Hi,
    can anyone please tell me what all fields are picked up in a Purchase Requisition(PR) in the scenario of automatic creation of PR after MRP run.
    If we are using more than 1 PR type in the system how is it determined during the MRP run that the PR will be created for which type.I understand that source list will have to be created and maintained but how is the PR type determined
    Thanks in advance

    In PR the system checks for the material and vendor. See the steps below.
    Step1:Auto PO tick in material master Purchasing view (mandatory)
    Step2:Auto PO tick in vendor master Purchasing view
    Step3:Maintain Source list for vendor and material (If u r not using source list for auto PO creation, the assign the Source of supply to a PR in ME56)
    Step4:Maintain Pur. Inforecord
    Step5:ME59n : execute for PR and Vendor In ME59n, you can also select the PR document type. If you want to select different document types, go for multiple entries and enter the doc types.
    When u execute, the system will give the appropriate PRs. Select the required and convert to PO.
    But through MRP you cannot create PO directly only Planned orders can be created.
    Reward if helpful..
    Thanks,
    Srib

  • Automatic creation of Vendor in FI from Business Partner

    Hi, experts!
    We are looking into a process to automate the creation of vendor master data in FI Accounts Payable for our employees and to keep them in sync as employees' names, banking and address info change over time. We use concurrent employment, and we noticed that running PRAA as a mass-update job to create vendor records for all employees will create duplicate Vendors for employees who have more than one active Personnel Assignment.
    We are now looking into the possibility of using the Business Partner as a means of pushing HR data into FI within the same ECC6 system. So far, we have been able to turn on the automatic creation of BPs when new employees are 'hired' into our test system via transaction PA40. We can also use the program HRALXSYNC to create the BP for existing employees. Once these BPs are created, master data updates flow from the employee master data in HR to the BP. However, we can't seem to get the system to automatically create a Vendor record for this BP and have that linked together at the same time.
    Is this possible? If not, is there a transaction that can be run to do a mass creation of Vendor records for Business Partners that don't already have one?
    I can see that our BPs have been assigned to the proper Role in table BUT100, and we have "define(d) vendor link for business partner roles" in V_TBC002 to be "vendor-based". What configuration step might we be missing?

    Hi, Mahesh
    Thanks for the response!!  We have already created an entry in this table for Role Category = BUP003 (the SAP-delivered role category "Employee").  In this table, we have chosen the "Vendor Based" radio button, since we want Vendor master data to be created for all BUP003 business partners that are created.
    Which function modules need to be activated via the SPRO path Cross-Application Components -> SAP Business Partner -> Data Distribution -> Activate Function Modules in order to have Vendors automatically created whenever a specific role of BP is created?
    Thanks again for all your help!
    - Steve Miller

  • FI-AA and the Automatic Creation of Equipment Master Records

    Our client is currently on SAP R/3 4.7E and per SAP Notes 176056, 370884, 361520, releases above 4.6B should be able to automatically create an equipment resord master record from within FI-AA.  Configuration shows that undaer FI-AA Master Data the integration should be possible, but we have tested and cannot get it to work.  No equipment record is ever created. 
    Has anyone been successful in performing this function?
    What are we missing?
    Thank You.
    Ruthie

    Hi,
    Simple,
    1. Go to AOLK and check which tab layout is assigned to your asset class, to transaction group 'Others'.
    2. Go to AOLA select layout you found out at 1st step, then double click on 'Tab Page Titles'.
    3. Select tab page Allocations and click on position group on tab pages.
    4. Click on new entries and insert 'S0013', save.
    after doing this you will be able to find 'equipment' box under allocation.
    and regarding asset synchronization..
    Asset Accounting --> Master Data --> Automatic Creation of Equipment Master -> Specify Conditions for Synchronization of Master Data
    In this step, under the box 'Edit Asset Master Record' mention,
    Create Equipment                 2 Direct Synchronization after saving
    Change Equipment               2 Direct Synchronization after saving
    Make sure you do not have any other field 'required' in equipment creation and not assigned to asset field.
    After doing this you should be able to get equipment created automatically..
    Regards,
    Sayujya

  • " Automatic creation of Cost object owners"

    Hello Experts,
    I am working on a rollout project, for "Inter Company Service Invoicing (ICSI)"
    Presently my client requirement is " Automatic creation of Cost object owners"
    First of all i will explain the process
    In ICSI there are two parties one is Service Requestor(SREQ) and other one is Service Provider(SPROV)
    Depending on SREQ requirement SPROV will create a SO and send it to SPROV
    It will reach SREQ contact person, he will updates Cost objects, and send it to SREQ reviewer person, he will check the cost objects and send it to Cost object owner of the SREQ.
    He will approve the SO, once all approvals hasbeen done, then system automatically converts SO to IV, and post entries on both sides automatically ata the same time.
    Here my requirement is on SREQ side the Cost Object Owner should find automatically.
    And we done this proces in Portal itself.
    Your suggestions will be great help to me, and are appreciated.
    Thanks in advance
    Any inputs please...............
    Regards,
    Satya.

    Hello Ajay,
    Thank you for the response.
    But my requirement is not to populate cost objest.
    It is the approval flow. The reviewer person will check and add the cost objects to the service order and send that Service Order for the final approval i.e.. Cost Object Owner.
    So here my requirement is the System has to create that Cost Object Owners Automaticlly
    How can i achieve this?
    Regards,
    Satya

  • Automatic creation of billing from VF04

    Hi all,
    i want to automate creation of billing document for all the deliveries for which PGI done.
    i think we have to define a job which will call VF04.
    my question is when we do VF04 manually, we have to give selection criteria like sales org etc and then it displays the list of all the deliveries and then we have to select the deliveries manually and press collective billing/individual billing.
    so when the batch job calls the VF04, how will the batch job tells VF04 to select all deliveries and generate the invoices.
    regards
    sachin

    Hi there,
    When you schedule a job, there is something called variants that you maintain for each prog in the job. The variants wiol take care of all the entries that we manually do in VF04. In the variants you will mention the shipping points, sales org, dates etc.
    In SM37,search the relevant job, select the job & click on steps. It will display the progs of the job. Next to the progs you will find the variants. Select the prog in the step & display variants. It will display the variants will all the selection options.
    Regards,
    Sivanand

  • Non-recurring calendar entries did not restore from backup

    I synch contacts and calendar from PC, music and video from Mac. In the past, when I synced a new iphone for the first time, the backup on Itunes on my Mac automatically restored all contacts and calendar entries onto the new iPhone. Today, however, when I did the maiden sync on new 3GS (old iphone was first generation), my contacts and settings seem to have generally been restored, but none of my calendar entries made it over except for a few repeat calendar entries. I'm assuming I will pick up the missing calendar entries when I do my first sync to PC, but does anyone have a theory as to why this happened? Shouldn't all contacts and calendar entries be restored from the backup on the Mac, even though I do not keep my contacts and calendar on the Mac? Thanks for the help.

    Follow up to my post -- I now realize that the contacts that got restored to my 3GS are in fact way outdated -- so it appears that the backup from which I restored, while it seems to have had current settings, had very outdated contacts and calendar. It may be that at one time the backup process captured contacts and calendar but no longer does, which I guess means the user has to sync to the computer where he syncs contacts and calendar to get current data onto the iphone (just like I did for music). This may sound obvious to most people, but bear in mind that my 3GS got a list of contacts (and some calendar entries) from SOMEWHERE when I synced to my Mac, even though my Mac has no such data (it is on my PC in Outlook).

  • How can I change the time zone for a calendar entry with iOS 7?

    I want to make a new entry in my calendar (iOS 7) using a different time zone as the one I'm located in. There isn't any option to choose the time zone like there is in OS X.
    I know I can switch off the option to automatically change the time zone in the preference pane of Mail, Contacts and Calendar to get the option in calendar but I want to use this automatic switch.
    Is there any option to change the time zone of a calendar entry without loosing this automatic switch?

    Got it!
    In your backing file you'll need the following in your handlePostbackData method:
    BookBackingContext bookCtx = BookBackingContext.getBookBackingContext(arg0);
    bookCtx.setupPageChangeEvent("PageLabel");

Maybe you are looking for