How to Printe Graphics in Smart-Forms
Guys,
Need your help
Is it possible to print graph in smart form???
If yes, if you have any document, please pass it to me
Dhiraj
Hi Ram,
Go through this hope u can understand.
How to Upload graphics (IMAGE) to your Sapscript?
Command in your Sapscript
/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
These are the steps to be followed for uploading graphics in R/3 system
1. First save the file as BMP
2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
make it Zoom as 100% and save as *.TIFF
3. Open SE38 and execute program RSTXLDMC
4. Give your TIFF file path name
5. Select Bcol (for Color)
6. TEXT ID will be ZHEX-MACRO-*.
7. Inplace of * write your own logo name (ZCOMPANYLOGO)
8. Execute the program
9. Now Goto SE71 create your ZFORM
10. Create logo window
11. Goto text element of logo window
or
In 4.6x :-
1. Goto SE71 Change the mode to GRAPHICAL
2. Choose the Graph Tabstrips
3. Now type in some name for the LOGO WINDOW
4. Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP
5. The code will be written automatically. You just need to drag and drop wherever you want
the graphics to be.
/: INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
Reward points if help ful.
http://www.sap-img.com/ts001.htm
Sorry i think for Scripts ..
better to go for above post . it definetly works
Thanks
Naveen khan
Message was edited by:
Pattan Naveen
Similar Messages
-
How to print bullet in smart form
Hi Experts,
I have a requirement in smart form where different points of texts should come under a bullet.
Can you please tell me how to print bullet in smart form.
Note : I have to use Standard text
Thanks in advance
Bikashi
good
We can create bullets in smartforms.
For this change the editor to text editor and then
goto insert->characters->SAP Symbols and select the
symbol you want.
This may help your requirement.
You cannot see the bullets in print preview, it'll
appear only on a hard copy.
reward point if helpful.
thanks
mrutyun^ -
Unable to print graphics using smart forms
Please some one help in printer settings for graphical printing in smart forms.
Instead of graphic it interprits the graphics as a text and prints text.
please urgent...................help mehey no worries I got the answer thank you.
-
How to Print Vertically in Smart Forms
I need to print data in vertical format into columns in smart forms. Can any one give me the solution.
Hi Sreedhar,
In Smartforms, if you need to print vertical text, only possible way (That i know) is, Create a Bitmap image of the text and rotate the same to 90 deg and then use that image in your smartform....
If you can use adobe forms, you can rotate the text to any angle that you want....this is one of the main advantage of adobe forms.
Best Regards,
Ram. -
Dynamic graphics in Smart Forms
Dear All:
I have a requirement in my SMARTFORM page development that i have to place a dynamic graphics and printout.
Does anyone know how to control the dynamic graphics in Smart Forms?
Any help whould be highly appreciated.
Many thanks in advance.
Regards,
ElvisHello,
You can call the graphic dynamically as per your requirement by calling the Graphic dynamically, For ex: Name of the graphic: &WA_ITAB-FIELD1& ( which is a field of IntTab ITAB taken into Work area WA_ITAB ).
Also please note that you cannot print / overlay text in a diamond, perhaps you can have a work around to print the graphic and beside the graphic you print the Customer short name. for this you can either define a table / template.
Hope this helps you.
Best Regards,Murugesh AS -
Use of NACE after creating print program n smart form
Wat's d purpose of NACE?I hav created my own print program n smart form according to my own requirement.If NACE is necessary 4 my smart from.How can i use NACE i mean navigation steps.
Please help me out.Its urgent.
Thanks & Regards,
Santhosh.Hi Santhosh,
Nace is for message control settings. Say if u want to trigger a Smartform or an Idoc or any other customized program u can do the message control settings.
Say at the time of Sales Order creation or updation u want to trigger a Smartform, then u have to follow the following steps:
Goto NACE
Select application V1 and then click Output Type.
create a new Output type or copy the existing one abd save it with new name
then in Processing Routine Mention the driver program name and in Form routine mention the main subroutine name.
In Smartform mention your SMartform name and also the layout if u have ceated.
Again go to NACE and Select application V1 and press Procedures.
here out of the many procedures u have to select the right one and attach your Output Type to it.
You can also create a condition record..Say if u want to trigger this Smartforms for Sales Order of particular type.
Hope this helps.
Reward Points if useful.
Thanks. -
Passing printer name to smart form
Hi,
How to pass more than four characters printer name to smart form function module name. Please help me. I will give points.
Thanks.Hi,
Thanks for your reply but there I can pass maximum four character printer name but my case printer name contains 12 characters. If I pass 12 characters printer name it is considering first four characters and it is displaying printer name is not found. So please tell me how to pass more than four characters printer name.
Thanks. -
How to Generate a complex smart form for the Sales Order different pages h
How to Generate a complex smart form for the Sales Order different pages has different page Layouts explain me?
in print program in interface when calling the form there should be some option to tell it to make a NEW spool everytime.
I have it in mind for sap-script it is ITCPO-TDNEWID. Dont have it in mind for SAMRTFORMS but still it should work somehow similar. -
How can print a report from form 6i, when I press a button?
hi Friends,
How can print a report from form 6i, when I press a button?
When i press a button from Form 6i, the report should print through printer.
I have done it by using report parameter DESTYPE Printer but problem is that when I press a button printer dialogue box appear and then I give command Print to printer, I don’t want to show Printer dialogue box.
I want when I press a button form Forms 6i , printer will print my report directly.
Please send me the solution of this problem.
Best regards,
ShahzadHi
If You are using Client server application then to passing to Add all Print Parameter in the Host Command.
Means Print command in unix to Host(lp.............) and Other Parameter to file name of the report to print.
If You not Use Client Server Application the Also Passing a Host Command in Button-Pressed Event and Run. -
How to Mask URL in Smart forms
Hi,
i wanted to mask the URL in my smartform so that it is concise and readable, like suppose url is like this http://www.myurl.com/pages/abcd&attr=19093 i wanted to create text which is something like click here on clicking click here it should take me to the desired page which the above mentioned URL ( http://www.myurl.com/pages/abcd&attr=19093 ) actually navigates.
How can i achieve this Smart forms??
Please suggest
Edited by: kranthi kumar on Oct 29, 2010 12:56 PM
Edited by: kranthi kumar on Oct 29, 2010 12:59 PMHi Aidan,
Thanks for your answer, Just got an alternative solution, when i got XSF output from smartform function Module, the same XSF output (me->sf_job_output-xmloutput-trfresult-content) i used in below method to convert to string.
CALL METHOD cl_hrrcf_cs_sf=>convert_xsf_html_to_txtstring
EXPORTING
content = me->sf_job_output-xmloutput-trfresult-content
IMPORTING
html_string = me->doc_properties-output_c
html_tab = me->doc_properties-output_c_tab.
later i realised that URLs in the smartform has got corresponding HTML code as below in the (me->doc_properties-output_c_tab).
<a href="https://www.google.com">
<span>
https://www.google.com
</span>
</a>
when i changed the link in the debugger https://www.google.com which was inside
<span> </span>
to "Click Me", the output was as i expected in the E-Mail which showed me Click Me and when i click that it took me to google web site.
so i decided that i would change this table(me->doc_properties-output_c_tab.) for every URL in code, though it did not seem like right solution, as suggested in this forum there is no straight solution for this, i have no other option.
Please comment.
Thanks,
Kranthi.
Edited by: kranthi kumar on Oct 29, 2010 9:43 PM
Edited by: kranthi kumar on Oct 29, 2010 9:44 PM -
Include a pie chart graphics in Smart Form
hi ,
my req. to include a pie chart graphics in Smart Form .
my logic
1) write a pie chat program using the data .
2) convert into bmp and upload into se78
3) include the pic in smart form .
is there any other way
can u please mention the class and method to include the picture directly .
currently i have downloaded the pic in the local server using the
CALL METHOD GP_INST->IF_GRAPHIC_PROXY~EXPORT
EXPORTING
FORMAT = 3
WIDTH = 1000
HEIGHT = 3000
NAME = 'c:\s'
IMPORTING
CONTENT_TYPE = ct
CONTENT_LENGTH = cl
CONTENT = t
RETVAL = RETVAL
but the picture is not visible ( not in jpg format) . its not readble.
am attaching the code .
its urgent , please reply.
cheers
senthilThanks problem resolved.
-
How to use Read_text in Smart Forms for printing Header Texts
Dear ALL,
I want to print Header Texts in SmartForms, For that
I am using T/Code VL02N .. and choosed Header ..
got this details... from Text Header.
Text Name :0080000441
Language :EN
Text ID :Z002
Text Object :VBBK.
So in Smart forms Under Template i have created a text and Program Code .
Inside that I have used this below code .
CALL FUNCTION 'READ_TEXT'
EXPORTING
*CLIENT= SY-MANDT
ID = 'Z002'
LANGUAGE = SY-LANGU
NAME = NAME
OBJECT = 'VBBK'
TABLES
LINES = IT_TLINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
IF SY-SUBRC 0.
CLEAR IT_TLINE.
ENDIF.
Kindly suggest me, Where to declare the variables and loops for using this Read_Text Syntax in Smartforms .
Response to this will be highly appreciated........
Regards ,
Vinoth.hi
good
please check this code
CONSTANTS:
*For text reading like in LCNMMFTX / FORM SET_CONTROL_TEXT
text_id like thead-tdid value 'MATK',
text_obj like thead-tdobject value 'AUFK '.
data tlines like tline occurs 0 with header line.
data tdname like thead-tdname.
data tdheader like thead.
if not it_proj-ltxsp is initial.
refresh tlines.
tdname = sy-mandt.
tdname+3 = it_proj-rsnum.
tdname+13 = it_proj-rspos.
tdname+17 = it_proj-rsart.
call function 'READ_TEXT'
exporting
id = text_id
language = it_proj-ltxsp
name = tdname
object = text_obj
importing
header = tdheader
tables
lines = tlines.
exceptions
not_found = 01.
thanks
mrutyun^ -
Hi all,
how to view the print preview of a smart form and how to debug the smart form
Thank YouSMARTFORM-> execute->execute->pass values if require to import & table parameters ->execute-> on the pop up window give Printer name as LP01 and press print preview.
For debussing -
1. write BREAK POINT in the code window.
2. Put a break point on the call function in the driver program
3. put a brak point in the generated Function module.
Refer this link too -
Re: smartforms
Regards,
Amit -
How to upload Graphic in ADobe forms
Hi Guru,
I have a requirment to upload the Graphic to Adobe forms .
How to I use the logo(Graphics) which is stored in the application server
I have 2 sales organizations which has different "LOGOs" used. Same Adobe form is used to print Invoices for both sales organizations. When I print Invoice for a particular sales organization, I need to print its "LOGO" and when same adobe form prints the invoice for another sales organization it should print its logo.
How can i control the above situation dynamically ?
Please help.
thanks ,
Raju sHi Raju,
Images in a Adobe form can be embeded in 2 different ways.
Approach1: This is static approach form would have only one image at all times which is refered by the file name (alter natively if you can manage to place different images with the same file name at runtime then this can be dynamic)
1) have the image located in the application server path.
2) Have the Emage lement in Adobe form pass the file location path to the element source.
3) At run time it will fetch the file from the location.
Approach2: (I am not a core abaper so not sure how its done but we have done it for a mobile application)
1) using your abap code read the image from the location (find out how to pick the org specific's image).
2) convert the image into byte stream.
3) pass on this byte stream to the form via a string field.
4) in the form have the image field.
5) this time here instead of selecting the path, bind it to this particular field from the data source.
i think there are coup[le of blogs here @ this, please search it ..
Cheers,
Sai -
Print portrait orientation smart forms zebra printer
Hello,
I have designed a label with smart forms. The dimensions are the following: width = 11 cm. Height: 15 cm. The label has been designed in portrait form but the zebra 105 SL printer print it in landscape format. Does Anybody knows how to fix this problem ?
Thank you.Hi,
You didn't check your printer settings in Printers and Faxes in control panel. It cannot happen the way you say.
Feel free to revert back.
--Ragu
Maybe you are looking for
-
VPN no longer accessible after OSX Server 4 upgrade
I was using mavericks server on a mac mini and I had the vpn working perfectly for l2tp. I recently upgraded to Yosemite server and now I can no longer connect to my vpn. Testing internally I can see that the port 1701 is not open on the mac mini.
-
PC taking a LONG time to load everything before the win logo, after BIOS update.
Every single time I turn on my PC, it takes a REALLY long time to start the first DOS-like screen and then it takes another while before the windows logo shows up. About 4-5 mins before the win logo. It used to be fast and sweet before updating my MS
-
Tricky Time Capsule Networking
Hello all! Now, it may be that I'm very confused, and it may be that I cannot find the answer here and will have to speak to the people who run my network. But I thought I'd try first with you friendly people before I have to take on the daunting tas
-
Disable the adobe reader extension
I am creating a form in Live cycle designer 8.2 - Previously I enabled the reader extensions in Acrobat 9.0 Pro. I now want to put a hyperlink to a particular page - (normally I would use the link option in Acrobat pro. This is greyed out because it
-
Will trinidad components partial triggered on partial submit
Hi All, I have a quick question is there any issue with with partial submit vs trinidad components? i experienced that my components under trinidad layout are not partialtriggred on partial submit i am using jdev 11.1.1.5