cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with language in script

Former Member
0 Kudos

Hi ,

I have encountered a problem and need help urgently,

I have a script in 3 different languages. The script is for printing the billing document. The billing document item texts are in dfferent languages. i mean one billing document the item text is in english,and the other in german and so on. These texts are called in the script using an include statement. Now the texts are not being displayed in the print preview.

I went through the debugging and found this error

INCLUDE VBBP ,0031231231...,1919,E is not available.

The reason i found is that the texts in the billing document are in german language.

so what i have done is i have changed the code in the script i.e..in include i added language DE and it was working well,

but my problem would be the texts are in other language in the billing document this is failing. so can anyone tell me how to display texts when the texts in the billing document are in any language.

Help will be rewarded.

thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

use simple formula before printing

/: IF &NAST-SPRAS& = 'EN'.

INCLUDE UR TEXT HERE WITH EN

/: ENDIF.

/:IF &NAST-SPRAS& = 'DE'

INCLUDE UR TEXT HERE WITH DE

/: ENDIF.

/: IF &NAST-SPRAS& = OTHER LANGUAGE

INCLUDE UR TEXT HERE WITH OTHER LANGUAGE

/: ENDIF