‎2009 Apr 14 2:20 PM
Hi there, could You tell me which table keeps application texts?
I've got such problem, that I'd like to determine text language by code, so for example:
IF ( condition1 ) .
text-001 will be taken in language A .
ELSEIF ( condition 2 ) .
text-002 will be taken in language B .
ENDIF .
I tried
IF ( condition1 ) .
langu = 'A' .
ELSEIF ( condition 2 ) .
langu = 'B' .
ENDIF .
but it has no effect, because when sy-langu in one line is set to new value ... in the next line in debuger it takes the old value
So maybe I could ... SELECT texts directly from database with language key, according to some code-condition ... is it make any sense?
DATA: langu LIKE sy-langu .
IF ( condition1 ) .
langu = 'A' .
ELSEIF ( condition 2 ) .
langu = 'B' .
ENDIF .
SELECT text FROM text_table WHERE language = langu .
Which table are text kept in? I'd be thankful for some tip, greetings. P.
‎2009 Apr 14 2:28 PM
Hello,
You mentioned that tryed to change sy-langu, I think it is not possible.
just case sy-langu and write the text you need.
I hope this was helpful.
Bye
Gabriel P-.
‎2009 Apr 14 2:27 PM
HI,
Use this Statement to get the text elements of the program..
READ TEXTPOOL prog INTO itab LANGUAGE lang.
For more help press F1.
‎2009 Apr 14 2:28 PM
Hello,
You mentioned that tryed to change sy-langu, I think it is not possible.
just case sy-langu and write the text you need.
I hope this was helpful.
Bye
Gabriel P-.
‎2009 Apr 14 2:41 PM
check with table.
CIFTXTPOOL - Table for Storing Additional Integration Model Texts
Regards,
Krishna
‎2009 Apr 14 2:52 PM