Loading Excel data with custom format applied

Hi,
I have an Excel File as source with the custom formatting applied to the data in it.
For Eg. value 64 has special formatting applied so as to display it as 0064.
BODS loads only the actual data as 64 and though I expect to load the formatted data(0064).
Is this an expected behavior of BODS?
DS Version : 14.1.2
Thanks.

No. If you define file format as flat file and define the field type as char then you can load all the formatted data like 0064 into DB. If you use excel then excel will remove leading zeros. This is excel functionality. or you can define the input file as CSV file and change the format of the field.
Thanks,

Similar Messages

  • SSIS Load Excel Data with out MS Office

    Hello All, 
    Requirement : Load Excel Data to SQL Server Table using SSIS 2012 with out using OPENROWSET(Ad Hoc Distributed Queries)
    SET UP : SQL SERVER 2012-64 Bit  and Access DataBase Engine 2010 -64 Bit  
    Problem :: No MS Office Install 
    Help on this  as how can this be achieved 
    When I use Excel as Source , I get error "MS Ace OLEDB 12.0" provider is not install on local Machine but if I take OLEDB Source and use OPENROWSET , I can see and Load data in SQL Table ..

    Hi Mushtaq308,
    According to your description, you want to read write Excel using SSIS without installing MS office on the target environment. In that case, missing of data access component on the machine stops working of SSIS package.
    Then following any one installation on the machine can solve this issue:
    2007 Office System Driver: Data Connectivity Components
    Microsoft Access Database Engine 2010 Redistributable 
    Besides, for the error message that “the 'microsoft.ace.oledb.12.0' provider is not registered on the local machine”, please refer to the following thread:
    https://social.msdn.microsoft.com/Forums/en-US/1d5c04c7-157f-4955-a14b-41d912d50a64/how-to-fix-error-the-microsoftaceoledb120-provider-is-not-registered-on-the-local-machine?forum=vstsdb
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Opening an Excel file with custom formatting while BEx is open

    Hi,
    we just noticed something pretty weird (first time I see it in my carreer). One of the end users had BEx open (just launched the BEx Analyzer without actually opening a query/workbook) and tried to open one of her "own" Excel sheets out of Explorer.
    The file opened but all of a sudden the custom formatted currency fields changed from US$ amounts to DM amounts??? I assume DM stands for Deutsche Mark (a currency which has not been in use for about 9 years I believe). This "custom" format seems to only appear when BEx is opened. End user has Excel03 with BI AddOn 7.X Support Package 8, Patch 1, Revision 1443. When I do this on my own pc (I have Excel07 and the same BI AddOn), I get exactly the same behavior, be it a bit slower (I can see the file opening with $ amounts which slowly change to DM amounts). There are no macro's in the Excel workbook (was one of my first checks). I also tried opening the file from within Excel, but it gives the same weird behavior. Next check was to open a BI report first (so there was no empty BEx session) and then open the file in Excel... still the same.
    Ok, then I assumed it would use some kind of "marker" to point to the correct entry in the list of custom formats, but even that is not true. In the original file (opened in Excel when BEx is not open), it takes position 43. If I open the file while BEx is open, it takes position 49.
    Did anyone experience this before?
    Cheers,
    RafB

    Hi,
    you are using BI Frontend SP 801 and the next available Frontend SP should provide a fix for the issue. I would recommend to install Frontend SP 902, the latest one. Note [1294215|http://service.sap.com/sap/support/notes/1294215] describes the issue and refers to Frontend SP 900.
    Regards
    Matthias

  • Step- by- Step on How to Load Excel data into Crystal Reports?

    Hi Friends,
                      Can anyone send me a Step- by- Step on How to Load Excel data into Crystal Reports? Pls help me. Thanks in Advance.
    Vijay

    It's also important to 'prep' the excel file prior to connecting to it.
    Give the data tab a meaningful name
    Make sure the column headers are unique and that every column has a header
    Delete any blank tabs
    If you have trouble with Excel changing the data type of a field (say, a social security number you want to be a string value rather than a number so you don't lose leading zero) an alternative would be to save the spreadsheet file as a CSV, create a schema.ini to specify the data types for each column (example below) and use the same steps to connect except instead of choosing Excel 8.0, scroll to the bottom and choose Text.  You have to make sure the CSV file is in the same folder as the schema.ini file that defines the columns.
    Schema.ini example:
    200912PUSD.csv
    ColNameHeader=True
    Format=CSVDelimited
    MaxScanRows=25
    CharacterSet=OEM
    Col1=SSN Char Width 9
    Col2=LAST_NM Char Width 25
    Col3=FIRST_NM Char Width 25
    Col4=DOB Date
    Col5=STDNT_ID Char Width 10
    Col6=SORTKEY Char Width 10
    Col7=SCHOOL_NM Char Width 30
    Col8=OTHER_ID Integer
    Col9=GRADE Char Width 2
    The filename in the first line needs to have the []  brackets around it, but I couldn't get it to display in this forum correctly.
    Edited by: Eric Petersen on Jan 27, 2010 9:40 AM

  • Loading ICT data with YTD

    Hi,
    Can any one advise on this.
    Can we load ICT data with YTD values.
    We have data for June and December, when we load data for december it is picking up junes data for YTD at December.
    for example I have ICT for June = 5000
    at December I want load data with 7000 as YTD (being 5000 of june + 2000 of December)
    Thanks in advance.

    jansenecj wrote:
    Hi,
    Any suggestions how to fix it?yes, the first thing that comes to my mind is
    that instead of using number datatype in the test_EXT table for the AMOUNT column, you can use varchar2 datatype and you will go fine with that minus sign/s
    For later data manipulations happening on the AMOUNT column , if the currently defined datatype will not be apropriatte ,you could eventually apply TO_NUMBER,SUBSTR,TRUNC and similiar built in functions to get the needed format.

  • Inability to import Excel data with xlsx or xlsm extensions

    Inability to import Excel data with xlsx or xlsm using Microsoft Project Standard V14 Import Wizard.   
    Get error message"Project cannot recognize this file format. Do you want to open this file in text only?"   when using xlsm.
    Nothing  no wizard or data when when trying xlsx.
    Windows XP/Office 2007. SP1 for MSP2010 installed.
    Thank you in advance.   Pete

    Pete H --
    No, it is not possible to import Excel files with either the xlsx or the the xlsm file extension.  This is simply a limitation of the Import/Export Wizard.  Sorry.  Hope this helps.
    Dale A. Howard [MVP]
    VP of Educational Services
    msProjectExperts
    http://www.msprojectexperts.com
    http://www.projectserverexperts.com
    "We write the books on Project Server"

  • C# load xml data with attributes to datagridview; update data and save back to the xml

    Hi guys,
    i currently have this XML as data
    <DEALS>
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    </DEAL>
    <DEAL ID="23" ISBN="1-7988-1623-3" Screenplay="Joe Doe" Title ="Nothing Much" Director = "Listentome">
    <ALLOCATION DEMANDE="3300" CODE="72" PRICE="15.00">2500</ALLOCATION>
    </DEAL>
    </DEALS>
    I load the data with the code below:
    i use xDocument to load the DealData.xml and then put it in ToString.
    //outside of the form
    public static class XElementExtensions
    public static DataTable ToDataTable(this XElement element)
    DataSet ds = new DataSet();
    string rawXml = element.ToString();
    ds.ReadXml(new StringReader(rawXml));
    return ds.Tables[0];
    public static DataTable ToDataTable(this IEnumerable<XElement> elements)
    return ToDataTable(new XElement("Root", elements));
    //in the form
    private void button2_Click(object sender, EventArgs e)
    var xDocument = XDocument.Load("DealData.xml");
    string txtxml = xDocument.ToString();
    StringReader reader = new StringReader(txtxml);
    XDocument doc1 = XDocument.Load(reader);
    var res = doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").Descendants("ALLOCATION");
    dataGridView1.DataSource = res.ToDataTable();
    Now my question is:
    I would like to update the data from the DataGridview with the Attribute("ID").Value == "22" and save the data back to the XML.
    For example, after I load my data on the datagridview, we only pickup anything that is in the node
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    </DEAL>
    I updated the datagridview below with DEMANDE = 9000 CODE = 66 PRICE = 24.77 AND ALLOCATION = 1200
    I want be able to extract the data back in the xml as a child of the DEAL ID = "22"
    So that the XML file looks like this 
    <DEALS>
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    <ALLOCATION DEMANDE="9000" CODE="66" PRICE="24.77">1200</ALLOCATION> <-! this is the new line !->
    </DEAL>
    <DEAL ID="23" ISBN="1-7988-1623-3" Screenplay="Joe Doe" Title ="Nothing Much" Director = "Listentome">
    <ALLOCATION DEMANDE="3300" CODE="72" PRICE="15.00">2500</ALLOCATION>
    </DEAL>
    </DEALS>
    Is there a way to achieve that?
    I have been searching and reading in the books but i cannot find a solution for this.
    Thank you
    Please do not forget to click “Vote as Helpful” if the reply helps/directs you toward your solution and or "Mark as Answer" if it solves your question. This will help to contribute to the forum.

    I would think of something like the below, the id is passed as static you need to change this
    protected virtual void button1_Click(object sender, EventArgs e)
    //Get DataTable from DGV datasource
    DataTable dt = new DataTable();
    dt = (DataTable)dataGridView1.DataSource;
    string file1 = "<?xml version=\"1.0\" encoding=\"utf-8\" ?><DEALS><DEAL ID=\"22\" ISBN=\"0-7888-1623-3\" Screenplay=\"Mary Kaplan\" Title =\"Mr Gentleman\" Director = \"Jonathan Jones\"><ALLOCATION DEMANDE=\"5000\" CODE=\"72\" PRICE=\"25.00\">2500</ALLOCATION><ALLOCATION DEMANDE=\"7000\" CODE=\"75\" PRICE=\"35.00\">4000</ALLOCATION></DEAL><DEAL ID=\"23\" ISBN=\"1-7988-1623-3\" Screenplay=\"Joe Doe\" Title =\"Nothing Much\" Director = \"Listentome\"><ALLOCATION DEMANDE=\"3300\" CODE=\"72\" PRICE=\"15.00\">2500</ALLOCATION></DEAL></DEALS>";
    StringReader reader = new StringReader(file1);
    XDocument doc1 = XDocument.Load(reader);
    //Remove all elements related to the id being populated into the Grid
    doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").Descendants("ALLOCATION").Remove();
    //loop through datatable and create new xelement to be added to the xdocument
    foreach (DataRow dr in dt.Rows)
    XElement xe = new XElement("ALLOCATION",
    new XAttribute("DEMANDE", dr[0].ToString()),
    new XAttribute("CODE", dr[1].ToString()),
    new XAttribute("PRICE", dr[2].ToString()));
    xe.Value = dr[3].ToString();
    doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").FirstOrDefault().Add(xe);
    Fouad Roumieh

  • How to parse string to date with defualt format?

    is there any possibilities to parse a string to date if we don't specify the format in SDF?
    In database we have different formats and we need to convert each one convert to date with common format(something like default), is there any possibilities to do in java?

    jwenting wrote:
    Tolls wrote:
    ColinAtWork wrote:
    SumantK wrote:
    In database we have different formats and we need to convert each one convert to date with common format(something like default), is there any possibilities to do in java?Why don't you store the date in the database as a DATE datatype then you can format anyway you like??Because some people seem to fear DATEs and prefer the supposed comforts of a VARCHAR2...after all, who knows what murky goings on occur with a DATE, but at least a VARCHAR2 is readable, or something like that anyway.Just because some people don't know how to work with DATE fields (which is the real reason for their "fear" doesn't mean you shouldn't use them.
    They're the appopriate solution, so use it.Often but not always true.
    For example neither MS SQL Server nor Oracle timestamp types will store the resolution capable with the Java Date type. So if one wants to maintain all of that resolution one requires either a varchar or two columns.
    And although I haven't been able to confirm it (recently at least) at one time one of the Oracle drivers had a bug that a timestamp would wipe out following columns. For that one either one was left with having only a single timestamp as the last column or using a varchar.

  • Photoshop keeps crashing...saying an attempt was made to load a program with incorrect format.  Can anyone help?

    photoshop keeps crashing...saying an attempt was made to load a program with incorrect format.  Can anyone help?

    You can
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • Loading historical data with 0CO_PC_ACT_02

    Hello,
        I need to load historical values with infosource 0CO_PC_ACT_02.  I can load the current period, but get no data from R/3 for historical periods.  When I run RSA3 on R/3 for a historical period, I get no data, so I don't believe that this is a BW Issue.
        My question:
       1.  Is there a job or something on R/3 I need to run to enable this data source to pull historical data?  If so, what is it and how do I run it?
       2.  Is this data source simply not able to pull historical data?
    Thanks.
    Dave

    Hi All,
    I have same issue , any one got work around to load history data with this Extractor(0CO_PC_ACT_02) ?

  • Can I dinamicly load a class with custom class loader ?

    Can I dinamicly load a class with custom class loader ?

    Hi,
    I was wondering if you found answer to your question, and also were you using your custom class loader inside a signed applet as I am in a similar situation, and was wondering if you could help me. An example would be great...
    Thanks a lot.
    Regards.

  • Want to load excel data into oracle table with out changing it to CSV

    Hello all,
    I have a requirement in dumping excel data into oracle database table without changing it to CSV file and this has to be used in normal sql/plsql environment i.e., pkg/procedure cant be used in the forms also...
    so, can u guys can help me out in this
    thanks.............

    The link Pavan provided discusses Oracle Heterogeneous Services. This allows you (using ODBC) to create a database link from Oracle to a non-Oracle data source like Excel. This would allow you to query the Excel data source from SQL*Plus or any other client tool. But that is probably going to require that your Oracle database is running on Windows since I'm not aware of any Excel ODBC drivers for Unix.
    Another potential option would be to write a Java stored procedure that parsed the file. There are a few different Java libraries that can read and write Excel data files. You could load one of those libraries into the database's JVM and then write Java code that parsed the file. You would then be able to call your Java stored procedure from PL/SQL.
    Justin

  • How to load excel data into oracle table

    How do i load data from an excel file with several worksheets into an oracle table?
    using Oracle 10g
    Excel
    sample data of excel
    Name eric Name mary
    AccountNo 123 AccountNo 321
    amount1 5.0 Amount1 1.0
    amount2 5.5 Amount2 2.0
    amount3 6.0 Amount3 3.0
    Total 16.5 Total 6.0
    Name larry Name beth
    AccountNo 123 AccountNo 321
    amount1 5.0 Amount1 1.0
    amount2 5.5 Amount2 2.0
    amount3 6.0 Amount3 3.0
    Total 16.5 Total 6.0
    Note: Assume data are aligned into columns like a real excel workbook

    I have some used something like this.
    don't ask any details as I am not a xl person, but i think its pretty straight forword.
    hope its helpful for you or someone else
    Dim i As Integer
    Dim conn As New ADODB.Connection
    Dim strInsert As String
    Dim strExecInsert As String
    conn.ConnectionString = "Provider=MSDAORA.1;User ID=scott;password=tiger;Data Source=orcl.world;Persist Security Info=False"
    conn.Open
    strInsert = "insert into xlsc ( emp, dept, doj," & _
    "dol, dob, Ce ,ED, v_date ) values("
    'this is to insert first 2347 rows from xl to orcl
    While i < 2348
    strExecInsert = strInsert & "'" & _
    Trim(Cells(i, 1).Value) & "','" & _
    Trim(Cells(i, 2).Value) & "','" & _
    Trim(Cells(i, 3).Value) & "','" & _
    Trim(Cells(i, 4).Value) & "','" & _
    Trim(Cells(i, 5).Value) & "','" & _
    Trim(Cells(i, 6).Value) & "','" & _
    Trim(Cells(i, 7).Value) & "','" & _
    Trim(Cells(i, 8).Value) & "' )"
    'MsgBox strExecInsert
    If Cells(i, 1).Value <> "" Then
    conn.Execute (strExecInsert)
    End If
    i = i + 1
    Wend
    'conn.Execute ("commit")
    conn.Close
    End Sub

  • Master Data With Custom Datasource.

    Hi,
    When we create the custom datasource ( Transactional ) and load it to the BW, it has  master data field Company code,Cost Centre.
    Doubt is when the company code, Cost Centre are coming from the transactional Custom data source(with data), do we need to still load the Master data from the Master data data sources .
    What are points to be considered and known?
    Please provide your valuable inputs to understand this condition.

    Hi Adhvirao,
    As suman said there is master data sources like customer master, vendor master...
    check there is SAP predefined master datasources like 0CUSTOMER_ATTR..
    First you have to load master data and the only transaction data.. then only you can get rid of data mismatches in the report.
    Otherwise there will SID collusion, then it might be chaces you won't get the proper result in reports.
    Regards,
    Ranganath.
    Edited by: Ranganath on Jul 27, 2011 1:01 PM

  • Loading Master Data with Flexible Update

    Hi,
    I have created an Infoobject - Business Partner (Master Data bearing characteristics). The attributes to this are Region, Sales Person, Industry code which are master bearing characteristic as well.
    I need to load data to the business partner from a csv file.
    The layout of the CSV file is -
    BP number, BP text (long Text), Region Code, Region Desc (Med Text), Sales Person Code, Sales Person Desc (Med Text), Industry Code, Industry description (Med Text).
    How do I define the infosource to load this data.
    Appreciate any help with this.
    Thank You,
    Prashanth

    Hi,
    First of all, I need to note that there are two kind of Infosources: with direct and flexible update.
    If you choose a direct IS, then in the creating of the IS you just enter the name of the infoobject where you are going to load data. The system will create a IS (comm. structure). Enter this IS for changing. The system will propose you the communication structure,  click on a bottom icon “Transfer structure/Transfer rules”, choose as a ‘Source system’ your flat file system. Agree with the system when it asks you to save assignments (up to 3 times). Activate TRs. Then click in the field for Datasource. You may see there another datasources (for texts, attributes and hierarchies). Choose one by one another datasources with their activation.
    Now you can create an infopackage for a load – you can choose what kind of package it is going to be – for loading texts, attributes or hierarchies.
    Note that in this case the structure of the flat file is proposed by the system and you need just prepare the flat file corresponding to the proposed structure (different for each of 3 possible datasources). Execute infopackage.
    If you use a flexible IS, then you may insert into comm. structure the fields that you think you may need in the master data. Note that here you may have not only attributes but TEXTS also. Save a comm. structure. Assign a flat file source system and activate a TRs.
    After that in RSA1-dataproviders tab – right click – insert IO as a data target – choose your IO. Refresh the screen. You’ll see up to three data targets. Create update rules for each of them. In URs map the fields in the IS with the fields in URs.
    Best regards,
    Eugene

Maybe you are looking for

  • SWPM - System Copy - Assertion Failed Unable to load database

    Hello again, (already the next question form me, sorry for this I am executing a sysetm copy (DB-refresh) on ASE using SWPM. However, in "Configure Components" step I get the error: Assertion failed. Unable to load database <SID of Target Sysetm>. Wh

  • Can I use install disk from my Mac mini to upgrade OS on my iMac

    I'm currently running OS X v.10.5.8 on my iMac. I'd like to update it to OS X 10.6. I also have a Mac mini that came with 10.6. Can I just use the install disk that came with my Mac mini to install 10.6 on my iMac?

  • Query works using RSRT but in using BEX

    Hi, I have a query with 8 custom variables.  When I run it in RSRT I get the correct results.  When I run it in Bex, the results are incorrect and I can see that the custom variables didn't get to the query. Any suggestions? Thanks Suzanne

  • Using a Muse template in Business Catalyst

    How can I use a template I created in Muse for my blog that is hosted on Adobe Business Catalyst? Creating web content in Muse is a lot easier and faster. I'm pretty familiar with Muse and BC, but I can't figure out how to do. Currently I created a s

  • How do i create this an executable jar???

    I have the following package structure, could anybodt tell me what i have to type into my manifest file to get it to work? thanks com/anoobis/userInterface/UserInterface.class <-- main class com/anoobis/xml/Generate.class com/anoobis/panels/StatusBar