Comma seperated fields fetched in a text file

hi all,
         well in the reporting context,i am lookin forward to fetch data from the internal table and then download them into a text file,the condition of retrieval of the data is that every field should be seperated by a comma in the text file,
             currently i m using "gui download" function module and its giving out the fetched reords correctly,but i m not able to put a "," seperator between the fields.....
   could anyone help me with this??
points will rewarded generously,,,,
thanks in advance

Hi ,
Use this statement first
CONCATENATE
          "Give the field name which are to be displayed with , seperator  
          INTO wa_final-string
         SEPARATED BY ',' .
  INSERT wa_final
  INTO i_final INDEX 1.
Pass this tabel in gui_download.
  CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
  BIN_FILESIZE                        = BIN_FILESIZE
      filename                               = lwa_file
      filetype                                 = 'ASC'
  APPEND                                = ' '
  WRITE_FIELD_SEPARATOR   = ' '
  HEADER                                = '00'
  TRUNC_TRAILING_BLANKS    = ' '
  WRITE_LF                              = 'X'
  COL_SELECT                         = ' '
  COL_SELECT_MASK              = ' '
  DAT_MODE                             = ' '
  CONFIRM_OVERWRITE           = ' '
  NO_AUTH_CHECK                   = ' '
  CODEPAGE                             = ' '
  IGNORE_CERR                        = ABAP_TRUE
  REPLACEMENT                       = '#'
  WRITE_BOM                            = ' '
  TRUNC_TRAILING_BLANKS_EOL       = 'X'
  WK1_N_FORMAT                               = ' '
  WK1_N_SIZE                                     = ' '
  WK1_T_FORMAT                               = ' '
  WK1_T_SIZE                                      = ' '
IMPORTING
  FILELENGTH                      = FILELENGTH
    TABLES
      data_tab                            =     i_final
  FIELDNAMES                      = FIELDNAMES
    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
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

