2017年11月28日 星期二

解決'Microsoft.ACE.OLEDB.12.0' 提供者並未登錄於本機電腦

連結 Excel 或 Access 且為 Office 2007 以上版本時,需要連結的驅動程式。

方便現有 Microsoft Office 檔案 (例如 Microsoft Office Access 2010 (*.mdb 和 *.accdb) 檔案) 和 Microsoft Office Excel 2010 (*.xls、*.xlsx 和 *.xlsb) 檔案的資料傳輸到其他資料來源 (例如 Microsoft SQL Server)。 也可支援連線至現有文字檔案。應用程式開發人員可安裝 ODBC 和 OLEDB 驅動程式,在開發連線至 Office 檔案格式的應用程式時使用。

常因作業系統 64bit 與Office軟體 32bit 所安裝的位元版本不同,而造成會有「Microsoft.ACE.OLEDB.12.0' 提供者並未登錄於本機電腦上。」的錯誤訊息。為了解決這個問題,需將 32bit 和 64bit 的「Microsoft Access Database Engine 2010 可轉散發套件」安裝在同一台機器上,但會出現「由於目前你已經安裝32位元的office產品,因此無法安裝64位元版本的Microsoft Access Database Engine 2010,若要安裝64位元的版本,請先除32位元的office產品」無法安裝的訊息。

可在命令提示字元下輸入以下指令
AccessDatabaseEngine_X64.exe /passive

相關元件可至微軟網站下載.........官網連結載點

2015年10月7日 星期三

[SAP][Data Service] Data Services Designer 執行 JOB 時 "The job server you selected is not working"

今天發生了一件怪事,在此做個記錄,希望能幫到發生過這個問題,而不知如何解決的人。在 Data Services Designer 執行時,都會要登錄至 Repositories ,在此登錄時都沒有什麼問題。


但在執行 JOB 時,確出現以下的錯誤訊息!!

「The job server you selected is not working.」

2015年9月23日 星期三

[SAP][Information Design Tool] Parameters and Lists of Values

Lists of Values 是一組值清單,可以用於使用者提示輸入的來源及查詢篩選使用。Lists of Values 的類型有

  • Lists of values based on business objects
  • Static lists of values
  • Lists of values based on a SQL expression

2015年8月13日 星期四

[SAP][Information Design Tool] 查詢 Query

IDT 中的 Business Layer 內可以建立查詢 ( Query ) 來測試資料是否正確。先切換至 Queries 的分類,並點選新增 Insert Query。


2015年7月27日 星期一

[SAP][Information Design Tool] 使用圖表方式查看資料欄位的值

在 Data Foundation 中,可以使用圖表的方式查看資料欄位中的資料。先選取一個欄位,滑鼠右鍵選取 Profile Column Values....。

2015年6月19日 星期五

[SAP][Information Design Tool] Merge Table 合併資料表來產生 Derived Table

在 Data Foundation View 中可以使用資料表合併 (Merge Table ) 的方式建立出衍生資料表 ( Derived Table )。選取要合併的資料表,按 Ctrl 鍵並點選資料表後,按滑鼠右鍵,選取 Merge。在出現的視窗中輸入名稱。



2015年5月22日 星期五

[SAP][Information Design Tool] 衍生資料表 Derived Table

Derived Table 是在 Universe 結構中建立動態的、虛擬的資料表。在 IDT 中使用 SQL 語句來建立它。在 Data Foundation 中使用已存在的資料表來建立 Derived Table ,也可以使用 Insert 的方式,用 SQL 語句來建立一個 Derived Table。

在 Data Foundation View 中選取一個資料表,點選滑鼠右鍵,選取 Insert 的 Derived Table。

2015年4月30日 星期四

[SAP][Information Design Tool] Pre-defined Filter

Pre-defined Filter 是在 Business Layer 中可以給所有對象條件限制的物件。在 Query Panel 中,可以使用  Pre-defined Filter 做為 Where 子句中的限制條件。在 Business Layer 中可以定義 Native 或 Business Filter。
Native Filter 是使用 SQL 語句,而 Business Filter 是使用選取的物件。
在 Business Layer 中選取要建立 Filter 的資料夾,按滑鼠右鍵點選 New 中的 Filter,或在 Insert Object 的下拉選單中選取 Filter。




2015年4月6日 星期一

[SAP][Information Design Tool] 建立 Navigation Path

