Problem in creating csv file

I have one problem in creating csv file.
If one column has single line value, it is coming in single cell. But if the column has no.of lines using carriage return while entering into the table,
I am not able to create csv file properly. That one column value takes more than one cell in csv.
For example the column "Issue" has following value:
"Dear
I hereby updated the Human Resources: New User Registration Form Request.
And sending the request for your action.
Regards
Karthik".
If i try to create the csv file that particular record is coming as follows:
0608001,AEGIS USERID,SINGAPORE,Dear
I hereby updated the Human Resources: New User Registration Form Request.
And sending the request for your action.
Regards
Karthik,closed.
If we try to load the data in table it is giving error since that one record is coming in more than one line. How can I store that value in a single line in csv file.
Pls help.

I have tried using chr(10) and chr(13) like this......still it is not solved.
select REQNO ,
'"'||replace(SUBJECT,chr(13),' ')||'"' subject,
AREA ,
REQUESTOR ,
DEPT ,
COUNTRY ,
ASSIGN_TO ,
to_Date(START_DT) ,
START_TIME ,
PRIORITY ,
'"'||replace(issues, chr(13), ' ')||'"' issues,
'"'||replace(SOLUTIONS,chr(13),' ')||'"' SOLUTIONS ,
'"'||replace(REMARKS,chr(13),' ')||'"' REMARKS ,
to_date(CLOSED_DT) ,
CLOSED_TIME ,
MAN_DAYS ,
MAN_HRS ,
CLOSED_BY ,
STATUS from asg_log_mstr
Pls help.

