SAP Knowledge Base Article - Preview

1873159 - PowerBuilder 12.1 and PowerBuilder 12.5 - SaveAs and SaveRowsAs fails to .xlsx or .xlsb with date/datetime column value of 12/31/9999


When a datawindow date or datetime column has a value of 12/31/9999
and you try to save to an Excel .xlsx or .xlsb file, it will fail.

  • From the PowerBuilder IDE, the error message is 'Save Rows As Failed'.
  • In powerscript, dw_1.saveas("myfile.xlsx",XLSX!, false) will return -1.



SAP Sybase PowerBuilder 12.1

SAP Sybase PowerBuilder 12.5


PowerBuilder all versions


SaveAs,SaveRowsAs, Excel,PB12.1,PB12.5,PB12.5.2 , KBA , BC-SYB-PB , PowerBuilder , BC-SYB-IM , InfoMaker , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.