Enter Logo in Smartform
Hi All,
Can anybody guide me to enter logo in Smartform.
I want to print one logo on inspection setup print program.
Please suggest me the steps to do the same.
Regards,
Deepak.
Hi,
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.
8) User TCode SE78 to upload new pictures and logos.
or----
u can
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 !
Please reward points if useful.
Regards
rose
Similar Messages
-
How to upload a logo in smartforms
can anybody tell me how to upload logo in Smartorms
Hi,
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.
8) User TCode SE78 to upload new pictures and logos.
or----
u can
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 !
Go thru this,
http://www.zebra.com/id/zebra/na/en/documentlibrary/misc/sap_smartforms_technical.File.tmp/SAPSmartFormsVersion3.pdf
Refer these threads,
How to upload logo in Smartforms.
logo insertion in smartform..
Regards,
Padmam. -
How to attach logos in smartforms using standard text??
logos in smartforms using standard text
Hi,
After going into SO10>Menu Bar->Include->Graphics-->Select the logo you have to include that in the standard text. ->save->Activate.
IN the smartform.
Create a Logo Node and fill the information in the right side under general attributes.
Name---Standard text name.
Object
Id.
You can upload the logo using SE78.
Thanks,
Sree. -
How transfer logo from smartform (development server ) to quality server?
hi can anyone tell me how transfer logo in smartform (from development server ) to quality server?
Hi,
Logos are not transported. You need to create it in all systems individually.Transports cannot carry image files!! Although you know how to create logos but still for your reference this very popular link:
http://www.sap-img.com/basis/changing-the-sapgui-logo-on-the-right-hand-side.htm
Regards.
Shiva Kumar -
Printing LOGO on smartform based on Printer
Hi All,
I want to print LOGO on my smartform(PO) based on a Printer which i am using.If i use one perticular printer(PRIMO) i should get the LOGO and for other Printers it should not appear.Will it be possibel to control the printing based on a printer condition? if yes please suggest me where i can add these conditions.
If u need any further information please revert back to me.Thanks in Advance.
Best regards,
Shanker.Hi,
Based on the device type in OUTPUT_OPTIONS in smartforms interface find out the printer name and write logic for printing appropriate LOGO in smartform.
Regards,
Raju. -
Hello Everybody,
I am supposed to load the logo into the form based on the input given by the user.i,e. i should the take the name of the logo to be put in the SMARTFORM from the text box in the selection screeen.Could some one tell me as to how this is done????
Thanking you in anticipation.
Regards,
Sirisha Matta.Hi Sirisha,
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 !
Regards,
SRI -
How to include the STANDARD TEXT Logo in SMARTFORM???
Hai experts,
Im able to get the standard text logo in SAPSCRIPT used follwing command in text editor.
v_logo is dynamic variable.
/:INCLUDE &V_LOGO& OBJECT TEXT ID ST LANGUAGE EN
But in smartforms im unable to get the Standard text logo used following steps...
in Include text node
A) Text name : &V_LOGO& <
B) Text object : TEXT >
C) Text ID : ST >
D) Text Language : EN >
Why????
What are the further steps needed??
Rewards helpful answer is very useful..
Thanks & rgds,
Muru.P.HI
http://www.sapmaterial.com/smartform_example.html
http://www.sap-press.com/product.cfm?account=&product=H955&shoppingcart=003
Tcode SE78 is used to import graphics into the SAP system. The transaction imports the graphics and stores it
in the BDS (business transaction server) and then it can be displayed in the form.
· To create the graphic node , call the context menu for that node in the tree structure and choose create-
>graphic
· Enter a name (LOGO) for the node and the description (Logo Graphic)
· On the general attributes determine whether a colored or a black and white
· On General Attributes use the fields object - GRPAHIC, id u2013 BMAP and name - &G_LOGO& to identify the
graphic. &G_LOGO& is variable and therefore we can print company code specific logo. Program line preceding
the graphic is required.
Regards
Pavan -
Urgent : Display logo in Smartform with XSF+ HTML as Output Format
Hi,
Through the Portal we are displaying ESS Salary Statement of a Employee for last 24 monthys in the iView using the Customized Smartform ZHR_ESS_PAYSLIP_TO_PDF which is copy of Standard Smartform HR_ESS_PAYSLIP_TO_PDF .
Requirement is that we have to change the Output Option to "XSF+HTML" and Display a logo at Top-Middle of the form.
But the problem is that Logo is only visible only when Output Option is "Standard Output". and not visible when Output Option is "XSF+HTML".
Please tell me how to display the Logo in the Smartform so that it is visible in "XSF+HTML" or "XSF" as Output Option.
Asnwers will be suitably rewarded.
Thanks,
Ajay JangidHi Ajay,
Following threads may help you
Smartforms to Xsf & Html format
/message/1484753#1484753 [original link is broken]
Regards,
Manoj -
Problem with printing logo in smartforms
Hi guys,
we have a logo in a window, its working fine in print preview, however when printing the document its all black. The logo does not display, instead the window is blackened.
Please advise.Hi freishz ,
When u r sayin 'document its all black' do u mean that the background of image is appearing black or it is completely black nothing is displayed?
I had faced similar problem in smartform,where i was gettin grey background of the logo...
For this, you need to edit the logo image first. open the logo image in ms paintbrush and save it as 256 color bitmap image. now upload this bitmap in sap using tcode se78.
Now use this logo...... -
Logo in Smartform output to pdf format is coming as Junk Character
Hi All,
I have a requirement to generate the Smartform output in PDF file. But when i am doing that i am getting the LOGO as Junk character in the PDF file. Can any one help me to resolve this issue?.
Thanks,
Muruganand.KYes check the spool and the output displayed correctly in the spool it means there is a problem when you convert OTF to PDF. Check that part of the code and try different options.
-
Need to send the logo in smartform via mail.
Hi All,
I have smartform with the company logo uloaded. I have requirement to send the smartform with logo output via mail .
Points will be rewarded....
thanks,
mahanteshhi,
1. check if are getting the logo in the print preview, ifso
2. use the following piece of code to send the mail (by converting otf to pdf)
*For sending email
DATA:
i_otf type standard table of itcoo ,"OCCURS 0 WITH HEADER LINE,
i_tline type table of tline with header line,
i_receivers type standard table of somlreci1 ,
i_record type table of solisti1 initial size 0 with header line,
Objects to send mail.
i_objpack type table of sopcklsti1 initial size 0 with header line,
i_objtxt type table of solisti1 initial size 0 with header line,
i_objbin type table of solisti1 initial size 0 with header line,
i_reclist type table of somlreci1 initial size 0 with header line,
Work Area declarations
wa_objhead type soli_tab,
w_ctrlop type ssfctrlop,
w_compop type ssfcompop,
w_return type ssfcrescl,
wa_doc_chng type sodocchgi1,
wa_buffer type string, "To convert from 132 to 255
Variables declarations
v_len_in like sood-objlen,
v_lines_txt type i,
v_lines_bin type i.
clear v_len_in.
i_otf[] = w_return-otfdata[].
clear v_len_in.
call function 'CONVERT_OTF'
exporting
format = 'PDF'
max_linewidth = 132
importing
bin_filesize = v_len_in
tables
otf = i_otf
lines = i_tline
exceptions
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
others = 4.
if sy-subrc eq 0.
loop at i_tline.
translate i_tline using '~'.
concatenate wa_buffer i_tline into wa_buffer.
endloop.
translate wa_buffer using '~'.
do.
i_record = wa_buffer.
append i_record.
shift wa_buffer left by 255 places.
if wa_buffer is initial.
exit.
endif.
enddo.
Attachment
refresh: i_reclist,
i_objtxt,
i_objbin,
i_objpack.
clear wa_objhead.
i_objbin[] = i_record[].
Create Message Body Title and Description
i_objtxt = 'PFA are the Service Entry Sheet details.'.
append i_objtxt.
append initial line to i_objtxt.
describe table i_objtxt lines v_lines_txt.
read table i_objtxt index v_lines_txt.
wa_doc_chng-obj_name = 'Service Entry Sheet '.
wa_doc_chng-expiry_dat = sy-datum + 10.
wa_doc_chng-sensitivty = 'F'.
wa_doc_chng-doc_size = v_lines_txt * 255.
concatenate 'Service Entry Sheet' nast-objky(10) into wa_doc_chng-obj_descr separated by space.
Main Text
clear i_objpack-transf_bin.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_txt.
i_objpack-doc_type = 'RAW'.
append i_objpack.
Attachment (pdf-Attachment)
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
describe table i_objbin lines v_lines_bin.
read table i_objbin index v_lines_bin.
i_objpack-doc_size = v_lines_bin * 255 .
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'smart'.
i_objpack-obj_descr = 'Service Entry Sheet '.
append i_objpack.
Get email id .
clear i_reclist.
i_reclist-receiver = '[email protected]'. "email address
i_reclist-rec_type = 'U'.
append i_reclist.
if i_reclist[] is not initial.
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = wa_doc_chng
put_in_outbox = 'X'
commit_work = 'X'
tables
packing_list = i_objpack
object_header = wa_objhead
contents_bin = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
if sy-subrc <> 0.
Error When Sending the File
retcode = sy-subrc.
perform protocol_update1 .
endif.
endif.
else.
Error When generating the File
retcode = sy-subrc.
"perform protocol_update .
endif.
Reward if u find it useful
Regards
Arun T -
Dynamicaly print logo on smartform(if a person email id change logo ischang
hi expert,
actually i want all the variable of smartform in one table.
so i crated ztable,
my logo is in database i want to fetch the logo from z table .
(v_logo logo name in table how can i fetch logo from database with refrence of email id of person)
so plz suggest me step by step method.
i am working on hr module.
condition is if pernr (person)email id chang logo is also change both fields are in one table .Hi
This is very simple, create all the logo's with the actual name of the person or perner.
Use a select query on your table and pass the value of the seleceted record as the name of the graphic in the smartform node.
Something like this:
MAPPING TABLE"
PERNER IMAGE_NAME
0001 0001
0002 0002
in se78, you logo name should be '0001' , '0002' and so on....
in smartform, based on ur pernr, select a record from mapping table and pass the value of the image name to a variable in the graphics display node.
this should solve your prob.
Cheers
Ravish -
Background colour in logo for smartforms
I need to attach one logo with in Smartforms .I am having a bmp image file with proper white background .
But , when i am uploading the same thru se78 to be used in the smartform , the preview of the same in se78 is coming with grey background and correspondingly the smartform output is also coming with grey background for logo .
Is there any way to edit the grey background shade of the uploaded logo to white ?
Thanks in advance .Thanks Kishan .
Changing the settingsof the bmp image to 256-bitmap image before uploading and using it in the form resolves the issue .
I have one more concern regarding uploading tiff images . How to go about that throuh se78 ? -
How to change background colour in a logo of Smartform
Hi All,
We are using a logo in a smartform.It has white background in original but when imported to SAP the background is appearing as grey color.
Please provide any pointers to impart the actual background color.
Thanks in advance
Prathima
HyderabadHi,
The problem for a grey background is related to the way the image is saved. If you are using Paint there are options for the number of colours when you save the image (16 color, 265 color etc), I forget which is the best to use (this has come up on the forum before, so maybe a search will help you).
Experiment with these setting to find the best result.
Regards,
Nick -
Dear All
Can I use a logo in my smartforms, which i have created in <b>oaer</b> transaction for the alv reports , with out creating it in <b>se78</b> again. kindly give ur suggestions.
Regards
Bunty.Hai Bunty
you can upload BMP files through Tcode SE78
also check the following
First Download it to your PC and then Upload it again with Different name.
For Download you need to use the Class CL_SSF_XSF_UTILITIES
in this class you have to call the method GET_BDS_GRAPHIC_AS_BMP
to get the image in xstring format .
now download that to PC using GUI_DOWNLOAD and then upload it with Different name.
Regards
Sreeni
Maybe you are looking for
-
D7260 save memory card contents
Hi, I want to use the memory card reader on the Photosmart D7260 printer. View works OK. Save fails, it says "Not set up you need to install device software" Where do I find this required software? All printing aspects of this printer work OK The OS
-
Magic Chart affects the title of a slide
In Keynote, I have a presentation where I've inserted an interactive bar chart on to a slide. I've used the Magic Chart animation to the chart and, whilst it works well, it's affecting part of the Title of that slide. Each of my titles has a border s
-
Problem with email setup in iPhone after changing to secure settings
When changing account settings to use Verizon's new secure email settings, my iPhone keeps giving error " Can not get Mail, the mail server incoming.verizon.net is not responding. I am using port 995 with SSL as instructed. Switching back to the stan
-
Getting B2B-51512 while processing 997
I verified 997 file and I don't see anywhere it is having 4010 in the EDI, but when I trying to process it, it is getting following error.. Will anyone pls advise any issue here..thanks! Error Code B2B-51512 Error Description Machine Info: Validation
-
Is it possible to set my IPhone 5S to automatically backup to the Verizon cloud or to backup assistant. The only settings I see is where it will remind me to do. Can it be set to automatically do this, like my Droid did.