All Day Event while sending appointment as an attachment

Hi SAP Gurus,
I have a requirement as changing the multiple day to an "All Day Event" instead of specific start and end times while sending an appointment ( .vcs file )as an attachment through ABAP.
Currently the .vcs attachment has multiple day option but the user want the attachment to be an All Day event whenever the mail is sent.
How can we achieve this Programmatically.
Thanks for your help in advance.
Regards,
Sameena.

Hi,
Please refer to the following code...
*get smartform name
   CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
   EXPORTING
    formname = 'ZSTC_STUDIO_CONTRACT'
   IMPORTING
    fm_name  = v_fnam.
*control paramters
   wa_ssfctrlop-no_dialog = 'X'.
   wa_ssfctrlop-getotf = 'X'.
   wa_ssfctrlop-preview = space.
   wa_ssfctrlop-langu = 'E'.
   wa_output_options-tdnoprev = 'X'.
   wa_output_options-tdtitle  = sy-title.
   wa_output_options-tddest   = 'LOCL'.
   wa_output_options-tdprinter = 'PDF1'.
  CLEAR v_vbeln .
  v_vbeln = nast-objky .
*dyanamic call to smartform fm
  CALL FUNCTION v_fnam
   EXPORTING
    control_parameters = wa_ssfctrlop
    output_options     = wa_output_options
    user_setting       = ' '
    vbeln             =  v_vbeln
   IMPORTING
    job_output_info    = wa_job_output_info
    job_output_options = wa_job_output_options.
*Function module For F4 Help for File Name in presentation server
  CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
      program_name  = syst-repid
      dynpro_number = syst-dynnr
    CHANGING
      file_name     = lv_file1
    EXCEPTIONS
      mask_too_long = 1
      OTHERS        = 2.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
*Convert to PDF
CALL FUNCTION 'CONVERT_OTF'
  EXPORTING
   format = 'PDF'
  IMPORTING
   bin_filesize = mi_bytecount
  TABLES
   otf = wa_job_output_info-otfdata
   lines = lines
  EXCEPTIONS
   err_conv_not_possible = 1
   err_bad_otf = 2.
*Download to ur PC
  file = lv_file1.
  CALL FUNCTION 'GUI_DOWNLOAD'
   EXPORTING
    bin_filesize = mi_bytecount
    filename = file
    filetype = 'BIN'
   TABLES
    data_tab = lines[].
  IF sy-subrc = 0.
   MESSAGE 'Downloaded Successfully' TYPE 'S'.
  ENDIF.

