Printing vertical text in SMART FORMS
Hi,guys iam fresher to this environment and i just want to print vertical text in SMARTFORMS.Will you please provide any information regarding this.
Hi Raja,
As far as my knowledge its not possible in Smartforms.
I had the same requirement , what I had done is I have created a text in word and saved that as BMP and used that logo inside that window. But the requirement for me was that the TEXT was Static means it was not changing.
Reward points if Helpful
Regards
Avi.........
Similar Messages
-
Print Vertical on a smart form
Hi All,
I want to print some dynamic text on the smart form, some part of it has to be printed vertically.
please suggest how to do that.
Thanks,
Pankaj SharmaHi!
The most, what Smartform can do for vertical printing (and SAPScript also) is to print like this:
H
E
L
L
O
W
O
R
L
D
Or you can scan vertical texts as an image and print them like a BITMAP.
Regards
Tamá -
How to allow, user to enter the free text in smart forms and Drop Down list
Hi Experts,
How to provide the user to enter text in smart forms? ie Once the smartform generated, there the user allowed to enter text.
And also is there any option to provide Dropdown list in smart forms.
Possible give with example with clear idea.
Its very urgent!!!!
Thanks in Advance!!!Hi!
No, there's no way to it, because Smartform is just like a piece of paper, it can't handle any objects, after it is ready.
It can be printed out/archived/sent on email as an attachment and that's all. It cannot be modified after it is completed.
Regards
Tamá -
Undeline text in Smart forms character/paragraph format
hi!!!
i have a problem in printing a Undelined text in Smart forms bec. when i print it, only the words is underlined and the spaces between the words dont have underline.
can anybody help me?
thanks in advance!!!
jamesHi Mohamed,
SmartForms and WebDynpro are two different technologies
- You can not do PrintPreview in WebDynpro.
What You could do is to store Your text using SAVE_TEXT and use text module in SmartForms,
but You can't use printer, but i.e. store PDF on the server or send PDF using mail.
Regards,
Przemysław -
Background colout to text in Smart forms
Hi Folks,
I have a requirement to take colored print out from Smart forms. I have to assign background color to the text in Smart Forms. Is it is possible? If yes, then how it can be done?
Thanks in Advance,
PunitHi Punit,
Yes definitely it is possible to do so. Just follow few steps mentioned below
1. Select the text node for which you want the background color.
2. Click on the output tab.
3. In the shading option, choose the color yuo want in background.
4. save activate and thats all..........its done..
Let me know if you ave any prob in this..
Enjoy SAP.
Pankaj Singh. -
How can i print currency symbol in smart form?
how can i print currency symbol in smart form?
i want to print the currency symbol with grant total based on the vendor currency.
pls hepl............Hi,
think You can't print the symbols for currency like $ and Pound etc
see this doc if needed
A variable in SAPscript is called a symbol. There are the following types.
System symbol (e.g. the number of the current page)
Standard symbol (usable in any document)
Program symbol (value from the print program)
Text symbol (local variable)
The value of a symbol is text for using within SAPscript code and is represented by the symbol-name enclosed by ampersands. On seeing the tell-tale ampersands in SAPscript code, you sometimes need to figure out the symbol type.
goto any PAGEWINDOW's Text elements in Script (SE71)
from the Menu-> INSERT-> Symbols
you find all symbols here
System symbols
System symbols in a SAPscript form are comparable to system fields like SY-UZEIT in an ABAP program, and include these. The graphical editor offers three types of system symbol.
1. General system symbols
See the table TTSXY. PAGE is the most widely used. The list given in our BC460 training manuals is out of date.
2. SAPscript system symbols
See the dictionary structure SAPSCRIPT. SAPSCRIPT-FORMPAGES is the most widely used.
3. ABAP system symbols
For the ABAP system field SY-UNAME, say, the symbol is SYST-UNAME. http://SYST is the dictionary structure for ABAP system fields.
Sample code:
User: &SYST-UNAME&
Page &PAGE& of &SAPSCRIPT-FORMPAGES(C3)&
Standard symbols
Standard symbols are maintained centrally (in the table TTDTG via transaction SE75) for use in any document. Menu path:
Tools
Form Printout
Administration
Settings
Some standard symbols are SAP-standard and others are custom. Curiously, table TTDTG is cross-client although SAPscript forms are not.
The value of a standard symbol has to be defined for each language used. This gives a way to make a single SAPscript form multi-lingual.
We can take advantage to an extent of the central maintenance, though there is no guarantee that the available standard symbols will used in every appropriate context.
Standard symbols complicate searching a SAPscript form, since text like Charity registration 211581 may be hiding in a standard symbol.
Text symbols
A text symbol is declared and assigned to within the SAPscript code, and so obviously applies only to the current document. The command DEFINE is used, requiring /: in the tag column, as in the following examples.
/: DEFINE &COMP_NAME& = University of Warwick
/: DEFINE &WS_RATE& = &TAX_SUMM_C&
Reward points for useful Answers
Regards
Shiva Kumar -
Hi,
Can you pls tell me how to print bar code in smart form?Hi,
You create a bar code or change a bar code in the font maintenance transaction (transaction SE73). To do this, proceed as follows:
○ Start transaction SE73, and choose System Bar Codes ® Change.
○ If you create a bar code, the system asks whether you want to use the new bar code technology or traditional system bar codes. Choose New.
You can enter a name and a description for the bar code. Note that the name must begin with a Zto avoid conflict between your bar codes and the standard bar codes.
2. If you have created a new bar code, you must now add this to a Smart Style as a character format. For information about this, see the section Maintenance of Styles with the Style Builder and its subsections in the Smart Forms documentation.
If you have only changed the bar code, continue with the next step.
3. You can now select text in Smart Forms and choose the corresponding style with the bar code as the character format for this text.
4. You can then print the bar code.
Refer
https://forums.sdn.sap.com/click.jspa?searchID=10581664&messageID=3321556
Check the pdf below..
http://www.sap-press.com/downloads/h955_preview.pdf
Regards
Kiran
Edited by: Kiran Sure(skk) on Apr 10, 2008 11:01 AM -
Print Charts/Graphs on Smart Forms
Hi Seniors,
Here is a requirement on Smart Forms:
I need to print Charts on Smart Forms. I have been through many answers on SDN but unfortunately, there are not many appropriate solutions. I executed some standard reports and got Charts and graphs as output but am not able to use it to display the same on Smart Forms. I have even tried using classes for charts / graphs, business graphics(may be there would have been some sequential procedure for that).
In the Smart Form, I have tried Form Attributes>Output Options>Output Format--> XSF output
with output mode: 'Spool' and Output Device: 'XSFOUTDEV' from help.sap(I couldn't get what output device that was and was unable to execute).
I have tried executing transaction GRAL(demo reports for SAP graphics) too.
I found a report that would produce graph in Excel, I executed it, saved the graph from excel in '.bmp' format in SE78 and then printed it on Smart Form. But all I want is to have it done dynamically.
I saw answers that we can save the graph chart/graph onto the desktop, upload it and then display it on the Smart Forms. But, when i tried it, I saw that it could be saved only in '.dat' format. I have to save it dynamically in a supported format like '.bmp' and print it on the Smart Forms(the graph would change depending upon the input values). Please help me resolve this.
Thanks in Advance,
Chaitanya.Dear Bouman,
Thank you for the reply. I can write a report if would helps me to upload images dynamically. I saw your program but, here we cant give the name of the chart that comes as output. I tried to save the chart but it comes in '.dat' format but not in '.bmp' format. We may be having some classes or function modules that we need to call in a particular sequence. What other options do we have. Please help me resolve this.
Regards,
Chaitanya.C.N -
Hi ,
Im using the standard text in smart forms, but Im getting the output displayed as hexadecimal numbers. These are the hexa characters stored in the "SO10" transaction for the standard text name.
I try to display a signature stored in standard text.
But when used in SAP scripts I get the content displayed correctly.
Can someone help me to display the content in smart forms as such.
I searched the forum for the solution I got some results for the search but I did not get the solution for it.
Points will be rewarded for helpful answers...
Rgds,
Sarath.
Message was edited by:
Sarath kumar ChandrasekharanRama,
The problem is the signature is in standard text.
Message was edited by:
Sarath kumar Chandrasekharan -
Hi,
can anyone tell me how to include standard text in smart form
ThanksProcedure
1. To create a text node, call the context menu for that node in the tree structure that shall
receive the text and choose Create Text.
2. Enter a unique name for the node and a node description (for example, letter).
3. On the General Attributes tab choose Include text as text type.
Since you edit a text element, an included text, or a text module exclusively via the
text node, the system stores only information on the selected type. When you
change the text type, the system therefore asks for your confirmation.
4. In the Text key box, identify the include text.
To identify individual text objects, use the search help in this field.
The search help of the Text name field allows you include the attributes of SAPscript
texts into the search.
7. If required, use the Paragraph formats box to format the include text:
The style assigned to the text node contains a format for the standard paragraph ('*'). If you enter a paragraph format in the Standard paragraph field, this format overwrites the style format for all standard paragraphs in the include text that use this paragraph format.
Use the First paragraph field to set a paragraph format for the first paragraph of the
include text. This format also overwrites the format set in the style. If you set the First
paragraph field but leave the Standard paragraph field empty, the system uses the
format set in the First paragraph field for any standard paragraphs in the include text.
6. In the Text node box choose whether you want the text to start in a new paragraph, in a new
line, or directly at the end of the current paragraph.
7. If desired, choose the Output Options tab to maintain the style or box and shading
of the text.
Result
The system displays the node in the tree structure, including its name and description. The
included text is included only at the moment the form is processed.
Regards -
Regading Including Text in Smart forms
Hi gurus,
In vf02 they are giving some text . that text is going and saving in STXL table. I want to include this text in smart form.
After choosing include text in General attributes. I am giving
text object is vbbk
Text id is time
language en
but i don't know what i want to give in text name.
so plz help me.
S.Murali Naidu
Edited by: Murali Sreerama on Feb 6, 2008 10:12 AMHi,
Please use this code:: (reward pts)
DATA gt_text LIKE tline OCCURS 0 WITH HEADER LINE.
DATA: gt_lines.
REFRESH gt_text.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = 'your text id'
language = sy-langu
name = your billing doc no
object = 'your obj id'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = gt_text
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CLEAR: gt_line7,
gt_lines.
then to display that
LOOP AT gt_text.
IF NOT gt_text-tdline IS INITIAL.
CONCATENATE gt_line gt_text-tdline INTO gt_line SEPARATED BY space.
ENDIF.
ENDLOOP.
Edited by: rohitaash sharma on Feb 6, 2008 10:22 AM -
Purchase requisition header text in smart forms
Dear Experts,
i want to pick the header text in smart form from purchase requisition ( Transaction code me52n).Can any one tell me from which table i can find out the header text of purchase requsition. please tell me table name objectid for include.
Thanks in advance.
Regards
Maqsood AhmedHi,
Go to the screen where the long text is placed, From menu bar go to the header you will get the Object details.
Use FM READ_TEXT by passing those object details you will get the text.
Have a look in this link to use READ_TEXT
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+general&
Regards,
Satish -
Printing Chinese Characters in Smart Forms
Hi,
Iu2019m trying to print Chinese characters via smart forms. However during print preview or print, all Chinese characters are showing as # symbols.
I have researched and implemented for some possible solutions posted in the forum like:
a.) Setting the regional language control panel.
b.) Activating the multi-byte function in I18N.
c.) Checked the output device is SWINCF.
d.) Control parameter language is ZH (Chinese).
Unfortunately it still doesnu2019t solve the problem. Any input is highly appreciated.
With regards,
MarcRemark following basics:
Forms:
Language of the form must be: "ZH".
Due to a SAPNOTE only font family CN* (CNSONG etc.) is mapped.
For frontend print, you must install chinese true type on you local PC and print via "CNSAPWIN" .
For backend print, you must install neccesaary fonts in your printer to the resident fonts. You must use a printer like "CNHPL4" or so.
For PDF archiving, you must upload truetype fonts to application server -> basis guys.
Cascading Fonts:
If you mix different subfonts to unicode areas, you must use CNSAPWINCF.
Until now, only frontend printing is available.
Note:
Spool created for back end print with print preview is only a simulation of getting a picture of the output created with front end technology. So it can differ, when the printer does not have the resident fonts.
Regards,
Christian -
How to get item text in smart form
Hi ABAP Gurus,
i want to know how to get the item text in smart forms procedure i know but the logic where to define the variable ect.
code to get item text in purchase order.Hi
Smartform itself have a functionality to get
Item Text
create a text
change the Text Type to include type
der in u pass the required entery in the same way how u pass to read text entry
Text Name &ZXEKKO-EBELN&
Text Object EKKO
Text ID F03
Language EN
with Regards
Rohan Shetty -
How to print BAR code in SMART Form
Hi All,
I have the requirement to print BAR CODE in Smartforms.
For this, I create a character format with Bar code in style forms and create a text element in Smart form and associate bar code character format with this text element.
Now when I look the print preview for the data, then it shows me data in bar code format but not in right format i.e. its shows me all the similar block in bar code.
If you look the bar code in SAP script, its always show you bar code with similar block, but in SMART FORM it will show you exact bar code; as in SAP Script, bar code is generated at printer end and in SMARTFORM bar code is generated as graphic in SAP and then sent to printer for print.
PLease let me know, why in SMARTFORM its not showing BAR CODE in correct format in print preview.
Thanks
Piyush MathurHi,
To Create a Bar code prefix:
1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
The place where you are using the field value use like this
<C1> &itab-field& </C1>.
You will get the field value in the form of barcode.
Which barcode printer are you using ? Can you download this file and see.
http://www.servopack.de/Files/HB/ZPLcommands.pdf.
It will give an idea about barcode commands.
Check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
Detailed information about SAP Barcodes
A barcode solution consists of the following:
- a barcode printer
- a barcode reader
- a mobile data collection application/program
A barcode label is a special symbology to represent human readable information such as a material number or batch number
in machine readable format.
There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
You can print barcodes from SAP by modifying an existing output form.
Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
reward if useful
regards,
ANJI
Maybe you are looking for
-
I was wondering if anyone could help, the attached code displays fine in IE6 but the left hand column goes haywire in FF. Any suggestions? Thanks in advance! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1
-
Acrobat 8 Pro. Cannot Scroll/Edit if not Online
PDF files get stuck if I am not online -(the rainbow goes round and round and round). I am using an iMac and MacBook Air and I need to be able to edit offline. If I am online all actions are instant. Did I install it incorrectly? is there a box I sh
-
Compatibility with Adobe Image Ready ver. 7.0
I installed Leopard (10.5.2) and now Adobe Image Ready 7.0 (IR7) no longer launches. When I click on it to launch it the splash screen appears and the last thing it shows is "starting plugins" then the screen disappears but Image Ready is NOT loaded.
-
How to start GUI for VM?
Hi All, I have OVM 2.2.1 installed on server. On top of that I have created one VM using VM-template OEL5.5. This is done successfully. Now I want to install ORACLE 11g on this VM. For that I run "vncserver" command on this VM (console and command pr
-
How can I change the language of my illustrator cc? Its is in portuguese and I need in english
How can I change the language of my illustrator cc? Its is in portuguese and I need in english