SAP Knowledge Base Article - Preview

2208153 - Error: "You cannot use the TYPES statement in the PUBLIC SECTION." when importing a SPAM/SAINT update


During the import of the SPAM/SAINT update for a SAP R/3 Enterprise system, the following error occurs:

The following syntax error occurred in the program SAPLOCS_UI :
"You cannot use the TYPES statement in the PUBLIC SECTION."
Error in ABAP application program.

The current ABAP program "RSSPAM15 " had to be terminated beause one of the 
statements could not be executed.

This is probably due to an error in the ABAP program.


After this dump occurs, the following screen pops up when you start SPAM:




  • SAP R/3 Enterprise


SAP R/3 Enterprise 4.7x110 (Extension Set 1.10) ; SAP R/3 Enterprise 4.7x200 (Extension Set 2.00)


KBA , BC-UPG-OCS-SPA , Support package tools for ABAP , Problem

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.