Skip to Content
avatar image
Former Member

Printing script in different launguages based on the condition

Hi all,

Can any one provide me overview like how to proceed with printing the script in different languages based on some condition in the driver program.

Appreciate ur answers.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 29, 2009 at 10:20 AM

    Hi,

    For printing the script in different languages, you need to have the script in generated i different languages and once you have the script in the languages you need then in Function Modules.

    Import parameters you have sy-lang attribute to which we can pass the language we want the script to get open. and execute the text elements. of the FORM in the FM write_form.

    For eg:

    I have a script in both German and English languages then in the OPEN_FORM i need to pass the language i want the script to get opened.

    Here we can pass the value through a variable according to the condition we want.

    Regards

    Sarves

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Yes you can go with if else conditions in the scripts text editor where ever you want to display the headings in that particular language

      " Example
      IF &language& = 'EN'    "Get the language from the driver program and display accordingly
      Thankyou
      ELSEIF &language& = 'DE'
      Danke
      ENDIF

      Regards

      Sarves

  • avatar image
    Former Member
    Jul 29, 2009 at 11:57 AM

    Thanks Every one.

    Add comment
    10|10000 characters needed characters exceeded