Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change language only for address node in Thai for Smartform ?

0 Kudos
1,002

Hi all.

          I have a requirement for Smartform in which I need to display only the address in Thai language. Remaining everything will be in English.

I used an address node for the same and tried with "Fixed Language for Country Indicator" and "Different Recipient Language" and made it to TH.

Also tried SET LOCALE LANGUAGE 'TH' for the same but still its coming in English.

How can I proceed with this..?

1 ACCEPTED SOLUTION

satyabrata_sahoo3
Contributor
0 Kudos
649

If its fixed one Hard code it. else use FM ADDR_COMM_GET and pass Adress number and Language Key.

-SS-

10 REPLIES 10

edgar_nagasaki
Contributor
0 Kudos
649

Hi Mayur,

Just a guess (don't have access to system right now to test it) but have you tried to use SET COUNTRY 'TH' or to change SY-LANGU at that window?

Regards,

Edgar

0 Kudos
649

Hi Edgar,

                I tried with that also. Its not working.

Former Member
0 Kudos
649

Hi,

The language of your choice is supported in your version ECC?

Regards

Ivan

0 Kudos
649

Hi Ivan,

            Can you tell me how to check for that ..?

satyabrata_sahoo3
Contributor
0 Kudos
650

If its fixed one Hard code it. else use FM ADDR_COMM_GET and pass Adress number and Language Key.

-SS-

0 Kudos
649

Hi,

      I am getting address no at runtime. I tried with it in my smartform and saw in debugging there is no data available from the exporting parameter for that Address no.. ?

0 Kudos
649

This means no data maintained in ADRC for the address number with language you are providing. Execute the function module in SE37 and test by providing the same parameters.

-SS-

0 Kudos
649

Ya I tested for the FM also in testing client. The language is English only. Still it was not returning anything. I am working in SRM system and using interface SF_PO-BILL_TO. Its same as std smartform BBP_PO. Here the Address no and the name, city everything is populating in English at runtime.

So is there any way of converting the texts that are coming in BILL_TO to Thai and display as text..?

0 Kudos
649

The address in ADRC table need to be maintained with THAI texts. Then you can get it.

0 Kudos
649

Hi Satyabrata,

                        Thank you for your replies. I will do the same.

Regards,

Mayur