Skip to Content
0
Nov 04, 2020 at 10:14 AM

Error when using command BITMAP in SAPscript

50 Views

Hi guys,

I want to embed an image in a SAPscript form.
It is a bitmap file that I uploaded via transaction se78.
Actually there are two Images that I want to show dynamically.
The report that gathers the data for the form saves the name of the image in the variable gv_opm depending on certain parameters.
So in my form I added this command line: BITMAP &GV_OPM& OBJECT GRAPHICS ID BMAP TYPE BCOL.

When I run the syntax checks in the form editor it says "Invalid keyword" at my BITMAP command line.

Inserting an image directly via Insert->Graphics works well but I need to use my variable for dynamic image embedding.

Is there something wrong with my comand?

Thank you very much for your help.

Regards
Chris