Registration

Dear SAP Community Member,
In order to fully benefit from what the SAP Community has to offer, please register at:
http://scn.sap.com
Thank you,
The SAP Community team.
Skip to end of metadata
Go to start of metadata

Purpose

When you open a SAPScript or Smartform spool to display the preview, you get a pop-up error followed by a SAPGUI crash.  The error contains:  "Incorrect memory access has been detected".

This can be caused by a corruption or problem with the graphic that is contained in the spool.

Overview

  • Create a SAPScript or Smartform spool which contains a graphic from SE78
  • Display the spool preview
  • You get the error followed by a SAPGUI crash

Resolution

  • First, ensure you are using the latest SAPGUI release and patch version.  Test if the problem still occurs with the latest SAPGUI:
    • 1053737 - Expected release dates for SAP GUI for Windows & ITS Patches
    • 563161 - SAP GUI, SAP ITS & SAP IGS patches on Service Marketplace
  • For older releases and SP levels on 640 and below, check the note 766874:
    • 766874 - OTF-Preview: Error message "Incorrect memory access"
  • If steps 1 and 2 above do not help, then the issue is likely caused by a problem or corruption with the graphic used in the spool.  You should delete this graphic from SE78.  Upload a new correct graphic into SE78 if it is required.
  • You can test if the graphic is causing the problem either by creating a new similar spool that does not contain the graphic and checking if the spool preview works OK, or by creating a new spool which contains nothing other than the graphic and test does the problem still occur.
  • You can identify the SE78 graphic used in the problem spool as follows:
    1. In SP01 go to your spool (do not open the preview) and in the menu select Goto -> Display Requests -> Settings -> select 'Raw' and OK
    2. Now click on the spool to open the preview.  Here you will see the spool OTF Raw data instead of the graphical preview (this will not give you the error or crash SAPGUI)
    3. The graphics in the spool begin with the letters BM and are followed by many rows of # characters, for example:
      • BM0122401325 D    BDS_LOC3  4F723A06D0684D07E10000000A425084
      • RDI 66OTFbitma###############-###U###\#d##############################
      • RDI 66###############################################################
    4. In SE16 table STXBITMAPS, enter the DOCID field "BDS_LOC3  4F723A06D0684D07E10000000A425084" that you see from the spool OTF BM line above and execute.  This gives you the details on this graphic.  The TDNAME is the graphic name as it appears in SE78, and the TDBTYPE field specifies if this is a colour or B&W graphic
    5. With this information you can identify the graphic in SE78 to delete it
  • You can delete the graphic in SE78 > Graphics > BMAP (in the left hand navigation pane).  Enter the name of the graphic (from STXBITMAPS-TDNAME) and hit enter.  Click the delete button (trash-can icon).
  • You should then upload a new non-corrupt graphic in SE78 with the same name, as it is defined in the form.

 

  • No labels