Calendar appointments from BSP application

Do you anyone have an idea on how to create Calender appointments from BSP applications?
Any inputs would be helpfull.
Srinivas

Hello,
calendar items are specially formatted mail items. They do not have textual body, only an attachment with extension
.ics
Here is an example how it should look like:
BEGIN:VCALENDAR
PRODID:-//COMPANY//R/3-640//D
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;ROLE=CHAIR;CN="aaa.bb@ccc.
com":MAILTO:[email protected]
ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;ROLE=CHAIR;CN=""Sender, aaa"":MAILTO:sender.
[email protected]
ORGANIZER:MAILTO:[email protected]
DTSTART:20060308T090000Z
DTEND:20060308T093000Z
LOCATION:
UID:[email protected]
STATUS:CONFIRMED
DTSTAMP:20060310T122435Z
SUMMARY:test4
CATEGORIES:Keine Terminart ausgewählt
CREATED:20060310T122435Z
SEQUENCE:0
TRANSP:OPAQUE
PRIORITY:5
CLASS:PUBLIC
DESCRIPTION:test 4
END:VEVENT
END:VCALENDAR
I hope it helps you to create your own calendar items.
Regards,
Dezso

Similar Messages

  • PDF download from BSP application

    hi all,
    With the bellow code i am able to download to PDF from BSP application
    Issue is when i click on the download button waiting popup window is not disappearing even after PDF displayed.
    Please help me to resolve how to stop this waiting popup window.
    response->delete_header_field( name = 'Cache-Control' ).  "#EC NOTEXT
      response->delete_header_field( name = 'Expires' ).        "#EC NOTEXT
      response->delete_header_field( name = 'Pragma' ).         "#EC NOTEXT
    Deactivated because of Note 904314 and Kompression in Kernel
      response->set_compression( options = '4' ).
      response->set_header_field( name  = 'content-type'
                                  value = 'application/pdf' ).
      response->set_header_field(
                         name  = 'cache-control'
                         value = 'max-age=0' ).
        response->set_header_field(
                           name  = 'content-disposition'
                           value = 'attachment; filename=candidate.pdf' ).
      l_pdf_len = XSTRLEN( l_pdf_xstring ).
      response->set_data( data   = l_pdf_xstring
                          length = l_pdf_len ).
      navigation->response_complete( ).
    Any help on this is highly appreciated.
    Thanks,
    Ravi

    May be you can navigate to another page AFTER the response_complete() method and show the message that 'PDF is downloaded successfully'
    or something meanful message. so that it will get a response back from server and 'wait...Processing' message might disappear.
    I'm not sure and didnt try..may be you can give it a try and let us know..
    navigation->response_complete( ).
    navigation->goto_page(....)

  • Master Table for Work Items from BSP Application

    hello guys,
    just want to ask if there is a master table for work items (and other details) from BSP application?

    Hi,
          Ya its true but i want to connect my customized application to UWL in Enterprise Portal and there after approval i want my workitems to be punched in R/3 system.Is there any source code available,so that my application directly contact UWL in sap enterprise Portal as a link or workitems where user should have an option to approve or reject.
    If u have any idea plz let me know.
    Thanks in Advance
    Regards
    Santosh Saraf

  • Call ITS from BSP Application

    i have created a ITS screen which in turn calls a Abap report
    I want to call this ITS screen from a BSP application .
    Could you please provide some sample code which is used to call ITS from BSP application..
    Useful answers will be rewarded
    Thanks

    Since it is related to both ITS and BSP i thought i can post it in both. and also i didnt get answers for the queries..... for a long time. Anyhow i will take your suggestion for my future query.
    i hv done using iframe to call my ITS application.
    I can able to call the Bsp application whichin turn calls its screen abap program.
    while executing ,  the selecting the directory from the file browse pop up doesnt work for downloading the file
    becos the client , they will not change the settings related to applet in the internet browser for security reasons.
    I hav to make it some how to make it work in the portal which calls this BSP application..
    at the moment i mapped this BSP application to the user role in the SUS Portal . but it appears in the SUS portal . but i m not able to click the application and also handsymbol is not seen while bringing the mouse to that area.
    Could you please tell me , how to use Action_id for that particular application, Authorisation profile settings.
    Kindly  give your suggestions asap.

  • BW Report execution from BSP application

    Hi,
    I am developing a web interface using BSP. One of the application in that is exposing BW reports in web through BSP. Using "How-To NetWeaver '04", I constructed the URL in the format -
    http://<BW Server>:<Web AS port>/sapbw/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=<Template>
    This URL gives me the output and I am able to call this from my BSP application.
    But while executing this report, I am getting popup to enter user id and password. In actual scenario, user will be logging in using one of the BSP application in R3and from there there will be a link to get this report. All my other application are in R/3 (like sales order / R3 reports) and only this report is from BW. What I did is I created a BSP application in BW and provided the report link there and I called this BW BSP application from R3 BSP application. In SICF for BSP application, I have provided my user id and password.
    Everything works fine except for the popup box. This popup appears even if I try to execute directly in BW server. BSP Webpage in BW is appearing with out any issues(so my SICF for BSP is working fine) and once I click the link to my report, the popup is coming. Kindly suggest how to suppress it.
    Note:  I posted this in Portal Development also
    Thanks,
    Krish

    I solved this by creating an Alias and also by changing the SICF for Mime object under BW. 
    Thanks,
    Krish

  • Download Text file to Local drive from BSP Application

    Hi Guys,
    I am new to BSP, and I am doing a BSP application in which i want to download a text file to local drive C: on click of button. For that I am having a data in Internal table and Onclick event, in model class method DO_HANDLE_EVENT i want to download text file to local machine drive.
    Can anybody provide me full code with all data declaration and all?
    Your help would be appriciable. Thanks in Advance.

    Hi Jessy ,
    You can download the file from BSP pages using the method
    CL_BSP_UTILITY=>download.
    Please follow the below mentioned steps.
    1.Convert the text to a text table ie Internal table with a line type char255 or some others.
    2.Convert the text table into a string.
    3.Convert the string to XSTRING.
    4.Download that XSTRING as text file using the method
       CL_BSP_UTILITY=>download.
    Parameters:
    OBJECT_S    - XSTRING data
    CONTENT_TYPE  =  ' application/download'
    CONTENT_DISPOSITION = 'attachment; file=test.txt'
    RESPONSE                   = runtime->server->response
    NAVIGATION                   = navigation
    OBJECT_T
    I dont have system to give a programatical explanation to u.
    If you have any doubt kindly post.
    Reward for every useful solutions..
    Best Regards
    Renga

  • Download internal table from BSP application to C:\ drive of the user

    Hi,
    How do we download a internal table data from a BSP application to the C:\ drive of the user. Have tried GUI Download, but it doesn't work. Also don't want a pop up to appear while this is happening. The code has to there in 'OnInputProcessing' event.
    Regards,
    Jaison

    Hi Raja,
    I went through few of the blogs and wrote the below code for downloading data. My requirement is that in the InputProcessing event i need to write a subset of data to the users C:\ drive. But even after doing the below change i'm unable to get the requirement done. Can you please tell me as to what i'm missing. I'm new to BSP development and help would be highly appreciated.
    if not it_messages1[] is initial.
      clear wa_messages1.
      loop at it_messages1 into wa_messages1.
       clear temp_string.
       concatenate wa_messages1-PROJECT wa_messages1-FILENAME.......
       into temp_string separated by CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
       concatenate main_string temp_string into main_string separated by
       CL_ABAP_CHAR_UTILITIES=>CR_LF.
      endloop.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
      EXPORTING
        TEXT                 = main_string
        MIMETYPE        = 'APPLICATION/MSEXCEL;charset=utf-16le'
      ENCODING       =
    IMPORTING
       BUFFER         =  xmain_string.
    EXCEPTIONS
      FAILED         = 1
      OTHERS         = 2
    CALL METHOD cl_bsp_utility=>download
    EXPORTING
        object_s = xmain_string
        content_type = 'APPLICATION/MSEXCEL;charset=utf-16le'
        content_disposition = 'attachment;filename=test.xls'
        response = mresponse
        navigation = navigation.
    Edited by: Jaison Yohannan on Jun 3, 2009 2:16 PM

  • Download File from BSP-Application

    Hello !
    i hope i can get some help for my problem.
    from my BSP-Application i want to download an internal table to p:\eigenedateien\bv.txt (always the same filename)
    the internal table ist type table of string.
    i read that gui_download doesn't work in my BSP
    so i went through this weblog 756
    but it is really hard.
    i put some code from the weblog in my application:
    concatenate 'attachment; filename='
    w_para-pwert = p:\eigenedatieen\bv.txt
                w_para-pwert into dl_pathfile.
    Download der Datei
    Create the cached response object that we will insert our content into
    dl_xstring = 'Test'. "nur zum testen
                CREATE OBJECT CACHED_RESPONSE TYPE CL_HTTP_RESPONSE
                       EXPORTING ADD_C_MSG = 1.
    set the data and the headers
                CACHED_RESPONSE->SET_DATA( DL_XSTRING ).
                CACHED_RESPONSE->SET_HEADER_FIELD( NAME  =
                                        IF_HTTP_HEADER_FIELDS=>CONTENT_TYPE
                                                   VALUE = 'text/html' ).
    Set the filename into the response header
           CACHED_RESPONSE->SET_HEADER_FIELD( NAME  = 'Content-Disposition'
                                       VALUE = DL_PATHFILE ).
    Set the Response Status
                CACHED_RESPONSE->SET_STATUS( CODE = 200 REASON = 'OK' ).
    Set the Cache Timeout - 60 seconds - we only need this in the cache
               CACHED_RESPONSE->SERVER_CACHE_EXPIRE_REL( EXPIRES_REL = 60 ).
    Create a unique URL for the object
                CALL FUNCTION 'GUID_CREATE'
                  IMPORTING
                    EV_GUID_32 = GUID.
                CONCATENATE RUNTIME->APPLICATION_URL '/' GUID INTO URL.
    Cache the URL
                CL_HTTP_SERVER=>SERVER_CACHE_UPLOAD( URL      = URL
                                               RESPONSE = CACHED_RESPONSE ).
    Ende Download
    now it should be cached.
    but hot can i start the download to p:\eigenedateien... now?
    thanks very much for your help
    Helmut

    Hi,
    Could you try adding at the end:
    navigation->response_complete( ).
    and/or
    data: guid type guid_32,
          display_url TYPE string.
    call function 'GUID_CREATE'
    importing
    ev_guid_32 = guid.
    concatenate runtime->application_url '/' guid into display_url.
    cl_http_server=>server_cache_upload( url = display_url response = cached_response ).
    Best regards,
    Guillaume
    Message was edited by: Guillaume Garcia

  • PDF from bsp application

    Dear All,
    I am new to this blog.
    I currently working on BSP's.  My requirement is like below.
    In my company portal, when an employee logins to portal under ESS tab,
    he can get Employee verification letter ( PDF ) from his manager under whom he is working.  This PDF he can print and get the signature from his manager.
    On first page he will have 3 questions ...
    1) Whether you want base salary in letter ( PDF )  . answer: Yes or No radio button
    2)  Whether you want ssn  number in letter ( PDF ) answer: Yes or No radio button
    similarly third quesion.
    When employee clicks on print preview button on the same page,  then he will get PDF form with follwing matter:
    Company  Name,
    addresses, Logo,
    Mr XXXXXXX is our employee since. His SSN no.......
    XYZZZZ
    Hr Manager,
    Pls let me know how to solve the above.
    I got an RFC for my BSP for getting employee details.  my question is how work on above in BSP.
    Regards,
    Kishan

    Hi Sharmila ,
    Thanks for reply.
    I tried with smart form.
    I created a smartform with only one text on smartform for just testing.
        i developed the BSP application .  when i press the butten "printpreview' on first page it should open PDF page with out put of smart form.
    the code is as below... but it is not working...it is not giving any result.. just remains in first page.
    generated result: PDF format
      data: l_pdf_xstring  type xstring,
            lt_lines       type table of tline,
            ls_line        type tline,
            l_pdf_len      type i.
      data: output_options      type ssfcompop,
            control_parameters  type ssfctrlop,
            output_data         type ssfcrescl,
            devtype             type rspoptype.
      data: lt_sys type table of mara.
      DATA: cached_response TYPE REF TO if_http_response.
      DATA: guid TYPE guid_32.
    data : runtime type c.
      DATA : display_url type string.
    DATA: fileUpload TYPE REF TO CL_HTMLB_FILEUPLOAD.
      control_parameters-langu = sy-langu.
      control_parameters-no_dialog = 'X'.
      control_parameters-getotf    = 'X'.
      select * from mara into table lt_sys.
      call function 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language             = sy-langu
        IMPORTING
          e_devtype              = devtype
        EXCEPTIONS
          no_language            = 1
          language_not_installed = 2
          no_devtype_found       = 3
          system_error           = 4
          others                 = 5.
    set device type in output options
      output_options-tdprinter = devtype.
      CALL FUNCTION '/1BCDWB/SF00000010'
        EXPORTING
         CONTROL_PARAMETERS         = control_parameters
         OUTPUT_OPTIONS             = output_options
         USER_SETTINGS              = space
         ZTRNO                      = '5657'
       IMPORTING
         JOB_OUTPUT_INFO            = output_data
       EXCEPTIONS
         FORMATTING_ERROR           = 1
         INTERNAL_ERROR             = 2
         SEND_ERROR                 = 3
         USER_CANCELED              = 4
         OTHERS                     = 5
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      call function 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = l_pdf_len
          bin_file              = l_pdf_xstring
        TABLES
          OTF                   = OUTPUT_DATA-OTFDATA
          LINES                 = LT_LINES
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          others                = 5.
      if sy-subrc EQ 0.
        CREATE OBJECT cached_response TYPE CL_HTTP_RESPONSE EXPORTING add_c_msg = 1.
        l_pdf_len = xstrlen( l_pdf_xstring ).
        cached_response->set_data( data   = l_pdf_xstring
                            length = l_pdf_len ).
        cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                           value = 'application/pdf' ).
        cached_response->set_status( code = 200 reason = 'OK' ).
        cached_response->server_cache_expire_rel( expires_rel = 180 ).
        CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_32 = guid.
        CONCATENATE  'runtime->application_url' '/' guid '.pdf' INTO display_url.
        cl_http_server=>server_cache_upload( url      = display_url
                                             response = cached_response ).
      ENDIF.
      RETURN.

  • Using BAPI_DOCUMENT_CREATE2 from BSP Application

    I am trying to add a document in DMS from a BSP application. The bapi_create_document2 works except that it will not upload a file from the client PC. The exact same code with the exact same parameters supplied works from within an ABAP program. I assume that this is because the web server is the presentation server in the BSP application and does not have access to the files on the PC.
    I know that I can use the  <htmlb:fileUpload> tag to move a file from the PC to the data object type ref to CL_HTMLB_FILEUPLOAD. The contents would then be in data->content. I am wondering if there is then some way to add the original file from the object using this BAPI or another one.

    I can tell you what we did.  When you use BAPI_DOCUMENT_CREATE2 you can specify a SAPFTP or SAPHTTP destination.  These are RFC destinations where the sapftp or saphttp executable can be found.  We setup an SAP gateway installation on each of our global content and cache servers.  We then use the client IP address to determine the closest SAP Content server to the client.  We use JavaScript (and the filesystem object - note your server must be in the trusted zone in IE for this to work) to copy the file from the client machine to the nearest Content Server.  Then when we call the BAPI we specify the correct RFC Destination where the file is located and it is checked in correctly.
    Now if you don't use the Content and Cache Servers and only want to upload into the R/3 database repository, then I would just use the fileUpload and write the file to a local directory on the server.  Then point to the SAPFTP/SAPHTTP RFC that would have access on that server.

  • Oracle conennection from BSP application

    I want to know how can I access to a Oracle database from a BSP application, my WAS System is 6.40
    Thanks in advance.

    Yes you can, check out this thread
    external Oracle DB Connectivity
    or
    HOWTO Transfer Oracle Database Tables to SAP

  • How to upload image in MIME repository  from bsp application

    Hi,
    I want to upload Image in MIME repository from my BSP Application. I want to access again or reuse uploaded image later in my BSP application. Can you please help me how to do this?
    I already go through http://help.sap.com/saphelp_nw2004s/helpdata/en/eb/8c683c8de8a969e10000000a114084/frameset.htm.
    but this is not helpful in my case. It only uploads in cache (temporary) not in MIME repository.
    Thanks

    Hi Prashant,
    In Layout...
    <%
    data: icon_save   type string.
    icon_save   = cl_bsp_mimes=>sap_icon( id = 'ICON_SYSTEM_SAVE' ).
    %>
    For using image globally...
    If you need to upload an image to MIME Repos Go to transaction se80> MIME Repository>
    sap->bc->bsp->sap->public->bc->bsp->icons ---> right click on icons folder --> import mime objects
    Regards,
    Anubhav

  • Calling web query from BSP application: Session handling

    I would like to call a BI 7.0 web query from a BSP application.
    Therefore, I generate a link like http://<server>:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=CR_M_0001_SALESFORECAST_0&VARIABLE_SCREEN=X
    Now, I have the problem that I have to log in again.
    The BSP application is embedded in the portal. SingleSignOn works for the BSP application, but not for the following link to the query.
    Anybody know how to execute the query w/o login again?

    i guess this is more related to ITS.
    which ITS are you using?
    integrated or standalone.
    i checked in both (using standard webgui service) i dont see any problem using /n or /<transaction>
    Regards
    Raja

  • Bring view from BSP application into CRM 7.0?

    How to add a custom view from a BSP application in CRM 5.0 to CRM 7.0. I tried to use it as a URL ( in transaction launcher ) and gave controller class . It does not work. Am I missing something here?

    Hello CRM_2007,
    May you please elaborate on what doesn't work?
    Do you see your link created via transaction launcher?
    Did you manage to create a link to some URL like "google.com" that is working fine, or every kink that you create doesn't work at all ?
    Kind regards,
    Nicolas Busson.

  • SESSION_MANAGER access from BSP application

    Hello there!!
    We've developed a Customer Interaction Center Z BSP application, which is used as a customer location cockpit: It's been developed over a CRM system and it performs calls to several backend transactions via ITS (which are always opened in a new Internet Explorer window, meanwhile "central BSP window" (the cockpit one) keeps always opened)...
    But we just can't reach backends SESSION_MANAGER transaction (SAP initial screen) because, when we type '/N' in backend's transaction bar, system closes Internet Explorer backend window!!
    We've tried it following several ways but, unfortunately, we always reached the same outcome: BACKEND INTERNET EXPLORER WINDOWS IS CLOSED BY THE SYSTEM (only the BSP cockpit, the non-backend window, keeps opened)...
    -No way by typing '/N' in navigation bar
    -No way by calling a Z transaction which executes a report which calls SESSION_MANAGER transaction
    -No way by using S000 transaction
    -No way by using SAPMSYST report (dynpro 0040)
    Any help would be (kindly) appreciated.
    Thanks in advance, greetings from Madrid.

    i guess this is more related to ITS.
    which ITS are you using?
    integrated or standalone.
    i checked in both (using standard webgui service) i dont see any problem using /n or /<transaction>
    Regards
    Raja

Maybe you are looking for

  • Hard drive failure message, and Short DST fail

    Hello, and thanks alright, this is the first time i have had this issue. only thing on the computer that was changed recently was a windows update yesterday, it came up automatically, shut the computer down, and restarted automatically. Java has want

  • Acrobat 9.0 Professional Runtime Error

    Hi There I'm an IT support analyst at a large college trying to resolve this current issue with Acrobat 9.0 Professional I have installed it on two machines on campus and i can't even get the program to load......... everytime the user click's on the

  • When trying to sign in to facetime

    why does it say check network connection when I try to sign in to facetime ,while im using wifi ?

  • Images lost after rebuilding aperture database

    Hi, After updating to Yosemite, Aperture started to show problems/ freeze etc. I could not acces my photo's and after updating Aperture 'it' announced that the libraries had to be rebuild. These are images stored on a external harddrive and we're tal

  • Error Writing Metadata

    I recently upgraded from LR 2 to LR 3.2, the thumbnails at the bottom of the bottom of the Library screen have an ! imposed over them along with the message "Error Writing Metadata". What did I do wrong & how do I fix it?