Arabic Printing using Smartforms
Hi Gurus,
I am trying to print arabic text using smartforms. I have set MS Word as the text editor. Arabic text is coming up correctly in the editor (Arabic font, Right-to-Left). I created a Arabic smartstyle using A_TRAD font (I also tried other arabic fonts available). Now when I try to print it on HP LasetJet printer, the arabic text is coming up as single characters rather than words and lines. Different Arabic characters are not joined together to form words, they are all single characters separate from each other. Whereas arabic text is coming up correctly in the MS Word editor. Any help would be highly appreciated!!
[email protected]
Hi There.. Greetings...
I am having the same problem of printing Arabic text in the smartform. The arabic Text is printing in opposite direction as well.
what is the solution for this?
Please help me.
Looking forward to hearing from u.
Kind regards,
shekher
Similar Messages
-
Check printing using smartform
Hi All ,
I have urgent requirement that to convert standard check
printing program to our custmized check printing program using smartform .
Please suggest the way , how we can do that?
Regards
Mohit BansalHi,
For Creating custom check printing you need to do following steps.
1. Create Custom page format using SPAD.
2. Created smartform layout using custom page format. -
BarTender for Zebra Barcode Label printing using Smartform
HI Experts,
Does anyone know how to use BarTender 7.10 software to create barcode labels for Zebra printer?
I have to include a jpg Logo into the Label using BarTender.
But when I test using the Zebra printer - the logo/picture won't print out.
Any idea?
Thank You.
Best Regards,
CWHi There,
I had problems with using Bartender when I tried to print a logo onto my labels, but I contacted a [labelling company |www.iidsolutions.net] who specialise in barcode label printing and the bartender software, they sorted out my problem but then after a chat with them I decided it would be easier to get them to print the labels for me as I had loads of changes and they were quite cheap. See if they can help you. :~)
Good luck.
Dave. -
Is it possible to print labels based on GR qty.
Example: in my GR I have material with 100 CAR when I press print icon, the system has to print 100 Labels.
Regards
GKHi,
Follow the below steps.
1.Create a smart form(Z_GR_QTY_LABELS)
2.Put all the data in an internal table which has to be printed on the males.(One row corresponds to one label)
Hence the number of row in the itab are the GR qty
3.Create a loop and put the condition
To create a loop:Right click>Create Flow Logic>Loop
and put condition on Condition tab(Give sy-tabix LE Gr_qty )
4.Save and activate
Note:
Take care explicit page break.
Hope this helps you.
Regards,
Rama. -
Print PO using Smartforms?
Hi Gurus,
I'm new to smart forms.
Can smart forms used to print PO(using Transaction ME23N)?
As I know, the PO is print using SAP Script, can it be done using smartforms?
thanks in advance.
HikarunoHi
YES, PO can be printed using Smartform also.
see the related forms and program
PUCHASE ORDER
Output type : NEU
ScriptForm Name : MEDRUCK
Driver Program Name : SAPMF06P
smartform name : /SMB40/MMPO_L
SF creation
How to create a New smartfrom, it is having step by step procedure
http://sap.niraj.tripod.com/id67.html
Here is the procedure
1. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
check this:
http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html
check this linkls------>
https://www.sdn.sap.com/irj/sdn/collaboration
http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
<b>Reward points for useful Answers</b>
Regards
Anji -
Check printing using dot matrix printing?
HI all,
I have developed check printing using smartform for laser printer now the my client requirment has changed they are now using a dot matrix printer for check printing, so what parameter should i consider for developing a check printing for dot matrix printingthe same smartform and driver program will work for all kind of printer.
-
HOW I PRINT A SMARTFORM?
Hi guys, im new in abap, so i need your help, some one can tell me how i can print a smartform?, what functions and parameters i need?, if you can send me an example code it realy helps me.
Thanks & Regrads
LuisHi Jose,
Check these program in SE38. These descibes how documents are printed using Smartforms.
<b>SF_EXAMPLE_01
SF_EXAMPLE_02
SF_EXAMPLE_03</b>
Check these links to know about smart forms
http://www.allsaplinks.com/smartform_example.html
http://www.allsaplinks.com/smartforms1.html
Thanks,
Vinay -
Printing dunning notices using SMARTFORMS,error during parameter transfer
Hi Friends,
I face a error message "Include text ZGA_DUN_HDR does not exist (object TEXT, ID ST)" when i run the dunning run.
I had searched every node for text ZGA_DUN_HDR in the smartform,I didnt find the text in it.
However when I execute the smart form for print preview an error message "Printing dunning notices using SMARTFORMS,error during parameter transfer".This error i believe is due to wrong parameter passing in the fm 'GET_SF_DUNN_DATA'.It raises an error no_parameters_found.All parameters are passed correctly.
Can you guys help me out.
Edited by: RAJIV KAUSHAL on Nov 14, 2008 6:03 PMyou can create this text ZGA_DUN_HDR in SO10 tcode and try ...
-
Printing Dunning Letters using Smartforms
Hi all,
I have a requirement wherein I need to print dunning letters using smartforms; the dunning data are extracted in program SAPF150D2;I modified the subroutine OFI_DUN_ACT to call function module FI_PRINT_DUNNING_NOTICE_SMARTF.
Now I need to extract the dunning data in program SAPF150D2 to be imported to my new form using GET_SF_DUNN_DATA, my question is where do I code the calling of FM GET_SFG_DUNN_DATA? I'm a little bit confused on the step by step process of the dunning data extraction to printing of the form... Thanks...In the INITIALIZATION of the Smartforms, after the call to GET_SF_DUNN_DATA, you have a many informations back, of which the record of MHNK and an internal table of MHND, which you can use to select other informations from database.
So fill or enrich your own internal table in the initialization.
I enclose thereafter a sample to help you
* Load data
CALL FUNCTION 'GET_SF_DUNN_DATA'
EXPORTING
is_sfparam = is_sfparam
IMPORTING
es_mhnk = mhnk
es_t001 = t001
es_knb5 = knb5
es_lfb5 = lfb5
es_t047 = t047
es_t047c = t047c
es_t047i = t047i
es_t056z = t056z
es_f150d = f150d
es_fsabe = fsabe
es_adrnr = adrnr
es_uadrnr = uadrnr
es_adrs = adrs
es_uadrs = uadrs
es_t047b = t047b
eb_testprint = testprint
e_langu = langu
e_lang2 = lang2
es_f150d_esr = f150d_esr
es_paymi = paymi
es_paymo = paymo
TABLES
t_mhnd = th_mhnd
EXCEPTIONS
no_parameters_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
sy-msgid = 'FM'.
sy-msgty = 'E'.
sy-msgno = 461.
RAISE others.
ENDIF.
h_t040a-text1 = space.
show_interest = space.
LOOP AT th_mhnd INTO mhnd WHERE xzins = ' '.
show_interest = 'X'.
EXIT.
ENDLOOP.
* Load user information
DATA: usr21 LIKE usr21, addr3_sel LIKE addr3_sel.
CLEAR: usr21, addr3_sel, addr3_val, adr6.
* Charger fiche profil
SELECT SINGLE * FROM usr21 WHERE bname = sy-uname.
* Récupérer l'adresse
MOVE-CORRESPONDING usr21 TO addr3_sel.
CALL FUNCTION 'ADDR_PERS_COMP_GET'
EXPORTING
address_pers_in_comp_selection = addr3_sel
IMPORTING
address_pers_in_comp_value = addr3_val
EXCEPTIONS
OTHERS = 1.
* load SMTP address
CLEAR adr6.
SELECT SINGLE * FROM adr6
WHERE addrnumber = usr21-addrnumber
AND persnumber = usr21-persnumber.
* date format
SET COUNTRY adrs-land1.
* Group similar posts
DATA: xbseg TYPE bseg,
xbkpf TYPE bkpf,
xpost TYPE th_outtab.
REFRESH: t_post, t_cumul_waers.
LOOP AT th_mhnd INTO mhnd.
* Select lines to use
IF mhnk-gmvdt IS INITIAL.
IF mhnd-xzalb <> space OR mhnd-mansp <> space.
CONTINUE.
ELSEIF t047b-xpost NE 'X' AND mhnd-xfael <> 'X'.
CONTINUE.
ENDIF.
ENDIF.
* Map data
CLEAR xpost.
MOVE-CORRESPONDING mhnd TO xpost.
* Load text from bseg
SELECT SINGLE sgtxt INTO xpost-sgtxt FROM bseg
WHERE bukrs EQ mhnd-bbukrs AND belnr EQ mhnd-belnr
AND gjahr EQ mhnd-gjahr AND buzei EQ mhnd-buzei.
PERFORM edit_text CHANGING xpost-zuonr mhnd-xblnr xpost-sgtxt.
* if "Payment difference" get the date of original document
IF mhnd-bschl = '06'.
SELECT SINGLE bldat INTO xpost-bldat
FROM bkpf
WHERE bukrs = mhnd-bukrs
AND belnr = mhnd-rebzg
AND gjahr = mhnd-rebzj.
ENDIF.
* Collect posts to print
COLLECT xpost INTO t_post.
* Collect amount per currency
MOVE-CORRESPONDING xpost TO cumul.
COLLECT cumul INTO t_cumul_waers.
ENDLOOP.
* Load customer information
SELECT SINGLE * FROM kna1 INTO kna1
WHERE kunnr = mhnk-kunnr.
SELECT SINGLE * FROM knb1 INTO knb1
WHERE bukrs = mhnk-bukrs
AND kunnr = mhnk-kunnr.
* Convert date to text
PERFORM convert_date USING control_parameters-langu mhnk-laufd
CHANGING text_date.
PERFORM convert_date USING control_parameters-langu mhnk-prndt_before
CHANGING text_prev.
PERFORM convert_date USING control_parameters-langu mhnk-grdat
CHANGING text_extr.
Regards -
Print Prog-Auto Print Barcode Label for Goods Receipt(MIGO) using Smartform
Hi Guru's
I have created a smartform that prints barcodes on a label.
My tests print successfully to the Printronix thermal label printer.
Is there perhaps a SAP Standard print program that i can use in my output type that will call my smartform upon goods receipt(MIGO)?
please bear in mind that i am looking for a print program that calls a SMARTFORM. not a sapscript.
/SMB40/M07DR does not exist on my system. and I am going to use output type WEE1 - for LABEL Printing
Awaiting your feedback.
Thanks in advance geniuses!Good luck dude,
In that same program I noticed We01 that will print a smartform GR. I think if you use form entry_we01 in your output control you should do well. -
F110 - To print checks using smartforms in 4.6c version
Hi All,
Please help me on below queries.
1.Client requirement is to upgrade the SCRIPT to SMARTFORMS in 4.6C.
2.They were config script name in the company code level for PAYMENT method in FBZP, based on Checks were print using standard program RFFOUS_C in Transaction code F110, If we develop the SMARTFORM in 4.6C, we can not keep the Z<smartform> in config FBZP.
Is there is any standard driver program for smart forms in 4.6c or ECC 6.0?,if it is there please give me the standard program.
There is a PDF option in ECC6.0 using T.code: FBZP.
Please tell me, That PDF option is supports the smart forms or others?
Thanks & regards,
Bala.Hie Bala
I also have the same requirement where we have to do away with all SAP scripts and make use of Smartforms however you cannot maintain a smartform in TCODE FBZP. I am in the process of customizing program RFFOUS_C which i copied and making my modifications to.
I have done away with the dynamic call for ZFORN which is called in program
RFFORI01
*Replaced the following code with call to FM for Smartform
CALL FUNCTION 'OPEN_FORM'
EXPORTING
archive_index = toa_dara
archive_params = arc_params
form = t042e-zforn
device = 'PRINTER'
language = t001-spras
options = itcpo
dialog = flg_dialog
IMPORTING
RESULT = itcpp
EXCEPTIONS
form = 1.
in line 355.
i have not yet completed my coding but i hope this information will guide you.
regards
Isaac Prince -
Issue with character formats using duplex printing in smartform
Hi all,
I am getting a problem with character formats using duplex printing in smartform. I am using a text module with a bold character to display text in a window. The problem is that on the first back page,the text is being printed normally (without bold), but on the next pages, the back pages are being printed with the bold character format.
Can anyone know where is the problem..please.
Points to be rewarded..
Thanks.
Regards,
Zaheed.Hi Zaheed,
Normally this should not happen.. and also there is no internal formatting done by SAP.. it will show based on what fomatting option we have specified..
If you are saying it is happening in ur case then
1. Recheck whether whether you have same text module getting printed on the
two page. If they are different then then individual check formatting option for
each..
2. If above point does'nt work for you ..then instead of bold char use normal
format for text element and see if it is printing same on both page..
Try this out and let us know your findings...
Enjoy SAP.
Pankaj Singh -
How to Print Employee Photo using Smartform
Dear All,
I have requirement to print Employee photo using Smartform.
Here I want to give breif backgorund to uploading employee image procedure,we are uploading employee Image using transaction code OAOH by providing Business Object PREL and Document Type HRICOLFOTO. Click on create button on second screen by providing employee Code XXXXXXX and infotype 0002 after click on enter button system ask path for uploading image file.After storing image we can see the employee image by using transaction code PA30 after passing employee code.
These employee image I want to print in Smartform layout.If any body have done this type of the requirement.Pl.explain me .
Thanks ,
RegardsHi ABAP Programmer,
Refer this link
i want to retrieve a photo image of an Employee to display in smartforms
Regards,
Sravanthi -
Rotation of label using smartforms by 90 deg using zebra printer
Hi,
I am facing one problem using smartforms for label printing. Since the zebra printer which is being used requires 90 deg rotation of form for the normal smartform design. I have even tried using ZPL commands by using ^FWR command in the window attributes but the text within that window only gets rotated and each line gets overwritten on one another. Please let me know if it s possible to rotate the complete form in smartform for label printing using zebra printer.
Thanks and Regards
AnandHi Anand,
Check my previous thread below about this:
Re: print label landscape to zebra printer - text position wrong & overlapping
regards,
Aidan -
Urgent!! Printing Barcode using smartforms
req: need to print barcode using smartforms.
【Settings】
The following settings are made already
1. Style ( paragraph, character type(Syatem Barcode ) )is created and activated (T-code:Smartforms)
2. In the smartform I used the above style to print barcode .
※TEXTTYPE = TEXT ELEMENT.
【Execution】
1. I run the smartform in test mode with setting any print parameters
2. Trigger print preview
【Problem】
1. I am getting only BAR's no barcodes.
The bracodes are not displayed properly.
If I test the same system barcode in SE73 it displayed properly.
Is there anyother settings are necessory?
Plz help me in solving the peoblemHi
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
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 points for useful Answers
Regards
Anji
Maybe you are looking for
-
Safari quit unexpectedly and will not reopen
Hi, last night I was using Safari without any problems. I turned off my macbook when I was finished and today when I tried to open safari again I kept getting a message saying safari quit unexpectedly. When I click reopen it just does the same thing.
-
Facing issue with Photoshop Elements 8
I have just purchased Adobe Photoshop Elements 8 and I am transferring photos from my Pictures file which is in Windows Vista. I ha ve created a number of catalogues and made a number of albums within each one e.g. a category called My Holidays with
-
How does the crop-lock and "Effect" settings logic work?
The crop lock and Effect setting have in common the fact that they are unpredictable with a strange logic I have yet to figure out. Questions: What decision process causes the crop lock to remain locked, and then suddenly decide to stay open from one
-
Sorting in keyfigures is deactivated in Bex Anlayser 7.x
Hi ALL, I cant able to sort key figures( sort option in the context menu is deactivated) . I have executed report in Bex Analyser , it has one structure in the column and in row it has hierarchy. It has three key figures (sales volume, gross volume,
-
Hi, I try to learn how to present my data anywhere by using labview remote front panels. I use PCI-mio-16E-4 device to acquire data. After I start web server and try to save to as *.htm file, I got the "DMA hardware error detected" message. Can anyon