BPC 7 SP3 and Import Excel package

Hi,
I use VPC 7 SP3 (with SQL Server 2005) and I have some problems with the standard package named "Import Excel". The following error is returned:
Package Error Events: 
ErrorCode = -1073450901
Source = ExcelToText
SubComponent= DTS.Pipeline
Description = "component "EXCELFILE" (1)" failed validation and returned validation status "VS_NEEDSNEWMETADATA".
Here is the parameters:
%XLFILE%     /ECOS/COMPTABILITE/DataManager/DataFiles//EXPORT_COMPTABILITE.XLS
%SHEET%     COMPTABILITE_CIBLE
%COLUMNS%     
%TRANSFORMATION%     /ECOS/COMPTABILITE/DataManager/TransformationFiles//Transf_JDE_Compta_Actual.xls
%CLEARDATA%     1
%RUNLOGIC%     0
%CHECKLCK%     0
Any ideas?
thanks,
Romuald

Hi,
here is more information. The Excel file I try to load has different columns from the standard ones (I have an HYP dimension and no INTCO dimension). I have specified the list of columns in the package parameters interface. It seems that these values are not used by the package. I think that the package waits for a file with the standard columns, no less, no more. It works fine with BPC 4.2 (I use the standard Import Excel package and the file is well loaded).
thanks for your help,
Romuald

