Archive Items in the Unix Directory

Hi,
I have archived workflow items in the Unix directory, this archived files are stored in ASCII format.
Is there any tool to convert this ASCII format to readable format, without retrieving archived data back.
Thanks

posted this same question under workflow.

Similar Messages

  • How to check whether a file is present in the UNIX directory of app. server

    Hi,
            I am creating files in the UNIX directory in the application server using :
                       CONCATENATE '/sapmnt/RD1/interfaces/client670/'
                       p_fname '.CSV' INTO w_filename.
               OPEN DATASET w_filename FOR OUTPUT IN TEXT MODE.
              LOOP AT t_output1.
                      TRANSFER t_output1 TO w_filename.
              ENDLOOP.
             CLOSE DATASET w_filename.
    I am unable to check whether a file with the same name exists or not. How to check the duplicate state of the file.

    You can use the following fm
    RZL_READ_FILE
    or
    use OPEN DATASET FOR INPUT.

  • Error occurred while publishing the content item to the Knowledge Directory

    We are receiving the following error upon publishing non-binary content items to the knowledge directory:
    Error occurred while publishing the content item to the Knowledge Directory. Contact your portal administrator.
    Ironically, in the KD, we call see all content items located in Publisher when we are in Edit mode -- even though they haven't been published to the KD yet. In Browse mode, we can't see any content items.
    Has anyone see this error before? What could be the cause?
    We are using ALUI 6.1.

    Hi,
    If you are seeing the documents in the Knowledge Directory and in edit mode, but not browse mode then check/try the following. What exactly were you doing when you got the error? Were you in Publisher or in the Knowledge Directory and running the Simple Submit task?:
    1. Try to approve the documents in edit mode.
    2. Go to the Administrative->Intrinsic Operations and run the following jobs.
    --> Search Update 1
    3. Make sure you have proper permissions on the folder in the Knowledge Directory and Publisher Folders.
    4. Check the permissions on the Content Source for the Knowledge Directory
    I need a little more information to get your better help.
    tnx
    James

  • Download Excel file in the Unix directory of Application server

    Hi Friends,
    I have a requirement  of downloading the Excel file in the Unix directory path of the application server,i just need your inputs,it would be great help if you can send any sample coding for downlading the file in the Unix directory?
    Regards
    Dinesh

    You can use the following fm
    RZL_READ_FILE
    or
    use OPEN DATASET FOR INPUT.

  • Deleting all files in the Unix directory

    I was trying to create a DB in Unix. I had to remove all the files in the udump directory and I saw that there were files in thousands. I was trying to find a command to remove all of them to make the directory empty, so that I could create the udump file for Database creation. However, I couldn't find a command to remove all of them at once. I tried to google but evey website speaks about just these commands..
    rm filename
    or
    rm -r * directory_name
    This doesn't solve my problem as these commands are deleting one file at a time and not all the files at once within the directory. Can someone tell me the solution?

    Hi,
    First go to the directory where you want to delete all the files and folders. then
    rm -fr directory_name
    rm -r is not neccessary that it will delete the files and folder.
    thx
    pradeep

  • How to place the Excel fine in the UNIX Directory

    Hi Gurus,
    We are having requirement where in the data extracted from Bex Query has to ve placed in UNIX directory in CSV formate.
      It is very urgent.
    Thanx in Advance.

    Hi,
    We have a similar set up in our organization. The user inputs data through a workbook and a CSV file is output to a particular location. The jobs then pick up the file and load it to the server.
    We have VB code in teh workbook that is written behind a button. Once the user uploads his data and hits the button, a CSV file with that data is created and placed in a specific loacation via eufuse. You can also use SYNCRA. That file is then picked up by our jobs and loaded to BW.
    Cheers,
    Kedar

  • Content Items and the Knowledge Directory - 3 questions

    1) Does anyone know of a way to set the default KD folder where all items in a Content folder should publish?
    2) Is there some code I can put in the data entry template to force any content item published to automatically publish in the default KD directory I specify?
    3) And on previously published Content items, is there a way to publish all items in the articles folder en mass to a specified KD folder without going to each one and selecting "publish to directory"?

    Hi,
    If you are seeing the documents in the Knowledge Directory and in edit mode, but not browse mode then check/try the following. What exactly were you doing when you got the error? Were you in Publisher or in the Knowledge Directory and running the Simple Submit task?:
    1. Try to approve the documents in edit mode.
    2. Go to the Administrative->Intrinsic Operations and run the following jobs.
    --> Search Update 1
    3. Make sure you have proper permissions on the folder in the Knowledge Directory and Publisher Folders.
    4. Check the permissions on the Content Source for the Knowledge Directory
    I need a little more information to get your better help.
    tnx
    James

  • How to send archive html from the my directory?

    Hi, im try send mi archive from C:\\index.html , mi code is:
    DataSource fds = new FileDataSource("C:\\index.html");
    messageBodyPart= new MimeBodyPart();
    messageBodyPart.setDataHandler(new DataHandler(fds));
    but the mail is sent empty
    why?

    Hi!
    Raw message is empty ?
    Classic method to send file in attachment :
    // Create the message part
    MimeBodyPart messageBodyPart = new MimeBodyPart();
    // Fill the message
    messageBodyPart.setText(_msg, charset);
    Multipart multipart = new MimeMultipart();
    multipart.addBodyPart(messageBodyPart);
    // Part two is attachment
    messageBodyPart = new MimeBodyPart();
    DataSource source = new FileDataSource(_filename);
    messageBodyPart.setDataHandler(new DataHandler(source));
    String a_sep = System.getProperty("file.separator");
    String a_filename = _filename.substring(_filename.lastIndexOf(a_sep) + a_sep.length());
    messageBodyPart.setFileName(a_filename);
    multipart.addBodyPart(messageBodyPart);
    // Put parts in message
    message.setContent(multipart);
    // Send message
    Transport.send(message);regards,
    http://www.jservlet.com/

  • Information Broadcast Email File - Where is the file in Unix directory?

    Hi,
    I am using Information Broadcasting to email the BI report.   We use Unix as the application server.
    In transaction SOSV, I can get detailed information on the file (attachment) and the send status.  There is a requirement to encrypt the file in Unix server.   Does anyone know where the file resides in Unix when the report is generated from Information Broadcasting?   What's the Unix directory?
    Any information would be appreciated.
    Thank you.
    Rebecca

    I added the path of the servlet.jar to the CLASSPATH. Now my modified
    file content is as follows:
    WINDOWS 2000 Environmental variable changes:(CLASSPATH)
    C:\Program Files\PhotoDeluxe BE 1.1\AdobeConnectables;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;C:\jakarta-tomcat-4.1.12\common\lib\servlet.jar
    AUTOEXEC.BAT:
    set path=%path%;c:\onnet32
    SET PATH=C:\jdk1.3.1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
    SET JAVA_HOME=C:\jdk1.3.1
    SET CATALINA_HOME=C:\jakarta-tomcat-4.1.12
    SET CLASSPATH=.;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;C:\jakarta-tomcat-4.1.12\common\lib\servlet.jar
    With this I am executing the command: javac test.java. However, it is still giving lot of error messages
    All the messages are 'cannot resolve symbol' associated with the Servlet class, Servlet Request, Server Exception etc. In the very first error message it states that: 'package javax.servlet does not exist'.
    I would appreciate any help. Thanks in advance.

  • Fax the output type and convert to PDF and then to save in UNIX Directory

    Hi,
      I wan to Fax the my sales order acknowldement and at the same time I want to convert that output into PDF and save in the UNIX Directory .
    I also need the code for faxing the sales order acknowledgement.
    Thanks in Advance
    Moderator message: please search for available information/documentation before asking, also see Brad's remarks below.
    Edited by: Thomas Zloch on Dec 20, 2010 9:51 PM

    These are standard processes which are covered in the help files and have been discussed many times here.  This is NOT a training forum for newbies where experts just give you the solution for your requirement.  Once you have proven that you've actually made an effort to solve the issue yourself and have a SPECIFIC technical question, you'll get some help...

  • Function Module To read all the Files in a Given UNIX directory.

    Can anyone provide me with a FUNCTION MODULE which reads all the files available in a UNIX directory?
    I have the UNIX directory given. I need to find all the files available in that particular Directory so that I can choose and process accordingly. Probably I can store all files in an Internal Table.
    Thanks in advance.
    Sunil

    Hi Nick,
    Thankyou very much for the response.
    The Function Module /SAPDMC/LSM_F4_SERVER_FILE is interactive wherein we can select only one file.
    But my requirement is I need to collect (probably in an internal table) all the files exixting in the given UNIX directory.
    Can you please find in that direction. I would be very grateful.
    Thanks.
    Sunil

  • CX_SY_CONVERSION_CODEPAGE - Error when reading from file in unix directory

    Hi
    We have a custom report which reads data from a file put in the unix directory. This report has been running for good 3 years now without any code changes.
    For a few days the report is dumping with the following error
    CX_SY_CONVERSION_CODEPAGE
    Short text
        Character set conversion is not possible.
    What happened?
        When converting a text from code page '4110' to code page '4102',
        the system either
        - encountered a character which cannot be represented in one of
          the two code pages; or
        - found that this type of conversion is not supported.
    The code where the dump occurs is:
    load the file from the given path
      OPEN DATASET  p_p_lfdata FOR INPUT IN TEXT MODE ENCODING DEFAULT WITH SMART LINEFEED.
      IF sy-subrc EQ 0.
        DO.
    >>>>>>>>      READ DATASET  p_p_lfdata INTO  l_rec. " Dump occurs here
          IF sy-subrc = 0.
    I understand this error is thrown in the OPEN DATASET statements in case of non-unicode compliance, but this statement does not throw an error while the READ DATASET statement does..... Any particular reason why the READ statement is failing even though OPEN is successful???

    Hi,
    you open the according file in DEFAULT mode. I assume you do this on a Unicode system.
    Then the program assumes that the file is encoded in UTF-8 (SAP number 4110).
    Now it seems that the file contains some characters, which are not encoded in UTF-8.
    I would propose to investigate the code page, on which the file is created.
    Ideally this should be UTF-8. If this is not the case, try to change it.
    If this is not possible, then adapt the ABAP program (e.g. use Non-Unicode mode).
    Best regards,
    Nils Buerckel

  • By user login items to run UNIX executable file

    Hi all,
    Here is a plobem, I couldn't deal with for some days, please help me and give some advises .
    I want run a shell script when special user login the system, not all users.
    as I know and by test, the below methods are do the same work.
    1. System Preferences > Accounts > Login Items, add application and can run when user login.
    2. Two files: ~/Library/Preferences/com.apple.loginitems.plist or loginwindow.plist, and add useful items  to any of them.
    Because shell script can only open, but not run by "Login Items",  so at first I write a UNIX executable file , which is run the SH, and  gone into the System Preferences > Accounts > Login Items, add the UNIX file below, and set "Hide".
    When the user login the system again, it can auto open the terminal window, and run the UNIX exe file, but when the file end of exe, the terminal still open,
    and can't close. Here I have write command "exit" in the SH file, and the terminal show "the process has ended".
    I want the UNIX exe file  had better run in the backstage, if by terminal , how can make terminal hide?  or by what command can close the terminal ? 
    If it is not a good method,  whether there have any other way to  run the Shell Script flie in the backstage when certain  user login ?
    Here my Mac OS X workstation system is 10.5.8.
    please help me ,thank you .

    OK. My previous answer still holds. You don't need Terminal to run ssh, or AppleScript either, for that matter. What you do need is a process on the remote machine that will accept remote requests to run some appliction. It just so happens that sshd is such a program. I'm not sure about AppleScript. You may need to be logged on so that the Finder is running. I'm no AppleScript expert, so don't quote me. Again, I would just use ssh.

  • Newest Items in the KD

    Hello,
    I would like to make a portlet that would display the newest items in the Knowledge Directory.
    Anybody makes something like this?
    Suggestions? Comments?
    Thanks,
    V
    Computers are like Old Testament gods; lots of rules and no mercy. ~Joseph Campbell

    what do you mean by newest item? do you have any criteria for the newest items?
    you can write a portlet to grab all files from KD that has been posted in the last 'X' days?
    This is not the full code, but it might provide you with some idea.
    // Code Snippet to create a filter Caluse and add it to your search request
    Calendar cal = Calendar.getInstance();
    cal.add(Calendar.DATE, -14);
    Date createdDate = cal.getTime();
    // Create a filter caluse that will help you to get all docs that are posted in last 14 days ( new items in your case )
    IFilterClause filterClause = searchFactory.createAndFilterClause();
    filterClause.addStatement(PlumtreeField.LAST_MODIFIED, Operator.GreaterThan, createdDate);
    // add it to search request as a criteria
    searchRequest.setQuery("*", filterClause);
    Bharat Karthik
    [email protected]
    http://www.eminenttech.com/

  • Write Thai font in Unix Directory.

    Hello,
    Is there specific syntax to write file on the Unix directory in R/3 server in the Thai language. In Debug mode i can see the actual thai characters in the internal table, but when i view the file in Unix directory it gives all garbage characters e.g.
    ชื่à¸à¸¥à¸¹à¸à¸„้า
    บัญชีเลขที่
    รายงานบัญชีวันที่
    Can anyone help as to certain whether this is logic issue or font issue.?
    Regards,
    Mansi.

    Hi Mansi,
                  Well thats great that the document were of some help.Right now I can send you the syntax for Thai open dataset command.Hope it helps you to resolves your query.
    |OPEN DATASET dset
      FOR { INPUT | OUTPUT | APPENDING | UPDATE }
      IN { { BINARY MODE }
         | { TEXT MODE ENCODING { DEFAULT
                                | {UTF-8 [SKIPPING|WITH BYTE-ORDER
    MARK]}
                                | NON-UNICODE }
                       [WITH {NATIVE|SMART|UNIX|WINDOWS} LINEFEED]
         | { LEGACY BINARY MODE [{BIG|LITTLE} ENDIAN]
                                [CODE PAGE cp] }
         | { LEGACY TEXT MODE [{BIG|LITTLE} ENDIAN]
                              [CODE PAGE cp]
                              [WITH {NATIVE|SMART|UNIX|WINDOWS}
    LINEFEED] } }
      [AT POSITION pos]
      [TYPE attr]
      [FILTER opcom]
      [MESSAGE msg]
      [IGNORING CONVERSION ERRORS]
      [REPLACEMENT CHARACTER rc].

Maybe you are looking for