on 07-27-2007 3:03 PM
Hi, All:
In Webdyn Pro, Can we use Text element or can we assign OTR to drop down list text field.
for example:
wa_value_set-text = $OTR:ZPACKAGE/TEST_MSG
thanks,
STEP 1 GET THE OTR TEXTS:
<b>
As described in previous answer...
CALL METHOD CL_BSP_RUNTIME=>GET_OTR_TEXT
EXPORTING
ALIAS = 'OTR_Package/OTR_Elemet'
RECEIVING
TEXT = wa_value_set-text .
</b>
Step 2 Update Node attribute info with the set of
<b>
Update the meta data info behind the COntext Node attribute that is to have the
drop down list.
GET NODE from WD_CONTEXT. (use wizard)
Then call GET_NODE_INFO to get the reference to the meta.
Then ADD your values, whatever they are from STEP 1 to the ATTRIBUTE
of the node. Using SET_ATTRIBUTE_VALUE_SET method.
</b>
Seems a strange thing to do.
May I ask why the OTR is to be the source of drop down lists ?
regards
Phil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
u can use the follwing method to get the otr trst and asign it to the dropdown list text.
[code]call method cl_wd_utilities=>get_otr_text_by_alias
exporting
alias = '$OTR:ZPACKAGE/TEST_MSG'
receiving
alias_text =wa_value_set-text .[/code]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the Text element & OTR.
If its text element then you can assign directly.
if its OTR, you can use below code..
CALL METHOD CL_BSP_RUNTIME=>GET_OTR_TEXT
EXPORTING
ALIAS = 'OTR_Package/OTR_Elemet'
RECEIVING
TEXT = wa_value_set-text .
Hope this will solve your problem..
<b>*Reward each useful answer</b>
Raja T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.