Similar Messages

  • OWB 9.0.3.37 and imported plsql packages

    I have some problems in owb version 9.0.3.37 with imported packages.
    I can't delete a procedure/function in the imported package,in the package body I can do this .
    The only way do delete procedure/function is do delete the package and re-import it from the db into OWB.
    Problem then is that when I valid a mapping I must reconcile inbound the transformation (link broken).
    Is there not another way to do delete function/procedure from a imported package.
    Is the import of packages in the new version 9.2 still possible?

    Hi,
    There is an internal reason (validation) why we cannot allow you to delete functions from a package that you imported. That model is still the same in the latest production release.
    Thanks,
    Mark.

  • Export mailbox from 2010 (sp3) and import into 2007 Sp3 rollup 10

    I have no issue exporting the mailbox from 2010.  
    The issue is importing into 2007.  I have a 2003 32 bit server with outlook 2003 sp2 running etc.  Every time I try to import I get the below error.  Is this even supported?
    I've scoured the web, tried fixmapi, added permissions, different switches, etc.  The pst attaches fine to the mailbox without issues.
    [5/15/2014 8:15:51 AM] [0] [2007import2] Opening Exchange mailbox.
    [5/15/2014 8:15:51 AM] [0] [ERROR] Error was found for 2007import2 ([email protected]) because: Error occurred in the step: Approving object. An unknown error has occurred., error code: -2147221219
    [5/15/2014 8:15:51 AM] [0] [2007import2] The operation has finished.
    Any help or sugesstions would be great!

    Steve I see that Belinda suggests that this may be a bug and that you are on SP3, however it may be that you need to update your systems completely to see if the issue is resolved.  To be able to find the actual patch level you are on you would need
    to follow the steps below.  Once you know your actual patch level you can either just update to the latest and greatest and try again OR read through the various fixes for each patch newer then what you have applied
    1.    This is the link for the Exchange Server Build #'s including Service Packs 
    http://social.technet.microsoft.com/wiki/contents/articles/240.exchange-server-and-update-rollups-builds-numbers.aspx
    a.    Only thing you will not find in this list are the IU (Interim Update #’s) because they are unofficial patches to fix specific issues and then must be uninstalled before moving on to the next RU, CU or SP.
    2.    To find the SP, RU, CU level that your server is on use this Powershell command.  
    GCM exsetup |%{$_.Fileversioninfo}
    EXAMPLE 1:  Below is the result from a server with 2010 SP1 RU6 installed and you will see this referenced in the above link
    Product Version         File Version          File Name
    14.01.0355.002           14.01.0355.002   C:\Program Files\Microsoft\Exchange Server\V14\bin\ExSetup.exe
    EXAMPLE 2:  Below is the result from a server with 2010 SP1 RU6 installed WITH an IU from MS and you will not see this version referenced in the above link but it is sequential, i.e. SP1 RU6 is .002 and the IU is 003.  So in short by looking at this
    and the above link you could easily infer that this system has SP1 RU6 with some type of IU installed.
    ProductVersion   FileVersion      FileName
    14.01.0355.003   14.01.0355.003   C:\Program Files\Microsoft\Exchange
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003 -->
    2007 --> 2010 --> 2013 with Lucid8's
    DigiScope

  • How to create form or tabbed template and import excel data

    Hi there
    I am wanting to know how I can create a rather comprehensive template that will be copied a number of times on the same page but each time will include different data from an excel spreadsheet.
    The template will need to include quite a bit of layout and placement of text and images. The fields range from data type including names, phone number, email, prices, description and address.  See attached image below of what I am wanting to acheive.
    I'm just not quite sure how to set this up as a form/template in indesign and what the best and fastest way would be.
    There will be about 6-8 blocks to a page.
    Any ideas would greatly be appreciated.
    Thanks

    You need Data Merge
    OPENS VIDEO
    http://www.theindesigner.com/podcasts/tid43_theindesigner_43.mp4
    http://www.theindesigner.com/blog/episode-43-data-merge-video

  • BPC SP3 - Missing Example Data Package

    I am looking for the purge audit data package.  The help file lists it as an example package, but I can not seem to find it anywhere.  Is there a place where I can download it?
    Thanks,
    Nick

    Hi Nick,
    to purge the audit data you don't need a package because it is already a function into admin module for this.
    Under the Set Log Limits section, do one of the following:
    If you want to keep all audit data for the selected category in the database, leave the default selected, Never purge audit data.
    If you want to purge audit records for the selected category after a specified number of days, select Set purge frequence, and enter the number of days for which to keep audit records in the database.

  • EData - Import Excel

    I am trying to run an import from an Excel sheet and am getting the following error messages:
    [Selection]
    XLFILE=\HO\FINANCE\DataManager\DataFiles
    SAPSAMPLE.xls
    SHEET=SAPSAMPLE
    COLUMNS=Account,CostCentre,Time,Product,Project,LoB,Version,Chanel,Entity,Measure
    TRANSFORMATION=\HO\FINANCE\DataManager\TransformationFiles
    T_FR01.xls
    CLEARDATA= No
    RUNLOGIC= Yes
    CHECKLCK= Yes
    [Messages]
    Package Error Events:
    ErrorCode = -1073450901
    Source = ExcelToText
    SubComponent= DTS.Pipeline
    Description = "component "EXCELFILE" (1)" failed validation and returned validation status "VS_NEEDSNEWMETADATA".
    IDOfInterfaceWithError= {8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}
    Package Error Events:
    ErrorCode = -1073450996
    Source = ExcelToText
    SubComponent= DTS.Pipeline
    Description = One or more component failed validation.
    IDOfInterfaceWithError= {8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}
    Package Error Events:
    ErrorCode = -1073594105
    Source = ExcelToText
    SubComponent=
    Description = There were errors during task validation.
    IDOfInterfaceWithError= {8BDFE889-E9D8-4D23-9739-DA807BCDC2AC}
    Package Error Events:
    ErrorCode = -1073450901
    Source = ExcelToText
    SubComponent= DTS.Pipeline
    Description = "component "EXCELFILE" (1)" failed validation and returned validation status "VS_NEEDSNEWMETADATA".
    IDOfInterfaceWithError= {8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}
    Package Error Events:
    ErrorCode = -1073450996
    Source = ExcelToText
    SubComponent= DTS.Pipeline
    Description = One or more component failed validation.
    IDOfInterfaceWithError= {8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}
    Package Error Events:
    ErrorCode = -1073594105
    Source = ExcelToText
    SubComponent=
    Description = There were errors during task validation.
    IDOfInterfaceWithError= {8BDFE889-E9D8-4D23-9739-DA807BCDC2AC}
    Does anyone have any ideas ?
    Thanks
    Si

    Joost is right, the original Metadata issue you were having with the Example Import Excel package is due to a mapping error within the package.  The package is built assuming the following columns (ie: Dimensions and Column names) for the input spreadsheet:
    Category
    Time
    Datasrc
    Intco
    Account
    Entity
    Rptcurrency
    Amount
    It also has a flat file with the same fields that it maps the excel columns to then just does a standard flat file import. 
    If your input excel spreadsheet has different columns names (Cat instead of Category) or different columns (missing or additional dimensions), then the internal mappings will be wrong.  And all the package needs you to do is to give it the new mappings.
    Open it in VisualStudio, go to the Excel file connection and connect it to a valid version of your input spreadsheet with the correct columns.  Next you'll have to add/delete/modify the columns for the TextFile connection to match.  After fixing the connection you'll have to open the EXCELTOTEXT data flow task, in there, double click on the ExcelFile task to force it to reconstruct the metadata for the new Excel file connection, correct any errors (ie: Remove fields that are not longer valid).  You need to do the same to the TextFile task and add the correct mappings between the Excel columns and the Text fields.
    Last, save it back to your webfolders either as the same package name or a new name, I'd suggest a new name in My Folders keeping the original Example in tack, and then go to BPC Organize Packages to add it in.
    I haven't actually done this to this specific package, but I've had issues with metadata changing in an external source being retrieved into custom packages I wrote.  So let me know if this worked.
    The other problem with the standard flat file import is curious to me, you see a package status of success but the detail shows a failed step.
    Sara

  • Import anonymous package ?

    Hi
    Im new here!
    How to import an anonymous package(without package packageName;)?
    i know where the classes are and the classpath is set to this dir. The packages which i want to import this classes are in sub-dirs of this dir.
    thank you
    jz
    (If you don't understand me please don't wonder 'cause i'm 13 and speaking german :) )

    How to import an anonymous package(without package
    packageName;)?
    i know where the classes are and the classpath is set
    to this dir. The packages which i want to import this
    classes are in sub-dirs of this dir.
    (If you don't understand me please don't wonder
    'cause i'm 13 and speaking german :) )Don't worry, you're doing more than fine. The technical stuff: you can't
    import classes from the default package and you shouldn't want to do
    that. Put all of your classes in the appropriate packages and import
    those packages (or single classes from those packages).
    If you insist of having a class in the default package, make it the single
    class with the 'main' method' that starts up the entire thing.
    kind regards,
    Jos

  • BPC10 - Data manager package for dimension  data export and import

    Dear BPC Expers,
    Need your help.
    I am trying to set up a data manager package for first time to export dimension - master data from one application and import in another application ( both have same properties) .
    I created a test data manager package from Organize > add package > with  process chain /CPMB/EXPORT_MD_TO_FILE  and Add
    In the advance tab of each task there are some script logic already populated. please find attached the details of the script logic written under each of the tasks like MD_Source, concvert and target .
    I have not done any chnages in the script inside the task .
    But when i run the package , I have selected a dimension 'Entity' but in second prompt ,it ask for a transformation file , and syatem autometically add the file ... \ROOT\WEBFOLDERS\COLPAL\FINANCE\DATAMANAGER\TRANSFORMATIONFILES\Import.xls
    I have not changed anything there
    in the next prmpt , it ask for a output file ..and it won't allow me enter the file name .....i
    Not sure how to proceed further.
    I shall be greatfull if someone guide me from your experiance  how to set up a simple the data manager package for master data export from dimension . Should I update the transformation file in the script for import file and  output file in the advance tab. how and what  transformation file to be created and link to the data manager package for export / import .
    What are the steps to be executed to run the package for exporting master data from dimension and import it another application .
    Thanks in advance for your guidance.
    Thanks and Regards,
    Ramanuj
    =====================================================================================================
    Detals of the task
    Task : APPL_MD-SOURCE
    (DIMENSIONMEMBER, %DIMENSIONMEMBERS%, "Please select dimension", "Please select members", %DIMS%)
    (TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
    (OUTFILE,,"Please enter an output file",Data files (*.txt)|*.txt|All files(*.*)|*.*)
    (RADIOBUTTON,%ADDITIONINFO%,"Add other information(Environment,Model,User,Time)?",1,{"Yes","No"},{"1","0"})
    (%TEMPNO1%,%INCREASENO%)
    (%TEMPNO2%,%INCREASENO%)
    (/CPMB/APPL_MD_SOURCE,SELECTION,%DIMENSIONMEMBERS%)
    (/CPMB/APPL_MD_SOURCE,OUTPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,INPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)
    (/CPMB/EXPORT_MD_CONVERT,SUSER,%USER%)
    (/CPMB/EXPORT_MD_CONVERT,SAPPSET,%APPSET%)
    (/CPMB/EXPORT_MD_CONVERT,SAPP,%APP%)
    (/CPMB/EXPORT_MD_CONVERT,OUTPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,INPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,FULLFILENAME,%FILE%))
    (/CPMB/FILE_TARGET,ADDITIONALINFO,%ADDITIONINFO%))
    Task : EXPORT_MD_CONVERT
    (DIMENSIONMEMBER, %DIMENSIONMEMBERS%, "Please select dimension", "Please select members", %DIMS%)
    (TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
    (OUTFILE,,"Please enter an output file",Data files (*.txt)|*.txt|All files(*.*)|*.*)
    (RADIOBUTTON,%ADDITIONINFO%,"Add other information(Environment,Model,User,Time)?",1,{"Yes","No"},{"1","0"})
    (%TEMPNO1%,%INCREASENO%)
    (%TEMPNO2%,%INCREASENO%)
    (/CPMB/APPL_MD_SOURCE,SELECTION,%DIMENSIONMEMBERS%)
    (/CPMB/APPL_MD_SOURCE,OUTPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,INPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)
    (/CPMB/EXPORT_MD_CONVERT,SUSER,%USER%)
    (/CPMB/EXPORT_MD_CONVERT,SAPPSET,%APPSET%)
    (/CPMB/EXPORT_MD_CONVERT,SAPP,%APP%)
    (/CPMB/EXPORT_MD_CONVERT,OUTPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,INPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,FULLFILENAME,%FILE%))
    (/CPMB/FILE_TARGET,ADDITIONALINFO,%ADDITIONINFO%))
    Task : FILE_TARGET
    (DIMENSIONMEMBER, %DIMENSIONMEMBERS%, "Please select dimension", "Please select members", %DIMS%)
    (TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
    (OUTFILE,,"Please enter an output file",Data files (*.txt)|*.txt|All files(*.*)|*.*)
    (RADIOBUTTON,%ADDITIONINFO%,"Add other information(Environment,Model,User,Time)?",1,{"Yes","No"},{"1","0"})
    (%TEMPNO1%,%INCREASENO%)
    (%TEMPNO2%,%INCREASENO%)
    (/CPMB/APPL_MD_SOURCE,SELECTION,%DIMENSIONMEMBERS%)
    (/CPMB/APPL_MD_SOURCE,OUTPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,INPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)
    (/CPMB/EXPORT_MD_CONVERT,SUSER,%USER%)
    (/CPMB/EXPORT_MD_CONVERT,SAPPSET,%APPSET%)
    (/CPMB/EXPORT_MD_CONVERT,SAPP,%APP%)
    (/CPMB/EXPORT_MD_CONVERT,OUTPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,INPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,FULLFILENAME,%FILE%))
    (/CPMB/FILE_TARGET,ADDITIONALINFO,%ADDITIONINFO%))
    ================================================================================

    1. Perhaps you want to consider a system copy to a "virtual system" for UAT?
    2. Changes in QAS (as with PROD as well) will give you the delta. They should ideally be clean... You need to check the source system.
    Another option is to generate the profiles in the target system. But for that your config has to be sqeaky clean and in sync, including very well maintained and sync'ed Su24 data.
    Cheers,
    Julius

  • BO XI 3.1 SP3 and Excel 2010

    Hi There
    My BO is BO XI 3.1 SP3, and excel is 2010, my webi report has over 65523 rows, but I found in the excel, it will split into two tabs, it does not use excel 2010 feature
    does any one know the reason?
    thanks

    Excel 2010 is not suportive by BO XI 3.. It is possible in BO XI 4.0. You can try What Gowtam Allu said, but I am not sure if it works.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4079f8f6-2b49-2d10-d790-bc596012dc25?quicklink=index&overridelayout=true

  • How to create package and import from jar file?

    Hi all,
    I am writing a software and I am not sure how to create a package for the classes.
    Say I have two classes in the same directory as follows:
    testA.java
    ==========
    package AB;
    public class testA
    public static void main(String[] args){
         testB myB = new testB();
         System.out.println("A test");
    testB.java
    ===========
    package AB;
    public class testB
    public testB(){
         System.out.println("B constructor");
    both file compile without the package heading;
    both file compile using: javac -classpath .\ *.java
    Question 1:
    I cannot run testA by: java -classpath .\ testA
    I think it is a syntax error. What is the correct one?
    If I run testA by: java testA
    The only output I get is: A test
    But I am expecting: B constructor /n A test
    What went wrong?
    Question 2:
    I need to use APIs of another software. I have downloaded a .jar file (xxx.jar) with all the classes in it. And I have put "import xxx.*;" in my source file. But the compiler complains about the importing. What is the right way to copmile it?
    I have read a couple of tutorials but they don't answer my question.
    (I am using windows2000 and don't have the classpath variable.)
    Hope some one can help.
    Thanks a lot

    Try moving testA out of the package and importing 'AB.*;'
    If you have:
    ./testA.class
    ./AB/testb.class
    Then to execute testA from ./ type: java -cp . testA

  • Identifying text file names and importing on single Excel sheet

    Hey!
    Does anybody can help me with Excel VBA macro code in order to import data from text files into single Excel spread sheet? I want to create User Form where user can select start and end date of interest and macro code will import
    bunch of text files depending on user demands...
    My text files are named: 20130619004948DataLog.txt (meaning: yyyy mm dd hh mm ss). Text file contains recordings for each 15 seconds... It would be great to omit time tail (meaning that user can only specify date). Text files for one day of interest (I have
    text files covering whole year):
    20130619004948DataLog.txt
    20130619014948DataLog.txt
    20130619024948DataLog.txt
    20130619034948DataLog.txt
    20130619044948DataLog.txt
    20130619054948DataLog.txt
    20130619064948DataLog.txt
    20130619074948DataLog.txt
    20130619084948DataLog.txt
    20130619094948DataLog.txt
    20130619104948DataLog.txt
    20130619114948DataLog.txt
    20130619124948DataLog.txt
    20130619134948DataLog.txt
    20130619144948DataLog.txt
    20130619154948DataLog.txt
    20130619164948DataLog.txt
    20130619174948DataLog.txt
    20130619184948DataLog.txt
    20130619194948DataLog.txt
    20130619204948DataLog.txt
    20130619214948DataLog.txt
    20130619224948DataLog.txt
    20130619234948DataLog.txt
    Option Explicit
    Sub SearchFiles()
    Dim file As Variant
    Dim x As Integer
    Dim myWB As Workbook
    Dim WB As Workbook
    Dim newWS As Worksheet
    Dim L As Long, t As Long, i As Long
    Dim StartDateL As String
    Dim EndDateL As String
    Dim bool As Boolean
    bool = False ' to check if other versions are present
    StartDateL = Format(Calendar1, "yyyymmdd")
    EndDateL = Format(Calendar2, "yyyymmdd")
    ' I am using Userform asking user to select the date and time range of interet,
    ' However, I want to use only the date to filter the files having the name with that particular date
    file = Dir("c:\myfolder\") ' folder with all text files
    ' I need assistance with the following part:
    '1) How to filter and select the files between StartDateL and EndDateL_
    '(including files with that dates as well)?
    While (file <> "")
    If InStr(file, StartDateL) > 0 Then 'Not sure if the statements inside parenthesis is correct
    bool = True
    GoTo Line1:
    End If
    file = Dir
    Wend
    Line1:
    If Not bool Then
    file = "c:\myfolder\20130115033100DataLog.txt" 'Just for a test that the code works as intended
    End If
    'This part for the selected text files to be loaded on a single Excel Sheet.
    Set myWB = ThisWorkbook
    Set newWS = Sheets(1)
    L = myWB.Sheets(1).Cells(Rows.Count, "A").End(xlUp).Row
    t = 1
    For x = 1 To UBound(file)
    Workbooks.OpenText Filename:=file(x), DataType:=xlDelimited, Tab:=True, Semicolon:=True, Space:=False, Comma:=False
    Set WB = ActiveWorkbook
    WB.Sheets(1).UsedRange.Copy newWS.Cells(t, 2)
    t = myWB.Sheets(1).Cells(Rows.Count, "B").End(xlUp).Row + 1
    WB.Close False
    Next
    myWB.Sheets(1).Columns(1).Delete
    Application.ScreenUpdating = False
    Rows("1:1").Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
    End Sub

    - Make a new Excel file
    - Open the VBA editor
    - Add a Userform
    - Place 2 text boxes and 1 command button on that form
    - Paste all code below into the code module of the form
    - Download this file:
    https://dl.dropboxusercontent.com/u/35239054/FileSearch.cls
    - In the VBA editor press CTRL-M and import that file
    - Save the Excel file in the directory that contain your text files
    - Run the form
    You can format the columns of the sheet as you like, e.g. column E:H should be a number with 5 decimal places. The top row can contain some headings. My code did not affect the formatting or the headings.
    Andreas.
    Option Explicit
    Private Sub UserForm_Initialize()
    'Just a sample
    Me.TextBox1.Value = FormatDateTime(Now, vbGeneralDate)
    Me.TextBox2.Value = FormatDateTime(Now, vbShortDate)
    End Sub
    Private Sub CommandButton1_Click()
    Dim StartDate As Date, EndDate As Date
    Dim FS As New FileSearch
    Dim R As Range
    Dim ThisFile As Variant
    Dim ThisDate As Date
    Dim Data As Variant
    Dim Count As Long
    'Be sure we have 2 dates
    If Not IsDate(Me.TextBox1.Value) Then
    Me.TextBox1.SetFocus
    MsgBox "No start date"
    Exit Sub
    End If
    If Not IsDate(Me.TextBox2.Value) Then
    Me.TextBox2.SetFocus
    MsgBox "No end date"
    Exit Sub
    End If
    'Convert to real dates
    StartDate = CDate(Me.TextBox1.Value)
    EndDate = CDate(Me.TextBox2.Value)
    'Time part given?
    If Fix(EndDate) = EndDate Then
    'No include all files for this day
    EndDate = EndDate + TimeSerial(23, 59, 59)
    End If
    'Correct order?
    If StartDate > EndDate Then
    ThisDate = EndDate
    EndDate = StartDate
    StartDate = ThisDate
    End If
    With FS
    'Same path as our file
    .LookIn = ThisWorkbook.Path
    .FileName = "*DataLog.txt"
    'Search all files sort by file name
    If .Execute(msoSortByFileName, msoSortOrderAscending) = 0 Then
    MsgBox "No data files found in " & .LookIn
    Exit Sub
    End If
    'Clear previous data
    Set R = Range("A2").CurrentRegion
    If R.Row < 2 Then Set R = R.Offset(1)
    R.ClearContents
    'Show the user that we are working
    Application.Cursor = xlWait
    DoEvents
    For Each ThisFile In .FoundFiles
    'Get the date from the file name
    ThisDate = Filename2Date(ThisFile)
    'Between our dates?
    If (ThisDate >= StartDate) And (ThisDate <= EndDate) Then
    'Import at the end of the data
    Set R = Range("A" & Rows.Count).End(xlUp).Offset(1)
    Data = ReadCSV(ThisFile)
    R.Resize(UBound(Data) + 1, UBound(Data, 2) + 1) = Data
    Count = Count + 1
    End If
    Next
    End With
    'Done
    Application.Cursor = xlDefault
    If Count = 0 Then
    MsgBox "No files match your dates"
    Else
    MsgBox Count & " files imported"
    'Hide the form
    Me.Hide
    End If
    End Sub
    Private Function Filename2Date(ByVal Fullname As String) As Date
    'Convert e.g "C:\20130601142648DataLog.txt" to the date "01.06.2013 14:26:48"
    Dim i As Long, j As Long
    i = InStrRev(Fullname, "\")
    If i > 0 Then Fullname = Mid(Fullname, i + 1)
    Fullname = JustNumbers(Fullname)
    If Len(Fullname) <> 14 Then Exit Function
    Filename2Date = _
    DateSerial(Mid(Fullname, 1, 4), Mid(Fullname, 5, 2), Mid(Fullname, 7, 2)) + _
    TimeSerial(Mid(Fullname, 9, 2), Mid(Fullname, 11, 2), Mid(Fullname, 13, 2))
    End Function
    Private Function JustNumbers(ByVal What As String) As String
    'Return only numbers from What (by Rick Rothstein)
    Dim i As Long, j As Long, Digit As String
    For i = 1 To Len(What)
    Digit = Mid$(What, i, 1)
    If Digit Like "#" Then
    j = j + 1
    Mid$(What, j, 1) = Digit
    End If
    Next
    JustNumbers = Left$(What, j)
    End Function
    Private Function ReadCSV(ByVal Fullname As String) As Variant
    'Read a CSV file into an array
    Const LDelim = vbCrLf 'Line delimiter
    Const FDelim = ";" 'Field delimiter
    Dim hFile As Integer
    Dim Buffer As String
    Dim Lines, Line, Data
    Dim i As Long, j As Long
    'Be sure the file exists
    If Dir(Fullname) = "" Then Exit Function
    'Open and read all data
    hFile = FreeFile
    Open Fullname For Binary Access Read As #hFile
    Buffer = Space(LOF(hFile))
    Get #hFile, , Buffer
    Close #hFile
    'Split into lines
    Lines = Split(Buffer, LDelim)
    'Split the first line and prepare the output
    'Note: I assume that all lines have the same number of fields
    Line = Split(Lines(0), FDelim)
    ReDim Data(0 To UBound(Lines), 0 To UBound(Line))
    For i = 0 To UBound(Lines)
    Line = Split(Lines(i), FDelim)
    For j = 0 To UBound(Line)
    'Parse the fields
    If IsDate(Line(j)) Then
    Data(i, j) = CDate(Line(j))
    ElseIf IsNumeric(Line(j)) Then
    Data(i, j) = CDbl(Line(j))
    Else
    Data(i, j) = Line(j)
    End If
    Next
    Next
    ReadCSV = Data
    End Function

  • SAP BPC 7.5 SP3 and Citrix Entering Data through BPC Client and Citrix

    Hello BPC experts,
    my client is using SAP BPC 7.5 SP3 in combination with Citrix. We are having problems now, while entering data through the BPC Client (installed on BPC Server) and the BPC Client (running on Citrix).
    When we enter data through the BPC Client (Server) and expand the sheet, we can only see the data that we entered through the BPC client (Server). When entering data through the BPC Client (Citrix), we can see only the data we enter through the BPC Client (Citrix).
    The database, however, saves both entries correctly. For test purposes we created a test report which shows both entries correctly in the BPC Client on the server and on Citrix.
    Does anyone have an idea what can be wrong with our system? We tried to create an EvDRE log File for this BPC version as well, but failed. Maybe one of you already did that and can help me with this.
    Thanks in advance!

    You can greatly improve your chance of receiving a helpful answer to your question if you state the version (MS or NW) of BPC which you are using.
    Also notice the sticky [note|Please do not post BPC, SSM or FI/CO questions here!; at the top of this forum whereby we announced new dedicated forums for BPC which are the proper place to post your questions regarding BPC in the future to be able to reach the right audience for your question.
    Thanks and best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP Labs, LLC
    BusinessObjects Division
    Americas Applications Regional Implementation Group (RIG)

  • My laptop running XP sp3 and FireFox 3.6 died. I salvaged the HD and put it in a drive enclosure. I bought a new Win7 machine and wish to import my old favorites (I don't have a backup, but the Favorites folder on the old HD is intact).

    My laptop running XP sp3 and FireFox 3.6 died. I salvaged the HD and put it in a drive enclosure. I bought a new Win7 machine and wish to import my old favorites (I don't have a backup, but the Favorites folder on the old HD is intact). I have not been able to determine how to import these favorites from the old HD to the new machine. I haven't found any FAQ that addresses this since I can't really start Firefox on the old HD in order to make a HTML backup. Any ideas? edit

    See this: <br />
    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • Create a visual web part which get data from excel sheet and import it into sql server database in sharepoint 2010 (development)

    Hi,
    I want to create a visual webpart which will read data from excel sheet and import it in to sql server database.(using sharepoint development)
    I want to do it using visual webpart.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi  Rajni,
    Microsoft.Office.Interop.Excel assembly provides class to read excel file data, in your web part solution, reference the assembly, and following blog contains samples about how to read the excel file data,
    and import it to SQL  database.
    1.Create a Visual Web Part Project:Create
    Visual Web Parts in SharePoint 2010
    2.Read the excel workbook by using SPFile class:
    http://alancejacob.blogspot.in/2012/06/read-data-from-excel-file-and-insert-in.html
    http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
    3.Export the excel workbook to SQL Server:
    http://www.c-sharpcorner.com/UploadFile/99bb20/import-excel-data-to-sql-server-in-Asp-Net/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • I downloaded CS6 Red Plug-In and added to Package Contents, replaced the current files with the new without backing up, now my RED footage thumbnails and color-correction don't WORK! How do I get my old importerRed file back!!?? HELP!

    I downloaded CS6 Red Plug-In and added to Package Contents, replaced the current files with the new without backing up, now my RED footage thumbnails and color-correction don't WORK! How do I get my old importerRed file back!!?? HELP!

    Try asking in the Premiere Pro  forum seems to be an Adobe Lab for Premiere Pro

Maybe you are looking for

  • Delete entire itunes match library

    I have a maxed out the itunes match icloud storage limits.....many, many songs are truncated at the end of songs when syned to ipods and iphones. Based upon reading other posts, I seemingly need to remove my entire library and re-match to the cloud. 

  • Corrupt log file, but how does db keep working?

    We recently had a fairly devastating outage involving a hard drive failure, but are a little mystified about the mechanics of what went on with berkeleydb which I hope someone here can clear up. A hard drive running a production instance failed becau

  • Exclude one customer from VAT

    Hi , Ours is french company. For all French customers we are charging vat of 19.6% where as we have one customer who is in the border of France for this customer VAT is not applicable. Still as per conditions its calculating VAT for this customer als

  • Start Primavera Web Logic Instances as Windows Services

    Hi, An external contractor has recently deployed P6 v8.1 in our environments and to our surprise currenlty Primavera Web Logic instances installed (p6, contract module, progress reporter and webservices) ara running as a java consoles in a logged use

  • CTS+ - How to hide "export using Filesystem" from PI tool?

    Hi experts, I have already implemented "How To  Configure Enhanced CTS PI 7.1", now I wonder If it is possible to hide export using Filesystem since I would like to force people using "Export using CTS" from PI tools. I have alredy surfing on interne