Similar Messages

  • How to add a SPACE as suffix to the last field in the downloaded text file?

    Hi Experts,
    By using GUI_DOWNLOAD am saving the data(only 3 fields) in a text file on my desk top.
    fine.
    example current record1 : 010001                      354.999            26.000
    here, after 3rd field 26.000, immediately the cursor is jumping to next line in text file.
    but, wanna a SINGLE SPACE after 26.000, say 26.000+space.
    tried with CONCATENATE, OFFSETTING, but no use(may b am using incorrectly)
    so, pls. suggect me, How to add a SPACE as suffix to the last field in the downloaded text file?
    thanq

    Sorry...Typo error...Too many in the last few days -:(
    Wanted to say AFTER -:)
    Do it like this...
    FIELD1 TYPE XXX,
    FIELD2 TYPE XXX,
    FIELD3 TYPE XXX,
    SPACE(1) TYPE C,
    That way you should end with...
    26.000+SPACE
    Greetings,
    Blag.

  • Fetch data from text file to print

    Dear All,
    I am trying to fetch data from a text file in to Oracle database to print.
    The problem I have is that I cannot gather data because this is a statement, generated by a report utility and the data consist of multiple dimensions.
    First 3 fields of data are in the first 3 rows of a page and the rest is displayed column wise for the next 20 rows (5th row to 24th Row). Then there is a page break character ASCII (012) (Hex - 0C)then the next record starts.
    Please give me a solution to fetch first 3 lines to one master table & the column of data to a detail table.
    I konw I can fetch data using SQL Loader but the problem is how can I seperate multiple dimention data.
    Sample
    <page breake>
    Code:123456
    Name:1233445566
    Address:aaaaaaaaaaaaa
    Detail1 Detail2 Detail3
    ======= ======= =======
    AAAAAAA BBBBBBB CCCCCCC
    AAAAAAA BBBBBBB CCCCCCC
    <page break>
    Code:123457
    Name:AAAAAAAA
    Address:AAAAAAAA
    Detail1 Detail2 Detail3
    ======= ======= =======
    AAAAAAA BBBBBBB CCCCCCC
    AAAAAAA BBBBBBB CCCCCCC
    <page break>
    Thank you in advance..
    Regards, Shaamil.

    Try using the package UTL_FILE.
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/u_file.htm#998101

  • How to fetch dynamically generated text file

    Caveat: I'm actually using CSP, not JSP, but the scripting methods are very similar. A JSP answer will probably apply to CSP as well.
    Currently, I have a dynamic content page that which I fetch on a submit action using response->getRedirectURL("xxx") where xxx is the URL of the dynamic page. The page displays fine in the browser, but what I would like to have it do is cause a file save dialog to appear so that the user can save the page as a text file.

    Set the MIME/ content type to "text/plain"
    You then need to tell the browser to not try and render the contents but to treat it as an attachment.
    Set the header "Content-Disposition" with the value "attachment; filename="yourFilenameHere".
    And you do realize, posting about CSP here might get you flamed :)

  • Text file to database

    hi all.
    please i need to read data seperated by coma from a text file and insert it in oracle database. how can i do this
    thanx

    Use this function (with Forms : TEXT_IO)
    (Change PIPE-delimited line with comma -delimited )
    create a FUNCTION in Program Unit
    FUNCTION TOKEN (LINEBUF IN OUT VARCHAR2) RETURN VARCHAR2 IS
    /* Returns the first token from the PIPE-delimited line */
    /* passed as linebuf. Linebuf then has that token stripped */
    /* so that subsequent calls return the second, third, etc. */
    FIRST_TOKEN VARCHAR2(70);
    PIPE_POS NUMBER;
    BEGIN
    PIPE_POS := INSTR(LINEBUF, ',');
    IF PIPE_POS = 0 THEN
    FIRST_TOKEN := LINEBUF;
    LINEBUF := null;
    ELSE
    FIRST_TOKEN := SUBSTR(LINEBUF, 1, PIPE_POS - 1);
    LINEBUF := SUBSTR(LINEBUF, PIPE_POS + 1);
    END IF;
    RETURN FIRST_TOKEN;
    END;
    Or If you are using 10gR2
    Look
    http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
    or
    http://www.oracle.com/technology/sample_code/products/forms/index.html
    or Francois Degrelle Blog(There is a example)
    http://fdegrelle.over-blog.com/
    Regards

  • How to read the contents of a text file and populate the data in a table ?

    Hello All,
      Can anyone advise on how to acheieve the above ? I am trying to read in a text file (CSV) and have the contents populated to the respective UI elements in a table. Any help is greatly appreciated.
    from
    Kwok Wei

    Hi,
    Let us consider you have list of names(Seperated by delimeter) in a text file and you want to display in  a table.
    1. Create Context Node "Names" and context attribute "Name"
    2. Create Table and bind to the above context.
    3.Write the following code in the "Init method.
    try{
    FileReader f =new FileReader("");
    BufferedReader r=new BufferedReader(f);
    String names=r.readLine();
    Vector Names=new Vector();
    // Use Tokenizer and store all the names i a vector//
    for(int i=0;i<Names.size();i++){
    IPrivate<<VieName>>.INameElement ele=wdContext.createNameElement();
    ele.set<<Name>>( Names.get(i).toString());
    wdContext.NodeName().addElement(ele);
    Regards, Anilkumar
    Message was edited by: Anilkumar Vippagunta

  • FM or Way to validate Date format. The date is from TEXT File

    Dear All,
    I need to validate a date field whether it is in proper format.
    The field is coming from TEXT file to Internal table by using FM GUI_UPLOAD.
    Can any one give me the FM name or guide me how to do that?
    Definitely points will be given for correct solution.
    Thanks & Regards,
    Neeraj

    try the function module 'DATE_CHECK_PLAUSIBILITY'
      call function 'DATE_CHECK_PLAUSIBILITY'
           exporting
                date                      = '23.09.2007'
           exceptions
                plausibility_check_failed = 1
                others                    = 2.
      if sy-subrc <> 0.
        write:/ 'Please verify the date'.
        exit.
      endif.

  • Fields should be quoted seperated by comma while transferring to text file

    Hi Experts,
    I need to show the file contents within double quotes and seperated by comma using 'GUI_DOWNLOAD'
    For eg. The text file contents that are transferred to presentation server should look like,
    "00210000001400","21000000149","","0000149","0014","10"
    "00210006121500","21000612151","","0612151","1215","10".
    I was coded like
    **CONCATENATE c_quotes lv_matnr14 INTO lv_first.**
            **CONCATENATE lw_final-extwg+0(2) c_quotes INTO lv_last.**
            **CONDENSE lv_first NO-GAPS.**
            **CONDENSE lv_last NO-GAPS.**
            **CONCATENATE lv_first**
                        **lw_final-ean11+3(11)**
                        **lw_final-yyshortdesc**
                        **lw_final-ean11+7(8)**
                        **lw_final-ean11+9(4)**
                        **lv_last**
                   **INTO lw_ps_data**
                   **SEPARATED BY c_comma1.**
            **CONDENSE lw_ps_data NO-GAPS.**
            **APPEND lw_ps_data TO rt_ps_data.**
    Can u please suggest if there is other better way than this.....?

    try ABAP forum for a better response - ABAP Development

  • Downloading into a text file with comma seperation

    hey experts,
    well i want to download various fields of an internal table into a text file.but the hitch is that all the columns should be seperated by a comma.something like csv.
    could you please help me with this.?
    i have tried using gui download but the seperator field was not working.
    thanks in advance...
    regards,
    sandra.

    hey sandra,
    for comma seperation and downloading ,you can use the following fm.
    here the i_field seperator should be given as "," as in ur case.
    i_tab3 is the table from which the values are being fetched.
    and i_tab2 is the table conatining the comma seperated values.
    CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
       EXPORTING
         I_FIELD_SEPERATOR          = ','
      I_LINE_HEADER              =
      I_FILENAME                 =
      I_APPL_KEEP                = ' '
       TABLES
         I_TAB_SAP_DATA             = I_TAB3
       CHANGING
        I_TAB_CONVERTED_DATA       = I_TAB2
    EXCEPTIONS
      CONVERSION_FAILED          = 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.
    after this u can use the gui download fm as required.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
      BIN_FILESIZE                    =
        FILENAME                        = TESTFILNA
      FILETYPE                        = 'ASC'
      APPEND                          = ' '
        WRITE_FIELD_SEPARATOR           = 'x'
      HEADER                          = '123'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
      WK1_N_FORMAT                    = ' '
      WK1_N_SIZE                      = ' '
      WK1_T_FORMAT                    = ' '
      WK1_T_SIZE                      = ' '
      WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
    IMPORTING
      FILELENGTH                      =
    TABLES
          DATA_TAB                      = I_TAB2
      FIELDNAMES                      =
    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 <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    hope this helps u.
    do reward points if useful.....:-)

  • Search a text in a text file.Each text is seperated with comma

    hi all
    I am working on a log search application project.the project comprise of when a user selects from the page either IP,UserID,Website and clicks on the submit button.the next page generates result in the format that this particular user has visited this particular website with this IP on particular date.
    I have been provided with the text file and its nomenculture of the file.each word in the file is separated with comma.
    so any one can help me with how to search a word in that text file when every data is separated with comma operator.
    I

    satish_dhn wrote:
    hi allHi.
    satish_dhn wrote:
    I am working on a log search application project.the project comprise of when a user selects from the page either IP,UserID,Website and clicks on the submit button.the next page generates result in the format that this particular user has visited this particular website with this IP on particular date.
    I have been provided with the text file and its nomenculture_ of the file.each word in the file is separated with comma.; )
    It's nomenclature.
    satish_dhn wrote:
    so any one can help me with how to search a word in that text file when every data is separated with comma operator.
    IYes, use a CSV parser to read these files: [http://ostermiller.org/utils/CSV.html]

  • Reading fields from a text file

    Hi, I'm fairly new to this so bear with me.
    This is for an assignment - the idea is to cretae an online system for booking seats at a cinema - haven't got past the login stage yet?
    I've got an applet that needs to read in a field from a text file.
    I'm using the StringTokenizer function.
    I've put a test in to check that the applet can find the file, which seems to be ok.
    However, it's not reading from the file.
    Te file is a simple text file - fields are seperated by a comma and a space.
    Any ideas?
    Please help as this is quite urgent.
    Prototype Code is below
    public class cinema extends Applet implements ActionListener, ItemListener{
    private List ActionList;
    private int listIndex;
    TextArea t = new TextArea(5, 30);
    private Button gobutton, writebutton, login, logout;
    private PrintWriter suggestfile;
    TextField Userid, password, enterField;
    private int count, checkuser;
    private BufferedReader firstn;
    File myFile = new File("e:\\Ian\\Unistuff\\2nd Year\\se2\\cinema2\\src\\cinema2\\member.txt");
    //Construct the applet
    public cinema() {
    enterField = new TextField("Please enter user ID and Password");
    enterField.setEditable(false);
    add(enterField);
    Userid = new TextField(3);
    add(Userid);
    password = new TextField(10);
    password.setEchoChar('*');
    add(password);
    //Initialize the applet
    public void init() {
    BorderLayout borderLayout1 = new BorderLayout();
    //some code ommitted
    t.setEditable(false);
    add(t);
    gobutton = new Button("Go!");
    add(gobutton);
    gobutton.addActionListener(this);
    public void actionPerformed(ActionEvent event) {
    if (event.getSource() == gobutton) {
    try {
    firstn = new BufferedReader( new FileReader(myFile));
    catch (IOException e) {
    t.setText("Member database missing - please contact Chairperson");
    return;
    try {
    String line1;
    boolean found = false;
    while (( ( line1 = firstn.readLine() ) != null) && (! found))
    {StringTokenizer token1 = new StringTokenizer (line1, " ,");
                              String user = token1.nextToken();
                                 if (Userid.getText().equals(user))
                                   { found = true;
                                     t.setText("Hello");
    firstn.close();
    catch (IOException e) {
    System.err.println("Error Reading File " + myFile + ": " + e.toString());
    Here's the text file:
    Ian, Dodson, 001, rubbish
    Joe, Bloggs, 002, medway
    Bill, Smith, 003, unique
    Guest, , Guest,
    To test that it is working, it should just put a message in the Text Area, but nothing happens when you press the "go" button.

    1. Your applet will not work, because it is trying to
    read file from local disk.
    2. This task can be solved by simple CGI script
    (which is much more common and universal thing than
    java), so you do not need to use java if you want to
    send 3 lines to a server.
    3. See examples and read some books.1. Stated the obvious.
    2. This is a java forum, not Perl.
    3. Pathetic and patronizing.
    Very helpful.

  • Upload  comma seperated file

    Hi,
    I have to upload a text file which  has 12 fields seperated by commas and each of the character field is enclosed by quotes(" ").I tried uploading using GUI_UPLOAD but it is going for short dump.
    First row of the file is as below:
    1,"ALU",0,"7","21-MAY-2008 15",,"000017088656","00919074","L-130912-02-001","05-Feb-2007",0.70,""
    I used the FM as below:
      CALL FUNCTION 'GUI_UPLOAD'
         EXPORTING
           FILENAME                      = fileup
         FILETYPE                      = 'ASC'
         HAS_FIELD_SEPARATOR           = 'X'
         HEADER_LENGTH                 = 0
         READ_BY_LINE                  = 'X'
         DAT_MODE                      = ' '
         CODEPAGE                      = ' '
         IGNORE_CERR                   = ABAP_TRUE
         REPLACEMENT                   = '#'
         CHECK_BOM                     = ' '
         VIRUS_SCAN_PROFILE            =
         NO_AUTH_CHECK                 = ' '
       IMPORTING
         FILELENGTH                    =
         HEADER                        =
         TABLES
           DATA_TAB                      = i_REF
       EXCEPTIONS
    Please solve this problem

    Hi,
    try to use the quotes in the below way..
    and maintain the paramets as CSV as well....
    loop at i_final_data_tmp into wa_final_data_tmp.
       concatenate :
              `"` wa_final_data_tmp-f1  `",`
              `"` wa_final_data_tmp-f2  `",`
              `"` wa_final_data_tmp-f3  `",`
              `"` wa_final_data_tmp-f4  `",`
              `"` wa_final_data_tmp-f5  `",`
              `"` wa_final_data_tmp-f6  `",`
              `"` wa_final_data_tmp-f7  `",`
              `"` wa_final_data_tmp-f8  `",`
              `"` wa_final_data_tmp-f9  `",`
              `"` wa_final_data_tmp-f10 `"`.
       append wa_csv_data to i_csv_data.
       clear wa_csv_data.
    endloop.

  • Using text files to commit in UCM trough ODC

    Hello all.
    Again I'm here trying to do something not that common in ODC. So let me explain what I want, OK?
    EDIT: I forgot my specs:
    We're using a VM in Vmware Workstation, with Windows 7 64bits. 80gb HD and 2gb RAM.
    Using Oracle DB 11gR2 and ODC 10.3.5.
    1 - we already opened a ticket with Oracle Support, the number is:      SR 3-6108348211. It was closed but we reopened. Until now there is no answer.
    2 - we have many files and want to do a test: which is better for commiting files to UCM, ODC or Batch Loader? We know that Batch Loader is the usual one, but maybe there is some speed improvement in checkin using ODC.
    3 - we will get the images from a folder, send them to ODC, them the ODC will commit them to UCM, but (here's the catch) sending all the metadata of all those files and being pdf-searchable too.
    4 - so I'll put some screens here, showing what I did, OK?
    4.1- In this screen I show all the metadata we need ship to UCM. In the left column are the metadata fields and in the right, values.
    http://imgur.com/QkqxA
    4.2 - In a folder, we put all the images and a text file containing all the metadata referring to the images. As the Oracle Support says, the text file should have these lines.:
    C:\Users\oracle\Desktop\import_folder\import1.bmp|4545|Joaozinho|15/15/2015|Import1|11.11
    C:\Users\oracle\Desktop\import_folder\import2.bmp|7878|Augusta|16/16/2006|Import2|22.22
    C:\Users\oracle\Desktop\import_folder\import3.bmp|00001|Gump|07/07/1997|Import3|333.33
    C:\Users\oracle\Desktop\import_folder\import4.bmp|3232|Filipinho|08/08/2008|Import4|99.66
    C:\Users\oracle\Desktop\import_folder\import5.bmp|7968|Maria Antonia|15/12/1985|Import5|88.99
    C:\Users\oracle\Desktop\import_folder\import6.bmp|56563|Coloral|07/08/1999|Import6|22.33
    The first part is the image path, the second its name, the third the odc_Numero field value, the fourth the odc_Nome field value, the fifth the odc_Data field value, the sixth odc_Assunto field value and the last one is odc_Valor field value. All these values need to go to UCM, along with the images.
    4.3 - So I put all the images and text file in the folder.
    http://imgur.com/o8znD
    4.4 - I didn't checked OCR zones in the images, all the metadata values will come from the text field, because the images sometimes cannot be trusted on the values (bad scan, old text, etc).
    4.5 - I open the Import Server and did this config:
    http://imgur.com/t0xh1
    http://imgur.com/PPJGO
    http://imgur.com/RWKfU
    http://imgur.com/v5P5V
    4.6 - I open the commit server and let it in the background, but not doing any batch jobs, just paused.
    4.7 - And I got all these errors:
    http://imgur.com/lCtql
    EDIT: I get this error when opening the import server, just after the login:
    http://imgur.com/YB9qe
    So here are my questions:
    1 - what printer is the ODC needing?
    2 - the files will be already converted to PDF, I just want to convert them to pdf-searchable, using the text file containing all metadata and send them to UCM. Is it possible?
    3 - is there a guide teaching how to do this?
    4 - am I doing it right?
    Sorry for the long post, but this an urgent test.
    Thanks (seriously, a lot) for all the help and guidance.
    Fernando
    Edited by: fgomes on 03/09/2012 05:45
    Edited by: fgomes on 03/09/2012 06:05

    Hello Jiri.
    Thank you for your answer.
    Let me answer your questions (I'm using Windows XP this time, both we are working in 7, too):
    - while working with the ODC desktop application, you
    i. define a file cabinet (which also defines index fields, optionally batch statuses, and commit profiles)
    -- I did, these are the fields I've defined for this test
    http://imgur.com/7FyRW
    ii. define a scan profile
    -- Here are the configs for my scan profile
    http://imgur.com/Jyfvh
    http://imgur.com/tveQZ
    iii. define an indexing profile (which also defines index fields the profile will work with, incl. auto-populate)
    -- Here are the configs
    http://imgur.com/sMW7Q
    http://imgur.com/O6Bpl
    http://imgur.com/aqYmU
    http://imgur.com/lGrIn
    http://imgur.com/MeKAz
    http://imgur.com/t5r0i
    http://imgur.com/oco5S
    iv. scan an image (using the scan profile) AND v. index the scanned image (using the indexing profile)
    -- I did that. And works ok. I've used OCR zones sometimes and the scan worked. Sometimes I didn't and it worked OK, too. Commit to UCM in both cases worked. Here is an example:
    http://imgur.com/rp3jI
    http://imgur.com/ZS7FB
    http://imgur.com/cHhjC
    * Now we go to another part:
    ii'. define the import batch job
    -- I've defined in here.
    http://imgur.com/hfEdR
    http://imgur.com/eKsyJ
    http://imgur.com/Kbt5R
    http://imgur.com/1azWe
    http://imgur.com/JqbFI
    http://imgur.com/IkCww
    And after all these configs, when I click in "Activate", to make the batch job active the application closes (in Windows 7 it crashes). When I change to "Import from folder" rather than "Import from list file" I get these messages:
    http://imgur.com/1WAMn
    http://imgur.com/oz5ZL
    Still, the other way is to provide metadata in a List File. The List File is processed directly by Import - and if you define that you want to commit right away Import will try to do it for you, but it can succeed only if it has all the necessary index fields. The error you are getting indicates that something is wrong - it can be that some field is missing, or all the fields are missing (List File could not be parsed).
    -- Yes. It is that I want. I don't need to check barcodes at all. I just need to get all the field values from a list file. Here are the contents:
    C:\Documents and Settings\Administrador\Desktop\import_folderimport1.bmp|4545|Joaozinho|15/15/2015|Import1|11.11
    C:\Documents and Settings\Administrador\Desktop\import_folderimport2.bmp|7878|Augusta|16/16/2006|Import2|22.22
    C:\Documents and Settings\Administrador\Desktop\import_folderimport3.bmp|00001|Gump|07/07/1997|Import3|333.33
    C:\Documents and Settings\Administrador\Desktop\import_folderimport4.bmp|3232|Filipinho|08/08/2008|Import4|99.66
    C:\Documents and Settings\Administrador\Desktop\import_folderimport5.bmp|7968|Maria Antonia|15/12/1985|Import5|88.99
    C:\Documents and Settings\Administrador\Desktop\import_folderimport6.bmp|56563|Coloral|07/08/1999|Import6|22.33
    Thanks again.
    If you could try and say what I am doing wrong you'll help me a lot.
    Fernando

  • Output file as a text file with tab delimited and fixed length fields

    Hi all,
    I have developed a custom report which outputs an excel file on the user desktop who executes that report.Now i need to create an additional (second) excel file with almost the same data as the first file.
    Im using the FM GUI_DOWNLOAD to create the file.i need have the 2nd file as txt file(seperated by space/tab delimited) and also i want the fields to have fixed length.For this format of the file,what parameters do I need to pass to the FM ?
    BR,
    SRM Tech.

    Thanks for the prompt reply.
    Also in the sel screen,Im entering the path where  the o/p file needs to be downloadede.g. C:/Output_folder/Output.xls...Now if I need a text file,do I need to give the fielname as C:/Output_folder/Output.txt.?

  • Fetching a text file into CLOB column in Oracle!

    Can anyone please help me to find out how to fetch a text file present on the network on to the CLOB column in Oracle 8i?
    I dont want to use BFILE for this.
    Please help its urgent.
    Love
    Prathab
    null

    Prathab,
    This is an example from the SQL package doc for DBMS_LOB, that reads from a bfile, and store in a lob.
    CREATE OR REPLACE PROCEDURE Example_l2f IS
    lobd BLOB;
    fils BFILE := BFILENAME('SOME_DIR_OBJ','some_file');
    amt INTEGER := 4000;
    BEGIN
    SELECT b_lob INTO lobd FROM lob_table WHERE key_value = 42 FOR UPDATE;
    dbms_lob.fileopen(fils, dbms_lob.file_readonly);
    dbms_lob.loadfromfile(lobd, fils, amt);
    COMMIT;
    dbms_lob.fileclose(fils);
    END;
    Hope it helps.
    Eric
    null

Maybe you are looking for

  • Itunes says there's an update but doesn't appear in app store

    Anybody else get this?  I have been getting this for a while with iTunes updates...  There will be updates available but they never appear in the App Store....

  • Email of Purchase Order coming with Standard Form

    Hi, I have configured NACE. I am able to generate the PO through email. But, the problem is, system always picking of standard form instead of "customized form", (though I have configured customized form for emailing). Whereas, in case of printing, t

  • PI with MQ message segmentation and reassembly

    There is a requirement to send large messages (>100 MB) using Websphere MQ and the PI JMS adapter.  MQ has a 100 MB limitation on message size, but it has a feature called message segmentation and reassembly that allows large messages to be broken up

  • Root file system is 100% full on server with oracle databse

    hi, This was very strange to me, i have a solaris 10 Generic_122300-03 sun4u sparc SUNW,Sun-Fire-V440, with one oracle database running on it. The daatabase guys was doing some activity and the CPU utilization was 100%. I got an update from db team t

  • Linking the  Custom infotype 9501(hrp infotype) to HRP1050

    Hi experts,                     specially for ABAP-hr guys.....Can u pls help me in providing me the correct solution for the below:                    The standard Job Evaluation Infotype 1050 should be automatically updated when creations, changes