12-04-2008 11:54 AM
Hello,
I use ECC50 and now for creating bsps I hust want to
have a method/fm in oder to get the ort-texts.
In crm I cqn use cl_wd_utilities=>get_otr_text_by_alias in order to
get the otr-texts, but in ECC5.0 we do not have this method.
Is there another method/fm to get the otr-texts ?
Thanks
Gerd
12-04-2008 12:14 PM
Hi
Use FM 'SOTR_GET_TEXT_KEY' to get the OTR text. Import alias name and get the text.
Regards,
Shrinivas
12-04-2008 12:11 PM
Hi Storz,
Have you used the function module READ_TEXT. to get the OTR text.
Thanks,
12-04-2008 12:14 PM
12-04-2008 12:14 PM
12-04-2008 12:19 PM
Hi Storz,
here is the code,
Id specifies whether is standard text in my case it is 'ST'.
Main_name is u r OTR text name.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = id
language = sy-langu
name = main_name
object = 'TEXT'
TABLES
lines = tline
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8
Please try this.
Thanks
12-04-2008 12:14 PM
Hi
Use FM 'SOTR_GET_TEXT_KEY' to get the OTR text. Import alias name and get the text.
Regards,
Shrinivas