Export tab-file to unix

Hi,
Can I export an internal table to unix in txt mode with separated-tab?
How can I do it?
Thanx in advance.
CV

You have to use the ABAP statements OPEN DATASET, TRANSFER and CLOSE DATASET to achive this. Before TRANSFERring each record of your internal table, MOVE it into a string an separated it.
you can find the "Tab" in class CL_ABAP_CHAR_UTILITIES in attribute HORIZONTAL_TAB...
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 7, 2008 12:09 PM

Similar Messages

  • IPhoto 11 file export tab missing

    I am using iPhoto 9.1.5. When I choose File>Export, the file export tab is missing! Is there a fix for this? I am trying to export with saving the edits and title.

    First try the following: make a duplicate copy of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    If that doesn't fix it you'll have to reinstall iPhoto. To do so you'll have to delete the current application and all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder,
    Click to view full size
    Then install iPhoto from the disk it came on originally.
    OT

  • Is there a way to import/export tab delimited files to a table in Pages 2?

    It seems like Pages is starting to get funtionality that might help wean me off of Excel. In this vein, is it possible to import or export tab delimited files to a table in Pages 2?

    I had some success in Pages 1, but I've only tried a couple of times so far in Pages 2 without success. The trick was to make sure the table is the exact number of columns wide. It's very "klunky" but I've ended up converting the tab-delimited text to a table in AppleWorks, saving the AppleWorks file with the table as a "floating" object (fixed objects don't translate) & opening the file in Pages. It's quicker & easier for most of what I do to just drag & drop in Pages.
    Peggy

  • Exporting spatial data to SHP or TAB file format

    Hi,
    I have a couple of layers (maps) uploaded as spatial data into an Oracle database. What I'd like to do now is export those maps (data) as standard file format like ESRI Shape or MapInfo TAB file, i.e. write out the data as SHP or TAB file(s) to the disk.
    Is this possible?
    Any hints, reference or third party solution will do.
    Thanks in advance.
    P.S. Here is the original process I followed to upload map data to Oracle.
    1) I had the map data as MapInfo TAB files.
    2) Used the EasyLoader application shipping with MapInfo to upload the data into Oracle.
    All I need now is the reverse engineering.

    If you want to export to ESRI shape and MapInfo and do not have SDE or MapInfo then I would suggest looking into FME (www.safe.com). Look at the Oracle Suite product. You can download an evaluation product. It will export from Oracle Spatial to both formats.
    Thanks
    Dave
    David R. Miller
    Michael Baker Jr., Inc.
    3601 Eisenhower Avenue
    Alexandria, VA 22304
    [email protected]
    www.mbakercorp.com

  • How to ZIP Oracle Datapump export backup file

    Hello All,
    My customer is asking to give him the production data dump to the following path \\138.90.17.56\OMNISAFE.
    I really don't understand his requirement and he also wants me to zip the export backup file. How do I do that, Do you know any unix command to zip backup files.
    thanks and regards
    cherry

    1013498 wrote:
    Well Thanks for your reply.....my oracle version is 11.2.0.3.b and if we have the compression option can you please elaborate how to do that......
    It's in the documentation.  See Data Pump Export
    let us say my expdp file is abc.dmp...should I give the command gzip abc.dmp or any different.
    Let me google that for you
    One more question what does teh customer mean by production data dump to the following path \\138.90.17.56\OMNISAFE. please explain
    How do we know what the customer means?  Why don't you ask him?
    That said, it looks like a url to an ip address and a defined folder at that ip address.  Again, if the customer wants you to send them a file, you need to be working with said customer on the mechanics of accessing their system.
    All that said ....
    Learning how to look things up in the documentation is time well spent investing in your career.  To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com.
    Locate the link for your Oracle product and version, and click on it.
    You are now at the entire documentation set for your selected Oracle product and version.
    BOOKMARK THAT LOCATION
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what kind  of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth.  They are reference manuals.  Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - *Read a chapter a day from the Concepts Manual*.
    - Take a look in your alert log.  One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - *When you have finished reading the Concepts Manual, do it again*.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.

  • Crystal Export Tab Text (TTX) Not working correctly in program using Objects Driver XI

    I have created a report in Crystal 2013 that I need to export as a tab delimited file for import into QuickBooks.  If I run the export from within Crystal 2013, the export works fine.  All the data is there delimited by tabs.  Each field is set to "Can Grow".
    The image in Excel shows I am in cell A3 and it has only one item in it TRNS, each field is in its own column.
    We purchased software that uses the Business Objects XI Driver (the Crystal Redistributable program).  When I run the program to export the data (the software only lets you export this report) and choose tab delimited, none of the data is delimited, it is all concatenated together in one big long string for each line.
    If the data is longer than the field length in Crystal, the "Can Grow" option moves all the extra information to line 2, and all fields that had extra data and went to line 2 is concatenated together in one string.  And if the data went to a line 3 it concatenated all the line 3 data together.
    The image in Excel shows I am in cell A3 and it has everything on row 3 combined into one string, data that is not set to "Can Grow" is cut off like the date which is showing 6/13/20 (does not show the 14) and it continues to the 1100 (which is the General Ledger code, but cuts off "Account Payables").  The company name is set to "Can Grow".  The company name is CASTS  CAST SERVICES AND MACHINGING.  You can see CASTS  CAST on line 3 but the rest of the company name moves down to row 4 and 5.
    If I export the file from the software as txt, I get the same thing as exporting it as tab delimited.
    I cannot figure out why this is doing this.

    Hi Les,
    Unfortunately CR XI is end of life and end of support so we can't get any patches to you, if one existed for this issue or not.
    Only option is to ask them if they have an update to current supported CR Versions and runtime, CR 2011, 2013 and the runtime is CR for Visual Studio.
    FYI, your TTX in the title is NOT the correct acronym to use because we had a legacy export type to ttx file format, it's no longer supported at runtime, so you you should refer to it as Tab Delimited and not TTX.
    Don

  • Error while exporting metadata file /iam-features-ldap-sync/LDAPUser.xml

    Hi All,
    i am trying to export /iam-features-ldap-sync/LDAPUser.xml metadata file with the weblogic properties mentioned below
    # Weblogic Server Name on which OIM application is running
    wls_servername=oim_server1
    # If you are importing or exporting any out of box event handlers, value is oim.
    # For rest of the out of box metadata, value is OIMMetadata.
    # If you are importing or exporting any custom data, always use application name as OIMMetadata.
    application_name=OIMMetadata
    # Directory location from which XML file should be imported.
    # Lets say I want to import User.xml and it is in the location /scratc/asmaram/temp/oim/file/User.xml,
    # I should give from location value as /scratc/asmaram/temp/oim. Make sure no other files exist
    # in this folder or in its sub folders. Import utility tries to recursively import all the files under the
    # from location folder. This property is only used by weblogicImportMetadata.sh
    metadata_from_loc=@metadata_from_loc
    # Directory location to which XML file should be exported to
    metadata_to_loc=D:/MDS
    # For example /file/User.xml to export user entity definition. You can specify multiple xml files as comma separated values.
    # This property is only used by weblogicExportMetadata.sh and weblogicDeleteMetadata.sh scripts
    metadata_files=/metadata/iam-features-ldap-sync/LDAPUser.xml
    # Application version
    application_version=11.1.1.3.0
    i get the following error
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Starting export metadata script ....
    Please enter your username [weblogic] :weblogic
    Please enter your password [welcome1] :
    Please enter your server URL [t3://localhost:7001] :t3://hostname:7001
    Connecting to t3://hostname:7001 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'OIMDOMAIN'.
    Warning: An insecure protocol was used to connect to the
    server. To ensure on-the-wire security, the SSL port or
    Admin port should be used instead.
    Location changed to domainRuntime tree. This is a read-only tree with DomainMBea
    n as the root.
    For more help, use help(domainRuntime)
    Problem invoking WLST - Traceback (innermost last):
    File "C:\Oracle\Middleware\Oracle_IDM1\server\bin\weblogicExportMetadata.py";,
    line 22, in ?
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py";, line 134, i
    n exportMetadata
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py";, line 568, i
    n executeAppRuntimeMBeanOperation
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py";, line 538, i
    n getMDSAppRuntimeMBean
    UserWarning: MDS-91002: MDS Application runtime MBean for "OIMMetadata" is not available. "exportMetadata" operation failure.
    i have exported these files multiple times, it never gave an errror, but this time i see this error, please help.
    Thanks in advance

    Glad that worked.
    Working with MDS, another way is to use the EM console for exporting/importing data from/to MDS. This I find lot easier rather than working with the OOTB script.
    Steps are:
    http://ADMINSTRATION_SERVER/em
    Navigate to Identity and Access, oim. Right-click and navigate to System MBean Browser.
    Under Application Defined MBeans, navigate to oracle.mds.lcm, Server:oim_server1, Application:oim, MDSAppRuntime.
    To export the configuration files:
    •     Click the Operations tab, and then click exportMetaData.
    •     In the toLocation field, enter /tmp or the name of another directory.
    •     Select createSubDir as false.
    •     In the docs field, enter the complete file location as the Element.
    •     Also select false for excludeAllCust, excludeBaseDocs, and excludeExtendedMetadata. Then, click Invoke.
    This exports the file specified in the docs field to the directory specified in the toLocation field.
    To import the configuration files:
    •     Click importMetaData
    •     In the fromLocation field, enter /tmp or the name of the directory in which you have the configuration files.
    •     Select createSubDir as false.
    •     In the docs field, enter the complete file location as the Element. For example, /db/oim-config.xml.
    •     Also select false for excludeAllCust, excludeBaseDocs, and excludeExtendedMetadata. Then, click Invoke.
    This imports the file specified in the docs field to MDS in the toLocation field.
    HTH

  • Download file from UNIX to EXCEL problem

    Hi,
    I am trying to download file from UNIX server to excel file, there is one column which is messing up and that is number 100000000000000002 (18 in length) it is writing as 1E+17, funny thing is when I click on that cell it is showing as
    100000000000000000.
    I am using GUI_DOWNLOAD to download to excel, below is the output excel format, I am talking about 4th value from left
    GUID    leg_reg     lic_type     lic_num     ex_lic_num     vali_from     valid_to     created_by
    3E633B85C05E6F28E100     EAR     ENC     1E+17     ENC     20030305     20930305     VANRIJ
    below is the program I am using to download the output from UNIX to excel
    FORM get_data_file.
      OPEN DATASET p_unxfil FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc = 0.
        DO.
          READ DATASET p_unxfil INTO input_file_tab-line_string.
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
          APPEND input_file_tab.
          CLEAR  input_file_tab.
        ENDDO.
      ELSE.
        PERFORM write_message USING 'ZZ' 'E' '000'
          'Unable to find file' p_unxfil
          '  Press Enter key to exit.' ''.
      ENDIF.
      CLOSE DATASET p_unxfil.
      DESCRIBE TABLE input_file_tab LINES record_cnt.
    ENDFORM.                    " get_data_file
    FORM create_pc_file.
      DATA: l_file TYPE string.
      MOVE p_pcfile TO l_file.
    Save the file
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = l_file
        TABLES
          data_tab                = input_file_tab
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.
      IF sy-subrc NE 0.
        WRITE: / 'Error creating pc file', p_pcfile.
        EXIT.
    endif.
    I will assure of points.
    Thanks for your help
    Sarath

    It is not the problem of your program. This happens becuase of the "nature" of the excel. You need to retain the text property of that column.
    Try like this:
    1. Download the file in .txt
    2. Open Excel .. blank sheet
    3. Now, click on Open. Select your .txt file
    4. One pop up will come ..."Text Import Wizard"
    5. Select the fixed width or Delimited ... Press Next ...
    6. Select appropriate delimitors or fixed length .. press Next
    7. Select your coulumn (which has the problem), Select the "Text" radiobutton on the upper-right corner and finish.
    Regards,
    Naimesh Patel

  • Need to Automate a Report to Export to File in CR9 Developer

    Post Author: KJ7
    CA Forum: General
    Hi... I'm not even sure if this is possible. I've got a fairly basic report - a control table with a key field that links to another table "work orders" with a primary key... from there, I have a few other tables (client, project, rooms, etc.) with ancillary keys which link back to that secondary table & give supporting information/details.
    I need to run this report nightly - which basically gives me the daily schedule by work order - and export the file to a file location as a CSV (ideally with "|") as the character separator (but tabs are OK too). 
    I've got the developer version of CR9 - because that (CR9) is what the other software we're running our SQL server utilizes to run the software is compatable with. 
    Can anyone out there tell me if what I need to do is even possible? (I'm not sure I an upgrade is an option).
    Thanks so much!
    ~Kara

    <p>Check this post in forum</p><p><a href="/node/1952"><font color="#048ed9">Handling CSV files from Crystal 10</font></a></p><p>Rahul</p>

  • Payment Wizard - Export Bank File

    Hi Experts,
    I have been testing the Payment Wizard for my client to use when they have a batch of Suppliers to pay.
    But I seem to have a problem in Step 9 of 9.
    The payment wizard creates the payments but the Export Bank file tab does not want to export to any location that I select.
    Am I doing something wrong or leaving something out?
    My goal is to create and post all the payments in SAP, and then export that payment batch that I just executed in order to import into another application called Cashfocus.
    Thank you.
    Regards,

    Hi
    We have worked extensively with the Payment Engine and there are a number of things that may caused this problem. Can you confirm as to whether a path is selected on step 9 and that write access is granted to this path/folder.
    Regards
    Earl

  • Exporting InDesign files to Flash, CS5.5

    I exported an InDesign file as a Flash file but in flash it shows up as low res when I preview it or when others preview it. What am I doing wrong? I have never used Flash before. I am working with CS5.5
    I exported the file as a SWF file and when a colleague viewed it, she said it was quite pixelated.
    What should I do? Is there a better method for someone very very new to Flash?

    you can set the export resolution and package quality in Export SWF window´s Advanced Tab.
    Higher resolution will not help if the original quality of your placed images is low.
    And don´t set the resolution too high, if you have lot´s of images you may end up having a bloated SWF.

  • Converting DOS import file to UNIX

    We had an HTMLDB install on a now defunct W2K machine. We exported the apps in DOS file format. We are now trying to import the apps into a UNIX HTMLDB install on an HP itanium. We keep getting the same error:
    ORA-20001: GET_BLOCK Error. ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 6, column 3: PLS-00103: Encountered the symbol "|" when expecting one of the following: := . ( @ % ; ORA-06550: line 18, column 1: PLS-00103: Encountered the symbol "S" ORA-06550: line 22, column 77: PLS-00103: Encountered the symbol ";" when expecting one of the following: . ( ) , * @ % & = - + &lt; / &gt; at in is mod not rem &lt;&gt; or != or ~= &gt;= &lt;= &lt;&gt; and
    Is this because we are trying to use a DOS file for UNIX import? Can this be fixed or converted to work?

    James,
    You will not be able to. We always strive to maintain compatability with previous releases, so that you can take a 1.5 application export and import into a 1.6 instance. But you will not be able to take a 1.6 application export and import into a 1.5 instance.
    Joel

  • New Quicktime 7.6.6 (1671) won't export WAV files

    HELP! - New Quicktime 7.6.6 (1671) won't export WAV files. I just did the automatic upgrade to the new version of Quicktime and now I can't export WAV files from a CAF file. The original .CAF file plays perfectly but when I attempt to export it the exported file is corrupted and won't play. I have another computer with the previous version of Quicktime and it exports the same file flawlessly. Anyone know what's going on with the new version? THANKS!

    +Error writing to the file: C:\Program Files\iTunes\iTunesMiniPlayer.Resources\nb.lproj\iTunesMiniPlayerLocalized.dll. Verify that you have access to that directory.+
    More often than not, that sort of message indicates file damage rather than a privileges issue on the file.
    If you've got Windows XP, try doing a chkdsk over your C drive, as per:
    How to perform disk error checking in Windows XP
    If you've got Vista, try the following procedure. Go "Start > Computer". Right-click on "Local Disk C:" and select "properties". Click the "Tools" tab. Click the "Check now" button in the "Error correction" section.
    Do the disk checks find/repair any damage? If so, does an install go through properly afterwards?

  • About download file into unix file

    Hi expert,
    i use the openset to write file into unix file server.
    but why there are some space at the end of every line.
    by the way, i works very well in windows server
       DATA: DATA_TRANSFER(70).
        Data: DATA_TRANSFER type string.
        data: fine_riga1(1) TYPE X VALUE '0D0A'.
        DATA: gt_data TYPE STANDARD TABLE OF ty_data.
        Constants: ascii_tab type x value ','.
        field-symbols: <f> type any, <delim> type any.
        "Assign delimiter field such as tab or comma.
        assign ASCII_tab to <delim>.
        CLEAR VN_CNT.
        concatenate DSNU 'employee' PN-BEGDA SY-UZEIT into P_UNIX.
        OPEN DATASET P_UNIX in legacy text MODE FOR OUTPUT. " IN TEXT MODE encoding UTF-8.
        IF SY-SUBRC <> 0.
          WRITE: / 'Error on file open:', P_UNIX.
        ELSE.
          LOOP AT TI_DATA .
            CLEAR DATA_TRANSFER.
            concatenate TI_DATA-TYPE
                              TI_DATA-PERNR
                              TI_DATA-ZAUSW
                              TI_DATA-ENAME
                              TI_DATA-TERID
                              INTO DATA_TRANSFER separated by cl_abap_char_utilities=>HORIZONTAL_TAB.
            CONDENSE DATA_TRANSFER NO-GAPS.
            TRANSFER DATA_TRANSFER TO P_UNIX.
            ADD 1 TO VN_CNT.
            CLEAR DATA_TRANSFER.
          ENDLOOP.
          CLOSE DATASET P_UNIX.
        ENDIF.
        WRITE: / P_UNIX,
               / 'Transfered', VN_CNT, 'records'.
    Best Regards,
    Kevin

    Hi,
    Try this way...
    TRANSFER dobj TO dset [LENGTH len]
                                          [NO END OF LINE].
    Addition 1
    ... LENGTH len
    Effect
    This addition determines how many characters or how many bytes of data object dobj are written to the file. len is expected to be a data object of type i that contains the number of characters or bytes. In text files, the content of len specifies the number of characters that are written from the storage. For binary files, legacy text file, and legacy binary files, len specifies the number of bytes that are written to the file. The first len characters or bytes are transferred and alignment gaps are included in the structures. If the addition LENGTH is not specified, all characters or bytes are transferred.
    If the value of len is less than or equal to 0, no characters or bytes are transferred. If the file is opened as a (legacy) text file, however, a line end marker is inserted into the file by default. If the value of len is greater than the number of characters or bytes in dobj, hexadecimal 0 or blank characters are transferred to the file instead of the missing bytes or characters, depending on whether the file was opened as a (legacy) text file or a (legacy) binary file.

  • Offset in exported spool file

    Hi there,
    I built a report which exports spool files in Excel or TXT files as described here:
    http://wiki.sdn.sap.com/wiki/display/sandbox/ConversionofSpoolRequestDataintoPDFandExcelFormatandSenditintoMail
    I the converted file I now get an offset in some lines which I cannot explain. It is not in the spool list if I look on the spool list output in transaction SP01.
    As far as I could analyze it, it happens within the function module SO_RAW_TO_RTF or SCMS_STRING_TO_XSTRING.
    Has anybody an idea what the reason could be?
    Thanks in advance and regards,
    Martin

    Yes, Its Done.
    I was doing spooling using Unix.
    And checking the database using SQL.
    Both were diffrent instance.
    I have log in to the Unix instance using sqlplus.
    Then i have check the table.
    The table was containing duplicate rows there.
    i have commited database on both instance.
    Now its ok.

Maybe you are looking for

  • How can I use family sharing, but allow my daughter to purchase with her iTunes allowance without asking permission?

    I love the idea of iTunes family sharing, but I don't think it currently supports my situation. My daughter's iTunes account gets a monthly allowance (plus occasional gift cards), and does not have a credit card tied to it. That way, she can buy what

  • Stored Procedure For Web Service in Visual Composer 7.1

    Hello, I want to use stored procedure for Webservice in Visual Composer 7.1 I can find this Web service but not supported. ( ex) prcreleased_test - Not supported ) Log. Message: Error in connection - Can' t execute Web service. Date: 2008-07-01 Time:

  • Original MacBook Pro.....to NEW Macbook Pro!

    What is the best way to transfer files from my old MB Pro (I got this in April 2006) to my brand new MB Pro? The guy at Apple said to just connect a firewire. But....it seems that the old one only has a 400 port and the new one only has an 800 port..

  • Block PO Price after GR

    Hi guys, I have a problem with PO mechanism. Is there any configuration available to lock/block the price in PO so that user can't reenter the PO's new price? The requirement from my client is, they want to give a warning when we try to change the PO

  • RSS ScreenSaver - only first 4 items in feed displayed

    I've done a search but have seen so solutions to this problem. I subscribe to the BBC World News feed and only the first 4 items in the feed get shown and repeated. How to get all items in a feed presented? Thanks.