Conversion of an excel file into a CSV 2.0 file for uploading in CCM 2.0

Hi guys,
We are downloading content from SAP R/3 into an excel spread sheet.
We are uploading this content in a CSV file 2.0 into CCM 2.0
the csv file we use today we are arming manualy because of the difference in structure between excel and CSV 2.0. We would like to be able to convert easily the excel file in a CSV file. How can one do this.
Example of our csv-file:
SAP CATALOG CSV 2.0 <,>FULL,,,,,,,,,,,,,,
DEFAULTS,ES,,,,,,,,,,,,,,
Model,,,,,,,,,,,,,,,
DataType,String_ID,String,,,,,,,,,,,,,
Characteristic,Z_COMPANY,/CCM/ID,,,,,,,,,,,,,
Characteristic,Z_DOC_TYPE,/CCM/ID,,,,,,,,,,,,,
Characteristic,Z_DATE,STRING_ID,,,,,,,,,,,,,
Characteristic,Z_SUPPLIER_ID,/CCM/ID,,,,,,,,,,,,,
Characteristic,Z_MARCA,/CCM/DESCRIPTION,,,,,,,,,,,,,
Schema,ENTEL,Z_COMPANY,Z_DOC_TYPE,Z_DATE,Z_SUPPLIER_ID,Z_MARCA,{}ENTEL,,,,,,,,,,,
Category,PRODUCTOS ENTEL,,,,{}ENTEL PRODUCTS,,,,,,,,,,
Category,A.B.G INGENIERIA S.A.,PRODUCTOS ENTEL,,{}A.B.G. INGENIERIA S.A.,,,,,,,,,,,
Content,,,,,,,,,,,,,,,
ItemValuation,parent cty,/ccm/supplier_part_no,/ccm/base_uom,/ccm/order_unit,/ccm/price[1]#/ccm/amount,/ccm/price[1]#/ccm/currency_code,Z_DOC_TYPE,/ccm/supplier_name,/ccm/contract_id,/ccm/contract_item_id,Z_MARCA,/ccm/short_description,Z_SUPPLIER_ID,/ccm/product_group,/ccm/product_id,Z_DATE,Z_COMPANY
1,A.B.G INGENIERIA S.A.#ENTEL,61,PCE,PCE,1,UF,ZSV0,A.B.G INGENIERIA S.A.,4410000181,10,ALL,Insp.TTecnica Terreno Servicios Privado,096898120K,A0307S001,3001870,20060111,ENT
Any advice is welcome,
Thanks in advance
Aart

Hi,
We are also facing same issue like when we saved data was in CSV formate but now when we open the file then it comes in Text formate.
Currently file extension is .xls but we tried to change that to .csv but still it opening in text only...
Regards,

