‎2008 May 07 2:51 PM
Hi gurus,
we have two logos formats in bitmap but currently these size and too high how to reduce the existing logos or how to create new logs in smartform in bitmap image
i hope any one can send quick answer, its too urgent.
Thanks ®ards,
sri.
‎2008 May 07 4:15 PM
Hi Sairam,
Inserting Logo in SmartForm
Follow the given steps in order to add a logo,
1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
4) Select any picture and set its Resolution in DPI
5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
6) Set any other parameters if required, save and activate.
7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
😎 User TCode SE78 to upload new pictures and logos.
or
you can create a GRAPHIC node where the name of the node is a variable:
Name &V_LOGO&
Object GRAPHICS
ID BMAP
So before of GRAPHIC node you have to insert an ABAP node where u insert the name of the LOGO, let us take one case like --in according the company code
CASE BUKRS = ....
WHEN '....'. V_LOGO = .....
WHEN '....'.
ENDCASE.
or..............
Try executing program RSTXLDMC program. There also you can upload a graphic.
Run RSTXLDMC
Enter file name C:\MAIL\COMPLOGO.TIF
Resolution for Tiff file
Absolute X-position
Absolute Y-position
Absolute positioning
Reserved height
Shift to right
UOM = CM
Text title
Line width for text = 132
Text name ZHEX-MACRO-COMPLOGO
Text ID ST
Text language = E
Postscript scaling
Width & Height according to PS scaling
Number of Tiff gray levels (2,4,9) 2
Then Create a new window 'COMP' with attributes;
Window COMP description Company Logo
Window type CONST
Left margin 7.00 CH window width 10.00 CH
Upper margin LN window height 8.00 LN
Finally u can make use of the text name and text id to print the logo.
Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed
for bitmap
You can achieve as per below:
1) I want to upload a coloured logo from my desktop to SAP
Upload your logo via SE78.
Select 'Import' button from application toolbar of SE78, and perform upload.
2) Then i want to upload that coloured Logo into my SAP Script output
At SE71, goto Text Element from your window logo (window where you locate your company logo), and place the following statement:
/: BITMAP 'COMPANY_LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 150
3) Then i want to make that Coloured logo to be Printed on Layout screen visible as with same color as i uploaded.
thanks
sagar
reward me points if usefull