Unable to Open File In Application Server

Hi All,
I have generated csv file in application Server with the help of Open HUb Destination.In Open Hub 2 files will we generated(1 is structure of the file(s_ztest),2 is data file(ztest)).When i click on the structure of the file then it is opening,but when im tryin to open data file(i,e(ztest)its giving an message like UNABLE TO OPEN THE FILE.
Please let me know how it can be opened.
Thanks In Advance,
Bobby

Hi All,
File is Opening,it was an error in filed mapping....

Similar Messages

  • InfoSpoke fails with message "Could not open file on application server"

    BW Experts,
    I created an InfoSpoke that is configured to extract to a flat file. The name of the file is specified using a logical filename. During extraction, the infospoke reports the error message "Could not open file on application server" adnd  marks the extraction process as red(failed). I have tried to run the InfoSpoke in background mode and in dialog mode and the same error appears. After i run in dialog mode, i checked SU53 for authorization errors and did not find any. I also tried changing the Logical filename setup in transaction FILE to a more "friendly" directory in which i'm sure i have authorizations (e.g. my UNIX home directory) and im still getting errors.
    Can you please share your thoughts on this? Any help will greatly appreciated. I also promise to award points.

    Hi Nagesh,
    Thanks for helping out.
    If i configure the InfoSpoke to download to a file using "File Name" option and also check the "Application server" checkbox, the extract works correctly (extraction to the defualt SAP path and filename=infospoke name). If i configure the InfoSpoke to download to the local workstation, the InfoSpoke also works correctly. It's only when i configure it to download to the application server and use the "Logical filename" option, that i encounter a failed extract.
    Here are the messages is the Open Hub Monitor:
    (red icon) Request No.147515
    0 Data Records
    Runtime 1 sec.
    (red icon)Run No. 1
    0 Data Records
    Runtime 1 sec.
    Messages for Run
    Extraction is running RSBO 305
    Could not open file on application server RSBO 214
    Request 147515 was terminated before extraction RSBO 326
    Request 1475151: Error occured RSBO 322
    If i clink on the error message, no messages nor clues are displayed. Note, this is a new InfoSpoke that is currently in the dev system.
    Please help.

  • Problem opening file in application server received by FTP.

    Hi,
    I am using FTP_COPY to receive file in application server.
    I am receiving file from FTP but I am unable to open them because the mode was set as 640 as in attributes.
    Could you please help me in how to receive in readable format...
    Any suggestions to use FTP commands?
    Thanks in advance.

    If you do not have authorizations to open the file its easy: there is nothing you can do except contact the ftp admin.

  • Unable to read file from application server

    Hi guys,
    I am reading file(could be any extension) from application server,but some time i am successfuly able to read file and sometime unable to read,why its happening .
    my code is here
    OPEN DATASET E_FILE FOR INPUT IN  BINARY MODE . "
      IF SY-SUBRC = 0.
        DO .
          READ DATASET E_FILE INTO GS_PDF_TAB.
          IF SY-SUBRC = 0.
            APPEND GS_PDF_TAB TO GT_PDF_TAB.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
        CLOSE DATASET E_FILE.
      ENDIF.
    Thanks
    Ankur Sharma

    Hi,
    What actually happens?  Do you get a short dump?  Do you get a return code ne 0?  Does it run fine but you get no data in your table?
    We aren't mind-readers and can't help much without more information.
    Try using transaction AL11 to see if you access the files you are trying to open.
    Gareth.

  • Unable to download file to application server

    Hi,
    I am trying to download a file to the application server. I've also attached my code below.After the execution of this program, it is just returning blank values to the application server file. Let me know why it is not populating the values to the files.
    Raj.
    tables: kna1,
            knb1.
    DATA: BEGIN OF itab_ls OCCURS 0,
           kunnr LIKE kna1-kunnr,
           altkn LIKE knb1-altkn,
         END OF itab_ls.
    TYPES : BEGIN OF t_file,
              date(5) TYPE c,   " Date
              time(5) TYPE c,   " Time
            end of t_file.
    DATA : gt_file TYPE TABLE OF t_file, " File Path
           g_spath TYPE fileextern,   " Path
           g_fieldname   TYPE dynfnam. " Field Name
    SELECTION-SCREEN BEGIN OF BLOCK b_01 WITH FRAME TITLE text-b01.
    SELECT-OPTIONS s_erdat FOR kna1-erdat obligatory.
    SELECTION-SCREEN END   OF BLOCK b_01.
    SELECTION-SCREEN BEGIN OF BLOCK b_02 WITH FRAME TITLE text-b02.
    SELECTION-SCREEN BEGIN OF LINE.
    Radio button for Presentation server file
    PARAMETERS    : p_pres RADIOBUTTON GROUP file DEFAULT 'X'
                    USER-COMMAND file.
    SELECTION-SCREEN COMMENT 3(20)  text-s01 FOR FIELD p_pres.
    SELECTION-SCREEN END   OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 23(22) text-s02 FOR FIELD p_flnam1
                                                   MODIF ID com.
    Presentation server file Name
    PARAMETERS    : p_flnam1 TYPE localfile MODIF ID com ."MEMORY ID zp1.
    SELECTION-SCREEN END   OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    Radio button for Application server file
    PARAMETERS    : p_app RADIOBUTTON GROUP file  .
    SELECTION-SCREEN COMMENT 3(20)  text-s03 FOR FIELD p_app.
    SELECTION-SCREEN END   OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 23(22) text-s04 FOR FIELD p_flnam2
                                                   MODIF ID com.
    Application server file Name
    PARAMETERS    : p_flnam2 TYPE localfile MODIF ID com ."MEMORY ID zp2 .
    SELECTION-SCREEN END   OF LINE.
    SELECTION-SCREEN END   OF BLOCK b_02.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_flnam1.
      g_fieldname = 'P_PCFILE'.
      PERFORM call_pres_help USING    g_fieldname
                             CHANGING p_flnam1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_flnam2.
      PERFORM call_app_help CHANGING p_flnam2.
    AT SELECTION-SCREEN OUTPUT.
    Start-of-selection.
    SELECT kna1kunnr knb1altkn kna1ktokd kna1erdat
    INTO CORRESPONDING FIELDS OF TABLE itab_ls
    FROM kna1 INNER JOIN knb1 ON kna1kunnr = knb1kunnr WHERE kna1~erdat in
    s_erdat AND KNA1KTOKD = 'Z002' order by kna1kunnr.
    OPEN DATASET p_flnam2 for output IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc EQ 0.
      LOOP AT itab_ls.
        TRANSFER itab_ls TO p_flnam2.
      ENDLOOP.
      CLOSE DATASET p_flnam2.
    endif.
    WRITE:/'SAP Ship-toCustID', 18 'LegacyCustID'.
    ULINE.
    Loop at itab_ls.
      write: /3 itab_ls-KUNNR, 18 itab_ls-ALTKN.
    endloop.
    PERFORM download_file.
    *&      Form  call_pres_help
          text
         -->P_FIELDNAME  text
         -->P_PARAMETER  text
    FORM call_pres_help  USING    p_fieldname    TYPE dynfnam
                        CHANGING p_parameter    TYPE localfile.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = sy-repid
          dynpro_number = sy-dynnr
          field_name    = p_fieldname
        IMPORTING
          file_name     = p_parameter.
    ENDFORM.                    "call_pres_help
    *&      Form  call_app_help
          text
         -->P_PARAMETER  text
    FORM call_app_help  CHANGING p_parameter    TYPE localfile.
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
        EXPORTING
          directory        = g_spath
        IMPORTING
          serverfile       = p_parameter
        EXCEPTIONS
          canceled_by_user = 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.
    ENDFORM.                    "call_app_help

    Hi,
    If the SY-SUBRC is equal to 8, then error is nothing but "The file could not be opened". So pls check the file name again.
    And for write statement,
    If SY-SUBRC = 4 then the Contents of name are invalid, statement could not be executed, and contents of destination remain unchanged. So pls do check this also.
    regs,
    Venkat Ramanan
    Message was edited by: Venkat Ramanan Natarajan

  • Unable to create a file in Application Server using OPEN DATASET stattement.

    I am unable to create a file in Application Server using the following statement.
    OPEN DATASET filename FOR OUTPUT
    IN TEXT MODE ENCODING DEFAULT
    MESSAGE msg.
    The message I'm getting is "Permission Denied". I have checked authorisation using SU53 which says "The last authorization check was successful". Please help.

    You can use following code to capture the error.
    TRY.
          OPEN DATASET filename FOR OUTPUT IN BINARY MODE MESSAGE V_MSG.
          CATCH CX_ROOT
          INTO EXCEPTION.
          CALL METHOD O_EXCEPTION ->IF_MESSAGE~GET_TEXT
            RECEIVING
            RESULT = V_MSG.
          MESSAGE v_msg
          TYPE 'E'.
    ENDTRY.
    You can capture error in v_msg.
    Following are the exceptions for the same:
    Exceptions
    Catchable Exceptions
    CX_SY_FILE_OPEN
    Cause: The file is already open.
    Runtime Error: DATASET_REOPEN
      CX_SY_CODEPAGE_CONVERTER_INIT   
    Cause: The desired conversion is not supported. (Due to specification of invalid code page or of language not supported in the conversion, with SET LOCALE LANGUAGE.)
    Runtime Error: CONVT_CODEPAGE_INIT
    CX_SY_CONVERSION_CODEPAGE
    Cause: Internal error in the conversion.
    Runtime Error: CONVT_CODEPAGE
    CX_SY_FILE_AUTHORITY
    Cause: No authorization for access to file
    Runtime Error: OPEN_DATASET_NO_AUTHORITY
    Cause: Authorization for access to this file is missing in OPEN DATASET with addition FILTER.
    Runtime Error: OPEN_PIPE_NO_AUTHORITY
      CX_SY_PIPES_NOT_SUPPORTED   
    Cause: The operating system does not support pipes.
    Runtime Error: DATASET_NO_PIPE
    CX_SY_TOO_MANY_FILES
    Cause: Maximum number of open files exceeded.
    Runtime Error: DATASET_TOO_MANY_FILES   Non-Catchable Exceptions   
    Cause: An attempt was made to open a pipe that is already open.
    Runtime Error: DATASET_PIPE_POSITION
    Hope that will help you.
    Please reward if useful.

  • Could not open the file in application server

    Hi All,
    I have a Zreport which will write files on application server. When I tried to download it is showing me "Could not open the file". And when checked again with /nal11 the files does not exist. When I ran the Zreport again the file exist in application server but unable to download. And when checked again the file doesnot  exist. Why it is getting archived? Please help me.
    Thanks,
    Venkata

    Hi Sagar,
    Below is my file path : /dv2/tmp/instl/salesdata.txt
    When I checked in the below path the file exists.
    /dv2/tmp/archive/salesdata.txt
    Solved the issue.
    Thanks,
    Venkata

  • How to delete the Generated files from application server(open hub)?

    hi experts,
    when i try to execute process chain the DTP it is giving below dump. Exception CX_RSBK_REQUEST_LOCKED logged.
    when i execute the DTP manually and trying to delete the previous request, it is giving for dump ITAB_DUPLICATE_KEY.
    so to delete the generated file from application server, how to delete it for specific dates?
    Information on where terminated
    Termination occurred in the ABAP program "GPD6S3OE0BCVGC6L9DBNVYQARZM" - in
    "START_ROUTINE".
    The main program was "RSBATCH_EXECUTE_PROZESS ".
    In the source code you have the termination point in line 2874
    of the (Include) program "GPD6S3OE0BCVGC6L9DBNVYQARZM".
    The program "GPD6S3OE0BCVGC6L9DBNVYQARZM" was started as a background job.
    and when i check the dump it is point out at below code
    " Populate the lookup table for 0STOR_LOC
    SELECT * from /BI0/TSTOR_LOC
    into CORRESPONDING FIELDS OF table L_0STOR_LOC_TEXT
    FOR ALL ENTRIES IN SOURCE_PACKAGE WHERE
    STOR_LOC = SOURCE_PACKAGE-STOR_LOC.
    but the programme is syntactically correct only.
    how to rectify the issue.
    regards
    venuscm
    Edited by: venugopal vadlamudi on Sep 28, 2010 1:59 PM

    hi experts,
    We have written start routine to get the storage location text and sending to File located at Application server through OPEN HUB.
    here is the code written in the Transformations
    In the global section
    Text for 0STOR_LOC
        DATA: l_0stor_loc_text TYPE HASHED TABLE OF /bi0/tstor_loc
              WITH UNIQUE KEY stor_loc.
        DATA: l_0stor_loc_text_wa TYPE /bi0/tstor_loc.
    and in the code to get the text
    " Populate the lookup table for 0STOR_LOC
        *SELECT * from /BI0/TSTOR_LOC*
          into CORRESPONDING FIELDS OF table L_0STOR_LOC_TEXT
          FOR ALL ENTRIES IN SOURCE_PACKAGE WHERE
                  STOR_LOC = SOURCE_PACKAGE-STOR_LOC.
    im sure there is problem with the Routine only. i think i need to change the code if so please provide me the modified one.
    thanks
    venuscm
    Edited by: venugopal vadlamudi on Sep 29, 2010 9:37 AM

  • OPEN DATA SET to write files in application server folder - some of the files are missing

    Hi,
    I'm using OPEN DATASET statement in batch job to write the files in application server. what i'm experiencing is when i schedule the batch job all the files are not writing into the folder.
    If i run the report again to write the missed files, the files are writing into the application server folder.
    after opening the dataset, i'm closing it. do we need to give any delay between creation of the files? or until the first write operation is done, 2nd one can't start ..how can we achieve this.
    Thanks for your help in advance.
    Thanks,
    Adi.

    Hello Bathineni,
    Are you using the sy-subrc check after the OPEN DATASET statement.
    If not use a sy-subrc check and transfer the contents to file only when the OPEN DATASET returns value sy-subrc = 0.
    if sy-subrc is 8 repeat the same loop say for 3 attempts until the OPEN DATASET becomes 0.
    DO 3 TIMES. <---- put any number of attempts as you need
    OPEN DATASET.
    IF sy-subrc = 0.
       TRANSFER contents to file.
       EXIT.
    ENDIF.
    ENDDO.
    CLOSE DATASET.
    Regards,
    Thanga

  • Open documents/files from Application Server in forms 6i

    Hello All,
    Our requirement is to open files that are in Application server( We do not want to upload them into database).
    Is there a way to open this files from forms 6i.
    I am wondering how the "View Output" or View log button works on the concurrent program submission form. Its the doing the same thing i.e pulling the file from Application server and showing up.
    Please let me know if anyone has any ideas on how to get this done.
    Thanks
    Sunil

    I assume you are using Forms 6i in web mode here. Then it is just a URL to the file if you properly map to a directory where you store the files:
    web.show_document('http://...../myfile.pdf');
    But it also looks like you are using Oracle Apps, so might want to ask it in the e-Business Suite.

  • Open hub error when generating file in application server

    Hi, everyone.
    I'm trying to execute an open hub destination that save the result as a file in the application server.
    The issue is: in production environment we have two application servers, XYZ is the database server, and A01 is the application server. When I direct the open hub to save file in A01 all is working fine. But when I change to save to XYZ I´m getting the following error:
    >>> Exception in Substep Start Update...
    Message detail: Could not open file "path and file" on application server
    Message no. RSBO214
    When I use transaction AL11, I can see the file there in XYZ filesystem (with data and time correspondent to execution), but I can´t view the content and size looks like be zero.
    Possible causes I already checked: authorization, disk space, SM21 logs.
    We are in SAP BW 7.31 support package 6.
    Any idea what could be the issue or where to look better?
    Thanks and regards.
    Henrique Teodoro

    Hi, there.
    Posting the resolution for this issue.
    SAP support give directions that solved the problem. No matter in which server (XYZ or A01) I logon or start a process chains, the DTP job always runs in A01 server, and it causes an error since the directory doesn´t exist in server XYZ.
    This occurs because DTP settings for background job was left blank. I follows these steps to solve the problem:
    - open DTP
    - go to "Settings for Batch Manager"
    - in "Server/Host/Group on Which Additional Processes Should Run" I picked the desired server
    - save
    After that, no matter from where I start the open hub extraction, it always runs in specified server and saves the file accordingly.
    Regards.
    Henrique Teodoro

  • Open data set for reading excel file on application server in back ground

    open data set for reading excel file on application server in back ground

    hi Vijay,
    I am afraid you won't be able to read from Excel file on Appl. Server.
    ec

  • Content server - unable to open file

    Hi,
    For Linux based Content server 6.4 installation we are experiencing the errror as unable to open, display  the saved DMS original fiiles.
    The CS server URL test, RSCMST tests are all green.
    The DMS authorizations are correct. We are able to save DMS files on content server. Only while in display mode CV03N it is showing error as unable to open file. We have checked DMS settings which are ok.
    Request you to let us know where to trace the error.
    Thanks.
    Anirudh,

    Hi,
    The error is
    Component New Microsoft Office Word Document 111.doc error text - No Such flie or directory
    Repository Z_DMS_X cannot be addressed from the front end.
    The CS is installed on Apache server, the users are on windows.  The AdminSecurity is set to 0.
    BR,
    Anirudh,

  • Open dataset deleting file in application server

    Hi All,
    Im reading a text file from application server .However the below statement is failing(sy-subrc = 8)
    and deleting my file
    OPEN DATASET gv_file FOR INPUT IN TEXT MODE ENCODING UTF-8.
    Please let me know what is causing the issue.
    REgards,
    Faiz

    That seems very unlikely, you should try to get more information:
    * Try the messages statement:
    DATA mess TYPE string.
    OPEN DATASET `` FOR INPUT IN BINARY MODE MESSAGE mess.
    IF sy-subrc = 8.
      MESSAGE mess TYPE 'I'.
    ENDIF.

  • Problem Reading Flat File from Application server

    Hi All,
    I want to upload a Flat File which is having a Line Length of 3000.
    While uploading it to Application server , only upto 555 length it is getting uploaded .
    i am using the code :
    DATA: BEGIN OF TB_DATA OCCURS 0,
            LINE(3000),
          END OF TB_DATA.
    *----Uploading the flat file from the Local drive using FM "UPLOAD".
    OPEN DATASET TB_FILENAM-DATA FOR OUTPUT IN TEXT MODE." ENCODING DEFAULT.
    IF SY-SUBRC NE 0.
      WRITE:/ 'Unable to open file:', TB_FILENAM-DATA.
    ELSE.
      LOOP AT TB_DATA.
        TRANSFER TB_DATA TO TB_FILENAM-DATA.
      ENDLOOP.
    ENDIF.
    CLOSE DATASET TB_FILENAM-DATA.
    What could be the problem?
    Could it be due to any Configuration Problem?
    Waiting for your replies.
    Thanks and Regards.
    Suki

    Your code looks OK, but you may have touble displaying the full width. Try:
    WRITE: /001 TB_FILENAM-DATA+555.
    (And don't forget to append your ITAB after each read.)
    Rob

Maybe you are looking for

  • Printing problem with Graphics2D

    Hi, Ive got a problem with printing. I have a JPanel and it has among other things a button to print the component which is an instance of the class its in. This is a drawing in Graphics2D. here is the following code that is meant to do the printing:

  • Android 4.03 latest adobe flash player installed but not showing any flash based sites

    The plugin is here: http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android/ Download the .apk , install , and have fun.

  • ORA-27142: could not create new process/ when i am duplicating DB

    I am trying to duplicated DB on new server and getting this error Need suggestions to solve this ? RMAN-03002: failure of Duplicate Db command at 10/03/2006 16:58:58 RMAN-03015: error occurred in stored script Memory Script ORA-27142: could not creat

  • My first app in Apple app store & Android Market...

    I've been building a large multiscreen app in Air for boating that's quite involved - it's been about 2 years in development.  I realized that I had no experience getting apps into the varous app stores so I made a small app and released it to the Ap

  • ServletExec: failed to parse servletexec.xml

    Hello One of my users reported the BLS editor not displaying correctly, so after a quick investigation I figured it was a java problem and stopped the ServletExec-xMII service.  1.  Now double-clicking StartServletExec.bat to start it up works, java.