cancel
Showing results for 
Search instead for 
Did you mean: 

Language Problem

Adi_Bathineni
Participant
0 Kudos

HI Guys,

We have developed a Smartform for Invoice.

It is working fine, but the problem is when the Data maintained in the Some Language (Ex: English), if we *login in to the system with Chinese* , the SF is not able to print the data for some fields which are maintained in English.

How to resolve this problem???

if the field have data, irrespective of login language i should read the data...

I know it is possible for the READ_TEXT..

But what about the header data??? if some of the data is maintained in English if we login in Chinese??

Thanks,

Adi

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

You can use se63 to maintain your transalations in Chienese language.

Procedure for that is:

In se63 Translations>long texts->SAP script-->Smartforms.

Enter your smartform name and click EDIT.

You can go and change the text where ever u need.

Initailly you need to check the language in which smartform was created.

If the original lang of smartform is suppose EN and u want to make the text changes in GE, u need to go into SE63 in GE SAP logon.

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 and execute.

You can check if it has got included in TR from se10.

Please revert back for any queries.

Thanks,

Archana

former_member195383
Active Contributor
0 Kudos

You can maintain the translation in SE63 in the concerned language .

while doing so, please log in in that language , other wise, some characters in the local language will not be displayed.

Adi_Bathineni
Participant
0 Kudos

Thanks for all your replies..

I got the answer...

The Language should consider based on the Customer Master language setup in the System for any sales document.

Thanks,

Adi.

Former Member
0 Kudos

Hi,

If you created the smartform in english and you want execute in chinese language then use the tcode SE63 for translating the header texts like column heading etc into chinese language or any lang.

After translating execute your smartform.

Thanks,

suma.

Former Member
0 Kudos

hi you want to print the whole data in chinese .

If the login langauge is in english.

Can you please explain it to me clearly.

We can transalte the text elements using SE63.

Former Member
0 Kudos

HI,

the FM read_text is related to the maitain lanagaue of the document. Try the following codes please:

FORM WRITE_COMMENTS.

DATA: RT_LINES LIKE TLINE OCCURS 10 WITH HEADER LINE.

DATA:

BEGIN OF STXL_ID,

TDOBJECT LIKE STXL-TDOBJECT,

TDNAME LIKE STXL-TDNAME,

TDID LIKE STXL-TDID,

TDSPRAS LIKE STXL-TDSPRAS,

END OF STXL_ID.

clear rt_lines[].

SELECT SINGLE * FROM STXL WHERE TDOBJECT = 'EKKO'

AND TDNAME = TTAB1-EBELN

AND TDID = 'F02'.

if sy-subrc = 0.

MOVE-CORRESPONDING STXL TO STXL_ID.

import tline to rt_lines

from database stxl(tx)

client SY-MANDT

id STXL_ID.

loop at rt_lines where not TDLINE is initial .

IF RT_LINES-TDLINE NE COMMENTS.

concatenate TTAB1-COMMENTS RT_LINES-TDLINE into TTAB1-COMMENTS.

ENDIF.

COMMENTS = rt_lines-tdline.

endloop.

endif.

CONDENSE TTAB1-COMMENTS.

clear rt_lines[].

CLEAR RT_LINES.

CLEAR COMMENTS.

hope it helps~~

Edited by: leen_202 on Apr 23, 2009 7:14 AM