SAP Knowledge Base Article - Public

2518494 - Export to Excel Fails With 500 SAP Internal Server Error

Symptom

You are trying to use the Export to Microsoft Excel functionality, but your attempt is triggering the following exception:

500 SAP Internal Server Error

Error: Access using a 'ZERO' object reference is not possible. (termination: RABAX_STATE).

Environment

  • SAP Business ByDesign
  • SAP Cloud for Customer

Reproducing the Issue

This can occur for any of the documents which support exporting to Excel. For example:

  1. Go to the Organizational Management work center.
  2. Select the Org Structures work center view.
  3. Click Export > To Microsoft Excel.

The technical exception will be raised.

Cause

When the user performs the export to Excel, the styles for the content are actually retrieved from the Master Template.

The above exception is thrown when the particular style in the Master Template is missing.

Resolution

  1. Go to the Master Template Maintenance work center view.
    • In Cloud for Customer, under the Administrator work center.
    • In Business ByDesign, under the Application and User Management work center.
  2. Select the row with the master template for Microsoft Excel.
  3. Click the Versions button.
  4. Select the previous version and click Revert.

Now the export to Excel should work as expected.

Keywords

Export, Excel, Internal Server Error, 'ZERO' object reference , KBA , export , excel , internal server error , supplier , invoice , management , payment , 'zero' object reference , SRD-CC-OIN-XL , Excel Integration , How To

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions