Folder list presentation server

Hi,
I want to display help  for directory list in presentation server.
User can select the directory where they want to store data.
If they entered a directory then how to check existence of that directory in presentation server.
1) FM to diaplay and select list of directories in presentation server
2) How to check given directory exist in presentation server or not.
Thanks,
Balamurugan.R

Hi Bala,
Use the function module F4_FILENAME.
CALL FUNCTION 'F4_FILENAME'
* EXPORTING
*   PROGRAM_NAME        = SYST-CPROG
*   DYNPRO_NUMBER       = SYST-DYNNR
*   FIELD_NAME          = ' '
IMPORTING
   file_name           = file_path.
Declare file_path  of TYPE ibipparms-path.
Check this link for sample code.
http://www.sap-img.com/abap/using-function-modules-f4-filename.htm
Hope this helps you.
regards,
Chandra Sekhar

Similar Messages

  • How to create the folder in presentation server through pop-up(

    Hi Experts,
    Can u give me the solution , how to create the folder in presentation server through pop-up(means dynamically, after executing the program , pop-up has to come to create the folderand path)
    regards
    ram.

    Use the methods -> DIRECTORY_BROWSE & DIRECTORY_CREATE of the class CL_GUI_FRONTEND_SERVICES
    DATA: path TYPE string,
          rc TYPE i,
    dir_name TYPE string value 'HI'.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE
        CHANGING
          SELECTED_FOLDER      = path
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    concatenate path '\' dir_name into path.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE
        EXPORTING
          DIRECTORY                = path
        CHANGING
          RC                       = rc
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Edited by: Kartik Tarla on Sep 23, 2009 5:54 PM

  • Is there any way to create a folder in presentation server - webdynpro abap

    Hello,
    My requirement is to create a folder in presentation server using webdynpro abap..
    I tried on this CL_GUI_FRONTEND_SERVICRES classes ..but its getting an short dump.
    Is there any way to create folder using classes / FM..
    Regards,
    Praveen kumar reddy s.

    Hi PRaveen,
    Check this.. WD_TEST_APPL_ACFEXECUTE
    Check Thamos article..
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/109b9b52-bc00-2c10-8786-e4c5e96d7e04
    go for help..
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/content.htm
    Cheers,
    Kris.
    Edited by: kissnas on May 10, 2011 2:24 PM

  • Folder in Presentation Server

    There are several files within a folder . i will just mention the folder path and program will retreive data from all the files within that flder .

    You can try
      CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
        EXPORTING
          directory  = p_pres
        IMPORTING
          file_count = file_count
        TABLES
          file_table = it_file
          dir_table  = dir_table
        EXCEPTIONS
          cntl_error = 1
          OTHERS     = 2.
      LOOP AT it_file .
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = it_file-pathname
        TABLES
          data_tab                = gt_upload
    endloop.

  • Select folder on presentation not file

    HI to all,
    How to select Folder on presentation server, no need to select file, need to select folder.
    is there any FM or is there any method to do it
    pls help me
    regards
    raadha

    I want to create folder, i dont want to create files in that or i dont want to use existing files in that.
    once the uesr executes the program, we need to create folder, after that the program will crete files in that folder automatically.
    I want to provide the F4 help for folder or i want to create folder.
    for example DIRECTORY_BROWSE can provide F4 help for folder, but we cant create folder here, we can select only already created file.
    can any one pls help me
    regards
    raadha

  • How to read list of all files in folder on application server?

    How to read list of all files in folder on application server?

    Hi,
    First get the files in application server using the following function module.
        CALL FUNCTION 'RZL_READ_DIR_LOCAL'
          EXPORTING
            name     = loc_fdir
          TABLES
            file_tbl = int_filedir.
    Here loc_fdir contains the application server path.
    int_filedir contains all the file names in that particular path.
    Now loop at int_filedir.
    OPEN DATASET int_filedir-name FOR INPUT IN TEXT MODE ENCODING  DEFAULT MESSAGE wf_mess.
    MESSAGE wf_mess.
        IF sy-subrc = 0.
          DO.
            READ DATASET pa_sfile INTO wf_string.
            IF sy-subrc <> 0.
              EXIT.
    endif.
    close datset int_filedir-name.
    endloop.

  • F4 Help for Presentation Server Folder Name .

    Hi Experts,
    I want show the F4 help on the presentation server.
    If the file is selected REquirement is that , on clicking the F4, the dialog box should open.
    If we choose the file , then file should be selected , but if we select the folder then folder should be selected.
    Normal function modules or methods present in SAP opens the folder containt  in the folder.
    Kindly provide anyFM name or class method name o achieve the functiknality .
    Thanks in advance.

    HI,
    Please paste this code,You will get F4 help.
       DATA:  lt_filetable  TYPE filetable,
               lwa_filetable TYPE file_table,
               l_rc          TYPE i.
      REFRESH lt_filetable[].
      CLEAR:lwa_filetable.
    * Open file
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        CHANGING
          file_table              = lt_filetable
          rc                      = l_rc
        EXCEPTIONS
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          not_supported_by_gui    = 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.
      ELSE.
        READ TABLE lt_filetable INTO lwa_filetable INDEX 1.
        IF sy-subrc = 0.
          p_sap1 = lwa_filetable-filename.
        ENDIF.
      ENDIF.

  • Not able to login into presentations server

    Hi,
    I have installed OBIEE in my local machine. As a part of report creation I have created an rpd file and changed the NQSConfig.ini file as mentioned in
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html.
    Then I have re-started the OC4J server and all the OBIEE services. Then I open the Presentation Services, I am not able to log in. The error shown is
    Error Codes: WH4KCFW6:OPR4ONWY:U9IM8TAC
    Odbc driver returned an error (SQLDriverConnectW).
    +State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 12008] Unable to connect to port 9703 on machine . [nQSError: 12010] Communication error connecting to remote end point: address = ; port = 9703. [nQSError: 12002] Socket communication error at call=: (Number=-1) Unknown (HY000)+
    I have checked the Log file (NQServer.log file in /OracleBI/Server/log folder). The Entries in the Log file are like this
    2009-10-27 18:00:42
    [36007] Loading repository C:\OBIEE\OracleBI\server\Repository\EventHub.rpd.
    2009-10-27 18:00:42
    [14055] Loading subject area: EventHub ...
    2009-10-27 18:00:42
    [14056] Finished loading subject area: EventHub.
    2009-10-27 18:00:42
    [43030] :     Oracle BI Server started. Version: 10.1.3.4.1.090414.1900.
    2009-10-29 14:09:42
    [nQSError: 12002] Socket communication error at call=send: (Number=10038) An operation was attempted on something that is not a socket.
    2009-10-29 14:29:23
    [43031] :     Oracle BI Server shutdown.
    2009-10-29 14:29:26
    [14058] Unloaded all subject areas.
    2009-10-29 15:01:55
    [36007] Loading repository C:\OBIEE\OracleBI\server\Repository\EventHub.rpd.
    2009-10-29 15:01:55
    [14055] Loading subject area: EventHub ...
    2009-10-29 15:01:55
    [14056] Finished loading subject area: EventHub.
    2009-10-29 15:01:55
    [43030] :     Oracle BI Server started. Version: 10.1.3.4.1.090414.1900.
    I have already gone through the forums which are already logged reporting the same error. But I dint get any pointers to the solution.
    Please let me know what might have gone wrong and how I can login to the Presentation Server and continue with report creation. Please let me know if you need further information on this .
    Thanks in advance for your time,
    Raj Kumar

    Hi,
    The following is the NQSConfig.ini file.
    # NQSConfig.INI
    # Copyright (c) 1997-2006 Oracle Corporation, All rights reserved
    # INI file parser rules are:
    # If values are in literals, digits or _, they can be
    # given as such. If values contain characters other than
    # literals, digits or _, values must be given in quotes.
    # Repository Section
    # Repositories are defined as logical repository name - file name
    # pairs. ODBC drivers use logical repository name defined in this
    # section.
    # All repositories must reside in OracleBI\server\Repository
    # directory, where OracleBI is the directory in which the Oracle BI
    # Server software is installed.
    [ REPOSITORY ]
    Star     =     EventHub.rpd, DEFAULT;
    # Query Result Cache Section
    [ CACHE ]
    ENABLE     =     NO;
    // A comma separated list of <directory maxSize> pair(s)
    // e.g. DATA_STORAGE_PATHS = "d:\OracleBIData\nQSCache" 500 MB;
    DATA_STORAGE_PATHS     =     "C:\OBIEE\OracleBIData\cache" 500 MB;
    MAX_ROWS_PER_CACHE_ENTRY = 100000; // 0 is unlimited size
    MAX_CACHE_ENTRY_SIZE = 1 MB;
    MAX_CACHE_ENTRIES = 1000;
    POPULATE_AGGREGATE_ROLLUP_HITS = NO;
    USE_ADVANCED_HIT_DETECTION = NO;
    MAX_SUBEXPR_SEARCH_DEPTH = 7;
    // Cluster-aware cache
    // GLOBAL_CACHE_STORAGE_PATH = "<directory name>" SIZE;
    // MAX_GLOBAL_CACHE_ENTRIES = 1000;
    // CACHE_POLL_SECONDS = 300;
    // CLUSTER_AWARE_CACHE_LOGGING = NO;
    # General Section
    # Contains general server default parameters, including localization
    # and internationalization, temporary space and memory allocation,
    # and other default parameters used to determine how data is returned
    # from the server to a client.
    [ GENERAL ]
    // Localization/Internationalization parameters.
    LOCALE     =     "English-usa";
    SORT_ORDER_LOCALE     =     "English-usa";
    SORT_TYPE = "binary";
    // Case sensitivity should be set to match the remote
    // target database.
    CASE_SENSITIVE_CHARACTER_COMPARISON = OFF ;
    // SQLServer65 sorts nulls first, whereas Oracle sorts
    // nulls last. This ini file property should conform to
    // that of the remote target database, if there is a
    // single remote database. Otherwise, choose the order
    // that matches the predominant database (i.e. on the
    // basis of data volume, frequency of access, sort
    // performance, network bandwidth).
    NULL_VALUES_SORT_FIRST = OFF;
    DATE_TIME_DISPLAY_FORMAT = "yyyy/mm/dd hh:mi:ss" ;
    DATE_DISPLAY_FORMAT = "yyyy/mm/dd" ;
    TIME_DISPLAY_FORMAT = "hh:mi:ss" ;
    // Temporary space, memory, and resource allocation
    // parameters.
    // You may use KB, MB for memory size.
    WORK_DIRECTORY_PATHS     =     "C:\OBIEE\OracleBIData\tmp";
    SORT_MEMORY_SIZE = 4 MB ;
    SORT_BUFFER_INCREMENT_SIZE = 256 KB ;
    VIRTUAL_TABLE_PAGE_SIZE = 128 KB ;
    // Analytics Server will return all month and day names as three
    // letter abbreviations (e.g., "Jan", "Feb", "Sat", "Sun").
    // To use complete names, set the following values to YES.
    USE_LONG_MONTH_NAMES = NO;
    USE_LONG_DAY_NAMES = NO;
    UPPERCASE_USERNAME_FOR_INITBLOCK = NO ; // default is no
    // Aggregate Persistence defaults
    // The prefix must be between 1 and 8 characters long
    // and should not have any special characters ('_' is allowed).
    AGGREGATE_PREFIX = "SA_" ;
    # Security Section
    # Legal value for DEFAULT_PRIVILEGES are:
    # NONE READ
    [ SECURITY ]
    DEFAULT_PRIVILEGES = READ;
    PROJECT_INACCESSIBLE_COLUMN_AS_NULL     =     NO;
    MINIMUM_PASSWORD_LENGTH     =     0;
    #IGNORE_LDAP_PWD_EXPIRY_WARNING = NO; // default is no.
    #SSL=NO;
    #SSL_CERTIFICATE_FILE="servercert.pem";
    #SSL_PRIVATE_KEY_FILE="serverkey.pem";
    #SSL_PK_PASSPHRASE_FILE="serverpwd.txt";
    #SSL_PK_PASSPHRASE_PROGRAM="sitepwd.exe";
    #SSL_VERIFY_PEER=NO;
    #SSL_CA_CERTIFICATE_DIR="CACertDIR";
    #SSL_CA_CERTIFICATE_FILE="CACertFile";
    #SSL_TRUSTED_PEER_DNS="";
    #SSL_CERT_VERIFICATION_DEPTH=9;
    #SSL_CIPHER_LIST="";
    # There are 3 types of authentication. The default is NQS
    # You can select only one of them
    #----- 1 -----
    #AUTHENTICATION_TYPE = NQS; // optional and default
    #----- 2 -----
    #AUTHENTICATION_TYPE = DATABASE;
    # [ DATABASE ]
    # DATABASE = "some_data_base";
    #----- 3 -----
    #AUTHENTICATION_TYPE = BYPASS_NQS;
    # Server Section
    [ SERVER ]
    SERVER_NAME = Oracle_BI_Server ;
    READ_ONLY_MODE = NO;     // default is "NO". That is, repositories can be edited online.
    MAX_SESSION_LIMIT = 2000 ;
    MAX_REQUEST_PER_SESSION_LIMIT = 500 ;
    SERVER_THREAD_RANGE = 40-100;
    SERVER_THREAD_STACK_SIZE = 0; // default is 256 KB, 0 for default
    DB_GATEWAY_THREAD_RANGE = 40-200;
    DB_GATEWAY_THREAD_STACK_SIZE = 0; // default is 256 KB, 0 for default
    MAX_EXPANDED_SUBQUERY_PREDICATES = 8192; // default is 8192
    MAX_QUERY_PLAN_CACHE_ENTRIES = 1024; // default is 1024
    MAX_DRILLDOWN_INFO_CACHE_ENTRIES = 1024; // default is 1024
    MAX_DRILLDOWN_QUERY_CACHE_ENTRIES = 1024; // default is 1024
    INIT_BLOCK_CACHE_ENTRIES = 20; // default is 20
    CLIENT_MGMT_THREADS_MAX = 5; // default is 5
    # The port number specified with RPC_SERVICE_OR_PORT will NOT be considered if
    # a port number is specified in SERVER_HOSTNAME_OR_IP_ADDRESSES.
    RPC_SERVICE_OR_PORT = 9703; // default is 9703
    # If port is not specified with a host name or IP in the following option, the port
    # number specified at RPC_SERVICE_OR_PORT will be considered.
    # When port number is specified, it will override the one specified with
    # RPC_SERVICE_OR_PORT.
    SERVER_HOSTNAME_OR_IP_ADDRESSES = "ALLNICS"; # Example: "hostname" or "hostname":port
    # or "IP1","IP2":port or
    # "hostname":port,"IP":port2.
    # Note: When this option is active,
    # CLUSTER_PARTICIPANT should be set to NO.
    ENABLE_DB_HINTS = YES; // default is yes
    PREVENT_DIVIDE_BY_ZERO = YES;
    CLUSTER_PARTICIPANT = NO; # If this is set to "YES", comment out
    # SERVER_HOSTNAME_OR_IP_ADDRESSES. No specific NIC support
    # for the cluster participant yet.
    // Following required if CLUSTER_PARTICIPANT = YES
    #REPOSITORY_PUBLISHING_DIRECTORY = "<dirname>";
    #REQUIRE_PUBLISHING_DIRECTORY = YES; // Don't join cluster if directory not accessible
    DISCONNECTED = NO;
    AUTOMATIC_RESTART = YES;
    # Dynamic Library Section
    # The dynamic libraries specified in this section
    # are categorized by the CLI they support.
    [ DB_DYNAMIC_LIBRARY ]
    ODBC200 = nqsdbgatewayodbc;
    ODBC350 = nqsdbgatewayodbc35;
    OCI7 = nqsdbgatewayoci7;
    OCI8 = nqsdbgatewayoci8;
    OCI8i = nqsdbgatewayoci8i;
    OCI10g = nqsdbgatewayoci10g;
    DB2CLI = nqsdbgatewaydb2cli;
    DB2CLI35 = nqsdbgatewaydb2cli35;
    NQSXML = nqsdbgatewayxml;
    XMLA = nqsdbgatewayxmla;
    ESSBASE = nqsdbgatewayessbasecapi;
    # User Log Section
    # The user log NQQuery.log is kept in the server\log directory. It logs
    # activity about queries when enabled for a user. Entries can be
    # viewed using a text editor or the nQLogViewer executable.
    [ USER_LOG ]
    USER_LOG_FILE_SIZE = 10 MB; // default size
    CODE_PAGE = "UTF8"; // ANSI, UTF8, 1252, etc.
    # Usage Tracking Section
    # Collect usage statistics on each logical query submitted to the
    # server.
    [ USAGE_TRACKING ]
    ENABLE = NO;
    //==============================================================================
    // Parameters used for writing data to a flat file (i.e. DIRECT_INSERT = NO).
    STORAGE_DIRECTORY = "<full directory path>";
    CHECKPOINT_INTERVAL_MINUTES = 5;
    FILE_ROLLOVER_INTERVAL_MINUTES = 30;
    CODE_PAGE = "ANSI"; // ANSI, UTF8, 1252, etc.
    //==============================================================================
    DIRECT_INSERT = YES;
    //==============================================================================
    // Parameters used for inserting data into a table (i.e. DIRECT_INSERT = YES).
    PHYSICAL_TABLE_NAME = "<Database>"."<Catalog>"."<Schema>"."<Table>" ; // Or "<Database>"."<Schema>"."<Table>" ;
    CONNECTION_POOL = "<Database>"."<Connection Pool>" ;
    BUFFER_SIZE = 10 MB ;
    BUFFER_TIME_LIMIT_SECONDS = 5 ;
    NUM_INSERT_THREADS = 5 ;
    MAX_INSERTS_PER_TRANSACTION = 1 ;
    //==============================================================================
    # Query Optimization Flags
    [ OPTIMIZATION_FLAGS ]
    STRONG_DATETIME_TYPE_CHECKING = ON ;
    # CubeViews Section
    [ CUBE_VIEWS ]
    DISTINCT_COUNT_SUPPORTED = NO ;
    STATISTICAL_FUNCTIONS_SUPPORTED = NO ;
    USE_SCHEMA_NAME = YES ;
    USE_SCHEMA_NAME_FROM_RPD = YES ;
    DEFAULT_SCHEMA_NAME = "ORACLE";
    CUBE_VIEWS_SCHEMA_NAME = "ORACLE";
    LOG_FAILURES = YES ;
    LOG_SUCCESS = NO ;
    LOG_FILE_NAME     =     "C:\OBIEE\OracleBI\server\Log\CubeViews.Log";
    # MDX Member Name Cache Section
    # Cache subsystem for mapping between unique name and caption of
    # members for all SAP/BW cubes in the repository.
    [ MDX_MEMBER_CACHE ]
    // The entry to indicate if the feature is enabled or not, by default it is NO since this only applies to SAP/BW cubes
    ENABLE = NO ;
    // The path to the location where cache will be persisted, only applied to a single location,
    // the number at the end indicates the capacity of the storage. When the feature is enabled,
    // administrator needs to replace the "<full directory path>" with a valid path,
    // e.g. DATA_STORAGE_PATH = "C:\OracleBI\server\Data\Temp\Cache" 500 MB ;
    DATA_STORAGE_PATH     =     "C:\OBIEE\OracleBIData\cache" 500 MB;
    // Maximum disk space allowed for each user;
    MAX_SIZE_PER_USER = 100 MB ;
    // Maximum number of members in a level will be able to be persisted to disk
    MAX_MEMBER_PER_LEVEL = 1000 ;
    // Maximum size for each individual cache entry size
    MAX_CACHE_SIZE = 100 MB ;
    # Oracle Dimension Export Section
    [ ORA_DIM_EXPORT ]
    USE_SCHEMA_NAME_FROM_RPD = YES ; # NO
    DEFAULT_SCHEMA_NAME = "ORACLE";
    ORA_DIM_SCHEMA_NAME = "ORACLE";
    LOGGING = ON ; # OFF, DEBUG
    LOG_FILE_NAME     =     "C:\OBIEE\OracleBI\server\Log\OraDimExp.Log";
    One more thing is that I have kept the BI server (OC4J server) runnung.
    Does the time of the error in NQSServer.log match with when you try to login to Presentation Services?
    I donot see any error matching the time of loginto presentation services.

  • To create folder in Application server

    hi,
    How to create folder in application server from presentation server??
    how is the program it??
    reply me soon...
    thx,
    s.suresh.

    hi Suresh
    Hope u r having nice day
    here i am sending a sample report which can upload the file to Application Server which inturn automatically create folder .
    REPORT  ZSHR_UPLOAD_TO_APPLICATION              .
    DATA : BEGIN OF IT_MAT OCCURS 0,
              MBRSH LIKE MARA-MBRSH,
              MTART LIKE MARA-MTART,
              MAKTX LIKE MAKT-MAKTX,
              MEINS LIKE MARA-MEINS,
           END OF IT_MAT.
    DATA : W_DIR(40).
    MOVE 'D:\usr\sap\DEV\DVEBMGS00\work\SHR' TO W_DIR.
    "SHR" IS A FOLDER NAME TO BE CREATED
    START-OF-SELECTION.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                     = 'C:\MAT.TXT'
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                      = IT_MAT
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17.
    OPEN DATASET W_DIR FOR OUTPUT IN TEXT MODE ENCODING UTF-8.
      IF SY-SUBRC EQ 0.
        LOOP AT IT_MAT.
           TRANSFER IT_MAT TO W_DIR.
        ENDLOOP.
      ENDIF.
    CLOSE DATASET W_DIR.
    IF USEFUL AWARD POINTS.
    REGARDS
    HEMASEKHARA REDDY S

  • To Retrive Folder List in SAP MII 12.0

    Is there any option available in SAP MII 12.0 to retrieve List of Folders Available same as like Folder List Query in 11.5.

    Hello,
    try an XML Query with the following URL:
    /XMII/Illuminator?Mode=TransactionFolderList&Server=XacuteConnector&Content-Type=text/xml
    Filter the result by its "ParentPath" column to get a list of folders inside a provided parent folder. Make sure that you have increased the default query row count of 100 to get all folders on your system.
    Hope this helps - good luck!
    Matthias
    Edited by: Michael Appleby on Jan 5, 2011 2:38 PM

  • File copy from SHARED folder to Application server

    Hi
    I have a file which is in a shared folder. My requirement is to copy this file into the application server.
    The function module C13Z_FILE_UPLOAD_BINARY is working fine with local files. But I could not use it to copy the file in shared folder.
    Please help me out.
    Points will be awarded for sure !!
    Thanks

    hi,
    use OPEN DATASET ... TRANSFER ... CLOSE DATASET to transfter the data on to the required file path ... else use transaction
    CG3Z - to upload file from presentation server to application server.
    Regards,
    Santosh

  • How to transfer file from application server to presentation server in background?

    Hi Experts,
    How to transfer file from application server to presentation server in background?
    Thanks in advance
    Namita

    Thanks Raman and Challa,
    We want to move file from application server to Shared folder, not on local machine. We checked FM which you guys have provided but those are not able to read file from application server.
    We need this program to run in background so that we can use this in daily process chain.
    Appreciate your inputs on this.
    Thanks,
    Namita

  • Web Matrix FTP Remote Connection Error - "Connection Error - Failure to get file list from server. An entry with the same key already exists."

    Does anyone have experience with this issue when connecting to a Linux FTP Web Server running a FTP Site?
    "Connection Error - Failure to get file list from server. An entry with the same key already exists."
    I cannot access the root directory of the ftp file server using Web Matrix 3. The site is .php based, and
    is accessible when connecting with FileZilla or Remote Connecting via FTP with Visual Studio.
    All sites have been deleted from Web Matrix, the user Application Data has been cleared and Web Matrix has been reinstalled.
    Issue Persists....
    Thanks in advance,
    Justin

    Turns out that the program leaves metadata in your app data folder that is not removed upon uninstallation of the software.
    This is incorporated to communicate with a file that uploaded into the ftp directory when publishing pages.

  • File download to presentation server in BACKGROUND

    Hello,
    i'm trying to download a simple list to the presentation server, but in a background process (part of an update rule for an infopackage). I´ve tried WS_Download and CALL METHOD o->gui_download etc but the job cancels with them since they seem only to run in frontend. Does anyone know of a more suitable function module?
    Thanks,
    Kev

    Hi,
    Tyr to download file to unix in background.
    PARAMETERS:    p_unix     LIKE rlgrap-filename.
    INITIALIZATION.
      v_uzeit  = sy-uzeit.
      v_date   = sy-datum.
      v_client = sy-mandt.
      v_sys    = sy-sysid.
      CONCATENATE c_str v_sys c_str4 v_client
                  c_str3 v_date c_str5 v_uzeit c_str6 INTO p_unix.
       DATA: v_fnam        LIKE rlgrap-filename,
          v_filepht     LIKE FILENAME-FILEINTERN, "File for p_unix
          v_sys         LIKE sy-sysid,
          v_client      LIKE sy-mandt,
          v_date        LIKE sy-datum,
          v_uzeit       LIKE sy-uzeit
    FORM f3000_save_unix_file.
      SORT i_output.
    * Open the file in application server
      OPEN DATASET p_unix FOR OUTPUT IN TEXT MODE.
      IF sy-subrc <> 0.
        MESSAGE s900 WITH p_unix.           " File opening error
        LEAVE LIST-PROCESSING.
      ENDIF.
      LOOP AT i_output INTO w_output.
        TRANSFER w_output TO p_unix.
        CLEAR w_output.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE:/ text-075, p_unix, text-076. " File successfully created
      ELSE.
        WRITE:/ text-074, p_unix.           " Error creating file
      ENDIF.
    * Closing the file
      CLOSE DATASET p_unix.
    ENDFORM.                    " f3000_save_unix_file
    Also refer this link
    http://www.sapdevelopment.co.uk/file/file_updown.htm
    Try this might help u.

  • Safari 5.1 in iMac OS X 10.6.8.Adding Bookmarks to "unsorted Bookmarks" folder puts them in a black hole.  I can't find the "UB" folder.  Where is it? Should I add it to the folder list somewhere on the left pane? OR? Help, please!

    Safari 5.1 in iMac OS X 10.6.8.Adding Bookmarks to "unsorted Bookmarks" folder puts them in a black hole.  I can't find the "UB" folder.  Where is it? Should I add it to the folder list somewhere on the left pane? OR? Help, please!

    It looks like that the installation process of one of the applications have caused some trouble. One of them may have changed or added kext files.
    For that, the Window server crashed if you try to open a non Apple application like Firefox
    Start the system in safe mode by holding the shift key on power on.
    If save mode is reached, perform a permissions repair with the Disk Utility.
    Don't bother about upcoming warnings like "could not repair file xy" as that occur cause you use the tool on a running system and opened files can not get touched by the tool.
    After repair is done reboot system to normal and try to open Firefox.
    If the problem persits, please report back here.
    Lupunus