Similar Messages

  • Issue: all day events arent shown in year view

    Hi,
    the normal behavior would indicate an event in bold in the year view. but this only happens on days where normal events (no all day events) have been set up.
    i cross checked it with a 2012 client. working as expected. all day events show up in the year view.
    excerpt from the manual:
    Code:
    Changing How All-Day Events Are Displayed
    You can change the way that all day events are accepted into your calendar by using the Options menu.
    1. Click Tools > Options, double-click Calendar, then click the General tab.
    2. In the Accept Options area, click the drop-down menu located beneath Accept All-Day-Events I send to myself as, then choose the option you want.
    3. Click OK.
    sry, but i dont see how i can change the way how all day events are displayed.
    is there still a need to copy the view files to the groupwise server?
    thx

    bahsig wrote:
    > sry, but i dont see how i can change the way how all day events are displayed.
    The setting you quote is actually to determine how all-day events that you
    create for yourself are handled (for any future event you create). By default,
    all-day events have a display of "free" (as opposed to "busy" or "tentative" or
    "out of office"). If your calendar is "free", then there is no bolded
    indication that you have something scheduled in the year view.
    If you look at an all day even in your calendar, you will see a box under
    recurrence that says either "free/busy/out of office/tentative". In order for
    an all day event (or any event really) to bold the calendar number, this value
    cannot be "free".
    There is no need to copy views to the Post Office any longer. Views are in a
    fixed location on the server (/opt/novell/groupwise/agents/data) and the POA
    always has access to them.
    Danita
    Novell Knowledge Partner
    Upgrading to GroupWise 2014? We've got you covered
    http://www.caledonia.net/store
    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  • All Day Event

    Hello.
    I tried get state 'All Day Event' from new appointment.
    Using the documentation 'GroupWise Tokens' I found only ItemSetAllDayEvent().
    How I can get state 'All Day Event' ?

    My application has integration with GroupWise. I use C3PO interface for integration.
    Application works with appointment window. Application creates a button on the toolbar and gets values from fields of appointment form.
    For create a button I use C3PO interface. For getting values from fields of appointment form I use GroupWise Tokens, exactly Token Commander. https://www.novell.com/documentation...dk_gwtoken.pdf
    Example using GroupWise Tokens:
    Retrieve field 'TO'
    string NewMessageID = "X00";
    string result = string.Empty;
    // 0 - To
    string method = string.Format("ItemGetText(\"{0}\"; 0)", NewMessageID);
    _gwCmder.Execute(method, out result);
    Retrieve field 'Start Date'
    string dateString = string.Empty
    // 126 - BeginDateTime
    // 174 - MAPIDate. Returns in format: Year/Month/Day 24HR:MIN.
    string method = string.Format("ItemGetDate(\"{0}\"; 126; 174)", NewMessageID);
    _gwCmder.Execute(method, out dateString);
    So, I can retrieve 'Body', 'Start Date' ,'End Date', 'Subject', 'To', I can set state of checkbox 'all day event' -> https://www.dropbox.com/s/fmzywxj0iq...ample.png?dl=0
    Example of setting checkbox state :
    string result = string.Empty;
    string method = string.Format("ItemSetAllDayEvent(1)");
    _gwCmder.Execute(method, out result);
    Result -> https://www.dropbox.com/s/0ca38ypx27...ample.png?dl=0
    But I can't retrieve state of checkbox 'all day event'.
    I didn't find any function for retrieve state of checkbox 'all day event'
    How can I get state by another way?

  • Latest Organizer update in the Blackberry Desktop Software does not sync Outlook 'all day events' in Calendar properly

    On my Blackberry Torch 9810:
    When syncing with Microsoft Outlook 2007 for an 'all day event' in Calendar, Outlook stores the appointment as from 12:00am to 12:00am so Blackberry Organizer thinks it is an appointment for 2 days rather than one.
    So for example if you make an 'all day event' entry for Feb 25 in Outlook, Blackberry Organizer syncs it on the device as an "all day event" on Feb 25 and Feb 26.  Very annoying indeed!
    Technically Outlook should store it as 12:00am to 11:59pm for a one day
    event.    But since they don't, I hope Blackberry will fix Desktop Organizer
    Software to cope with this issue and send out a new update!
    Does anyone know anything about this?

    I was getting a similar problem... birthday and anniversary and some other all-day events (but not all!) in Outlook were being set to either 1pm-1pm or 2pm-to-2pm, from the day before to the day of the actual event.  e.g. my New Years Day event was being set as starting 31 Dec 1pm and ending 1 Jan 1pm.  The 2pm vs 1pm difference seemed to correlate to the times of the year without/with daylight savings.
    Presumably I'm seeing 1pm or 2pm and not 12am-12am due to my own time zone (GMT +10).
    I made the change recommended by Bifocals and it has fixed this problem.  However, I did need to -manually- go through and change all the events in Outlook back to be proper all day events - that did not happen automatically.
    For those (like I was) wondering how to set the "the corresponding options on the Blackberry"... you open the Blackberry Calendar, then hit the application button, then scroll to Options then General Options.  The Start of Day and End of Day settings are what need to match Outlook.  FYI, I have a Bold 9000 and am using Outlook 2007.
    I'm really hoping that when I next upgrade my Blackberry software that it retains this setting change.  I find it really annoying that some (or all?) other settings (e.g. Mobile Network: Data Services & While Roaming) are reset to defaults on every software upgrade, meaning I have to remember what I set and to go back and set them again after an upgrade.  Grrrrr.....

  • Recurring all day events

    Please could support for weekly/monthly recurring all day events be added back into PC Suite?
    In the past, calendar entries of this type were correctly synced to the phone. Since I've upgraded to the latest version of PC Suite this functionality has gone and only the first occurence is synced.
    I appreciate that the phone doesn't natively support all day recurrence but that didn't seem to present a problem in the past.
    All day recurring events are the intuitive way to diarize in many situations...
    For example, I work on many different customer sites througout the week. For days when I am on a customer site, I also need to schedule individual meetings to take place on that site.
    Prior to the update to PC Suite I was able to use an all day event to describe which location I would be in and individual meetings to describe what I would be doing while I was there. If I have to switch to using an appointment to also describe where I am each day the calendar quickly becomes very messy and Outlook complains that the appointments overlap.
    Reading through the forums the most common suggestion is essentially to "change the way that you use Outlook" which if I was the only person managing my calendar wouldn't be too difficult. Unfortunately my calendar can be accessed and managed by many other people and I don't think it's sensible that I should train other users to do something that's counter-intuitive just because of a limitation of PC Sync!
    FYI I'm running N95 classic V21.0.016, Outlook 2003 & PC Suite 6.85.14.1
    If anyone can provide an insight into why this functionality was removed or some workaround that I haven't considered I'd be grateful.
    Regards
    Mark

    in the past (I mean 2-3 years ago with some S40 phones some recurring items where split by pc sync toidividual items in phone but that created more problems because any change to such events would no longer sync properly (because you had one meeting in Outlook (that only had a recurring tag with many meetings in phone with no recurring tag) and also individual many meetings in phone will fill the phone memory.
    As frustrating it may be, this is not a simple limitation of pc sync, but a fact that Nokia phones have different data models than Outlook.

  • All day event as memo

    Hi,
    I use MFE for syncing my calandar. In the past while using the PC suite an all day event was shown on my E65 as a memo. This was fine because one could see the event the whole day.
    Now with MFE it syncs as an appointment.
    Is there a possibility to sync all day events as a Memo or Birthday?
    Thanks,
    Regards, Edwin

    Interesting.
    I've seen a mix up with journal entries before, are you using the standard notes template?
    Could it be that incorrectly or non standard names for notes forms in the template and the application does not know how to input the data?
    What are you using to synchronise your mail?

  • All-Day Events Don't Appear in Calendar of Today Theme on Verizon 8330 Curve

    I have a new Verizon 8330 Curve synchronized with my Outlook desktop calendar.
    Using the BB Today Theme, only those calendar events lasting less than one day -- one hour, 15 minutes, etc. -- appear under the calendar on the home screen. No all-day events appear on the home screen.
    The Today theme apparently does not recognize all-day events.
    This is not acceptable. I have plenty of all-day events in the calendar that ought to be appearing on the home screen, alongside 15-minute events, when they're coming up next.
    The Verizon tech people are totally perplexed by this, saying they've not heard of such an issue. They think there may be a problem with the Curve device, and they're sending me a new one.
    However, I've seen a fair amount of discussion online concerning this quirk, so it seems like there's a bona fide synchronization problem between the Blackberry calendar/theme and Outlook as it pertains to all-day events.
    Could somebody from Blackberry please weigh in with a definitive solution? I can't be the only guy in America who care about the fact that birthdays, anniversaries, etc. are not appearing on the BB home screen under the Today theme.

    I take it then you don't have a memory problem. Just to clarify, your events on the calendar are fine, it's just the display
    on the home screen where they disappear?
    Have you tried a battery pull to reset all options?  Pill the battery from the phone while it is ON, leave it out for about a
    minute and replace. Leave the system completly reboot 1-2 minutes and see if the problem continues. This is a common fix on these forums.
    Let us know!
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Outlook 2010 all day Event sync Problem

    I have just migrated to a Bold 9900 (from a 9800 Torch) and am having problems with Outlook EVENTS. When they are synced via Desktop (7.0.0.43) they roll over and appear as a 2 day event. I am running Outlook client 2010 under Windows 7 and all was working well until I migrated from the Torch. I have checked Time zones on PC and phone and only issue I notice is that Windows 7 is using UTC while handset is GMT, but same is true for Torch 9800? Events are appear correctly as expected on Outlook.
    Any suggestions greatly appreciated.
    Solved!
    Go to Solution.

    Part of the problem appears to be that the new desktop manger software (v7, no longer intellisync) does not include the "All Day Event" flag as a a field that is synchronized between the blackberry and MS outlook.  You can see that this field is no longer included in the detailed field mappings for the outlook calendar. 
    You can sucessfully create and sync an all day event initially.  Problems begin when you later try to modify the "all day event".  If you try to convert the all day event into a regular appointment at a specified time, you must  "uncheck" the all day event flag on either platform (outlook or blackberry).  Desktop Manager never recognizes the change in the all day event flag (since the field is not synced), which then creates a corrupt MS Outlook entry (an appointment with BOTH a specific start/end time AND also with the all day event flag checked, is mutually exclusive in MS Outlook 2010.  Maybe somebody could fix this bug in next release....  

  • ICal all-day event problem

    iCal on my iPad worked fine for a while. Now, many of my all day events (but not all of them) are showing up a day early on my iPad on week view. Everything is fine on all other devices (iPhone, MacBook) and all is fine on iPad on day, month and list view. All timed events are in the right place. But all day events in week view are a disaster and turning off the iPad isn't helping. Any advice?

    Did you travel out of your home time zone and first notice the problem then? I spent an hour and a half on the phone with Apple Care while I was in the Central zone (I live in Eastern) and nothing the supervisor suggested worked (deleting the account, resetting, turning ipad off, etc). They'd bumped me up to a supervisor because the regular guy had no idea. Supervisor said no one on the internal tech board had seen that particular problem. The final assumption was it was a software glitch on my ipad--the advice was a complete restore which was going to have to wait until I returned home because he said it would take too long over the Verizon mi-fi I was using while traveling. Anyway--I got home to Eastern time, immediately pulled out the ipad to do the restore and all the all-day events were in the right place and have remained in the right place since then. My best guess is that it's a time zone issue but it doesn't make much sense. All my timed events stayed right where they were supposed to be the whole time (time zone support turned off).

  • How do I disable all-day events in iCal?

    For some reason, when I run iCal it'll always show all-day events regardless of how I turned it off. Given that I'm not a fan of defining an event as all-day, this is very annoying, as it pushes down my calendar and plops an annoying bar at the top that I need to manually remove. Preferences don't seem to show anything useful and google seems full of people trying to sync all-day events to various and sundry mobile phones, which isn't what I want; iCal's help is sparse as well.
    Any ideas?
    Thanks! =)

    ah yes, the default view shows all-day events every time you launch the application, no way around that, and it looks like a minor "bug". you may want to send feedback to apple: http://www.apple.com/feedback/ical.html
    hope this helps

  • Some all day events don't show in day view

    We are using Leopard server to host iCal with various machines running 10.5.8 Leopard and 10.6.7 Snow Leopard. We have 16 calendars we share under Delegates. Some calendars (on Leo & SL clients) are missing a specific "all day" event in day view but they are there in week and month view. The missing item is the same one across all machines. I've checked delegations but that does not fix it. I'm still doing a survey, but most of the machines missing the events are running SL. Anyone having this experience? Thanks

    I take it then you don't have a memory problem. Just to clarify, your events on the calendar are fine, it's just the display
    on the home screen where they disappear?
    Have you tried a battery pull to reset all options?  Pill the battery from the phone while it is ON, leave it out for about a
    minute and replace. Leave the system completly reboot 1-2 minutes and see if the problem continues. This is a common fix on these forums.
    Let us know!
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • All day events show as busy

    Calendar events that are all day events, are show as busy in our system even if we have unchecked 'Include this event in calculating availability in calendar express, or 'Show as busy' in the UWC. I gather from reading other posts, that most people have had the opposite problem if they have a problem at all, so I presume I'm missing a setting somewhere.
    Back end calendar services are on sparc:
    root@v492 sbin# ./cscal version
    Build date is: Oct 15 2003
    Version is: 2005Q4
    root@v492 sbin# showrev -p |grep SUNWics5
    Patch: 116577-24 Obsoletes: 117706-08 Requires: Incompatibles: Packages: SUNWics5, SUNWica5
    Patch: 117860-16 Obsoletes: Requires: Incompatibles: Packages: SUNWics5, SUNWica5
    Patch: 118186-16 Obsoletes: Requires: Incompatibles: Packages: SUNWics5, SUNWica5
    Patch: 116577-42 Obsoletes: 117706-08 Requires: Incompatibles: Packages: SUNWics5, SUNWica5
    root@v492 sbin#
    Front end services are on Solaris x86:
    [root@x4203-3 sbin]# showrev -p |grep SUNWics5
    Patch: 116578-24 Obsoletes: 117707-08 Requires: Incompatibles: Packages: SUNWics5, SUNWica5
    Patch: 117861-16 Obsoletes: Requires: Incompatibles: Packages: SUNWics5, SUNWica5
    Patch: 118187-16 Obsoletes: Requires: Incompatibles: Packages: SUNWics5, SUNWica5
    Patch: 116578-42 Obsoletes: 117707-08 Requires: Incompatibles: Packages: SUNWics5, SUNWica5
    Thanks for any insights!
    Ethan

    ethankromhout wrote:
    Calendar events that are all day events, are show as busy in our system even if we have unchecked 'Include this event in calculating availability in calendar express, or 'Show as busy' in the UWC. I gather from reading other posts, that most people have had the opposite problem if they have a problem at all, so I presume I'm missing a setting somewhere.I should point out that your configuration isn't supported with 2005Q4:
    <snip http://docs.sun.com/app/docs/doc/819-2568/aceas?a=view>
    Front-End and Back-End Machines and Operating Systems
    For Calendar Server installations that separate functionality across front-end and back-end machines, the hardware platforms must be the same on each end.
    More specifically, due to big-endian versus small-endian incompatibility, you can�t use both an x86 platform machine and a SPARC platform machine in the same Calendar Server deployment containing front-end and back-end machines.
    Moreover, mixing Solaris x86 and Linux operating systems for front-end and back-end machines has not been tested and is not currently supported.
    </snip>
    In Calendar Server 6.3 this limitation has been removed:
    <snip http://docs.sun.com/app/docs/doc/819-4432/aceas?a=view>
    Installing on Mixed Hardware Platforms
    In the past, for distributed database environments (DWP with CLD Plug-in), front-end and back-end processes had to be installed on the same hardware platform due to big endian-little endian problems. That is no longer true. Front-end and back-end processes can now be installed on different hardware platforms.
    For example, a front-end machine could be an X-86 platform machine, while the back-end is a SPARC platform machine.
    </snip>
    This may have something to do with the issue at hand (or could be completely irrelevant). I don't have your configuration available to attempt to reproduce the problem myself -- I attempted on a 2005Q4 SPARC single-host install but it worked fine.
    Regards,
    Shane.

  • Organizing multiple all day events in one day

    I'm trying to figure out if I can use iCal to act as my doggy daycare biz calendar.
    I tried adding each dog's appointment as an all day event, creating multiple all day events per day, however I can't figure out if there is a way to organize the order of these events. They seem to appear in the order I add them in and I can't change that. Especially when I make some of the entries repeat on a daily basis the order just gets more and more messed up. I've tried doing this with only 5 clients as a test and things are looking horrid so far. I would need to be able to enter about 20 clients, and under multiple calendars.
    Would be nice to be able to have this on my computer and on my iphone by using the iCal as opposed to maintaining my current pen and paper system. Any suggestions?

    You can't change the order of the event, they do go in based on the order they are entered.

  • IOS 7 Calendar Day View does not show any all-day events ?

    Hi,
    I realize that iOS 7 Calendar Day View  does not show any all-day events.
    Is this a bug ?
    Any help given is much appreciated.
    Thanks and Regards.

    Mine brings me right up to the current time, or in the case of another day, it takes me to the first appointment of the day.

  • Outlook all day events bug

    Some of my all-day events (like birthdays) synced over but would not show up on list view if there were other all-day events on the same day. When I edited the entry, I noticed the schedule was, on a Feb 12 for example, from Feb 12 to Feb 11 (yes, backwards). I changed the 11 to 12, made sure the all-day switch was on, and voila! My all-day even co-existed nicely with other all-day events.
    It only did that in 3-4 of 15 all-day events. Just in case anyone runs into this.

    Ditto - another one for the pile. Using Exchange Server 2007 and iPhone 4.1.
    Additionally, if I create an all-day appointment on the iPhone that spans two days (typically Sat & Sun) and invite another party, when the invitation is accepted the appointment gets screwed up on the iPhone, depending on which view you're looking at. Here's the use case:
    1) Create all-day event starting 27 Nov ending 28 Nov, invite somebody.
    2) Invite is accepted, look at appointment on iPhone.
    Month view: 27 Nov event shows as 00:00, 28 Nov is "all-day". Nothing on 29 Nov.
    Day view: 27 & 28 Nov blocked out fully
    List view: Event only shows as 00:00 on 27 Nov, nothing on 28 or 29.
    Lastly, when you open the appointment and look at the detail, you see that it now runs from 00:00 on 27 Nov to 00:00 on 29 Nov. For a two day all-day event you created on the same device minutes earlier.
    Come on Apple! I switched to the iPhone from Windows Mobile because of your slick UI and great choice of apps, and even forgave you the lack of task and category support. But if you can't even get my appointments right I'll think twice before placing my order for that MacBook Pro I've been ******* after.
    M.

Maybe you are looking for

  • Photo size reduction in iWeb

    When I transfer photos into iWeb from iphoto how much reduction in size does it automatically make, I only have a website with 100Mb capacity

  • Detail Information to show in multiple areas of a report

    Post Author: Theresa Rose CA Forum: General I need detail information to show up on multiple areas of a report that I am working on.There are different areas on a form that I am working on that require multiple lines of detail information. I have tri

  • Free S/MIME certificate to digitally sign .pdf with Acrobat Reader

    Good morning, does anyone have idea where to obtain free S/MIME certificate for personal use and TRUSTED by Adobe Reader to digitally sign documents with own digital signature ? (Comodo S/MIME certificates released by GlobalTrust https://www.globaltr

  • CRM Interactive Reports not working

    hi, In CRM2007 we have this new feature of interactive reports, where we can create OLTP reports. I am trying to explore this feature. But when i click on Create report option, I am getting "Maintain RFC Desination for local BI". When i go to SM59 an

  • Importing GIF images and maintaining transparency

    I have an issue involving gif images where there is a transparent area that must remain transparent. When I import these images into FCP (6.0.4), the transparent area becomes white and looks awful... how do I fix this phenomenon?