升級后的用戶環境:
Windows 2016 bit
Office 2016 64 bit
IE 11 64 bit
功能定義
功能:CUX_LINE_IMP_ADI
類型:SSWA servlet 函數
參數:bne:page=BneCreateDoc&bne:viewer=EXCEL2003&bne:reporting=N&bne:integrator=CUX_LINE_IMP_INTG&bne:layout=CUX_LINE_IMP_LAYOUT&bne:content=CUX_LINE_IMP_CNT&bne:noreview=Yes
HTML調用:BneApplicationService
現用戶發現不能正常使用WebADI,通過找資料發現需要打補丁。
補丁概述:Microsoft Office 2016 Certified with E-Business Suite 12.1.3
https://blogs.oracle.com/stevenChan/entry/office_2016_ebs_12_1
詳細描述:Microsoft Office Integration with Oracle E-Business Suite 11i and R12 (Doc ID 1077728.1)
WebADI部分的內容詳見文檔中的 Web Applications Desktop Integrator (WebADI) 部分。
Patch for EBS12.1 , Office 2016見附件Patch 21959691:R12.BNE.B。
Patch for EBS12.1 , IE 11 見附件Patch 19273341:R12.BNE.B.delta.4。
打完此補丁以后報以下錯誤
IE 11下載WebADI報以下錯誤,Exception Name: java.lang.ArrayIndexOutOfBoundsException -1。
需要安裝另外一個Patch解決此問題。
補丁描述:
After Applying Patches for Internet Explorer 11 The Daily/Historical Rates Webadi Template Download Errors with ArrayIndexOutOfBoundsException -1 (Doc ID 1999580.1)。
繼續打此補丁:
p18789889_R12.GL.A_R12_GENERIC
p18789889_R12.GL.A_R12_zhs
打完之后仍然報此錯誤
找到以下補丁
Patch 13793000: R.TST122: UNABLE TO EXPORT A TERRITORY USING WEB ADI
打完補丁后,仍然報Exception Name: java.lang.ArrayIndexOutOfBoundsException -1。
心情很是絕望。
通過谷歌又發現一線生機。
Oracle WebADI Error – java.lang.ArrayIndexOutOfBoundsException: 1(wordpress,需翻|牆)。
摘取重要內容如下:
The issue was that whent he menu was configured, the function for ‘Download Document – WebADI’ had this
bne:page=BneCreateDoc&bne:viewer=EXCEL2003&bne:reporting=Y&bne:integrator=GENERAL_221_INTG&bne:layout=XXHR_CWB_STATEMENTS_DWNLD&bne:content=GENERAL_221_CNT&bne:validation=True
R12 Web ADI did not like viewer=EXCEL2003 and it was throwing the error. Changing it to EXCEL2010 has resolved the issue。
將自定義功能的參數改為即可解決。
bne:page=BneCreateDoc&bne:viewer=EXCEL2007&bne:reporting=N&bne:integrator=CUX_LINE_IMP_INTG&bne:layout=CUX_LINE_IMP_LAYOUT&bne:content=CUX_LINE_IMP_CNT&bne:noreview=Yes
原因:
通過對比正式未打補丁的正式環境和測試環境發現,
打補丁之后的WebADI不再支持Excel2003,最低支持版本為Excel2007.
如下:
打補丁之前的環境:
打補丁之后的環境: