SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software SAP ABAP Programming and HANA Database Tutorials
Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Windows, Windows Phone, SAP and ABAP, like SAP UI5, Screen Personas, etc.




CRM Companies List
Web Based CRM Software


Graphics White Background Displayed Gray on SAP Smartform Output

In SAP Smartform output documents, logo or graphic images are sometimes displayed with background color in gray scale. Although the image or graphic is displayed with white background color in Windows environment, when graphic or logo is imported using SAP SE78 transaction as Color Bitmap Image the background color is converted or displayed in gray somehow.

I had this Smartform graphic with grey background instead of white while trying to display a signature graphic on output. I later learnt that when the graphic color depth is too high like 24bit color, etc while uploading the image file (.bmp bitmap of .tiff file) the white color can not be handled correctly and uploaded in gray scale colors.

Therefore as a solution, the best way is to import graphic images with 256 color depth to SAP system using SE78 transaction utility.

You can convert graphic images to 256 color image files easily using Image editors like Irfanview, etc.





Here is a sample SAP Smart Forms output report which displays the same logo. The only difference between two logos is first one has 24bit color depth, and the second has only 256 colors.

As you see the first graphic has grey background dissapointing Smartform developers. On the other hand, 256 color image is successfully displayed with white colors preserved as white not turned into gray.

SAP Smartform graphic images with gray background

The following image is imported to SAP library using SE78 transaction
Please note that the color depth is 16,7 Millions colors (24 BitsPerPixel)

SAP Smartform graphic white are turned into gray

The below image is also imported using SE78 SAP transaction.
But the difference between two images is that the following logo has color depth 256 colors (8 BitsPerPixel)

256 color SAP graphic is imported with SE78 transaction

As you see in the first screenshot from a SAP Smarform output, the first logo has grey background instead of white area. Hopefully, the second graphic with 256 color depth is keeping white as its background instead of turning white space into gray scale colors.






SAP Tutorials

SAP Tutorial

SAP Forums

SAP Tools

SAP Transaction Codes Table






Related Articles and Tutorials(http://www.kodyaz.com/sap-abap/sap-smartform-image-white-background-turns-gray-scale-using-se78.aspx)
How to Upload Data to SAP from Excel File using alsm_excel_to_internal_table Function Module
Upload Data from Excel File in ABAP using TEXT_CONVERT_XLS_TO_SAP
Complete List of SAP Modules
Email Spool Request using SAPOffice - Spool to PDF
How to Create SAPScript Text using SO10 Transaction Code
SAPScript Transaction Codes
Create Business Object in SAP
How to Display SAP Graphics using SE78 Transaction Code
How to Debug SmartForms - Debugging SAP SmartForm in ABAP ?
SAP Invoice Output Determination Analysis for Not Created Output Message
SAP Smartforms - How to Call Smartform within ABAP Program
SAP Smartforms Table for Sales Order and Invoice Outputs
SAP Smartforms Tutorial - How to Create Smartform
SAP Smartforms Tutorial - Create Smartforms Example
SAP Smartforms Tutorial - Table Calculations using Count
SAP Smartforms Tutorial - Table Calculations using Sum Total
SAP Tutorial - Convert Spool Request to PDF File using RSTXPDFT4 ABAP Report
ABAP Debugging using Log Point and Break Point
ABAP Runtime Error ST22 Transaction using Short Dump Analysis
ABAP Shared Memory Objects Tutorial with Sample ABAP Code
Add Web Dynpro Applications to SAP Favorites Menu
Adobe Forms Table Header is Missing After Second Page
Free Adobe LiveCycle Designer Download
ABAP Authority-Check Object For User Other Than Current
Call Function Module using RFC Destination in ABAP
Message no XS826: Cannot process message; no node determined for 76550052
Change Fields for Selection in SE11 ABAP Data Browser
Change Output Condition Records
Compare Code in ABAP using SE39 SplitScreen Editor
Complex Conditions in SAP Smartform with AND/OR
Connect SAP from Eclipse using ABAP Project
How to Spell Numbers using ABAP Spell_Amount Function Module
Convert Smartform to PDF in Print Preview Mode
Convert the table using the Database Utility (SE14)
Convert Sales Unit into Text using Function Module in Target Language
ABAP Code Inspector Check Variants for HANA Migration Optimization
Create SAP Dynamic Variant using Date Calculation
Create Scheduled Job using SAP SM36 Transaction
Create Search Help in ABAP for Web Dynpro Component
Create Transaction Code for Web Dynpro Application
Create SAP Transaction to Maintain ABAP Table using SM30
Create Transport Request for Text Translations using RS_LXE_RECORD_TORDER
Delete Entries in NAST Table using RSCLNAST ABAP Program
Delete All Data from SAP Database Table
List Locks in SAP system using SM12 Transaction Code
Prevent DYNPRO_SEND_IN_BACKGROUND Error in Background Process
Enable Remote Debugging in ABAP using RSRDEBUG
How to Execute SAP Program in Background Task
Export Graphics from SE78 SAP Form Graphics Administration using ABAP program
How to Export IDOC as Excel and Save as Local File from WE02 Transaction
Export SAP Spool Requests as PDF using SP01 Transaction
How to Find Output Determination Procedure for a Billing Document
How to Find SAP Role Users Assigned for Transaction Code
Export SAP Data to Fixed Length Text File
How to Delete Standard Text using SO10 SAP Transaction
How to Disable Word Editor in SAP Smartform Text
How to Find User Exits in ABAP Codes of SAP Transaction
How to Transport SAP Graphics using SE78 Transaction
Import and Export SO10 Standard Text using RSTXSCRP ABAP Program
Main program for include RV61Bxxx not found
Move Minus Sign from Right to Left of Negative Number in SAP Smartform
Print SAP Outputs From Two Printers at the Same Time
Get Proforma Invoice from Commercial Invoice in ABAP
Business Document Service Error: Error when accessing graphic (BDS), RC = 5
Get SAP Document Flow using SD_DOCUMENT_FLOW_GET ABAP Function Module
SAP Invoice Output ZZZZ is not Defined
SAP Output Management - Create New SAP Output Type
SAP Purchase Order Tables, Transaction Codes and Output
Graphics White Background Displayed Grey on SAP Smartform Output
Export Table Contents into Text File and Download File
SE63 Smartform Translation and Export using SLXT Program
Search and Find SAP Transaction Code using SE93 or SEARCH_SAP_MENU
How to Set Start Transaction in SAP GUI
SAP Smartform Runtime Error CX_SY_CONVERSION_NO_NUMBER
Window MAIN does not fit onto page PAGE (height)
SAP Smartforms Table Parameter in Form Routine
Unicode Character Problem in IFS File Interface
Web Dynpro Text Translation using Assistance Class
Transport Variants of an ABAP Program into Workbench Request
Trigger Output Re-Determination for Billing Documents
TVAP Item Category and SAP Table TVAPT for Text Translations
Unlock Objects Locked in Request or Task using Transport Organizer Tools
Update Database Table Data using ABAP SE16N_INTERFACE
VF31 SAP Transaction to Reprocess Billing Output Messages
Web DynPro Tutorial - Display Spool Requests using Web DynPro Table
Function module is not released for the Internet


Copyright © 2004 - 2017 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems