Smart Forms or Word
Hi,
I'm in a SAP-Standard-Web-Application and there I have to create some forms.
The forms should contain a lot of static text und some dynamic text (like name, address, amount, description)
from the application.
Now I have the possibility to do it in Smart Forms or with Word.
What's are the main differences/advantage/disadvantage between the two systems ?
what's your expert knowledge?
thxs in advance,
kind regards,
Franz
Hi,
Suppose if dynamically you wants to add new fields or lines, then you can go ahead with word doc.
Otherwise, you can go with smartforms as the look and feel will be too good.
Regards,
Prabu
Similar Messages
-
Operating smart form with word document
hi all
I want to print text of word document in main window of the smart form.
First tell me can I do this???
If yes, then how??
With Regards,
Jayavant.Hello Roseanne,
As i get you right, the form doesn't display one value (you wrote document, but is dont know excatly what you mean) in the right (or at least expected) way and you can't find the value in the smartform.
So my next question is, what your meaning of physical and locical records? I can only imagin the there are 2 recordes in the database and only one is printed in the form. If im wrong please correct me.
First of all you should be able to find the spot where the data is writen to the form. Trie to narow down area where it will be printed by commanting out block by block ( conditions tab 1 = 2).
If you find the right node do the same thing on the subnode until you get the node where the error appers.
Everything that is printed in the form have to be anywhere in a node/table/loop and so on.
You can also tie to set a breakpoint in the globae area, at the beginning and serch the structres for the entry which is wrong. Maybe this will help you to find the right spot.
Good luck with fixing the form!
Br,
Nikolaus -
Output date in words on a smart form
I need to output a date in words on a smart form. As in today's date (01/13/2009) should be output as January 13, 2009. How do I acheieve this? Please could someone help me out with this one?
HI
Check the below FM
Function module HR_IN_GET_DATE_COMPONENTS
Import parameters Value
IDATE 10-09-2009
Export parameters Value
DAY 09
MONTH 10
YEAR 2009
STEXT OCT
LTEXT October
USERDATE 10-09-2009
concatenate the values as per your requirement... -
How to create barcode in Smart Forms with MS Word as Editor?
Hi,
I created a character format for a barcode in a smart style.
The problem is that I do not know how to assign it to the text in Smart Form because the Editor is MS Word and not the normal Editor.
Any suggestion or idea.
Thanks & best regards
ViktoriaHi and thanks for the fast reply,
I have created a smartstyle and also a characterformat for the barcode. This is not the problem.
I call the layout via HRFORMS. The Form Builder for Smart Forms is called and the Editor for the text nodes is preset and is the MS Word editor. This cannot be changed. I tried different things also in the settings. The normal text editor cannot be called.
I choose and enter the field that I want to convert into the barcode &wa_barcode&. I do not work with standard texts (SO10). The text field is a normal text node in Smart Forms. The character format that applies converts the number in the variable field into the barcode.
In the MS word editor I have only formats that are in the office environment (arial, ...) I do not see the formats that I created in smartstyle also when I assign it in the output options of the text node.
So maybe I have to work like this for now. Swich between HRFORMS and SMARTFORMS when working with barcodes. In the Smart Forms transaction it is the normal editor where I can see the paragraph/ character formats from smartstyle.
Thanks and best regards
Viktoria -
Word Format of Smart Forms Output
Hi,
We want the Smart Form output in DOC format. If we are using the function module 'CONVERT_OTF', the output is perfect when downloaded as PDF with all background pictures and formats but when we are downloading in DOC format all the formatting and background pictures are absent.But we need all formatting options like boxes, fonts and background pictures in the downloaded DOC format.
If any of you have worked on the same please reply
Thanks in advance.As far as I know there is no way to convert the smartform into word, without loosing the format and pictures.
But you may convert the pdf output to word by a third party solution. Use SolidConverter. Version 1 is free and it is the best converter I have seen.
If it helps please give points. -
Amount in words in Smart Forms.
Dear All,
I want to Print the amount in words in Smart Forms.
Is there any function modules <<removed by moderator>>.
Also how to call it in SF.
Thank you in advance,
Arun.
Search before posting and Read the rules of engagementHi,
This has been discussed a lot of times already in the forum, if you have done a search you would have got hundreds of threads.
Do search the Forum before posting a question.
Read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting more.
Search Results for [ amount in words (1238 Results)|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=amountinwords&cat=sdn_all]
Search Results for [Spell_amount (158 Results)|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=spell_amount&cat=sdn_all]
Regards
Karthik D -
My requirement is to print the sales order details.In dat in last page i hav to get the amount in words of total value with in Smart form.
Tanx,
Santu.Hi Santosh,
There is one function module and the explanation to this is given below.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
amt_in_num = var_tot1
IMPORTING
amt_in_words = v_total
EXCEPTIONS
data_type_mismatch = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Here (a) <b>var_tot1 is the vbrp-netwr basically a currency field</b>.
(b) <b>v_total is a character type length 64 (string) field</b> which holds the words for number in var_tot1.
Hope this solves your query.
Reward points if useful.
Thanks,
Tej.. -
How to print BAR CODE in SAP SMART FORMS
Hi,
I want to print inspection lot's BAR CODE in the smart form, but i dont know the way how to print this into the smartform.
if anyone have any idea, please suggest me how to print this as it is urgent for me to complete the object.
Thanks in advance.
Best Regards,
Abnish JainHello Abnish,
Welcome to SDN.
We are able to print barcodes from smartforms. Doing this way, we print barcodes on laser printers.
We are also printing from sap to zebra printers using two ways:
1. Download the data to an excel sheet, then creating a macro that opens the printer port and sending the commands to the printer through this "file". All this is done via vb script provided with excel)..
2. The second way is creating a vbscript (an ascii file from sap) with the printer commands and then runing it using ws_execute.
You need a barcode reader to read the barcodes, and this scanner acts like a keyboard, it sends the data scanned to the active field on screen. (which might be a notepad, word, excel or an input field or ... ).
From 4.6c on, you can use smartforms to print barcodes without buying any barcode.dll software nor hardware extention like Bardimm on any laser/inkjet printer (Please Note that I haven't mentioned Zebra printers here!). To do this, you have to create a smartstyle -> character format with the desired barcode font (defined within sap). Then in the smartform, create a window, put the field and associate it the character format. That's all (I mean, that's all we do at least :-). I think, you have to consider the barcode specifications before sending the barcode value to the smartform (Just an example, if you're using 3 of 9, the code should start and end with an asterisk - '*' -) We're printing an interleaved 2 out of 5 barcode in our invoices due to a legal requirement, and we did it this way.
3. If you have a barcode scanner, then you should not need reading the barcode into an ascii file to get the data read in an standard or custom screen field. You can read it directly to the field you want. (unless... you have complex data coded in the barcode - for example if you're using an ean-ucc 128 compliant code and you're sending several fields in a single code ... In this case, an interface is almost mandatory because you must interpret the data fields according to the ucc standard, split the code into several fields .... and .... pure programming logic ).
To put it clear: if you have to read, for example, a barcode that holds the legal number of an invoice using a barcode scanner and this number should be sent to migo-> bktxt then you don't need an interface. The scanner itself acts like a fast operator entering the characters using a keyboard and filling in the field.
We're reading barcodes in several places (when we finish each pallet, when we receive an invoice, and so on. Each case is a different screen. We arent using an ascii file to read these barcodes. Furthermore, we read the invoice legal number into migo bktxt field (Head Text).
http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
Regards
Naren -
How to display the text as a Bold in the Text Element of a Smart Form
Hi,
I created one Smart Form.
In that i created the Text element.
I provide some data also in that.
It is coming as a MS WORD.
I executed my smart form.
Customer Number: &WA_KNA1-KUNNR&
it display the data of the particular customer.
But i need to display the Customer Number as BOLD or else Increase the Size.
For this also I created one SMARTSTYLE.
In that I created the Paragraph and Character Formats also.
Now i assignee that SMARTSTYLE in the Output Option Tab of the Text Element also.
But i unable to get the CUSTOMER NUMBER in Bold.
In MS WORD we have BOLD button.
I selected the Text and Press the BOLD button. At that time it is Highlighted.
Whenever i press the SAVE Button.
Then it is not saved with BOLD.
It is coming in Normal Format.
In the ECC 6.0. I am unable to get the Text as a BOLD.
This text Element is like a MS WORD.
Can you please tell me how to display the Data with BOLD. please tell me. I am unable to get that one.
Thank You.
Regards,
B. Krishna.Hi,
Check where u have given BOLD. In character Format or in Paragraph format.
In SMART FORM,
1. Change to OLD EDITOR if u are confused with the new one.
(This can be done by clicking the button left to new editor ).
2. If it is PARAGRAPH FORMAT,
Give the name of paragraph format in the editor.
P1 &WA_KNA1-KUNNR&
If it is CHARACTER FORMAT,
<C1> &WA_KNA1-KUNNR&
Thanks,
Nithya. -
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 -
? MSWORD as EDITOR in sap script and smart forms ?
Hi friends,
How to use MSWORD as EDITOR in sap script and smart forms.
Edited by: Julius Bussche on Jul 17, 2008 12:45 PMhi,
Call transaction I18N
go to I18N Customizing -> MS Word as Editor.Choose the Help-Button and follow the instructions.
If transaction I18N is not available in your system yet (see SAP Note 848036), you can also enable this feature via program RSCPINST.
Call transaction SE38, enter program RSCPINST and press F8. On the next screen,select Goto -> Set MS Word as Editor. -
Merge the Attachment Files from DMS into smart forms
Hi Gurus,
I have a requirement of merging documents and printing it on a smart form.
I need to read the active files of SAP DMS. It could be DOC or PDF or Image.
I will have a smart form with some data to be printed related to the document(may be 2 pages).
Once after printing the data, I need to print the contents of the file in the smart form. (ie) 3rd, 4th and 5th pages.
then i need to convert the entire smartform into PDF and load it back to DMS.
Example :
if I have 3 different files
1. Word document, which has a Graphical representation of the component
2. PDF, which has a Graphical representation of the component
3. Image fileBMP or GIF or JPEG, which has a Graphical representation of the component.
I have used BAPI_DOCUMENT_GETDETAIL2 to read the active document, and the function SCMS_DOC_READ to get the contents of the file in Binary format
I couldnu2019t merge the contents of the documents
Please let me know if there is any solution with in SAP to do this. We are restricted to smartforms only.hi Naveen,
Checkout the link..,
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/creating xml forms 6.0
it provides step-by-step guide to ur problem..
hope it helps..,
regards,
Vinoth -
Suppress leading spaces while displaying an amount field in a Smart form
Hi all,
In a smart form, I am using fields like KONV-kbetr and VBAP-netwr each of them currency type and 2 decimal places. I want to suppress the decimal places and also the leading spaces while displaying these fields in a smartform cause when this field is inserted in a sentence, a lot of gap is there between the field and the words of the sentence. I dont want to change the field length cause it can be that huge in some cases.
Please help.
Thanks ,Hi, if you would place it in a sentence, it would be an option to concatenate the text and values into one string and then condense it.
concatenate <text> <value> into lv_sentence.
condense lv_sentence.
but another way is to use codes for displaying values in smartforms:
This is from a smartforms PDF i have..
Output Options for Field Contents
Use the Formatting options to adapt the value of a field before printing it. You can enter the
relevant parameters directly behind the field name. Make sure to write the short forms of the
different options in uppercase letters. Some of the options can be combined.
General Information
The formatting options are not suited for all data types of fields (for example, for character fields
you need no exponential representation). You must distinguish between numeric fields and
character fields.
Numeric Fields
If specified, the system first evaluates the length (<length>).
If no length is specified, the system displays the value in its overall length.
The trailing blank indicates a positive sign. To suppress it, use formatting option S.
Any offset <offset> specified is ignored.
Sequence of evaluation: (<length>), sign to the left(<),Japanese date (L), suppress blanks (C),
right-justified display (R), insert fillers (F).
Character Fields
By default, the system displays the value of a field in its overall length, but truncates trailing
blanks.
Sequence of evaluation: suppress blanks (C), <offset> and (<length>), right-justified display (R),
insert fillers (F).
Overview
Formatting Options for Fields
Syntax Description
&field+<offset>& Skips <offset> places of the field value (character fields only). If the
offset is greater than the length of the value, nothing is displayed.
&field(<length>)& Sets the output length to <length>.
&field(*)& If the field is defined by a Data Dictionary type, Smart Forms set the
output length to the value specified there.
&field(S)& Suppresses the sign
&field(<)& Displays the sign to the left of the number
&field(.<nat.number>)& Limits output of decimal places to <nat.number>
&field(E<nat.number>)& Displays the field value with the fixed exponent <nat.number>. The
mantissa is adapted to this exponent by shifting the decimal
character and inserting zeros.
SAP Smart Forms (BC-SRV-SCR) SAP AG
Output Options for Field Contents
72 April 2001
&field(T)& Suppresses thousand indicators when displaying fields of types
DEC, CURR, INT, and QUAN.
&field(Z)& Suppresses leading zeros of numbers
&field(I)& Suppresses display of initial values
&field(K)& Deactivates a conversion routine specified in the Data Dictionary.
&field(R)& Right-justified display. Use this option only when specifying an
output length as well.
&field(F<filler>)& Replaces left-justified blanks in the value by the fill character <filler>.
&field(L)& Converts and a date field to a local date and displays it. The date is
then formatted using edit mask JPDAT.
Since this representation uses Japanese characters, use it in the
Japanese version of the SAP System only.
&field(C)& The system takes the field value as a sequence of words separated
by blanks. Option C shifts these words to the left and leaves only
one blank inbetween as separator. Any leading blanks are
suppressed. This effect corresponds to that of the ABAP statement
CONDENSE. -
Smart Forms Euro € symbol?
Hello Experts!
I want to add € in my Smart Forms Text.
There is an OSS hint 616683 to this question but all releases mentioned are lower than our used release and the solution with entering the Number 156 for € doesn't work.
Please help
Best Regards
AnnetteHi Annette,
Using SAP Script:
To print Euro Symbol in SAP Script, do the following:
Put the sequence <156> at the desired location in the text editor of the corresponding page window as shown below:
During the print preview, the output would be as shown below:
Using Smart Forms:
For printing Euro symbol in Smart Form, do the following:
In the Microsoft Word document, click on Insert -> Symbols
Select the Euro symbol from the list. The symbol would appear on the document. Copy the symbol and paste in the text editor of the Smart form as shown below:
Save and activate the Smart Form and do the test run. The print preview would be as shown below:
Printing of Euro symbol might not be possible on all Printers. By default, SAP R/3 supports the euro symbol only when using the SAPWIN device type and printing over SAPLPD (mainly used for individual document printing).
To print this on Kyocera printers, do the following:
“When using PRESCRIBE device types (like kyofs150, kyofs170, zkm10pre) the euro sign will not be printed very beautiful. To print the real Euro sign instead of the combined ( and = character on top of each other) please set the character 156 of the SAP code page 1114 to 80 hex. In this case the Euro sign will be printed correctly. Alternatively please copy the code page 1114 to e.g. 9114 and make the modification there. Then you just have to switch the used code page of your device type (kyofs150, 170 or zkm10pre) to 9114 as well.”
Also check the SAP Note 0129581 for more information on this. -
Smart Form - Printing ouput in 2 columns - 2 main windows ?
Hi All,
I have a situation here to print the output in 2 column display.
It has to work like 2 Main windows concept in SAP script.i.e,., Once the first column completes its printing ( reaches to end of page ) the printing should start from the begin of page of second column.
In other words the 2 columns should work as 2 pages conceptually. But, they will be on same page.
If this is SAP script I can do very easily by defining second main window and the text once over flows automatically populates to second main window.
I found that second main window concept wont work the same in Smart Forms. If there is no second main window concepts, why is it allowing me to have more than my main window is a weird thing for me. It is not even throwing an warning while activating.
Can anyone help me to achieve this 2 column printing? If you are sure that , it wont possible by Smart Forms please let me know that even.
Thanks a lot in advance.
Soujanya.KHi All,
I have a situation here to print the output in 2 column display.
It has to work like 2 Main windows concept in SAP script.i.e,., Once the first column completes its printing ( reaches to end of page ) the control should start from the begin of page at second column.
In other words the 2 columns should work as 2 pages conceptually. But, they will be on same page.
If this is SAP script I can do very easily by defining second main window and the text once over flows automatically populates to second main window.
I found that second main window concept wont work the same in Smart Forms. If there is no second main window concepts, why is it allowing me to have more than my main window is a weird thing for me. It is not even throwing an warning while activating.
Can anyone help me to achieve this 2 column printing? If you are sure that , it wont possible by Smart Forms please let me know that even.
Thanks a lot in advance.
Soujanya.K
Maybe you are looking for
-
How do i disable "top hits" on iphone 5s
I cant seem to do this , I tried the many solutions but none work, any thoughts anyone?
-
Hi Experts, I need to calculate the age in years. I have the date of birth already in my infoprovider that iam using for my query. The user will be entering the date on which he want to calculate the age in the selection screen a
-
Entire table disappeared in Numbers checkbook - HELP!
I set up a simple checkbook for my 75-year-old (more or less computer illiterate) wife to use in managing an internal account. She's spent hours transferring handwritten ledger entries into it. All seemed to be working well. Shortly ago, she attem
-
Hi , <b>I am trying to create a sample adobe form with Using with SP 16. 1)design the form with one static text field, one input text field 2)created a value node and a value attribute to bind the values to datasource and pdfSource fields. 3)mode of
-
Why won't my Mac OSX 10.9.1 read the latest version of adobe flash player?
HELP! I am trying to take skills assessment test for future employment but my Mac wont read the latest version of adobe flash player. Is there a bug in the newest version?