‎2019 Jul 25 3:44 AM
Hi,
Does anyone perhaps know the answer to this and have possible solution to my problem.
I have various SAPScript forms using the same black & white BMP image. There is a text box in the layout which prints a generated reference number on top of this image. However, this number is not visible in print previews and can only be seen on the actual printout or in a PDF when emailed.
I've uploaded a new BMP colour image and I can no longer get this reference number displayed, e.g. in PDF's for email correspondence. At this stage the image type (BMON vs BCOL) is the ONLY variable that is causing the non-overlay display issue.
How do I go about overlaying text on an image in SAPscript colour image?
1. I don't have the option of going smartforms at this stage.
2. I've tried changing the window type from CONST to GRAPH and VAR and it has no impact.
3. I've tried some 'coding' suggested in my searches, but none made any difference.
‎2019 Jul 25 6:33 AM
I can't reproduce your issue (image GRAPHICS BMAP BCOL, 256 colors, window VAR /: BITMAP ..., print preview shows the text floating over both b&w and color images). Did you try to save your BMP image in 256 colors, upload it and try again? (historically 24-bit color images render badly). If it persists, you should open a ticket at SAP support.
‎2019 Jul 25 6:37 AM
‎2019 Jul 28 3:50 AM
I agree, 24-bit color is terrible. I've used the exact same BMP 256 color image and imported as black and white. If I use the B&W image, the text box with numbers comes through, but when the color image is used, it does not show.blackwhitesample.jpgcoloursample.jpg
Is this perhaps because the system is not unicode? ERP6.0.
‎2019 Jul 28 6:11 AM
Now that you shared the result, you may also attach your image so that we can try...
‎2019 Jul 29 1:03 AM
My file is BMP file which are not one of the permitted file formats for uploading on here unfortunately.
It is 614x159 pixels and with Color Bit depth of 8 (i.e. 8 bit - 256 colours).
When you import any BMP file as 'black and white' SAP drastically reduces & converts it to a terrible looking image - unless it was true black and white prior to import. So, even grayscale images end up looking bad.
From what I can derive, because of black & white - SAP can overlap text and a B&W image. If the image is in colour, that under/overlaying text does not print. Seems like SAP has no ability to 'merge' colour image with text in SAPScript.
I'm very curious how you do not have the same problem and what the reason for that is.
Maybe I should also add that this 'problem' presents itself in the print previews (not a big issue for me) and PDF generated output (email). I have one hard copy color printout on paper that suggests it works, but we are moving away from paper altogether.
‎2019 Jul 29 9:23 AM
Are you saying that you loaded a color image as BMON (B&W), why?
For me, it worked with BCOL, the text is written over the colored image, as you wish.
PS: please post comments, not answers (cf little text by SAP, at the right of the answer box: "Before answering You should only submit an answer when you are proposing a solution to the poster's problem...")
‎2019 Aug 01 7:16 AM
So, the answer is this:
1. Previewing documents in SAP prior to printout does not show the overlay if image is in color.
2. Printing actual paper document from within SAP, color image does show the overlay.
3. Producing PDF document (such as for emailing a document) the color overlay does not not work.
Nothing I can do about this for now.
‎2019 Aug 01 8:11 AM
Maybe you can add your BMP color file in some external free-access website like imgur?