Similar Messages

  • Converting an Excel file into a CSV with the DI API

    Hello everyone,
    it's my first post and also my first project with SBO, As the topic's header implies I have to write a program which converts an excel sheet into a CSV file, I have been reading a little about the DI API, and I would like to have further information about how to use the DI to access file data and/or alter it, other than what is already listed in the tutorials.
    Thanks in advance.

    Hi Amin,
    Unfortunately I am not aware of any way to this using only the DI API, it will be neccesary to include some other APIs or manual work.
    Off the top of my head I can only think of two workarounds to this:
    - Using the recordset and Excel combined. Read all the data from one column in a table and write it to a column in an Excel file possibly using a loop. Once the process of copying all desired columns and their data is complete, save the file as .csv using the excel API. I'm afraid I don't have an example of this. (It also may be possible using Microsofts SMO or another database API rather than the recordset.)
    With this approach the drawback is it might take a long time to figure out and develop in the short term, but in the long term would save alot of manual work as it could be automatic.
    - The alternative is unfortunately a manual approach: Simply run a query on the table, and then copy all the values from a column and paste it into the excel file.
    This has no short term work but is alot of manual work in the long term.
    Hope this is useful,
    Regards,
    Niall

  • How to convert a PDF file into a full editable WORD file?

    Hi,
    I tried to convert a pdf file into word but it is not fully editable. I can edit the title from the main page and that's it. The rest of the word document is saved as image. I tried editing teh pdf file but that one is not working either.
    Please help on how to convert a PDF file into a full editable WORD file.
    Thank you

    Not all PDF files are created equal.  When a PDF file is created with Adobe Tools it is usually "tagged" with information about the fonts the images, the layout etc...    This way when the PDF is saved to a new format like PPT or DOC then the results are usually usable.  However, if you have a PDF file that was not tagged for some reason then run the Accessibility tools on the PDF to acquire some basic tagging.  This may get you a better result.  Also if you have a PDF that is an image, then you may want to run OCR on it.

  • How to upload a Flat file into sap database if the file is in Appl'n Server

    Hello Sap Experts , Can you tel me
    " How to upload a Flat file into sap database if the file is in Application Server.
    what is Path for that ?
    Plz Tel Me its Urgent
    Thanks for all

    Hi,
    ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
    *& Report  ZUPLOADTAB                                                  *
    *& Example of Uploading tab delimited file                             *
    REPORT  zuploadtab                    .
    PARAMETERS: p_infile  LIKE rlgrap-filename
                            OBLIGATORY DEFAULT  '/usr/sap/'..
    DATA: ld_file LIKE rlgrap-filename.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
        name1 like pa0002-VORNA,
        name2 like pa0002-name2,
        age   type i,
        END OF t_record.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
          wa_record TYPE t_record.
    *Text version of data table
    TYPES: begin of t_uploadtxt,
      name1(10) type c,
      name2(15) type c,
      age(5)  type c,
    end of t_uploadtxt.
    DATA: wa_uploadtxt TYPE t_uploadtxt.
    *String value to data in initially.
    DATA: wa_string(255) type c.
    constants: con_tab TYPE x VALUE '09'.
    *If you have Unicode check active in program attributes then you will
    *need to declare constants as follows:
    *class cl_abap_char_utilities definition load.
    *constants:
    *    con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *START-OF-SELECTION
    START-OF-SELECTION.
    ld_file = p_infile.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
          MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
          APPEND wa_upload TO it_record.
        ENDIF.
      ENDDO.
      CLOSE DATASET ld_file.
    ENDIF.
    *END-OF-SELECTION
    END-OF-SELECTION.
    *!! Text data is now contained within the internal table IT_RECORD
    * Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline.
      endloop.

  • How to sent importet RAW files into the cloud? The files was importet from Canon EOS via camera adapter to the iPad. The Files was stored in the folder importet. But the files does not sync with photostream.

    How to sent importet RAW files into the cloud? The files was importet from Canon EOS via camera adapter to the iPad. The Files was stored in the folder importet. But the files does not sync with photostream.

    Welcome to the Apple community.
    Only photos taken on the iOS device and after photo stream was enabled will be added to photo stream.

  • I am trying to convert a standard definition AVI file 720x576 widescreen file into a full sized Quicktime file in imovie but having cropping issues

    Hi
    I am trying to convert a standard definition AVI file 720x576 (16:9)  file into a full sized Quicktime file in imovie 11. When importing the file I get two options either import as large 960 x540 or full original size. So I choose full original size but when I drag this imported clip to my timeline the bottom of the clip has been cut off? I tried to export it as a quicktime file thinking that perhaps it might resize to the original size but of course that was wishful thinking
    Any ideas appreciated?

    Hi No I have just checked its definitely a PAL 16;9 project. I am also slightly confused because when importing the video into the project it has squashed it into 4:3 format even though my file is 16:9?

  • How to convert a .flv file into a Youtube sharing .mov file via Compressor?

    I'm trying to convert a .flv file into a Youtube sharing .mov file via Compressor but every time I submit it, it fails due to error code -50. It worked two hours ago (albeit, very slowly) with another .flv file but now it refuses to even try. Please help!

    Sorry you're having problems, but it's not surprising. The error code is invalid media.
    The easy way is to forget about Compressor and upload the Flash file directly to You Tube with their uploader.
    You'll also save a generation of compression loss.
    Good luck.
    Russ

  • How to convert a jpeg file into a 1-bit bmp file (2 colors image)

    Hi. I�m having serious problems to convert a jpeg file into a 1-bit bmp file (2 colors image).
    I�m using FileSaver.saveAsBmp(String t) but what i get is a bmp image, but with 16M colors, but what i want is a 2 colors bmp file. A black and white image.
    Does anybody know how to do this? I�m really getting crazy with ths problem.
    Thanks in advance

    Hi opalo,
    this code may help you...
    import java.awt.*;
    import java.io.*;
    import java.awt.image.*;
    import javax.imageio.ImageIO;
    class Write1 extends Component {
    //--- Private constants
    private final static int BITMAPFILEHEADER_SIZE = 14;
    private final static int BITMAPINFOHEADER_SIZE = 40;
    //--- Private variable declaration
    //--- Bitmap file header
    private byte bitmapFileHeader [] = new byte [14];
    private byte bfType [] = {'B', 'M'};
    private int bfSize = 0;
    private int bfReserved1 = 0;
    private int bfReserved2 = 0;
    private int bfOffBits = BITMAPFILEHEADER_SIZE + BITMAPINFOHEADER_SIZE;
    //--- Bitmap info header
    private byte bitmapInfoHeader [] = new byte [40];
    private int biSize = BITMAPINFOHEADER_SIZE;
    private int biWidth = 50;
    private int biHeight = 70;
    private int biPlanes = 1;
    //private int biBitCount = 24;
    private int biBitCount = 1;
    private int biCompression = 0;
    private int biSizeImage = 0x030000;
    private int biXPelsPerMeter = 0x0;
    private int biYPelsPerMeter = 0x0;
    private int biClrUsed = 0;
    private int biClrImportant = 0;
    //--- Bitmap raw data
    private int bitmap [];
    //--- File section
    private FileOutputStream fo;
    //--- Default constructor
    public Write1() {
    public void saveBitmap (String parFilename, Image parImage, int
    parWidth, int parHeight) {
    try {
    fo = new FileOutputStream (parFilename);
    save (parImage, parWidth, parHeight);
    fo.close ();
    catch (Exception saveEx) {
    saveEx.printStackTrace ();
    * The saveMethod is the main method of the process. This method
    * will call the convertImage method to convert the memory image to
    * a byte array; method writeBitmapFileHeader creates and writes
    * the bitmap file header; writeBitmapInfoHeader creates the
    * information header; and writeBitmap writes the image.
    private void save (Image parImage, int parWidth, int parHeight) {
    try {
    convertImage (parImage, parWidth, parHeight);
    writeBitmapFileHeader ();
    writeBitmapInfoHeader ();
    writeBitmap ();
    catch (Exception saveEx) {
    saveEx.printStackTrace ();
    * convertImage converts the memory image to the bitmap format (BRG).
    * It also computes some information for the bitmap info header.
    private boolean convertImage (Image parImage, int parWidth, int parHeight) {
    int pad;
    bitmap = new int [parWidth * parHeight];
    PixelGrabber pg = new PixelGrabber (parImage, 0, 0, parWidth, parHeight,
    bitmap, 0, parWidth);
    try {
    pg.grabPixels ();
    catch (InterruptedException e) {
    e.printStackTrace ();
    return (false);
    pad = (4 - ((parWidth * 3) % 4)) * parHeight;
    biSizeImage = ((parWidth * parHeight) * 3) + pad;
    bfSize = biSizeImage + BITMAPFILEHEADER_SIZE +
    BITMAPINFOHEADER_SIZE;
    biWidth = parWidth;
    biHeight = parHeight;
    return (true);
    * writeBitmap converts the image returned from the pixel grabber to
    * the format required. Remember: scan lines are inverted in
    * a bitmap file!
    * Each scan line must be padded to an even 4-byte boundary.
    private void writeBitmap () {
    int size;
    int value;
    int j;
    int i;
    int rowCount;
    int rowIndex;
    int lastRowIndex;
    int pad;
    int padCount;
    byte rgb [] = new byte [3];
    size = (biWidth * biHeight) - 1;
    pad = 4 - ((biWidth * 3) % 4);
    if (pad == 4) // <==== Bug correction
    pad = 0; // <==== Bug correction
    rowCount = 1;
    padCount = 0;
    rowIndex = size - biWidth;
    lastRowIndex = rowIndex;
    try {
    for (j = 0; j < size; j++) {
    value = bitmap [rowIndex];
    rgb [0] = (byte) (value & 0xFF);
    rgb [1] = (byte) ((value >> 8) & 0xFF);
    rgb [2] = (byte) ((value >> 16) & 0xFF);
    fo.write (rgb);
    if (rowCount == biWidth) {
    padCount += pad;
    for (i = 1; i <= pad; i++) {
    fo.write (0x00);
    int b = 1200;
    fo.write(b);
    rowCount = 1;
    rowIndex = lastRowIndex - biWidth;
    lastRowIndex = rowIndex;
    else
    rowCount++;
    rowIndex++;
    //--- Update the size of the file
    bfSize += padCount - pad;
    biSizeImage += padCount - pad;
    catch (Exception wb) {
    wb.printStackTrace ();
    * writeBitmapFileHeader writes the bitmap file header to the file.
    private void writeBitmapFileHeader () {
    try {
    fo.write (bfType);
    fo.write (intToDWord (bfSize));
    fo.write (intToWord (bfReserved1));
    fo.write (intToWord (bfReserved2));
    fo.write (intToDWord (bfOffBits));
    catch (Exception wbfh) {
    wbfh.printStackTrace ();
    * writeBitmapInfoHeader writes the bitmap information header
    * to the file.
    private void writeBitmapInfoHeader () {
    try {
    fo.write (intToDWord (biSize));
    fo.write (intToDWord (biWidth));
    fo.write (intToDWord (biHeight));
    fo.write (intToWord (biPlanes));
    fo.write (intToWord (biBitCount));
    fo.write (intToDWord (biCompression));
    fo.write (intToDWord (biSizeImage));
    fo.write (intToDWord (biXPelsPerMeter));
    fo.write (intToDWord (biYPelsPerMeter));
    fo.write (intToDWord (biClrUsed));
    fo.write (intToDWord (biClrImportant));
    // DataOutputStream temp = new DataOutputStream(fo);
    // int m = 32;
    // temp.writeInt(m);
    catch (Exception wbih) {
    wbih.printStackTrace ();
    * intToWord converts an int to a word, where the return
    * value is stored in a 2-byte array.
    private byte [] intToWord (int parValue) {
    byte retValue [] = new byte [2];
    retValue [0] = (byte) (parValue & 0x00FF);
    retValue [1] = (byte) ((parValue >> 8) & 0x00FF);
    return (retValue);
    * intToDWord converts an int to a double word, where the return
    * value is stored in a 4-byte array.
    private byte [] intToDWord (int parValue) {
    byte retValue [] = new byte [4];
    retValue [0] = (byte) (parValue & 0x00FF);
    retValue [1] = (byte) ((parValue >> 8) & 0x000000FF);
    retValue [2] = (byte) ((parValue >> 16) & 0x000000FF);
    retValue [3] = (byte) ((parValue >> 24) & 0x000000FF);
    return (retValue);
    class Writebmp
         public static void main(String args[])
              //Image img = Toolkit.getDefaultToolkit().getImage("jatin.bmp");
              try
              File filename = new File("jatin_test.bmp");
              BufferedImage image = ImageIO.read(filename);
              Graphics graphics = image.getGraphics();
              graphics.drawString("&#2313;&#2332;&#2327;&#2352;",10,30);
              Write1 w = new Write1();
              Image img = Toolkit.getDefaultToolkit().getImage("jatin_test.bmp");
              w.saveBitmap("jatin_test.bmp",img,200,200);
              catch (IOException e)
    System.err.println ("Unable to write to file");
    System.exit(-1);
    }

  • How do I convert a prel file into a mpeg or avi file?

    how do I convert a prel file into a mpeg or avi file?

    The Elements Tutorial Links Page http://forums.adobe.com/thread/1275830 will help... click the publish/share links

  • Convert a jpeg file into a 1-bit bmp file (2 colors image).

    Hi. I�m having serious problems to convert a jpeg file into a 1-bit bmp file (2 colors image).
    First, i,ve tried to get a 1-bit jpeg. But i think this is not possible, so what i have to do is to get a 1-bit bpm file.
    I�m using FileSaver.saveAsBmp(String destination) and what i get is a bmp image, but with 16M colors, but what i want is a 2 colors bmp file. A black and white image.
    Does anybody know how to do this? I�m really getting crazy with ths problem.
    Thanks in advance

    You better read this at
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=733738

  • How do I split a Large CSV file into Multiple CSV's Using Powershell

    I am a novice at powershell but this looks to be the best tool to do this task. have a csv file that looks like this:
    Date,Policy,Application
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    Is it possible to split this CSV into multiple CSV's based on "Application".
    Lets say the output might look like:
    None.csv
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    AppBiz.csv
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    PeopleBiz.csv
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    Any help would be greatly appreciated

    I think this might be what you want:
    Import-Csv applications.csv |
    Group Application |
    foreach {
    $_.Group | Export-Csv "$($_.Name).csv" -NoTypeInformation
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
    Very nice! 4x faster..
    I doubt the OP will get what you just did there..
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • How do I convert an .mp4 h.264 file into a simple Mpeg 2 file...

    I've had Quicktime for quitesometime now.
    I'been been through many QT versions but version 7 series, I think has problems.
    I've been dl'ing .mp4 files, with h.264 codecs.
    Quicktime plays them wonderfully but I'd like to put the movies on my media servers and stream them to my network dvd players(thin-clients).
    They can stream mpeg 1 and 2 great, as well as Xvid, Divx, and even VOBs'.
    I installed Quicktime 7 along time ago, and tried an export to many different data file formats. I would either get no video or no sound. I have just about every codec needed to do any conversion to Divx or Xvid.
    I also installed 3ivx.
    Can anyone tell me how something so simple can be so difficult? QuickTime, if it plays it, and shows that its capable of exporting to different formats, should be able to do the job.
    Beleive me, I know what your thinking. I've going as far as formatting, reinstalling Windows XP Pro, Updating, etc many times just to try to re-encode these .mp4 files into something big, yes, a large RAW file. Something that can be easily converted into anything else such as the basic old Mpg 1 or 2 file...
    Please, any help would be apprecaited!
    NeuroPsyche

    I tried ffmpeg but it just doesn't seem like it does a very good job at converting. I dont know why, but I think its because the .mp4 file has 6.1 sound or that new acc codec.
    I'm not sure about it, but when I do use ffmpeg, the sound doens't come out.
    Thanks!
    Dave.
    QuickTime doesn't have the capability to export to
    MPEG-1 or MPEG-2, at least not without third-party
    codecs (and I'm not aware of any for Windows for
    those formats, though there could be some somewhere).
    You might want to take a look at the open-source ffmpeg which can
    convert H.264 to MPEG-1 and MPEG-2 (as well as a
    number of other formats).
    Hope this helps.

  • How can one convert a PSD file into a RAW or DNG file?

    Lightroom does not assemble panoramas.  One must use an external editor,eg, Photoshop Elements, to construct a panorama.  Lightroom prepares the selected images by converting them to PSD files before sending them to the Elements Editor.  When the panorama is achieved, it cannot be saved as a RAW nor DNG file even if either of those formats were the original data format type in Lightroom.  Thus when the panorama is imported back into Lightroom  it is brought back as the PSD or something of your choosing; but you cannot choose a RAW nor DNG format.  The result is a folder in Lightroom with a hodge-podge of formats.    
    Question:  How can the PSD file panorama be converted into a RAW or DNG file in this transfer from an outside editor to Lightroom?

    That simply cannot be done. The conversion has to take place in order for Photoshop to create the panorama. Photoshop, by itself, without Camera Raw, cannot edit raw image data. By the time an image is opened in Photoshop is no longer raw image data. Photoshop is not capable of saving raw image data. The best thing to do is perform is much of the work as possible using using Lightroom. When I do a panorama image, I highlight all of the images and use the menu option to match total exposures. Then I do as much as possible on those images in Lightroom. Once the images leave Lightroom the raw editing is finished. Anything from that point onward that is done in Photoshop must be saved to a different file format.

  • How to write file into multiple directories by using file adapter?

    i need to write my file into multiple directories,i able to do in single directory.But i need to write to muliple directories.Please help me out.Thanks in advance.

    If you are passing the values at runtime then you can loop it and and invoke the file adapter in loop by dynamically passing the value in invoke properties for "File Directory and File name" etc.

  • Is there a way that you can convert a pdf file into a InDesign 5.5 file

    I want to convert a pdf file into a InDesign CS5.5. Is there anyway you can do this, or is there any software which can be downloaded that achieves good results.

    Recosoft has a converting plugin:
    http://PDF to InDesign, Convert PDF to InDesign, PDF to InDesign converter

Maybe you are looking for

  • Zoom with scroll wheel?

    The zooming with scroll wheel feature stopped working after I installed MAC OS X 10.6.  Anyone have a suggestion about how to get that feature working again?  Thanks.

  • Filter is unavailable

    Hi, This mornign when I tried to package the project and run it, I got this error in the borwser: Error 500: Filter [ProjectNameFilter]: filter is unavailable. Anyone has seen this before and know why? Thanks!

  • MacBook Pro won't start up after update

    I just updated my MacBook last night and now when I turn it on it gets to the grey apple screen and shuts down.

  • Password Keeper App

    Hi I had a BB Z10 with the Password Keeper App installed. I changed phones to a non BB and took the sim card ut of my old BB to use in my new phone.  When I turned my old BB back on to access some information on the device I noticed that Password Kee

  • My laptop is using Windows 8.1 and it can't connect to a WiFi using WPA2/Enterprise authenticate

    I am using a laptop Dell Inspiron 15z with Windows 8.1 64 Bit OS.  And i build a test lab to test WPA2/Enterprise authenticate. My Lab is like that: 1/ My DC + DNS using Windows 2012 RC2 Standard. 2/ I install CA + Radius Server on DC Server. 3/ My A