Navigation Path 是定義在 SAP Business Object 報表工具中維度使用的鑽取 ( Drill Down) 路徑。它提供有兩種類型 Default 或 Custom。
預設路徑 ( Default Path ) 是由 Business 物件的階層來定義,而 Custom Path 是有設計者自行定義路徑。


2015年3月27日 星期五

[SAP][Information Design Tool] 建立 Dimension、Attribute、Measure

在 IDT 的 Business Layer 中,可建立的三種物件為 Dimension、Attribute、Measure。
Dimension 及 Measure 是放在 Business Layer 或 Business Layer 下的資料夾中,而 Attribute 是附屬於 Dimension 之下。

點選某一資料夾後,可在資料夾上按右鍵或在 Insert Object 的下拉選單中來新增 Dimension 及 Measure。



2015年2月20日 星期五

[SAP][Information Design Tool] 管理 Business Layer 內的物件

在 Business Layer 中可以直接拖拉資料夾至想要放置的位置中。資料夾或資料夾內物件的順序也可以進行調整。



2015年2月3日 星期二

2015年1月12日 星期一

[SAP][Information Design Tool] 建立計算欄位 Calculated Column

Calculated Column 是在同一張資料表中建立新的一列,由計算或使用各欄位的組合,來增加資料的可用性。
在某一資料表上按滑鼠右鍵,選取 Insert Calculated Column...。


2014年12月27日 星期六

[SAP][Information Design Tool] 重新整理 Universe 的資料結構

Universe 的完整性是很重要的,當資料庫端的 Data Type 有異動時,在 Data Foundation 中是反映資料的結構,因此也必須修改以反應資料庫中的異動。

在 Data Foundation View 視窗中,點選 Detect 的下拉選單,選取 Refresh Structure...


2014年11月12日 星期三

[SAP][Information Design Tool] 建立關聯 join

在 Data Foundation 中建立關聯,只要將要關聯的欄位用滑鼠點選後,拖拉至另一張表要關聯的欄位即可。

在關聯的線上,點選滑鼠兩下,可以進入 Edit Join 的畫面。

2014年10月22日 星期三

[SAP][Data Service] 函數設定的對話視窗

在 Query Transform 中,Mapping 頁籤中常會用到 Function 的,對於 Function 不熟的使用者而言,要修改其參數實在有些困難,在設定 Function 時,可以按下 Mapping 頁籤中的 Functions 按鈕,再選取要使用的 Function。

以取出字串部分文字為例,按下 Functions 按鈕後,會出現一個 Select Function 的視窗,在 Function categories 中選取 String Functions 類別後,在右側 Function name 再選取 substr 函數。


2014年10月2日 星期四

[SAP][Data Service] Work Flow

Work Flow 是定義資料流的決策過程。Job 是一個特殊的 Work Flow,只有它可以被執行 ( Execute )。工作流程可以呼叫另一個工作流程,也可以呼叫自己本身。

下列的元件可以置於 Work Flow 中

  •  Work flows
  •  Data flows
  •  Scripts
  •  Conditionals
  •  While loops
  •  Try/catch blocks

2014年9月30日 星期二

[SAP][Data Service] Conditionals

Conditionals 是在 Work Flow 中來實現 if / then / else 邏輯的物件。定義一個 Conditional ,指定兩個邏輯的分流。


2014年9月17日 星期三

[SAP][Data Service] 分析 Web Log 資料

非結構化的檔案格式也是 Flat File 的一種類型,以 Web Log 來說,它是用來追蹤 Web Site 的詳細記錄,會包含的資訊有

  • Client Domain or IP address
  • User names
  • Timestamps
  • Requested action ( might include search string )
  • Bytes transferred
  • Referred address
  • Cookie ID
因為 Web Log 並不是一欄一欄地記錄這些資料,所以屬於「非結構化檔案格式」( Unstructured file formats )。

非結構化檔案格式包含:
  • Unstructured text
  • Unstructured binary

2014年8月29日 星期五

[SAP][Data Service] Importing XML Schema

XML 檔案可以指定 XML Schema ( .xsd ) 或 Document Type Definition ( .dtd ) 來顯示格式化的結果。XML 檔案是巢狀式資料結構,可以將 Master、Detail 資料放置在同一份文件中,有別於關聯式資料表,使用多張工作表及使用 JOIN 的方式來表示。

XML的資料可能如下

XML Schema 如下