on 02-27-2012 2:15 PM
Hi,
i have created an otr text with sotr_edit. Now if this text is created in english, the fallback is also in english if the user logs in with an other language. I have now some text which are created in german, so the fallback is german. I want to change this zu english. I have tried to change the master language of the otr text but it doesnt change aynthing (after OTR buffer reset).
Does somebody have an idea?
bye & thx Richard
OTR fallback language is determined statically via FM SOTR_SYSTEM_GET_SECOND_LANGU when using cl_wd_utilities=>get_otr_text_by_alias.
If you need something dynamic, please use following function-module
CALL FUNCTION 'SOTR_GET_TEXT_KEY'
EXPORTING
alias = lv_otr_alias
langu = lv_langu " <-- primary language
search_in_second_langu = abap_true
second_langu = 'E' " <-- fallback language
IMPORTING
e_text = lv_otr_text
EXCEPTIONS
no_entry_found = 1
parameter_error = 2
OTHERS = 3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No idea anybody?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.