Similar Messages

  • Problem with Dreamweaver & csv file!!!!

    Working on website...
    www.banners4churches.com
    Website has special pricing matrix...
    http://www.banners4churches.com/current/banners/order_custombanners.php
    Excel .xml file is run through Linux Fedora 10 wKDE and cli.sh to create .csv file for Dreamweaver.  The .xml file was updated and the new .csv file was inserted back into the root folder for DW.  Was working properly before changes, but now it shows error message "call." 
    Been working on this problem for days!!!!  Any help is greatly appreciated.  Thank you.
    Mike

    tiggercald wrote:
     Been working on this problem for days!!!!  Any help is greatly appreciated.  Thank you.
    What is the problem? The pricing matrix at the URL you provided is working. If it's something not working on your local system, nobody can help unless they see the code you're working with. In any case, it sounds as though there's something wrong with the CSV file, not with Dreamweaver.

  • Problem in creating text file from report file

    Hello Everybody...
    I have problem in creating text file.
    I had set System Parameter as below
    DESTYPE : File
    MODE : Character
    DESNAME : gayu.txt
    And ruler setting
    Units : Character Cells
    Character Cell Size : Horiziontal = 7
    Vertiacle =12
    GridSpacing : 1
    no of snap points per grid spacing : 1
    but when i run report it will give error
    "REP_1219 M_2 or R_2 has no size -- length or width zero"
    so is there any solution of that
    or another way to convert report into text file?....

    Hi Folks,
    Please don't go after that Error as its a very deceptive one. Please don't go for altering your design Or changing the size of items in your layout.
    Similar errors I have come across in reports. I think its due to file transfer type. You might have transferred the file in Binary and your File Mode I am seeing it as CHAR.
    This normally happens while making the Report Format as "Text". Either you change that format which I think is possible in your case as your basic requirement is making a report output of CHAR type.
    Please check for this error in Metalink and proceed accordingly. I could fix similar errors when I changed Format type to PDF(from text).
    Regards
    Shibu

  • Can we create .CSV files through documaker

    Hi,
    Is it possible to create .csv files through documaker apart from pdf's
    Thanks

    With apologies, it is still unclear (to me) what you are asking.
    It is possible to create files using DAL, but to offer more specific guidance requires a better understanding of what it is that you want.
    A CSV is a Comma-Separate Value file. A PDF file is a printed document file containing formatted text content, graphics, lines, boxes, etc - in other words a fully-composed document.  I'm not exactly sure how a PDF and a CSV file could contain the same data.
    Are you perhaps asking to get an index of the created PDF files written as a CSV file? Something that contains a row of key transaction data along with the file name of the generated PDF? Perhaps something akin to the batch (BCH) files that can be produced per transaction recipient?
    Are you asking for an export file of all the field data that went into the creation of the document and included in the PDF? Normally a CSV has a header that describes the columns and then each row of data would be consistent with that header. Without knowing that every PDF file you create will have exactly the same number of fields defined, it is difficult to imagine that a single CSV file would be sufficient. And depending upon the number of fields and the size of the data assigned to each, this could be quite a long record per PDF in the resulting CSV file.
    Or perhaps you had in mind to get a name / value pair written for each field with data written on separate lines? This would not a be a true CSV file, but could have the name and values separated by commas if that is what you require.
    You have something specific in mind and yet, we are not in your mind.  We need more specific information on exactly what you are trying to accomplish.

  • How to create .csv file from ABAP report

    Hi
    We have a requirement to generate .csv file from abap report.
    Currently user saves data from abap report to spreadsheet(.xls format) in desktop.  Then opens excel file and save as .csv format.  Need option to save directly in .csv format instead of .xls format.
    Please let me know, if there is any standard function module available to create .csv file.
    Regards
    Uma

    I tried with your code it's going to dump
    REPORT ZTEMP101 message-id 00.
    tables: lfa1.
    types: begin of t_lfa1,
          lifnr like lfa1-lifnr,
          name1 like lfa1-name1,
          end of t_lfa1.
    data: i_lfa1 type standard table of t_lfa1,
          wa_lfa1 type t_lfa1.
    types truxs_t_text_data(4096) type c occurs 0.
    data: csv_converted_table type table of TRUXS_T_TEXT_DATA.
    select-options: s_lifnr for lfa1-lifnr.
    select lifnr name1 from lfa1 into table i_lfa1
           where lifnr in s_lifnr.
    CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
    EXPORTING
       I_FIELD_SEPERATOR          = ';'
             I_LINE_HEADER              =
             I_FILENAME                 =
             I_APPL_KEEP                = ' '
      TABLES
        I_TAB_SAP_DATA             = I_LFA1
    CHANGING
       I_TAB_CONVERTED_DATA       = csv_converted_table
    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.
    CALL FUNCTION 'WS_DOWNLOAD'
    EXPORTING
      BIN_FILESIZE                  = ' '
      CODEPAGE                      = ' '
       FILENAME                      =
       'C:\Documents and Settings\ps12\Desktop\Test folder\exl.cvs'
      FILETYPE                      = 'DAT'
      MODE                          = ' '
      WK1_N_FORMAT                  = ' '
      WK1_N_SIZE                    = ' '
      WK1_T_FORMAT                  = ' '
      WK1_T_SIZE                    = ' '
      COL_SELECT                    = ' '
      COL_SELECTMASK                = ' '
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      TABLES
        DATA_TAB                      = csv_converted_table
      FIELDNAMES                    =
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_WRITE_ERROR              = 2
      INVALID_FILESIZE              = 3
      INVALID_TYPE                  = 4
      NO_BATCH                      = 5
      UNKNOWN_ERROR                 = 6
      INVALID_TABLE_WIDTH           = 7
      GUI_REFUSE_FILETRANSFER       = 8
      CUSTOMER_ERROR                = 9
      OTHERS                        = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    my version is 4.6c

  • Create CSV file through a program in background

    Hello everyone!
    I'm facing a problem using class CL_GUI_FRONTEND_SERVICES to generate a csv file.
    I have a report in SCM that will export data from APO to some csv files.
    At this moment I'm using GUI_DOWNLOAD method, it works perfectly! The problem is that this program is supposed to run in a background job, and as far as I read and searched for it.. GUI_DOWNLOAD and GUI_UPLOAD are not supposed to run in bakcground because of a "client-server" problem... well.. ok...
    So... I tried with the "OPEN DATASET" and it worked fine also, but now comes another issue: the "open dataset" method only writes/reads files located in the system server(is that right?)... and my file will be located on another location in the intranet.
    What should I use to generate this csv files in a background job!?
    Thanks,
    Martin

    there isn't a "client-server" problem...background jobs have no connectivity to a gui/presentation server and therefore no ability to upload/download to a desktop target....
    You can save, as noted, to any server visible to the SAP instance you're executing on.  I would recommend that you look at a multi-step process....
    create your internal table
    store that internal table in a file on your apps server (comma-delimited is okay, but tab-delimited would be much better choice)
    if you need to place the file where another system can access,
    utilize FTP capability in SAP to "copy" or "send" that file to an FTP target, after you have successfully written the file to the APPS server.
    If the file can be retrieved by a SAP user,
    write or utilize an existing piece of code to grab the file, upload into SAP and then utilize GUI_DOWNLOAD to transfer to the user's desktop target.
    This allows you to have both a background process, but have the file accessible to an SAP user after the file has been created.  I have several processes that do this and retrieval by the user is both easy and convenient, since the user is notified by my background job that the file has been created, etc.

  • Stored Proc to create .csv file from table

    Hi all,
    I have a table with 4 columns and 10 rows. Now I need a stored proc to create a .csv file from the table data. Here the scripts to create a table and insert the row's.
    Create table emp(emp_id number(10), emp_name varchar2(20), department varchar2(20), salary number(10));
    Insert into emp values ('1','AAAAA','SALES','10000');
    Insert into emp values ('2','BBBBB','MARKETING','8000');
    Insert into emp values ('3','CCCCC','SALES','12000');
    Insert into emp values ('4','DDDDD','FINANCE','10000');
    Insert into emp values ('5','EEEEE','SALES','11000');
    Insert into emp values ('6','FFFFF','MANAGER','90000');
    Insert into emp values ('7','GGGGG','SALES','12000');
    Insert into emp values ('8','HHHHH','FINANCE','14000');
    Insert into emp values ('9','IIIII','SALES','20000');
    Insert into emp values ('10','JJJJJ','FINANCE','21000');
    commit;
    Now I need a stored proc to create a .csv file in my local location. Please let me know If you need any other details....

    Some pointers:
    http://www.oracle-base.com/articles/9i/GeneratingCSVFiles.php
    http://tkyte.blogspot.com/2009/10/httpasktomoraclecomtkyteflat.html
    also, doing a search on this forum or http://asktom.oracle.com will give you many clues.
    .csv file in my local location.What is your 'local location'?
    A client machine? The database server machine?
    What database version are you using?
    (the result of: select * from v$version; )

  • Problem while Creating Control files while Cloning the Oracle DB

    Hi,
    I am failrly new to Oracle Administration. I have got the task of cloning our Production database into a new machine. With the help of various articles found over the web I have followed the below mentioned steps
    1)Executed the Alter database command for getting the control file copy.
    2) Taken the Datafiles,Control and redo log files copies into the Target machine.
    3) Copied the Pfile with the neccessary changes into the target machine.
    4) Edited the Create Control file syntax (generated from step 1) and executed the same on the target machine.
    Now the problem I face is that I get the following error while executing the create Control file syntax
    a)ORA-01503 - Creation of Controlfile failed.
    b) ORA-00219 - Required controlfile size 41760 exceeds max allowable size 20000.
    I am really stuck. Both my machine configurations and O/S installed are the same.
    Please advice me on how to Proceed... Thanking you all in advannce.
    Rgds,
    SN.

    Hi Jaffer,
    This is my code........ The control file has been generated by executing the syntax alter database backup controlfile to trace at the source db .
    STARTUP NOMOUNT pfile=ORADATA:ORAHOME1\ADMIN\ORACLE\PFILE\INIT.ORA;
    CREATE CONTROLFILE set DATABASE "ORACLE" RESETLOGS NOARCHIVELOG
    MAXLOGFILES 32
    MAXLOGMEMBERS 2
    MAXDATAFILES 32
    MAXINSTANCES 16
    MAXLOGHISTORY 65535
    LOGFILE
    GROUP 1 'ORADATA:ORAHOME1\ORADATA\ORACLE\LOG2ORCL.ORA' SIZE 200K,
    GROUP 2 'ORADATA:ORAHOME1\ORADATA\ORACLE\LOG1ORCL.ORA' SIZE 200K
    DATAFILE
    'ORADATA:ORAHOME1\ORADATA\ORACLE\SYS1ORCL.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\USR1ORCL.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\RBS1ORCL.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_DATA.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_INDEX.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KAN_DAT.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KAN_INDEX.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KIS_DATA.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KIS_INDEX.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_LUB_DATA.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BIMBJ01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BIMAT01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BITPA01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BLUBFSINDEFX01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\TEMP01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_TOOLS.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\IMPORT1.DBF'
    CHARACTER SET WE8ISO8859P1
    # Recovery is required if any of the datafiles are restored backups,
    # or if the last shutdown was not normal or immediate.
    #RECOVER DATABASE
    # Database can now be opened normally.
    #ALTER DATABASE OPEN;
    # No tempfile entries found to add.
    #

  • Create csv file for data in tables

    Hi All,
    I need to "export" data for about 60 tables in one of my databases to a csv file format using a "|" as a separator.
    I know I can do this using a query like:
    select col1 || '|' || col2 || '|' || col3 from table;
    Some of my tables have more than 50 columns so I'm guessing there is an easier way to do this than to construct select SQL statements for each table?
    Thanks in advance.

    I would point out that the OP did not identify the target for the files so it could be an non-Oracle database or Excel in which case external tables would not work since Oracle only writes to external tables in datapump format.  If the target is another Oracle database then external tables would be an option.  If external tables are an option then insert/select over a database link would be a potential alternate approach to using csv files.
    I use a SQL script to generate the Select statement to create my csv files.
    set echo off
    rem
    rem SQL*Plus script to create comma delimited output file from table
    rem
    rem 20000614  Mark D Powell   Automate commonly done task
    rem
    set pagesize  0
    set verify    off
    set feedback  off
    set linesize  999
    set trimspool on
    accept owner    prompt 'Enter table owner => '
    accept tblname  prompt 'Enter table name => '
    spool csv2.sql
    select 'select ' from sys.dual;
    select decode(column_id,1,column_name,
                 '||''|''||'||column_name)
    from   sys.dba_tab_columns
    where  table_name = upper('&&tblname')
    and    owner      = upper('&&owner')
    order by column_id;
    select 'from &&owner..&&tblname;'
    from   sys.dual;
    spool off
    undefine owner
    undefine tblname
    HTH -- Mark D Powell --

  • Problem while creating metadata files

    I created metadata files to add styles to Photoshop Elements 8 (in Windows 7) and included them in the C:\Program Data\Adobe\Photoshop Elements\8.0\Photo Creations\layer styles folder.  The first several worked great and successfully showed up in the Styles Palette.  Later, when I was trying to add more styles I received a message in PSE 'Could not load styles because the file could not be found'.  I closed PSE.  Now every time I open Editor I receive this message and it locks up the program.  The only way I can close PSE is through Task Manager.
    Any suggestions on how to correct this?

    I put a copy of the third party styles in the Photoshop Elements Preset/styles folder and in the Photoshop Elements 8.0/Photo Creations/layer styles folder.  From the Photo Creations/layer styles folder I selected an existing metadata file and copied it to my desktop.  I changed the first part of the file name to the name of the new style (example: glitter 001.metadata).  I then right clicked and opened with Notepad.  When I found the name of the existing file I was using, I changed the name before the equation sign to the name of my new layer style with no spaces between words.  Then I changed the name after the equation sign to the name of the new style with spaces between words (glitter001=glitter 001).  I then deleted the lines below this except for the line /PSEContent leaving one space between the lines.  I saved and closed the document.  I then put the saved file in the Photo Creations/layer style folder.  When I started PSE I held down the sift key when I selected Editor.  As I said, the first two I did showed up fine.  The next ones is where I had the problem.
    I did all of this in the Admin account.  When I go into my user account, PSE works but now I am afraid to try to add the layer styles.

  • Problem in creating control files

    Hi
    I am using oracle 9i
    I want to import the excel sheet data into the database.
    Please let me know how to create the control file for sql loader.
    For that i created control file using the following code
    set echo off ver off feed off pages 0
    accept tname prompt 'Enter Name of Table: '
    accept dformat prompt 'Enter Format to Use for Date Columns: '
    spool &tname..ctl
    select 'LOAD DATA'|| chr (10) ||
    'INFILE ''' || lower (table_name) || '.dat''' || chr (10) ||
    'INTO TABLE '|| table_name || chr (10)||
    'FIELDS TERMINATED BY '','''||chr (10)||
    'TRAILING NULLCOLS' || chr (10) || '('
    from user_tables
    where table_name = upper ('&tname');
    select decode (rownum, 1, ' ', ' , ') ||
    rpad (column_name, 33, ' ') ||
    decode (data_type,
    'VARCHAR2', 'CHAR NULLIF ('||column_name||'=BLANKS)',
    'FLOAT', 'DECIMAL EXTERNAL NULLIF('||column_name||'=BLANKS)',
    'NUMBER', decode (data_precision, 0,
    'INTEGER EXTERNAL NULLIF ('||column_name||
    '=BLANKS)', decode (data_scale, 0,
    'INTEGER EXTERNAL NULLIF ('||
    column_name||'=BLANKS)',
    'DECIMAL EXTERNAL NULLIF ('||
    column_name||'=BLANKS)')),
    'DATE', 'DATE "&dformat" NULLIF ('||column_name||'=BLANKS)', null)
    from user_tab_columns
    where table_name = upper ('&tname')
    order by column_id;
    select ')'
    from dual;
    spool off
    and after then i have written in the commond prompt like
    C:\sqlldr username/password@host controlfile
    then it is giving like this
    Commit point reached - logical record count 1
    Any Help?
    Thank you

    What does it say in the .log file?
    What records are in the .bad file?
    How many records in the data file - if 1 then it's all good.
    Excel often puts column headings in the .csv file - you may need to SKIP the first record (look it up in the docs).
    Don't hard code the filename into the control file - it's easier to do that when you load:
    sqlldr u/p control=controlfile data=datafileRead carefully what FLOAT and DECIMAL mean. Unless you are dealing with binary datatypes (you aren't) you probably don't need these. Only DATE needs careful treatment.
    Also, consider pulling the data in using an external table (if it is on the Oracle server already). Again, look it up in the docs - you'll still have to get the control definition right...
    Regards Nigel

  • Problem to create Excel file

    Hi,
    I'm to create Excel file by C# codes and have got this
    Error 1 Assembly 'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' uses 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' which has a higher version than referenced assembly 'office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
    Error 2 Assembly 'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' uses 'Microsoft.Vbe.Interop, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' which has a higher version than referenced assembly 'Microsoft.Vbe.Interop, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
    using these codes
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.IO;
    using System.Text.RegularExpressions;
    using System.Globalization;
    using System.Collections;
    using System.Diagnostics;
    using System.Drawing;
    using Microsoft.Office.Interop;
    using Excel = Microsoft.Office.Interop.Excel;
    namespace ns1
    class Program
    static void Main(string[] args)
    string orp_path = "//ABC";
    bool allowappend = true;
    string test = "test";
    Excel.Application app = null;
    Excel.Workbook workbook = null;
    Excel.Worksheet worksheet = null;
    Excel.Range workSheet_range = null;
    object misValue = System.Reflection.Missing.Value;
    Excel.Application xlApp = new
    Microsoft.Office.Interop.Excel.Application();
    workbook = xlApp.Workbooks.Add(misValue);
    workbook = xlApp.Workbooks.Add(misValue);
    worksheet = (Excel.Worksheet)workbook.Worksheets.get_Item(1);
    worksheet.Cells[1, 1] = "Run Date";
    workbook.SaveAs("c:\\" + test + ".xls", Excel.XlFileFormat.xlOpenXMLTemplate, misValue, misValue, misValue, misValue, Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
    workbook.Close(true, misValue, misValue);
    xlApp.Quit();
    releaseObject(worksheet);
    releaseObject(workbook);
    releaseObject(xlApp); ...
    on VS 2013. Any advice?
    Many Thanks & Best Regards, Hua Min

    Hey,
    Not sure what the problem is, I got the code working.
    One thing you're doing wrong though: Excel.XlFileFormat.xlOpenXMLTemplate supposes you're using the file extension ".xlsx" (Open XML format) and not ".xls" (Microsoft Excel 97-2003).
    So you should start by changing either the extension to xlsx or the XlFileFormat to
    xlExcel8.
    For further reference take a look
    here

  • Problem importing a CSV file with forward slashes in a column

    I have an Excel csv file of a product database (contains about 6500 products) that contains product codes with forward slahes such as 499/1, 499/3, 499/5.
    These are different sizes of a product and as such have different prices etc.
    When I import the file into Numbers these numbers appear as 499, 166 1/3, and 99 4/5 respectively.
    What seems to be happening is that Numbers is interpreting the forward slash (/) as a divide by command and subsequently performing a calculation on that number on import and hence totally changing the value of the cell so that it is impossible to look up the price related to a product as the product code no longer exists.
    Excel can import these files with no problems, why can't Numbers treat each cell as text and leave it alone on import.
    Is there any way round this or do I have to revert to using Excel for the import of csv files.
    Thanks
    Steve

    I know I'm a bit(!) late (a year) coming to this party, but there is a simple solution, that worked for me, enclose the field in double quotes, and add a single quote before the number:
    Instead of
    499/1,"Super Widget 3",12.34
    do
    "'499/1","Super Widget 3",12.34
    In fact the single (unclosed) quote without double-quotes works as well:
    '499/1,"Super Widget 3",12.34
    I've always found it better to enclose strings with double quotes. This works on loading the file into Mac Numbers and should work with Excel too if that helps. It opens with OpenOffice 4 on the Mac too - if you select "comma" in the "Separated by" checkbox
    I can't remember where I picked this info up....
    Hope this helps someone, albeit late.
    Andy

  • Function moduls to create csv-file and send it per mail

    Hello,
    we have the following requirement.
    We created an eventhandler.
    Inside this eventhandler we built up an internal table with 1-n entries.
    Now we want to create a csv-file or excel-file in background and send it to the users mailadress.
    Are there standard function modules which we can use for this requirement.
    We can´t download the file directly to the users client with cl_gui_frontend_services because we are not in SAP GUI but in CRM Webclient UI.
    Thank you
    Best regards
    Manfred

    hello,
    thank you.
    a coding example would be very helpfull.
    the internal table shall be added as csv-attachment to the mail and the recipient shall be the current user.
    Thanks a lot in advance.
    Kind regards
    Manfred

  • Problem when uploading CSV File

    Hi, i'm testing some changes i made to an infoprovider and something strange is happening to me (as usual) I have a CSV file that is uploaded into BI from my PC and I tested this file with 100 records, later i deleted 98 records so i can test the file with fewer records in order to analyze the formulas in BEx with some very specific data. Now here is the strange part: even though i modified the file and left only 2 record in it, when I run the DTP the system is still uploading 100 records!?! How can that be possible. I checked everything, the datasource and the infopackage are both pointing to the same file (the one which has two records) and there is no other file in the entire hard drive that has 100 records and/or the same name/structure that the file i'm uploading into BI. I just can't figure out why the DTP is uploading more records that I have in the CSV file!?. Any ideas??
    Another thing: I'm having problem with 0calmonth, tried everything. I put the calmonth in the CSV file in both formats MMYYYY (092010) and YYYYMM (202009) but I still get error when running the DTP. I have activated/deactivated the conversion routine in the transformation and in the datasource, I change the field length in datasource and tried any possible combination of these changes and I still can't make it work. I searched here and read all the post related to this issue but i still can't figure out how to properly upload information into 0calmonth.
    Regards, Mauro

    pls check the data in PSA.... you may be loading only 2 records..
    Also possible that the DTP is set to load FULL data.... so its loading the entire data from PSA (old + new)
    the calmonth format should be YYYYMM... what is the error message u r getting... you can always check the PSA and see whats the format coming there

Maybe you are looking for