Printing symbol in text of smartform
Hi All,
I need to write a symbol (tick mark) in text of smartform.
Can anyone help me?
Thanks,
Bipen
Hi
You can use the table ICON and the field ICON_OKAY
or copy the icon from Word and try to paste the same
or type <709> in change editor
Regards
Shiva
Similar Messages
-
Printing Form Header Text in Smartforms
Hi,
I have created smartform for SD module.I am printing Form header text in a window by using loop.I am getting the text with the help of READ_TEXT function module.It comes as we type in Form header.But the problem is if they type more than 15 lines it is not printing.I want to print the rest of the lines in next page.How to do this?Hi,
In smartforms, only the main window is a dynamically varying one.
So give your include text concept in the main window..
so that if your text increases more than a page, it will be printed in the next line..
You can maintain your text in so10 transaction.. with text id and text name..
using include text u can simply give the Id and text name in forms, you will get the enetered text.
regards,
vijay.R -
Adobe printing web pages - prints symbols not text
I am using Adobe Acrobat Pro 9 Version 9.5.0 on a PC running Windows 7 with IE 9 V9.0.8112.16421.
When I print from certain web pages, for example flight documents using the printer icon and printing to the Adobe PDF printer the resulting pdf file has symbols rather than text. For example, "Erhlqj#" rather than "Boeing". The 'fixed' graphics text prints ok and if I cut and paste the symbol text into another document, such as an e-mail, it prints correctly i.e. "Boeing" rather than "Erhlqj# "!
If I use the toolbar Convert button to product the pdf it is correct. I've tried 'Repair Acrobat Installation" but it made no difference.
Anyone any idea where the problem resides? It was working ok until a few months ago.
See example below: top line is how it views in the pdf, second line is how it views on the website.
CheersClear the Use Document Fonts option from the Preferences tab at the Print Dialog
-
Print the Long text in Smartform
Hi all,
I designed a Work order document using Smartform for the T-Code 'IW32'.
I am able to print the Operation short text, but there is one more provision for the user to enter long text also.
I am not getting where this text gets stored in the database.
Any one can give me some solution to over come this problem.
Regards,
Ravi Shankarhi Ravi,
check this link
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/faq
here in FAQ , you will know abiut how longtext is created and where it is stored
it might be helpful to you.
thanks
Sachin -
Problem printing horizontal text in smartform with zebra Z6M label printer
hello,
The situation is this:
There is a Z smartform wich prints a label to a zebra Z6M label printer with the text and barcodes vertically.
The form have a command in the main windows with the parameter: S_LZPL_SETUP '^FWR'
This label works fine, but the client want to change the form, they have told me to create a new smartform and print the info horizontally, using the same printer.
The tests i have done are the following:
create a smartform from ground and write a template text and a barcode with a new font of system barcodes. the bardoce is shown ok(it is shown horizontally), the problem is that the template text is shown vertically, as in the original smartform.
then i tried on another zebra ZM600 label printer, similar model, but not the same, and the smartform printed was ok (text and barcodes shown horizontally). So i think is a configuration setting problem, but i dont know where to search.
i have checked the label printer parameters in SPAD, but didnt find anything souspicios.
have you any idea?
thanks in advance.See these if they be of any help.....
BARCODE:
goto smartform styles-> create a style-->
create a character format.
under standard settings give the bar code name
use this style in ur smartform. select the data field which u want to barcode print and assign the character format
Similarly
SAPSCRIPT
open the form and click the character format button and
repeat the step as above....
http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/frameset.htm
Go to Character formate in your form.
create a new char formate with enable BAR code AND
you can give its type too.
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://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
Check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
Hope this link ll be useful..
http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
go through these links and cose u r previous threads,
http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
smartform - barcode
http://www.erpgenie.com/abap/smartforms.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
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.
Creating Bar code:
) 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.
Check this thread for detail information.
How to print Barcode in te SAP SCRIPTS? -
Print Invoice Header Text In Main Window of Smartforms
Helo Gurus !!!
I want to print Invoice header text in main window of smartform.
There are total 5 columns.
Item Quantity Description UnitPrice Amount
Now what I want is to print header text below Description column, there is a loop on the table in main window.
This header text will be printed only once. This is a standard header text
How to get this?
Points are assured !!!Hi Anay Kulkarni,
I understood that u need to print this header text
Item Quantity Description UnitPrice Amount
So please use TABLE instead of LOOP in the table we can prin header, main area, footer.
place the header text in header area in table... i am sure this can resolve it.....
feel free to contact me if issue is not resolved/.....
dont forget to reward points....
all the best...
Regards,
Sreeniasa Sarma K. -
Print Arabic text in smartforms
Hi,
How to print Arabic text in smartforms, where i have to write in arabic please help me as soon as possible.
Thanks,
MSA.Hi,
create the text in Arabic .
ex: goto SO10 give the text name and language is Arabic.
when u call that pass the language as Arabic.
ex:
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = txt_id
language = txt_langu "Rabic language.
name = txt_name
object = txt_obj
TABLES
lines = t_line.
Regards,
Venkat. -
I have a HP Laserjet 3055 and when printing pdf, the text is full of symbols and rubbish.
I use Adobe 8.0 and never had problems before. Who can help me, this is driving me crazy! Printing Word is okay.
ThanksThanks a lot!
-
Conditon in smartforms to print an include text
Dear all ,
I am printing a PO which includes a special instructions at the end of PO.
So, there are 8 lines in the special instructions.
In the 7th line there is a text related to warranty.
All the 8 lines are printed in same Text.
Now the requirement is ... in the 7th line i need to print an include text which is being fetched from me22n transaction.
If the include text is initial then the layout should remain as usual . else the include text should be printed in the 7th line.
Remember ,, all the 8 lines are in one text only...
Kindly guide me ,Hi Rahul,
use the READ_TEXT function module.
CONSTANTS:
c_txtid TYPE thead-tdid
VALUE 'F08',,
c_txtobj TYPE thead-tdobject
VALUE 'EKKO',
c_lang TYPE thead-tdspras
VALUE 'E'.
DATA:
lt_lines TYPE STANDARD TABLE
OF tline.
DATA:
lfs_line TYPE tline,
lfs_ekpo type ekpo.
DATA:
lw_name TYPE thead-tdname.
READ TABLE IT_EKPO INTO lfs_ekpo INDEX 1.
IF SY-SUBRC EQ 0.
LW_NAME = lfs_ekpo-EBELN.
ENDIF.
data:
GT_TXTLINES type STANDARD TABLE OF TLINE,
GFS_TXTLINE type tline.
refresh GT_TXTLINES.
clear GFS_TXTLINE.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = c_txtid
language = c_lang
name = lw_name
object = c_txtobj
archive_handle = 0
local_cat = ' '
IMPORTING
HEADER =
TABLES
lines = GT_TXTLINES
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.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
read table GT_TXTLINES INTO GFS_TXTLINE INDEX 1.
Regards,
Pratap -
How to print a tickbox in SAP smartform
Dear All,
Can anyone help as to how to print a tickbox in the smartform.
A tickbox is a blank checkbox with a tick in between.
The symbols <697>(Crossed checkbox) and <727>(Blank Checkbox) do not serve my user requirement.
Regards,
RijurajDear Deepak,
Thanks.This is the closest solution we could get to
[<709>].
With the same line of thinking we can also have,
[<769>]
or
[<799>].
We can also highlight the square brackets to "Bold" if required.
Best Regards,
Rijuraj
Edited by: Rijuraj Raju on Sep 21, 2011 1:00 PM -
How to control formatting of include text in smartform
Hello Everyone - I have converted sales order acknowledgements from sapscript to smartform. I need to print material sales text at line level. Include text method is being used, it works in most cases. However, in some cases the Std Paragraph format coded in the include text, is being ignored and the text prints as per default standard paragraph format defined in the smart style.
The only difference I could find in the text set up, using read_text function, is that the format character for the first line. The desired formatting is achieved when the formatting character is '*', otherwise the format defaults to the standard default paragraph defined in the smart style.
Could anyone suggest if there is a way to keep the paragraph formatting consistent and always use the formatting defined in the include text.
Thanks in advance,
AnilI have resolved this issue. The include text node was defined twice for the form and I had only assigned standard and first paragraph to one of them. The alignment error occured when the second include text was executed. Modified the second node to be same as the first and all worked as expected.
-
Print material po text in the main window of pur. order
Hi experts,
Here is my issue regarding MATERIAL PO TEXT in smartform of purchase order:
I want to get the material po text in the material description field itself or beside to this column in the mainwindow only in the print of purchase order
so please let me know how to read the material po text to a internal tab field.
very glad for ur replys
TNQs n REGARDS
mahathmaHi TNQs for ur responce.
i want to get the item text in the main window beside to material description column .
i think u got my point actually we'll have item texts for each item , i want to get the text of each item in that row only
i used include text and i gave following attributes
Text Object : EKPO
Text ID : A03
Language : EN
just tell me ,should i need to give any code for this.
thanks and regards, -
Dear All,
I had come across one issue.
In the Purchase order print i am printing the item text and also the header text.
But in this if it is having the symbol " & " then the text after the "&" symbol was not printing.
After that symbol it was skipping.
Can anyone help me in this.Hi,
'&' is used for priting variable's values e.g suppose there is a variabel 'lv_var' and if i want to print the value of it in script i have
to write code as '&LV_VAR&' (& in the start and end of the variable name), and this is why the text after '&' in your line item, is
not getting printed.
To resolve this issue just replace '&' with 'and' (hope is is being used for AND).
Regards,
Raj Gupta -
Probelm in printing tabspace in barcode thro smartforms
Hi Friends,
I want to print the Barcode label thro smartforms. My code is as follows,
I want to use TABSPACE separation in between fields instead of SPACE how do i do this pls guide me for the same. I am using SAP ECC 5.0 version. So i tried using SEPARATED BY cl_abap_char_utilities=>HORIZONTAL_TAB but i am getting ' # ' sign in it. so pls help how to do it?
DATA: GT_LINES TYPE STANDARD TABLE OF TLINE,
GS_LINES LIKE LINE OF GT_LINES,
NAME LIKE THEAD-TDNAME.
GS_HD_GEN = IS_BIL_INVOICE-HD_GEN.
NAME = GS_HD_GEN-BIL_NUMBER.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'ZFOR'
LANGUAGE = 'E'
NAME = NAME
OBJECT = 'VBBK'
TABLES
LINES = GT_LINES.
IF SY-SUBRC = 0.
LOOP AT GT_LINES INTO GS_LINES.
IF SY-TABIX = 1.
TDLINE = GS_LINES-TDLINE.
G_STR4 = TDLINE."GS_LINES-TDLINE.
ELSEIF SY-TABIX = 2.
G_STR4 = TDLINE."GS_LINES-TDLINE.
ELSEIF SY-TABIX = 3.
G_STR4 = TDLINE."GS_LINES-TDLINE.
ELSEIF SY-TABIX = 4.
G_STR4 = TDLINE."GS_LINES-TDLINE.
ENDIF.
CLEAR GS_LINES.
ENDLOOP.
ENDIF.
DATA LV_DEPEXNUM LIKE J_1IRG23D-DEPEXNUM.
GS_HD_REF = IS_BIL_INVOICE-HD_REF.
SELECT SINGLE DEPEXNUM FROM
J_1IRG23D INTO LV_DEPEXNUM
WHERE VBELN EQ GS_HD_REF-DELIV_NUMB.
DATA: GV_DATE(10).
WRITE GS_HD_GEN-BIL_DATE TO GV_DATE mm/dd/yyyy.
DATA : LV_STR(15)." LIKE IS_BIL_INVOICE-HD_GEN-DPEND.
read condition header data
gs_hd_kond = is_bil_invoice-hd_kond.
*reading excise data
CLEAR: GS_HD_REF, GS_HD_GEN.
READ TABLE gs_hd_kond INTO gs_hd_kond_w WITH KEY kschl = 'JEXT'.
LV_STR = IS_BIL_INVOICE-HD_GEN-DPEND.
read ref data
GS_HD_REF = IS_BIL_INVOICE-HD_REF.
read gen data
GS_HD_GEN = IS_BIL_INVOICE-HD_GEN.
clear: g_str, g_str1, g_str2, g_str3.
concatenate
IS_BIL_INVOICE-HD_REF-PURCH_NO
LV_DEPEXNUM
*GS_HD_GEN-BIL_DATE
GV_DATE
G_STR4
LV_STR
into g_str SEPARATED BY SPACE.
clear: g_str1, g_str2, g_str3.
LOOP AT IS_BIL_INVOICE-IT_GEN INTO GS_IT_GEN.
IF SY-TABIX < 10.
CLEAR G_STR1.
g_str1 = GS_IT_GEN-FKIMG.
concatenate g_str
GS_IT_GEN-CUST_MAT " AR ++ 29.07
GS_IT_GEN-SHORT_TEXT " AR -- 29.07
g_str1
into g_str separated by SPACE.
ELSEIF SY-TABIX < 9.
CLEAR G_STR1.
g_str1 = GS_IT_GEN-FKIMG.
concatenate g_str
GS_IT_GEN-CUST_MAT " AR ++ 29.07
GS_IT_GEN-SHORT_TEXT " AR -- 29.07
g_str1
into g_str separated by SPACE.
ELSE.
CLEAR G_STR1.
g_str1 = GS_IT_GEN-FKIMG.
concatenate g_str
GS_IT_GEN-CUST_MAT " AR ++ 29.07
GS_IT_GEN-SHORT_TEXT " AR -- 29.07
g_str1
into g_str separated by SPACE.
ENDIF.
ENDLOOP.Hi,
There are two types are barcode existing in sap like system barcode and printer barcode. Use Tcode SE73 to create any of those.
If you want to create your own customized barcode then you have to opt system barcode. Here while creating barcode it will ask whether to create new barocde or copy of existing barcode.
However by taking into consideration your requirement, you have to create system bar code.
Goto SE73->System barcode->change-> create new barcode->New barcode technology.
Here you have to mention barcode name and short text. then supported barcode symbology like C39,C128, code93 etc.
After selecting any of the symbology, you have to choose Bar Code Alignment: like normal. inverted, etc. Then specify other barcode parameters like height,width, barcode ratio etc.
Then try to print any text element with this customized barcode as per your requirement.
Like you can print text element with smartform style, here you can include your customized created barcode in character format. While creating charactor format, give name of your customized barcode in standard setting->name.
Then print text element by using smartform style.
Hope this works for you.
Thanks....... -
Hi..how we enter standard text for smartform using include text
hi
guru
..how we enter standard text for smartform using include text..
i know only using so10 we write text..
in smartform it asking text-object
text-id,
so what values we should give to get textHi,
Do u want to print Standard Text or the Texts that are maintained at the Transaction level.
If it is standard text , then u use text id as ST or if it is Texts that are maintained at the Transaction level then u have to go to that specific transaction and check for that text , then go to text editor ,in the goto menu u have header data where u get the Text id , text name.... , use them in ur smartform in the INCLUDE text.
Further u have the option of text modules in smartforms which act as standard texts, so if u r going for creation of standard texts then its better to use text modules.
Regards,
Shafivullah Mohammad
Maybe you are looking for
-
"Arrange by..." options are greyed out in Finder's List View.
Hey there, just a quick one... I'm having trouble arranging my files/folders by Name, Date Modified, Size etc when in List View. This is fine in my regular Finder window but I clearly remember being able to do when (for example) Saving, Opening and a
-
OIM-OID Provisioning - OID Group PrePopulate Approach :
Hi, I am working on OID Connector 9.0.1.14 with OIM 11.1.1.5. I have reconciled all the Roles and Groups from OID to OIM and can successfully provision users to the OID along with membership to these specific Roles and Groups. I want to prepopulate t
-
I can download and open pdfs on my macbook air. Why can't I open a pdf from a webpage?
I can download and open pdfs on my macbook air. Why can't I open a pdf from a webpage?
-
0EHS_IP_ATTR datasource/extractor is not working properly
Hi experts, I am using the 0EHS BW content connect to SAP/ECC and we created a cube using two standard master data (0EHS_IAL and 0EHS_IP). The 0ehs_ial MD (acidents) is loading correctly but the 0ehs_ip (involved person) is loading just the incidents
-
Urgent : how to display a "landscape" report ?
Hi all I am developing a report application and my boss wants that the report will have a width of 29.7 cm and a height of 21 cm , so it will have the reverse of the normal report display. How to do this ? Thank you very much indeed.