cancel
Showing results for 
Search instead for 
Did you mean: 

How to print samrtform in japanese based on ship to party

Former Member
0 Kudos

Hi Gurus,

Need you rhelp.

I have an requirement to print my smart form in japanese based on the ship to party- if the guy belongs to japan it should print in japanese or else it should print in enghlish if he belongs to singapore.

my idea:

first i will design to forms of same layout in the same smart form name.

then by going se63 to translate the text .

PLs help me asap.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member196280
Active Contributor
0 Kudos

Create Standard text for both Japanese language and ENGLISH language and call this standard text in your program. before printing the standard text, do the following.

IF company code EQ 'JP'

    • print standart text in japanese language

ENDIF.

IF company code EQ 'SG'

    • print standart text in ENGLISH language

ENDIF.

I guess you can do the rest.

Reward points to all useful answers.

Regards,

SaiRam

Former Member
0 Kudos

why you should use SE63 Transaction for ship-to-party address ? ship-to-party address is variable,depend upon customer the address will vary.

so you need to write diffrent address,first get the data from kna1 table using ship-to-party number(Kunnr),now look at customer country (LAND1),then print the japanese language (if they maintain address in japanese language)...

you have to keep logic in ship-to-party address window ..

if kna1-land1 = 'JA'.

print japanes address

else.

print english language.

endif.

try to look at database table,how they are maintaing address in kna1 table or adrc table..

Thanks

Seshu

Former Member
0 Kudos

Hi reddy,

Not only the address,

all the static txt imean the entire form layout design should be in japanese (except the dynamical data)

or is in english.

Former Member
0 Kudos

Oh Okay then you need to use SE63 Transaction,but dynamic data you need check with customer language or customer country

Thanks

Seshu