on 10-18-2010 1:11 PM
Hi,
I need to access multiple OTR texts in my Web Dynpro view at once,I know the method CL_WD_UTILITIES=>GET_OTR_TEXT_BY_ALIAS will retrieve one OTR text when alias is provided.
I need to pass multiple aliases to retrieve their respective OTR texts.
Can any one let me know how to get this done?
Thanks.
Regards,
Salma
Hi,
If you want to select multiple OTR text at a time then you can select it directly from the table
go to table SOTR_HEAD and pass the alias name in the field ALIAS_NAME. From the selected record get the value of the field "CONCEPT".
Pass the value of CONCEPT selected above in the field CONCEPT of table SOTR_TEXT. The field TEXT will contain the otr text created by you. You can create a sql statement to fetch all in one shot in an internal table.
Thanks
Vishal Kapoor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello Salma,
Right now only method is CL_WD_UTILITIES=>GET_OTR_TEXT_BY_ALIAS.
You can try with looping throught all.
Best regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
_
Get all the OTR texts by passing all the alias...
I don't think we can get all the OTR texts by passing all the alias one time..If we does want all the texts, i think we can only use the Internal table..For example:
Loop at lt_table into ls_table.
CL_WD_UTILITIES=>GET_OTR_TEXT_BY_ALIAS( ls_table-alias ).
Endloop.
So sorry for my Joke..._..
Best wishes..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.