Problem in smartform translation
Hi All,
I have copied standrad PO smartform as a Z form with language as English.Now the form has some translated text in
German language and I want to make chnages to this German text.I go to SE63 and enter form name
and write 'Source Language' as EN and Target language as 'DE' and I get an error saying
'Incorrect codepage'.Pl let me know how to correct this error.
Follow up this links, using SE63 transaction code
http://help.sap.com/saphelp_sm40/helpdata/en/b4/54601d77f38e429ffad9e3e11c1b25/content.htm
SE63
Regards,
Joan
Similar Messages
-
Translation Problem in Smartforms.
Dear Experts,
Facing a problem with the translations of the smart forms into the diff languages.
I have maintained the translations based upon the condition like below.
If Spras = 'E'. (English)
Text = 'Order'
else.
if spras = 'D'. (Germany )
Text = 'Bestellen'
if spras = 'N'. (Dutcj)
Text = Bestel.
The translations are working fine while with log in language as English ---Smart form original lang is also English......
But the problem arises with log in language as NL(Dutch)....i am just getting the forms output in english lang only...Can you please check the same.
Regards,
Kartheek.hi,
chk out the following link,
How to maintain Smartforms in different languages?
https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action%3fpageid=31187
Assigning a transport request for the translations in Smart Forms
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/assigning%252ba%252btransport%252brequest%252bfor%252bthe%252btranslations%252bin%252bsmart%252bforms
translating smartforms
https://www.sdn.sap.com/irj/scn/wiki?path=/display/emtech/translating%252bsmartforms
Also check the form attributes / language attributes in the smartform and check if the INTO ALL LANGUAGES radio button is selected. And when you login into SAP in EN ( default ) language, it should automatically translate.
Hope it helps.
Thanks
Arbind Prasad -
Problem in language Translation
Hi Experts,
I am having problem in language translation of smart form.
I have include all text as text element and have done translation in SE63. But when I login in to translated language the output remains in English.
I have made the translation from English to Chinese in SE63.
Please suggest why the output does not come into translated language.Hi ,
I have been working on translations for 8 months now. I think i can resolve your issue.
Remember one thing in mind when you do translations firstly when you go to se 63 and make some changes make sure that you have not opened the smartform in Change mode. If you do so then you will face this sort of probelm. As per your messages i think you have already checked the language in the form
If not make sure you do it. Now try again in SE63 make changes in what ever langauage you are doing and then "saveactive" .
One more final thing if anytext in smartform say &invoivce_no& is blank in smartform then it will not show up in se63 i think you know about this. -
Character Problem For SmartForms to Pdf .
Hi Experts ;
my problem about smartforms . I have a custumer list. I use smartform for output. Customer list of smartform ok . Have any problem . But I convert this output to PDF . Some Characters are overlapping . My main language Türkçe(Turkish) . Characters is incorrect for struct of laguage .( smartform output has no problem but pdf output have problem )
My Code :
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME.
PARAMETER: p_date LIKE sy-datum.
PARAMETER: p_rea TYPE char255.
SELECTION-SCREEN: END OF BLOCK b1.
DATA: ws_ucomm LIKE sy-ucomm.
DATA: gt_intab TYPE ZSMRT_DNM_T WITH HEADER LINE.
INITIALIZATION.
SET PF-STATUS 'GUI'.
PERFORM get_data.
AT SELECTION-SCREEN.
ws_ucomm = sy-ucomm.
CASE ws_ucomm.
WHEN '&PDF'.
PERFORM f1000_download_form.
EXIT.
WHEN '&BACK'.
LEAVE TO SCREEN 0.
EXIT.
WHEN '&EXIT'.
SET SCREEN 0.
EXIT.
WHEN '&canc'.
SET SCREEN 0.
LEAVE TO SCREEN 0.
ENDCASE.
f1000_download_form
FORM f1000_download_form.
DATA: form_name TYPE rs38l_fnam.
DATA: wa_ctrlop TYPE ssfctrlop,
wa_outopt TYPE ssfcompop.
DATA: t_otfdata TYPE ssfcrescl,
t_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
DATA: t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE.
DATA: w_filesize TYPE i.
DATA: w_bin_filesize TYPE i.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZDNMSMRT'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = form_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.
wa_ctrlop-getotf = 'X'.
wa_ctrlop-no_dialog = 'X'.
wa_ctrlop-DEVICE = 'I9SWIN'.
wa_outopt-tdnoprev = 'X'.
CALL FUNCTION form_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = wa_ctrlop
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = wa_outopt
user_settings = 'X'
mydate = p_date
reason = p_rea
ADRNR = '23713'
IMPORTING
DOCUMENT_OUTPUT_INFO =
job_output_info = t_otfdata
JOB_OUTPUT_OPTIONS =
TABLES
RTAB = gt_intab[]
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.
t_otf[] = t_otfdata-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 150 "132
ARCHIVE_INDEX = ' '
IMPORTING
bin_filesize = w_bin_filesize
TABLES
otf = t_otf
lines = t_pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4
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 FUNCTION 'WS_DOWNLOAD'
EXPORTING
bin_filesize = w_bin_filesize
CODEPAGE = ' '
filename = 'c: est.PDF'
filetype = 'BIN'
MODE = ' '
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
filelength = w_filesize
TABLES
data_tab = t_pdf_tab
FIELDNAMES =
EXCEPTIONS
file_open_error = 1
file_write_error = 2
invalid_filesize = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
OTHERS = 10
IF sy-subrc <> 0.
MESSAGE i003(z00) WITH 'File not downloaded succesfully'.
ELSE.
MESSAGE i003(z00) WITH 'File Test.pdf downloaded succesfully '
'under C drive'.
ENDIF.
ENDFORM. " F1000_DOWNLOAD_FORM
*& Form GET_DATA
FORM GET_DATA .
SELECT kunnr belnr gjahr from bsid
INTO CORRESPONDING FIELDS OF TABLE gt_intab
WHERE bukrs = '4000' and gjahr = '2007'.
LOOP AT gt_intab.
SELECT SINGLE name1 from kna1
INTO (gt_intab-name1)
WHERE kunnr = gt_intab-kunnr.
MODIFY gt_intab INDEX sy-tabix.
ENDLOOP.
SORT gt_intab by kunnr.
ENDFORM. " GET_DATA
Regards .Try following logic:
DATA: lt_data TYPE TABLE OF tline,
lt_data1 TYPE TABLE OF tline,
lt_objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
Convert OTF to PDF
REFRESH: lt_data.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = l_binfilesize
TABLES
otf = la_jobout-otfdata[]
lines = lt_data[]
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
IF sy-subrc <> 0.
Error during conversion from OTF to PDF.
ELSE.
Creation of the document attachment
REFRESH: lt_data1.
CALL FUNCTION 'TABLE_COMPRESS' "#EC *
TABLES
in = lt_data[]
out = lt_data1[]
EXCEPTIONS
compress_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
Error during compress operation of the data
ELSE.
REFRESH: lt_objbin.
CALL FUNCTION 'TABLE_DECOMPRESS' "#EC *
TABLES
in = lt_data1[]
out = lt_objbin[]
EXCEPTIONS
compress_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
Error during decompress operation of the data.
ENDIF.
ENDIF.
ENDIF.
Pass table lt_objbin[] to WS_DOWNLOAD function module. It should work.
Thanks
Amol Lohade -
Se63 -Smartform Translations NOT UPDATING
Hi,
When I update my smartforms with additonal texts to be translated I activate and Exit smartform transaction
and go to se63 - Smartform translation, however, the changes that I made in the smartform does not reflect
in the Smartform translation.
I do not see the new texts that I've created.
Please AdviseHi Donna,
I hope you will help me in using se63 Tcode
Requirement is like this. the text written as text element in smartform ( dunning letter) should get converted to respective language of the customer to whom that dunning letter is given.
I translated the smartform into finnish,(right now for language 'finnish' only, I am doing and not for all languages) thro se63.
I dont know the next procedure after that,
Please provide the next steps after this.
the driver program for this smartform is standard function module. so i cannot change anything in function module. the tcode throu which printout is taken is f150.
rgds,
Madhuri -
Hi Experts,
i developed a smartform for invoice printing , i used in smartform do not translate option for restricting translations to other languages. But still i am getting in other languages. how to solve this issue?
Thanks & regards,
Satheesh .hi,
are you using driver program ,
if not please use the code in your sf source code. -
Smartform - translation to from english to ukranian
Hi,
i'm gettinh a problem with my smartform.
i've a field UOM(Unit of measurement), when i'm executing the smartform in English language.. i'm getting the correct value, which is 'ST', but after translation to Ukranian language i'm getting '******', though i've done translation for variables.
thanks
Regards
NitinHi,
There is no need to create or copy smartforms in different langaguges as we are doing in SAP scripts.
First please check :"Translate to all language Radio button". (Path: T/code "Smartforms "> enter form name> Form Attributes>Language attributes> set the radio button "Translate to all languages"(allow all languages for translations) or Set radio button to "selected languages" (allow specific languages for translations) and Add Spanish language.
Translations you can do via T/code SE63:
Path T/code SE63>Translation(Menubar)>R/# enterprise> Other Long Texts> Select SSF(For Smartforms)-->Enter form name at (Object name) --> enter Source language and Destination language.
Regards
Ram
Pls reward points if helpful -
Hi All,
I created few smartforms in development system and i translated them into different languages by logon into that particular language. I last activated one smartform in english language. Now i have to make modifications to the japanese content through Production Support system. For this i logon into production support system with logon language as 'JA'. When am opening the smartform in Display mode i can see the japanese content. But when i am opening the smartform in change mode the content of the smartform was displaying in english , how to solve this issue.
Regards,
LakshmiHi souji,
Example: If you want to translate smartform then steps are:
Step1 :
T/Code > Smartform>Global Settings -->genreal attributes Tab > Set flag (Radio Button)transaltionTo all languages/ Restricted languages
Please set this flag.
STEP2:
Translation:
Use T/code SE63>Translation(Menubar)>R3 enterprise> Other Long Texts>select " SSF"-->Enter Smartform name and from language and destination language.
STEP3:
Transporting translations :
Please execute the following program for transporting translations : RS_LXE_RECORD_TORDER
Target language = * or Target transalation lang.
Object type = SSF
Then Press Create Transport Request button. Create Request.
Then include all your translations to that request.
I hope this will solve ur problem.
Please check & Let me know.
Regards,
Raj. -
i have done a smart form in english i tried to translate it to finnish by first changing
the attributes of that form cto Selecte LAnguage-finnish and
went to se 63
translation
r/3
ssf
object name- i gave smart form name
changed the target language to fi
wen i tried to edit it it says INCORRECT CODE PAGE .COUL U PLZ HELP ME OUT OF THISHi krishna,
1. The problem with translation and smartforms, is the activation. You need to finish your smartform, activate it and after translate it.
If you translate the smartforms without activation, you will have problems like your.
Even then, if u r problem is not solved then check this,
Inside the smartform itself
under the Global Settings-> Form attributes
click on the form attributes and then on the right side u can see a display of two tabs 1) general setting
2) Output options
click on the General settings
there beneath you can see a box for Language Attributes
in this box you clearly mention the langugae into which you want to translate. -
Smartform translations deleted when activating smartform
I made some changes to a particular smartform. Problem is that when i activate these changes, all translations (done via SE63) are deleted. Is there any way to prevent this, cause i don't feel like translating the smartform every time i change something?
thank you.Hi souji,
Example: If you want to translate smartform then steps are:
Step1 :
T/Code > Smartform>Global Settings -->genreal attributes Tab > Set flag (Radio Button)transaltionTo all languages/ Restricted languages
Please set this flag.
STEP2:
Translation:
Use T/code SE63>Translation(Menubar)>R3 enterprise> Other Long Texts>select " SSF"-->Enter Smartform name and from language and destination language.
STEP3:
Transporting translations :
Please execute the following program for transporting translations : RS_LXE_RECORD_TORDER
Target language = * or Target transalation lang.
Object type = SSF
Then Press Create Transport Request button. Create Request.
Then include all your translations to that request.
I hope this will solve ur problem.
Please check & Let me know.
Regards,
Raj. -
Smartform Translation using SE63 returns Error 'Incorrect Code Page'
Hi,
I have created a smartform in english & want to translate to Language IT, FR, DE.
I am able to translate it using SE63 for DE but unable to translate to IT, FR.
The error in status is <b>'Incorrect Code Page'</b>.
Language Attribute is set to : Translate to all Languages.
In SE63 the Source Language: EN, Target Language: IT
The Languages installed in the system is EN & DE only.
My questions on this issue:
1. Is it required the language fonts for IT & FR be uploaded & then the Translation in SE63 work fine ???.
2. Is some other parameter needs to be set.
Rgds
VincentIf you need to translate the Smartform to any target language the Target Language must be intalled in the SAP System. The error occurs because IT, FR is not installed in the SAP System.
Installing the Language Code pages will solve the problem.
Hope That Helps
Anirban M. -
Smartform translation in SE63 is deleted after activate the form
Hello together,
I create a smartform and after activation I go to SE63 and translate this form to english.
After that I go back to the form an activate it again.
Now than all translations are gone !!!
Is that the normal behavior in SAP or is it my fault?
Thx ThomasHi ,
You have to be very careful when transilations....
follow the steps in this manner
1)VERY IMPORTANTLY NEVER OPEN AND ACTIVATE THE SMARTFORM WHEN YOU ARE IN SE63 .COME OUT OF THIS AND ACTIVATE THE FORM OR MAKES CHANGES ,WHAT I MEAN IS OPEN THE SMARTFORM WINDOW ONCE YOU COME OUT OF TRANSILATIONS
ITS SAP BEHAVIOUR ...NOT OUR PROBLEM.......
I FACED THE SAME BEHAVIOUR AND COULD RECTIFY
THIS ONLY BY FOLLOWING STEP 1.
PLEASE GIVE ME POINTS IF THIS IS HELPFUL. -
Hi
I am trying smartforms in that i am facing one problem I have define 2 tables say MARA & MAKT and I want to Print matnr & maktx on the form.
in Form I am defining itab & jtab in form interface-table also in global definations workarea for both the tables
in Page1 i am defining one table itab into wa_itab also define table columns in main loop i am passing jtab to wa_jtab (for 2nd table, Material description)
while activating the form i am getting an error %TEXT6 Field wa_JTAB-MAKTX has no defined value can anybody solve this .
thanks& Regards
Vinayak Deosthali.Hi Vinayak,
Below are the Steps to get material Description
1. Form Interface->Table
Define
IT LIKE MARA
2. Global Definitions->Global Data
define
GS_MAKTX LIKE MAKT-MAKTX
3. Create Table in Main Window
go to Data Tab->Loop->Check Operand
eneter IT into IT
4. Now for getting Material Description in Main Area of table use program lines
Use IT in Input Parameters & gs_maktx in Output Parameters
write following code:
TABLES : makt.
CLEAR : makt,gs_maktx.
SELECT SINGLE * FROM makt WHERE matnr = it-matnr.
IF sy-subrc = 0.
gs_maktx = makt-maktx.
ENDIF.
5. Create Text under program lines.
Use &gs_maktx& in text editor.
On assumption that u know about Table
I dont write steps how to design table
It's easily solve ur problem.
Plz reward point, if it solve ur problem.
Regards,
Digesh -
Problem in smartform driver program
hi all,
i was stuck with an error while executing a smartform, th e report output is comming for some documents but it is not comming for some documents and it is showning the exceptions as 2
in function module SSFCOMP_PROCESS_DOCUMENT while calling the form my code is like this..
LOOP AT ITAB.
AT FIRST.
CONTROL_PARAMETERS-NO_CLOSE = 'X'.
ENDAT.
AT LAST.
CONTROL_PARAMETERS-NO_CLOSE = SPACE.
ENDAT.
IF RAD1 EQ ' '. " rad1 is for print , rad 2 is for pdf download.
CONTROL_PARAMETERS-NO_DIALOG = 'X'.
CONTROL_PARAMETERS-PREVIEW = ' '.
CONTROL_PARAMETERS-GETOTF = 'X'.
OUTOP-TDDEST = 'LP01'.
CALL FUNCTION FNAME
EXPORTING
CONTROL_PARAMETERS = CONTROL_PARAMETERS
OUTPUT_OPTIONS = OUTOP
USER_SETTINGS = ''
V_VBELN = ITAB-VBELN
V_PRIOR_INVAMT = V_PRIOR_INVAMT
V_CUR_PO_TOT = V_CUR_PO_TOT
I_GST = I_GST
I_QST = I_QST
I_HST = I_HST
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = TAB_OTF_DATA
JOB_OUTPUT_OPTIONS =
TABLES
T_FINAL = T_FINAL
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.
TAB_OTF_FINAL[] = TAB_OTF_DATA-OTFDATA[].
ELSE.
*********errror triggering from the below function module after else.........
CONTROL_PARAMETERS-NO_DIALOG = 'X'.
CONTROL_PARAMETERS-PREVIEW = 'X'.
CONTROL_PARAMETERS-GETOTF = 'X'.
OUTOP-TDDEST = 'LP01'.
CALL FUNCTION FNAME
EXPORTING
CONTROL_PARAMETERS = CONTROL_PARAMETERS
OUTPUT_OPTIONS = OUTOP
USER_SETTINGS = 'X'
V_VBELN = ITAB-VBELN
V_PRIOR_INVAMT = V_PRIOR_INVAMT
V_CUR_PO_TOT = V_CUR_PO_TOT
I_GST = I_GST
I_QST = I_QST
I_HST = I_HST
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = TAB_OTF_DATA
JOB_OUTPUT_OPTIONS =
TABLES
T_FINAL = T_FINAL
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.
ENDIF.
please help me it is telling that as internal error for the exception 2.
regards,
venkatHi,
I m Deepak, i getting the same error while running print prog.
When i debuged the smartform i get the return code sy-subrc = 1
in internal function module SSFCOMP_PROCESS_DOCUMENT in smartform function module.
And the error i m getting is - Field #13; does not exist in form.
How can i solve this problem.
Please guide me regarding this as u already solved it.
Regards,
Deepak. -
PO Print out problems in smartform
Hello Experts,
I have got a smartform for MM PO.
Here i needed to do some modifications as per the clients new requirement.
The previous requirement was to print material basic data(long text using read_text from the print program) as per the material but according to the new requirement we have to print the material po text(long text using read_text from the print program) according to the item number in the po.
So for this requirement i changed the Id from GRUN to F03 and object from MATERIAL to EKPO, As our reuirement is to print material po text so in place of name for read text i concatenated the po number and item number.
All the modifications were done in the print program only, none in the smart form.
Now my problem is when i execute the smartform it says" Include text 020200481A does not exist (object EKPO, ID F03)"
in the include text module of the smartform the values are TEXT NAME : &itab-matnr& id : f03 object ekpo language en.
Please help me solve this poblem.
Regards,
Abhinab Mishrapass values below
TEXT NAME : Po number & item number (450001234500010)
TEXT OBJECT :EKPO
TEXT ID : F03
language : EN
here you find one check box like NO ERROR IF NO TEXT EXISTS tick this check box
Maybe you are looking for
-
File attached.... Have gone thru FAQs and examples. (And also 4 parts of 'Creating a Report in Microsoft Excel Using the LabVIEW Report Generation Toolkit'. Unfortunately this document is not clear enough for me.) Have task of modifying rows of the s
-
How do you combine 2 iTunes accounts into 1 onto a Mac?
My daughter has an ipod and got a new Mac. She started a new iTunes account on her Mac. How can we combine the 2 accounts?
-
Improvements and Changes in ECC 6.0 with 4.6/4.7 Version
Hi All, Can any body tell me what are the Improvements and Changes made in ECC 6.0 with 4.6/4.7 Version, in Configuration, Master data, Transactions and other new functionalities. Please let me know the above details with reference to MM Module persp
-
Satellite P850/P855 - how can I turn off the trackpad light?
Hi, I recently bought the laptop model mentioned on the title and I would like to know how I can turn off completely the trackpad light. By deactivating the trackpad it turns on and even if I go to ->Synaptics Poinitng Device -> Device Settinngs -> D
-
Method ACTIVATE_PDS_2005 is not availble in ECC 6 in BADI CUSLNTRTO_ADDIN
method ACTIVATE_PDS_2005 is not availble in ECC 6 in BADI CUSLNTRTO_ADDIN, is there any replacement or particular solution availble? Please advise.