How to convert text module language in Smart Form?
Hello Friends,
I want to print a title in chinese language in smartform. How can I do it. Please help me out from this situation?.
Thanks & Regards
Sathish Kumar
Normally when we display stard text , we will be either using "read text" function module or will be using include.To display a strd text in chinese it should be maintained in chinese language (SO10-please see whether Std text is maintained in chinese by giving TEXT name, TEXT ID and Language).and when we use "read text" or "include " we will specify the language also in that.
or u can include the standard text with INCLUDE statement and LANGUAGE <> ..
( LANGUAGE is one of the patameters of the include stmt.)
then the text will get printed in chinese language if it is maintained in chinese language
reward if it helps u...
sai ramesh
Similar Messages
-
Can we reduce the SIZE of the text in TEXT Module?..Smart form
Hello,
Can we reduce the size of the TEXT module in Smart form.
As the text that I am putting in the Text Module is taking more space and it is displaying in the next page.
What are the steps that I can take to display the text in the same page.
Regards,
KittuHi,
you can do these by two ways,
1-> By reducing the font size
2-> reducing the line spacing
both can be adjust in Smart Style what you are using.
If you not using any style for this, default style will take.
Bye -
How to INclude TEXT MOdule created in SForm?
How to INclude TExt Module created in Samrt forms into a text node...?
PLease explain.....ANy suggestions will be appreciated...
REgards,
KittuHello Netaji,
IN general attributes, from the drop down menu. I had selected Text Module then It is asking me for the
Name : zxxx(Name of the Text module created in SForm)
Language : ENGLISH
Selected the option - No error if no text exists
- ALways copy style from text module
Then I had clicked on COPY button...Then it is automatically turning into Text Element
It is showing nothing in that Text area. Am I going right?
Please correct me....If I am wrong....I am trying to put this in Text node.
I had created a Text module in the Smart form by selecting the Radio Button in Smart form.
Please help....
Regards,
Kittu -
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 -
How to know no of pages in smart forms to be printed ?
Hi,
How to know no of pages in smart forms to be printed ?
though i got SFSY structure during run time of smartform , even that was not useful.
&SFSY-FORMPAGES&
Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
for that Page &SFSY-PAGE& of &SFSY-FORMPAGES&
during debug of smart form i don't understand how it is calculating no of pages ,as i kept break point before printing page no in smart form.
please check my two screen shots, sfsy-formpage still contains current page no only but not total no of pages.
Help Required.
Thanks In advance.Hi Prakash,
You will not get these values during debugging.. Let the program execute completely, you will get the right values.
As Manish said, the value for &SFSY-FORMPAGES& will be known only after all the pages are processed, though it is not necessary that you use them in the final window only. It can be a text node in a window of any type.
You will get the desired output, just cant see them during debugging within the program. At the time of printing or in the print review, output would be as expected.
Also, FYI, it would be better to give total pages as &SFSY-FORMPAGES(3ZC)& as there can be error if the total number of pages exceeds 9, due to lack of sufficient space to print more digits -
Can Java convert text in to three dimensional forms?
Hi,
I'm an MA student at Central Saint Martins College of Art and Design in London. I'm currently working on a project to convert text, entered onscreen by users, into three dimensional forms when initiated by clicking on a button. Each 3D form is to be unique to the text entered. Does anyone know how best to do this and whether Java is the best tool for this? Any help or ideas that can be offered will be greatly appreciated.
ThanksHi,
Thank you for your help, the link is a great starting point in the development of my project, but its not the "nail on the head", which is my fault. On reading back my last posts it seems I omitted a key word (sorry, my mistake) in the description of what I want to do, which is: " can Java convert text into abstract three dimensional forms?" By abstract three dimensional forms I was hoping to create something along the lines of what is possible with Rhinoscript, here is an example of the type of visual I want to be able create from the transformation of user entered text using computer code: http://www.theverymany.net/uploaded_images/080108_Srf_Test001_01_k_TVM-718625.jpg. I hope this sheds some light on the direction I'm hoping to take, so if you or anyone else can offer any more help or pointers I will be eternally grateful.
Thanks -
Search for texts and logos in smart forms
Hi there,
Does anyone know if there is a function module that can search for specific texts and logos in smart forms?
Any response would be really appreciated.
Thanks
HWHi
I really doubt if there is any FM like that. But, you can always search the existing logos in the Appln Server, the tcode is SE78.
Regards,
Vishwa. -
How to achieve dynamic page break in Smart form
Hi
1.How to achieve dynamic page breaks in Smart forms.
2.What are the various table types in Smart forms.
Regards<i>Dynamic page break : </i>
create a node of type COMMAND and in its attributes check "Go to new page".
<i>There are Tables and Templates in smart forms :</i>
Use node type <i>Template</i> to display a table whose layout and size (number of lines and columns) is determined before the runtime of the print program else use <i>Table</i>.
Take a look at <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf">SAP Smart Forms (BC-SRV-SCR)</a>
Regards -
How do u get New page in Smart form dynamically
How do u get New page in Smart form dynamically
page break in smart form
Re: New Page in Smart Forms
Page break inside a loop in smart form -
How to assign standard texts assign dynamically to smart forms
Dear Experts
I need your help in adjusting the smart form texts dynamically. I will explain you the situation please revert me your valuable answers.
1. I am integrating 12 smart forms using same program.
2. Out of 12 smart forms 4 forms are having similar kind of template. Client is requesting like create one smart form template.
3. By creating the standard texts you can assign the standard texts into smart form during runtime dynamically.
4. Maintain all standard texts for smart forms in another custom table, during run time of the program you can assign the standard texts to smart form.
5. Here my question is how to assign the standard texts to template texts dynamically ?
Please revert me your suggessions.
Thanks for your support.Hi Indra neel ,
You are maintaining all the standard texts in custom table right, u need to get standard text based on condition which works for your smartform
than create text module in smartforms and change that to include text and give the variable name or internal tbale with field name in that text name fields and press (>) button and give the remaining fields in that than that will work dynamically -
Text Module Language Definition
Hi all,
I am not able to identify the exact place to define German terms corresponding to header text module text in se 63 transaction.
Can anybody help me?
Thanks N Regards,
SmitaHi,
In SE63 we have to translate the texts.
To do the same, go to translation SE63.
Click on Translation -> ABAP Objects -> Other Long Texts
Select Smart Forms from the list,
i.e below FS Forms and Styles
In the following screen, enter the name of the Smart Form created earlier. Also provide the source language and Target Language to be maintained
Enter the translation for the text in your required language.
Then you need to transport the program..
Now to assign a transport request for the above transaction, execute the program RS_LXE_RECORD_TORDER.
Enter the target language, Short Description for the transport request, object type as SSF.
check your target language .
check the create own request
and object type SSF.
Click on execute.
To check the output , login in the language in which you had translated .
execute the smartforms and watchout the result .
Thanks
Naveen
More Info : https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=31187 -
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. -
How to convert text to PDF?
Hi,
I have a text file that I would like to create a pdf for it.
is there any function that can convert text to pdf format?
Thanks,
ItaySee the example code :
DATA: it_otf TYPE STANDARD TABLE OF itcoo,
it_docs TYPE STANDARD TABLE OF docs,
it_lines TYPE STANDARD TABLE OF tline,
st_job_output_info TYPE ssfcrescl,
st_document_output_info TYPE ssfcrespd,
st_job_output_options TYPE ssfcresop,
st_output_options TYPE ssfcompop,
st_control_parameters TYPE ssfctrlop,
v_len_in TYPE so_obj_len,
v_language TYPE sflangu VALUE 'E',
v_e_devtype TYPE rspoptype,
v_bin_filesize TYPE i,
v_name TYPE string,
v_path TYPE string,
v_fullpath TYPE string,
v_filter TYPE string,
v_uact TYPE i,
v_guiobj TYPE REF TO cl_gui_frontend_services,
v_filename TYPE string,
v_fm_name TYPE rs38l_fnam.
CONSTANTS c_formname TYPE tdsfname VALUE 'ZTEST'.
CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
EXPORTING
i_language = v_language
i_application = 'SAPDEFAULT'
IMPORTING
e_devtype = v_e_devtype.
st_output_options-tdprinter = v_e_devtype.
*st_output_options-tdprinter = 'locl'.
st_control_parameters-no_dialog = 'X'.
st_control_parameters-getotf = 'X'.
.................GET SMARTFORM FUNCTION MODULE NAME.................
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = c_formname
IMPORTING
fm_name = v_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
...........................CALL SMARTFORM............................
CALL FUNCTION v_fm_name
EXPORTING
control_parameters = st_control_parameters
output_options = st_output_options
IMPORTING
document_output_info = st_document_output_info
job_output_info = st_job_output_info
job_output_options = st_job_output_options
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.
ELSE.
.........................CONVERT TO OTF TO PDF.......................
CALL FUNCTION 'CONVERT_OTF_2_PDF'
IMPORTING
bin_filesize = v_bin_filesize
TABLES
otf = st_job_output_info-otfdata
doctab_archive = it_docs
lines = it_lines
EXCEPTIONS
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
........................GET THE FILE NAME TO STORE....................
CONCATENATE 'smrt' '.pdf' INTO v_name.
CREATE OBJECT v_guiobj.
CALL METHOD v_guiobj->file_save_dialog
EXPORTING
default_extension = 'pdf'
default_file_name = v_name
file_filter = v_filter
CHANGING
filename = v_name
path = v_path
fullpath = v_fullpath
user_action = v_uact.
IF v_uact = v_guiobj->action_cancel.
EXIT.
ENDIF.
..................................DOWNLOAD AS FILE....................
MOVE v_fullpath TO v_filename.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = v_bin_filesize
filename = v_filename
filetype = 'BIN'
TABLES
data_tab = it_lines
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF. -
How to include text modules into text modules
Hi experts,
is there any possibility to include smartform text modules or sapscript standard texts into
a text module?
For example:
Text module "B" and "C" are supposed to be used in text module "A".
Regards
CHRISHi,
thanks to all for your answers.
Obviously, there's no way to include a textmodule into a textmodule in SmartForms.
Regards from Germany
CHRIS -
How should convert text file into XML file?
I do a project "WEB SERVER LOG ANALYZER" using JSP. For that i copy the content of log file into the other file . how i convert it into XML file . xplain with coding
Read this [page.|http://www.devx.com/getHelpOn/10MinuteSolution/20356]
Maybe you are looking for
-
When I receive an invitation from galleries etc. with an image on it and I want to forward it, the image converts to a jpeg or something else rather than leaving the invitation as I received it. Is there any way that I can forward something with an i
-
Reading the data from field symbol internal table //
Hi, There are 2 internal tables defined as Fieldsymbols (type any) and I need to retrive data from second internal table based on a field value in first internal table. Let's assue the name internal table 1 is <it_itab1>, 2nd internal table name is <
-
Scrolling information no longer showing ???
i had my photos organised into folders and so when scrolling through the iphoto library the folder name )scrolling information) would appear as i come across the photos from a specific folder, i recently added pictures to one of those folders manuall
-
Problem connecting WET610N to Cisco AP1240AG
Strange problem: I try to connect WET610N bridge to our WIFI network using Cisco AP1240AG, it stops working and freezes (the power LED flashes blue and pink). I have to hard reset the unit to get back into configuration web page. But when I conne
-
Save Voucher number This Format type/mm/yy/sequense#
Hellow All I need Auto Generate sequence number with Voucher Type , Voucher Date Month, Voucher Date Year and Sequence Number Just like When i Save my Record of Cash Book which date is 20-7-2009 The Voucher number i need CB/P/7/2009/00001 CB= Cash Bo