cancel
Showing results for 
Search instead for 
Did you mean: 

printing address in chinese char- sap script

Former Member
0 Kudos

Hi

I have a requirement to print address in chinese(ZH language).

currently we need to write down the Chinese address manually on envelop if mailing address is in China.

we would like to have the logic for the output. if there is Chinese name/address maintained in customer master, then use Chinese name/address. otherwise, use original English name/address to print on statement.

in sap script they are passing address number to get this address

/:   ADDRESS PARAGRAPH AF PRIORITY P LINES 10
/:     ADDRESSNUMBER &DKADR-ADRNR&
/:     FROMCOUNTRY &T001-LAND1&
/:   ENDADDRESS

Anyone help me out

Regards

Kumar

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

you can use this with this format

/: ADDRESS [DELIVERY] [TYPE t] [PARAGRAPH a] [PRIORITY p] [LINES l]

/: TITLE title

/: NAME name1[,name2[,name3[,name4]]]

/: PERSON name of natural person [TITLE form of address]

/: PERSONNUMBER number of the personen

/: DEPARTMENT department

/: STREET street name HOUSE house number

/: LOCATION additional location information

/: POBOX po box [CODE post code / zip code] [CITY city]

/: POSTCODE post code / zip_code

/: CITY city1[,city2]

/: NO_UPPERCASE_FOR_CITY

/: REGION county / state

/: COUNTRY recipient country [LANGUAGE language code]

/: COUNTRY_IN_REC_LANG

/: LANG_FOR_COUNTRY language key

/: FROMCOUNTRY sender country

/: ADDRESSNUMBER address number

/: ENDADDRESS

In detail

COUNTRY_IN_REC_LANG

This flag tells the system to use the recipient language for the country name.

( COUNTRY_IN_REC_LANG u2018Xu2018 )

( Default: Recipient language is not used: COUNTRY_IN_REC_LANG u2018 u2018 )

LANG_FOR_COUNTRY

Default = Space

Use this parameter to explicitly set the language in which to print the country name of a foreign address. By default, the system uses the language of the sending country.

LANGUAGE

Language code of the language of the recipient country, if it differs from that of the recipient COUNTRY. Example: addresses in Switzerland. Standard SAP language codes are used; you can display these in the initial SAPscript text processing screen or in table T002.

FROMCOUNTRY

Specifies the language to be used for formatting the name of the recipient country. For most European countries, the recipient country is specified by placing the international car registration letters in front of the post code and separating them from the post code with a hyphen. You must always specify the sender country.

Former Member
0 Kudos

SE63

go to transaction SE63. Menu Translatin - ABAP objects - other long texts. Expand FS - select SSF.

give the smartform name in the object name. select the source and target language. once you provide these details, you can translate the words and put it manually in the text names and save it. this will do the job for you. a little R&D will be enough for you do the changes.

http://help.sap.com/saphelp_sm310/helpdata/en/b4/54601d77f38e429ffad9e3e11c1b25/content.htm

http://help.sap.com/saphelp_nw04/helpdata/EN/41/71601b3ab0f34a8e00aa01338c68f3/content.htm

REWARD POINTS IF HELPFUL

Former Member
0 Kudos

Go to SE63 transaction ->Translation tab>ABAP objects>Other Long Texts->FS Forms and Styles-----> FORM Forms for scripts

Go to SE63 transaction ->Translation tab>ABAP objects>Other Long Texts->FS Forms and Styles-----> SSF SAP Smart Form

for smartforms

give script name

lamguage source EN(english)

target ZH(chinese)

Press EDIT tab

/: ADDRESS PARAGRAPH AF PRIORITY P LINES 10

/: ADDRESSNUMBER &DKADR-ADRNR&

/: FROMCOUNTRY &T001-LAND1&

/: ENDADDRESS

for above address you need to maintained chinese translation here.

if help ful rewad points

Thanks & Regards

Bhupal