Download GOS apdf attachment on application serever in background

Hi all, i try to download some attachments in pdf format to application server in background.
while i do it in foreground with FM 'SO_OBJECT_DOWNLOAD' it's all ok, but i need to download files in background!!!
Can anybody help me?
Thank you.

Hi,
It is not possible to download in background mode from the presentation server to application server. SAP system is completely independent during background mode and wont allow any GUI  interactions.
Regards,
Vik

Similar Messages

  • I have an iMac 10.8.2.  When trying to download a photo attachment from an email I received the following : "You can't open application IPhoto because the classic environment is no longer supported."  This occurred on 10/25/12 at about 11PM CST.  The iPho

    I have an iMac 10.8.2.  When trying to download a photo attachment from an email I received the following : "You can't open application IPhoto because the classic environment is no longer supported."  This occurred on 10/25/12 at about 11PM CST.  The iPhoto icon in both the dock and the application folder is grayed out with the no or do not enter symbol.  How can I resolve this so I can access my photos?

    I have two iPhoto icons in applications. One is grayed out and has the no symbol, the date of last modification is Oct 25, 2012 11:07pm.  The size is 110 KB and kind shows Applic…lassie). When I click on with CMD i it shows:
    kind: Application (Classic)
    size: 109,677 bytes (111 KB on disk)
    Where: / Applications
    Created:  Thursday, October 25, 2012 11:07 PM
    Modified: Thursday, October 25, 2012 11:07 PM
    Version:  --
    More info:  --
    Name and extension:  iPhoto.app
    Hide extension is grayed out and checked
    Preview shows a photo I had attempted to save to iPhoto
    The second iPhoto icon is also grayed out, but the symbol is an envelope, the date of last modification is Oct 12, 2012 12:09PM.  The size is 548 KB and kind is shown as an email message.  When I clicked on it with CMD i it shows:
    Kind: Email Message
    Size: 547,665 bytes (549 KB on disk)
    Where:  /Applications
    Created: Friday, October 12, 2012 12:09 PM
    Modified:  Friday, October 12, 2012 12:09 PM
    Version: not listed
    Name & Extension:  iPhoto.eml
    Hide Extension: checked
    Open with:  Mail
    Preview shows a photo I had attempted to save to iPhoto

  • Download DMS attachment into an application server in background mode?

    Is it possible to download DMS attachment into an application server in background mode?
    Currently I am using the following code but does not work in background mode
      CALL FUNCTION 'CVAPI_DOC_GETDETAIL'
        EXPORTING
          pf_dokar     = 'Z06'
          pf_doknr     = gs_drad-doknr
          pf_dokvr     = gs_drad-dokvr
          pf_doktl      = gs_drad-doktl
          pf_read_kpro = 'X'
        TABLES
          pt_files      = lt_file
        EXCEPTIONS
          not_found    = 1
          no_auth       = 2
          error            = 3
          OTHERS       = 4.
    *Copy Attachment from DMS to PC File
      CALL FUNCTION 'CVAPI_DOC_VIEW'
        EXPORTING
          pf_dokar      = 'Z06'
          pf_doknr      = gs_drad-doknr
          pf_dokvr       = gs_drad-dokvr
          pf_doktl          = gs_drad-doktl
          pf_appl_start = ' '
          pf_apptp      = '1'
          pf_filename   = 'C:\TEMP\ZLINK.BMP'
          ps_file       = ls_file
        IMPORTING
          pfx_file      = l_pfx_file
        EXCEPTIONS
          OTHERS        = 0.
    *Load BMP into SE78
      PERFORM import_bitmap_bds
        IN PROGRAM saplstxbitmaps
        USING l_filename             "Local File for Upload/Download
                   l_bmpnam             "Name
                  'GRAPHICS'           "Application Object
                  'BMAP'                   "ID
                  'BCOL'                   "Color
                  'BMP'                     "Extension
                  'ZLINK PICTURE'   "Title
                  space          "Resides in Printer Memory in Print Request
                 'X'                 "Reserve Height of Graphic Automatically
                 space           "Graphic Storage: Compressed Bitmaps
        CHANGING l_docid
               l_wf_res.   "Graphic Resolution
    Thanks

    Hi!
    You didn't find answer for this, because it is not possible. If you run your program in background, it is running on the server, and does not have any connection to your local machine. That's why you can't upload/download in background mode.
    You might try to address somehow your local PC, with its IP or MAC address, but I don't think does this task worth so much time.
    Run your program in online mode, or if you want to run it in background, then upload your file into the SAP server.
    Regards
    Tamá

  • 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

  • How to download a SOAP attachment using pl/sql

    Gurus,
    I have a custom pl sql application that is web services based. The custom pl sql application invokes the external web services and updates Oracle Field Service application.
    One of the new requirements is to get the signatures from SOAP Attachments (a binary file) and attach it to Field Services transactions in Oracle.
    Does anyone has an example of how to download the SOAP attachment file from web service using pl/sql.
    The pl sql program uses UTL_HTTP to access web services.
    Much Thanx.

    I think you may be in the wrong forum, but anyways...
    What I think your looking for is the htp.print('insert html here'); function. It's plsql, and writes out html to the web server that calls it.
    if you search for htp.print you should find loads of examples.
    hope this helps.
    Merv.

  • How to download / read  text attachment  in Sender Mail Adapter  IN XI

    Hi
    I would like to know how to download / read text attachment in sender mail Adapter & sent same attachment to target system using file adapter.
    Please help how to design / resolve this concept.
    Regards
    DSR

    I would like to know how to download / read text attachment in sender mail Adapter & sent same
    attachment to target system using file adapter.
    Take help from this blog:
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    From the blog:
    However in most cases
    our message will not be a part of the e-mail's payload but will be sent as a file attachment.
    Can XI's mail adapter handle such scenarios? Sure it can but with a little help
    from the PayloadSwapBean adapter module
    Once your message (attachment) is read by the sender CC, you can perform the basic mapping requirement (if any) to convert the mail message fromat to the file format.....configure a receiver FILE CC and send the message...this should be the design...
    Regards,
    Abhishek.

  • Error in Downloading the Text file on Application Server

    Hi All,
              I am working on ECC6.0. I have written a program in whcih I am downloading the text file on
              application server in UTF-8 format. However when I am opening this file in Excel I am getting
              garbage value for some characters(as Excel does not support UTF-8 format). So now I
              want to download the data on application server in text file in non unicode format(Like ANSI or
              other non unicode format) which is supported by excel. When I am writing the code as
              OPEN DATASET DN_FILE FOR OUTPUT IN LEGACY TEXT MODE it is giving me dump saying
              CHARACTER CONVERSION FROM CODE PAGE '4102' to CODEPAGE '1100' NOT POSSIBLE.
              Same in case if I add the code OPEN DATASET DN_FILE FOR OUTPUT IN LEGACY TEXT
              MODE CODE PAGE '8000' is also giving dump.
              So please let me know how can I download the file in non unicode format ?
              Any help would be greatly appricated.
    Thanks & Regards
    Jitendra Gujarathi.

    OPEN DATASET l_filename FOR INPUT IN TEXT MODE  ENCODING NON-UNICODE IGNORING CONVERSION ERRORS.
    CHECK sy-subrc EQ 0.
      DO.
        CLEAR wa_file_content.
        READ DATASET l_filename INTO wa_file_content.
        IF sy-subrc EQ 0.
          APPEND wa_file_content TO it_file_content.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
      CLOSE  DATASET l_filename.
      t_filedata[] = it_file_content[].
    can you use like this.

  • Upload and download of  excel file in the application server in background

    Hi all,
    i want to download the excel file from application server into internal table and after processing i have to upload to excel file in the application server in the background mode..
    i mean i'll schedule the program in background.
    im using FM ALSM_EXCEL_TO_INTERNAL_TABLE its working fine in fore ground but not in back ground.
    what method i have to follow ?

    Hi Ankit,
    I think this is not possible to open a Excel-File from the application server because the Excel format before Office 2007 where a binary format (Suffix: .xls). The newer Office file format (Suffix: xlsx) is a zipped XML Format. To read the binary Excel-Format you need an OLE Connection between SAP GUI and Office. But at the application server in background you doesn't have this OLE Connection.
    In my opinion you have two possibilities:
    1. Convert all files in the CSV format. This file format can be read with open dataset.
    2. Upload the files from the presentation server in forground. There are some funktion modules in the standard which can read the xls format. But they have some limits regarding the length of cells content.
    My recommendation is solution no. 1. If you know an VBA expert, he can write an Excel-macro which converts all Excel Files in the CSV-Fomat.
    Regards
    Dirk

  • When I purchased a music app from itune store. This got downloaded in Itune maedia/Mobile applications.How to get the songs in that app to my  itune library or on to IPAD?

    I  or tranfer to my librarypurchased from Itune store a Music app. It is downloaded into intune media/mobile applications. How to get the full album msic/songs into my itunes library or on tomy IPAD? It doesnot open out. Can anybody suggest a way?

    If you have a music downloader app (depends on which you have), plug your iDevice into iTunes, go to your device (on itunes), go to your apps, scroll down, and select the app thats holding your music, click on "Save As" (should be located bottom right corner), save the music to your specific folder. Once done, follow through this: Adding music and other content to iTunes and you should have your music on your iDevice music app.
    Hope this helps.

  • Download Purchase orders Attachment to system

    I am working report on purchase order attachment means they should able download PO's attachment of to local drive,
    so i am using the function module SO_OBJECT_DOWNLOAD
    to download it, but it showing PO's which is having attachment but not downloading
    let me knew which is the suitable Function mod for this
    Reagrds
    Chandru

    Hi,
    you can get all released PO's object number's (OBJNR).
    Then with that object number you can check, the status changed to REL in table JCDS.
    Hop this helps,
    Raj

  • Problem with GOS view attachment list in SAP Upgrade

    Hi,
    The view attachment list is working fne in 4.6c for the Z  transaction. When I run the same transaction in ECC6, I am getting the 'GOS View Attachment List' icon, but when I click on
    this icon, it is given short dump in ECC6 where as in 4.6c it is working fine. It shows the followin dump in ECC6.
    SET HANDLER: Reference to handler object cannot be NULL.
    The current ABAP program "CL_GOS_TOOLBOX_VIEW===========CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    When specification a handler for an event in the SET HANDLER statement,
    the reference "IS_SERVICE-SERVICE" to the handler instance cannot be NULL.
    Program CL_GOS_TOOLBOX_VIEW===========CP
    Include CL_GOS_TOOLBOX_VIEW===========CM004
    Row 69
    Module type (METHOD)
    Module Name DISPATCH_SERVICE
    =============================================
    When I click on SET HANDLER statement, control leads to method DISPATCH_SERVICE in class CL_GOS_TOOLBOX_VIEW.
    =============================================
    I am using the following code.
    data: lo_container type ref to cl_gui_custom_container,
    ls_object type borident.
    ls_object-objtype = 'ZRECON'.
    ls_object-objkey = gs_rec_all_scr-reconobj.
    case ok_code.
    when 'ATTACH'.
    call method go_myobject->start_service_direct
    exporting
    ip_service = 'CREATE_ATTA'
    is_object = ls_object
    io_container = lo_container.
    when 'LIST'.
    call method go_myobject->start_service_direct
    exporting
    ip_service = 'VIEW_ATTA'
    is_object = ls_object
    exceptions no_object = 1
    object_invalid = 2
    execution_failed = 3
    others = 4.
    endcase.
    The short dump given at
    call method go_myobject->start_service_direct
    Thanks a lot.
    Zakir.

    Hi,
    I am facing the same issue. Can somebody help me to fix this issue?
    Thanks,
    Geetha

  • GOS: create attachment sent by PI while creating Service Request

    Hi Friends,
    I am developing a custom FM which creates Service Request Notification(QMEL).
    This FM will be called by PI with data using web services and gets back the results after execution of function module.
    PI receives the attachments also from the other systems which should be sending to ECC to create the attachments also.
    PI sends Filename, file type, file data text or binary which will be sent to FM to an internal table..
    I am trying to use the internal table data to create attachments in the FM. I am stuck here.
    Are there any thoughts how I should get data from PI to ECC to achieve the functionality??
    I appreciate if anyone gives me an idea how to proceed?
    Regards,
    Satya Denduluri.
    GOS: create attachment sent by PI while creating Service Request

    Hi,
    did you try business object SOFM ( transaction SWO1 ) ? It offers a lot of methods around attachments, documents.
    Regards
    Dirk

  • How to create GOS view attachment list in ECC6

    Hi,
    I created Z transaction. I have to create View attachment List to this transaction. How to create GOS view attachment list in ECC6. can anybody send sample code on this.
    Thanks in advance.
    Zakir.

    Hi all,
    I've following problem with class CL_GOS_ATTACHMENTS.
    Transaction IE01/02/03 (create/change/display equipment) starts and instantiate GOS manager, and related BAdI are called.
    Then, when I choose one of available service, CL_GOS_ATTACHMENTS is instantiated, and inside that class a new GOS manager is instantiated, inspite of already existing instance.
    As a result, related BAdI are called twice, but unfortunately second time some SY variables are not correctly filled, particularly SY-TCODE and SY-MODNO are both empty.
    I've develop a workaround so that when sy-tcode is filled I save it somwhere, and when it's empty I filled it from saved value, does anyone know any other solution??
    Many thanks
    Regards
    m@x

  • Keep getting "Download Error" when using Adobe Application Manager. Have tried from different areas.

    I'm trying to update my CC Illustrator, as there is an issue that has apparently been resolved with a new update.
    Whenever I try to update Illustrator, or even download a new application, I get an error window "Download Error.  Try again or contact customer support."
    I have tried to download both directly from Adobe Application Manager and from the Creative Cloud website itself.  I have restarted my computer.   This has been happening for 2 days now.  Just can't seem to connect with Adobe Application Manager. 
    At one  point I got a window message that said to check the Adobe Site Status, and all looked green and fine there. 
    And this forum appears to be the only "customer support" ???!  I don't see any chat help or phone help.  Is that true?
    I can go back to CS4 Illustrator to get the feature that I need (zoom in/out using magic mouse+Option, which is my favorite and essential Illustrator shortcut) but obviously will need to update and download more CC features and programs in the near future.
    Thank you for anyone who can help me.
    Barbara

    You can also use Download New Adobe CC Trials: Direct Links (no Assistant/Manager) | ProDesignTools
    Direct Download Links for Adobe Software
    Are you on a managed network. If yes please refer the Knowledge base article: http://helpx.adobe.com/creative-cloud/help/cc-desktop-download-error.html.
    You may even try the direct download: http://prodesigntools.com/adobe-cc-direct-download-links.html.
    Kindly follow the very important instructions before download.
    It might help you.
    Regards
    Rajshree

  • Each time i try to download an email attachment, message says adobe pdf is unsupported ?

    help..............each time i ty to download an email attachment, it tells me cannot do , adobe pdf is unsupported ..........how do i fix that................thank you

    We know nothing about your system, your e-mail retrieval method, whether or not you actualyl even have Adobe Reader/ Acrobat installed and whatnot. This is not going anywhere without some more info...
    Mylenium

Maybe you are looking for