cancel
Showing results for 
Search instead for 
Did you mean: 

smartform preview dump when color graphics in form

olivier_muff
Explorer
0 Kudos

Seems I have found a SAP BUG in the smartforms Print Preview.

A dump occurs in preview of pages beyond the first page. The first page previews fine. The dump occurs when you page down. The error is an overflow because a field called stringlength2 is equal to 0 but it is used as in index for a string operation. There should be a check for this in SAP's code before the offending line:.

wa_otf_preview-tdprintpar+4 =

hexstring+stringlength(stringlength2).

How are bugs reported to SAP if you are a developer? Or am I doing something else wrong. The dump does not occur if I remove the color graphic!

-


Analyse erreur

-


An exception occurred. This exception is dealt with in more detail be

. The exception, which is assigned to the class 'CX_SY_RANGE_OUT_OF_B

was neither caught nor passed along using a RAISING clause, in the procedure "PREPARE_OTF_FOR_GUI_PREVIEWER" "(FUNCTION)" .

Since the caller of the procedure could not have expected this except

to occur, the running program was terminated. The reason for the exception is: In program "SAPLSTXBW" the system tried to access field "HEXSTRING" w

0. Partial field access to fields with length 0 is not allowed, however.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

U should find some notes in OSS.

Max

olivier_muff
Explorer
0 Kudos

We found a note on the print preview but this patch has already been applied on our system.