Accessing presentation server file in background

Hi gurus,
my requirement is to access presentation server file in background mode.
I got the below documentation regarding this ,but i'm not able to complete the setup as mentioned in this document.
please help .
[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/communication%20to%20presentation%20server%20in%20background%20mode.doc]
As per documentation i need rfc.car and car.exe file in my system. I cant see any rfcsdk folder in my system. Please help.
any other solutions ,please suggest.
sastry.
Edited by: prssastry on Oct 15, 2008 7:13 AM

Hi,
In general practice we don't access a file from presentation server in background because at that point of time i might not logon to SAP server, so it is always preferable to access the file from Application layer incase of background processing.
Unless it is a client requirement, don't access files from the presentation layer in background./
thanks,
Mahesh.

Similar Messages

  • Reading file from the presentation server in the background

    Hi,
    I am trying to read a .csv file from the presentation server into an internal table in the background. what should I do for it? In the foreground it works fine.
    I have declared a selection parameter 'p_file' that has the path of the file. It wokrs fine in the foreground and how to set it up in the background?
    Any thoughts would be helpful. Thanks in advance,
    VG

    hii
    did you achieved the required functionality , i,e, accessing presentation server file i nbackground .
    I too got the same requirement, can you explain the process.
    There is no way you can do it... The best method is to put the file on Appln server and then call it in the background mode.
    Regards,
    Vishwa.

  • How to schedule the background job if report have Presentation server files

    Hi All,
    I have searched the forums and found , the way for the scheduling the background job if report selection screen have the presentation server file input.
    1. Using the Open data set method.
    And my client is not OK with Open dataset way, it there any other way to do this, As we are using the EXCEL file.
    Thanks and Regards,
    Bharani

    Hi,
    As said above it is generally not possible. Since your client most obviously doesn't like graphical background I would recomend storing data as till now, but show it with your own report in more userfriendly way. For example:
    - as ALV Grid
    - in excel with use of OLE either as embedded in SAP or new window (check transaction OLE for example)
    - with use of webdynpro
    BR
    Marcin Cholewczuk

  • Downloading .xml/.tx data to presentation server while running background.

    Hi experts,
    I have a requiremnt to downloading .xml/.txt data to presentation server while running background.
    when i run the program in foreground with use of GUI_upload/ Gui_download its working fine but not working in background.
    i can't use email/data download to database file and than get it  option as data can be huge.
    Can anybody help me out regarding this.
    Thanks
    Anuj jain

    Hi anjui,
    it'snt possible to download a file in background using gui_download.
    You could try to create a Shell Command (transaction SM69) to transfer data in a shared directory.
    You can execute Os Commands using function module SXPG_COMMAND_EXECUTE
    Alessandro

  • Problem in accessing application server file using open dataset

    Hi All,
    I am trying to access application server file using open dataset command, its working fine for normal path which imention. But when i am giving path of XI server file, its not working. How to access XI server file using open dataset. Please let me know.
    Thanks in advance.
    Regards,
    Vishal

    Hi Vishal,
    You need to verify if the location where you are trying to save the file is in the same server of SAP. In case that the location is in other server you need to map that directy into the same server of SAP.
    You need to point always to a location in the same server of SAP, in order that the open dataset could work.
    Regards,
    Eric

  • Communicating with presentation server in the background mode

    Hi Folks,
        I have a requirement to communicate the presentation server in the background mode. I'm following the below article for achieving it.
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2?quicklink=index&overridelayout=true]
    But I'm getting an error while testing in the dos prompt. The error is as following.
    The system cannot execute the specified program.
    Kindly Help.
    Regards,
      santosh

    But I'm getting an error while testing in the dos prompt. The error is as following. The system cannot execute the specified program.
    You see this error usually if some libraries (dll's) are missing. To investigate this issue it might help to use the [dependency walker|http://www.dependencywalker.com/] tool on the executable and check for any missing libraries. If you cannot figure it out yourself, please try to post exact comments of what you're doing and complete error messages including ideally version of your RFCSDK.
    Cheers, harald

  • [urgent] Upload presentation server files in parts

    Hi,
    I want to read presentation server files.
    I can use FM GUI_UPLOAD. But my problem is i want to read this file in parts.
    Like i have 1 lakh records in file. So i want to red this file in parts of 10000 each.
    In GUI_UPLOAD there is a parameter READ_BY_LINE but its is not solving my problem.
    Is it possibe to do upload file from presentation server?
    Also i have to upload file from application server in parts as above. I am planning to do it using
    DO XXXX times.
    read by index.
    enddo.
    Is this way optimised or any beter way also ?
    Points will be rewarded!!
    Thanks,
    Ashish Gupta

    Hi,
    Presentation server file:
    Using GUI_UPLOAD reading required no. of records is not possible. Better option is read all the data into internal table and use it according to the requirement.
    If the upload file in excel file, then use FM :ALSM_EXCEL_TO_INTERNAL_TABLE. This FM has option of fetching the required records from the file.
    Like, 1st record - 1000th record.. etc
    Application server file:
      Yeah you can fetch the records as you specified.
    Do  xxx times.
       Read dataset zxxxx.....
       If sy-subrc <> 0.
         Exit.
       endif.
    enddo.

  • How can I access the Server file system without using any signed applet?

    Is it possible for me to run an applet on the client machine such that the client can view my server file system and perform uploading and downloading of files through the applet without signing the applet?

    Add the following in your java.policy file, your plug in accesses.
    grant {
    permission java.permission.AllPermission;

  • Save HTML BDS document to Presentation server in the background

    Hello all,
    Can anybody please advice me how to save a BDS HTML document to a local directory in background.
    Appreciate any kind of help.
    Thanks and Regards,
    Mona

    Well, I solved the problem and wanted to share with all who face this problem and dont have to debug the SAP standard module again and again to reach this point.
    I used the following steps to save the BDS HTML/Text documents to local directory in background mode. Infact this solution works for all document types.
    1) Get the Physical class and object id for the Business document, using GET_INFO method of CL_BDS_DOCUMENT_SET
    e.g
    CALL METHOD cl_bds_document_set=>get_info
      EXPORTING
        classname         = 'BUS2091'        "Class name e.g BUS2091 or your custom class
        classtype           = 'BO'                 "Class type
        object_key          = '1000003111'   " object key
      IMPORTING
        extended_components = t_comp    " extneded information for the Business dcument
      EXCEPTIONS
        nothing_found       = 1
        error_kpro          = 2
        internal_error      = 3
        parameter_error     = 4
        not_authorized      = 5
        not_allowed         = 6
        others              = 7.
    The extneded components  table returns the Physical class (CLASS) and object id (OBJID) for all the documents stored under that class, classtype and object id.
    2) Use function 'SDOK_PHIO_LOAD_CONTENT' to get the binary/ascii content for your file
    e.g
            call function 'SDOK_PHIO_LOAD_CONTENT'
              exporting
                object_id           = v_phio_object    " this is of type SDOKOBJECT and
                                                                   " has the physical class and objid key
                raw_mode            = 'X'
              tables
                file_content_binary = i_content
              exceptions
                not_existing        = 1
                not_authorized      = 2
                no_content          = 3
                bad_storage_type    = 4
                others              = 5.
    In the above case, i have selected raw_mode and the binary content is returned in table I_CONTENT.
    3) Step 3 - transfer content to dataset using OPEN DATASET, TRANSFER and CLOSE DATASET
    And thats it

  • Issues access Windows server file share

    I have a Windows 2008 R2 server that I have a folder shared.  On most computers I can access the share but on some computers I get a message that says "K:\ drive not accessible.  Incorrect Function"  I have two laptops right now
    in front of me that are the same and have the same image, one can access the share and one cannot.  I am logged on to both as the same user.  I have been comparing all of the settings on both laptops and they are all the same.
    What does the error "incorrect function" mean?
    Thanks,
    Andrew

    Hi,
    Please refer to the similar thread below:
    Drive is not accessible - "incorrect function"
    Note: Microsoft is providing this information as a convenience to
    you. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    In addtion, please check if it is due to a collision with the existing mapped network drive.
    Best regards,
    Susie

  • Unable to download to presentation server file

    i am trying to use ws_download to download the customer master data to a file.when i check in the internal table the data is present but i am unable to download to a file.

    WS_download is an obsolete function module.
    Try using GUI_DOWNLOAD instead.
    Also try to see the Sy-subrc returned by the function module. This will give you an idea as to which exception is being raised by the function module.
    Hope this helps
    Puneet

  • Is there a way to access only my files from my favorites on finder to files on a microsoft based server?

    I have all my favorites currently set up as folders on the drive and accessible all the time when my MBPR is connected via ethernet to a TB display.
    The reason I pose this question is because I want all the perks of being able to access my server files remotely but without actually accessing the whole server or computer.
    Ideally this would be the ultimate solution.

    Thanks Dr. Chris...I thought my messages were safe on the memory card while my phone was sent for repair, but the phone was not fixed and I think they did a software upgrade and I can't access my messages on my original phone. I bought a new c510 thinking that it could read the messages from the memory card, but it doesn't. I'm really confused how the messages are saved on the memory card, but there is no way to access them...very weird. Someone should invent something that can do this...I think they would make alot of money.
    In future, what is the best way to save important text messages other than saving them to the sim card?

  • Downloading file in Background mode?

    Hi gurus,
    When I run the program in Fore ground and Back ground (Immediately when press F9, without schedule) I am getting same result, I can able to download file in a local file. Please I like to know whether it is correct or not?
    If it is not correct, How to download the file into presentation server (Local file) when program run in back ground mode (Immediately when press F9, without schedule)?
    Please give your valuable suggestions. Please send the code if you have.
    Thanks and Regards,
    Pavan.

    Hi,
    you can not download file in a presentation server using your Background job. That is a limitation from SAP. Instead you can download file to presentation server. Or you can add mailing the file to user id functionality.
    Hope this helps.
    ashish

  • Regarding Application server file path browsing

    Hi All,
    I have a issue regarding Application Server File Path browsing.
    Actually in my selection-screen i will declare a parameter as <b>Application Server File Path</b> now when i press F4 in that field it should be able to browse through <b>Application Server Path's</b>.
    Just like <b>F4_FILENAME</b> in the case of <b>Presentation Server File Path</b> Browsing.
    Can anybody solve my issue.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi Shaik,
    Just copy and paste:
    Here is the code for retrieving list of files contained within specific Application server directory(SAP).
    PARAMETER: p_fdir type pfeflnamel DEFAULT '/usr/sap/tmp'.
    data: begin of it_filedir occurs 10.
    include structure salfldir.
    data: end of it_filedir.
    START-OF-SELECTION.
    Get Current Directory Listing for OUT Dir
    call function 'RZL_READ_DIR_LOCAL'
    exporting
    name = p_fdir
    tables
    file_tbl = it_filedir.
    List of files are contained within table it_filedir
    loop at it_filedir.
    write: / it_filedir-NAME.
    endloop.
    Hope this will help you.
    Let me know incase of any concerns.
    EDIT:
    There are few FM for ur refernce :
    RZL_READ_DIR_LOCAL
    SUBST_GET_FILE_LIST Return table with file list for the given directory (pattern allowed)
    F4_DXFILENAME_TOPRECURSION Popup to select one file from the given application server directory
    TH_SERVER_LIST Returns list of application servers.
    EPS_GET_DIRECTORY_LISTING – Lists filenames from the application server .
    Cheers
    Sunny
    Rewrd points, if found helpful
    Message was edited by: Sunny

  • Presentation server with mozilla

    Hi all,
    I am facing an issue while logging through presentation server with mozilla...I am successfully able to access presentation server with IE.The issue is happen only while accessing with mozilla.

    Hi sonal,
    You are unable to access means either mozilla version should be 3 or greater.....any error its firing out.
    Is the Presentation server starting or hanging??Use the same link that you are using for IE in mozilla and check out....more information needed.
    By,
    KK

Maybe you are looking for