Maybe you are looking for

  • Problem in Condition record Creation

    I am creating condition record in ML51 My amount is 95.20 INR System is issues the error message Input must be in the format

  • How do you insert a "prior period" in Crystal Reports 2008

    I am constructing a income statement that compares this current period versus the same period from last year.  I used the parameter field and filter list for one time period.  Is it possible to have a comparison time period on the same report. For ex

  • Variable assignment error in stored procedure

    i am writing this query giving me error create or replace PROCEDURE sp_AUDIT_ScrollAccepted v_Date IN VARCHAR2 DEFAULT NULL , cv_1 IN OUT SYS_REFCURSOR AS BEGIN IF v_Date IS NULL THEN BEGIN v_Date := to_CHAR(SYSDATE, 'DD/MM/YYYY') ;----------------er

  • Explicit access of the index in bulk bind forall

    Hi I wonder if it is possible to access the index itself in a bulk bind. For instance: SQL> desc draft_responces; Name Type Nullable Default Comments S_NUMBER VARCHAR2(10) CLUSTER_ID NUMBER STATEMENT_ID NUMBER RESPONCE NUMBER Y RESP_NUM NUMBER Y and

  • IOS - object-group service

    Hello Guys, my question is do below access-lists operate the same way? I am confused about source and destination ports in object-group based acl. ip access-list extended 101   deny tcp any any eq bgp   deny tcp any eq bgp any   deny tcp any any eq f