on 10-29-2010 6:07 AM
Hi Guys,
I have to create dynamic input fields and need to attach F4 with them. With help of Multipane i am creating Input fields and have created a general OVS for all of the required F4. But how to handle these at run time ? or is there any solution to meet this requirement.
Regards,
Shail
hi,Shail.
You know, the input field created dynamically should also be bound to one context attribute. For example,you can use :
** create input field for attribute CARRID
CALL METHOD cl_wd_input_field=>new_input_field
EXPORTING
bind_value = 'FLIGHTS.CARRID' "this is Context Attribute, even the context node is also created dynamically
id = 'INPUT_FIELD_CARRID'
RECEIVING
control = lo_input_field.
Then, you can make use the node_info, just like following
CALL METHOD co_dynnode_info->set_attribute_value_help
EXPORTING
name = 'CARRID'
value_help_mode = if_wd_context_node_info=>c_value_help_mode-ovs
value_help = 'OVS'.
Hope it can help you a little.
Best wishes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you get a reference to the context node info - IF_WD_CONTEXT_NODE_INFO you can call method SET_ATTRIBUTE_VALUE_HELP to set the value help that should be used for that context attribute.
you can get the node info from the node using GET_NODE_INFO.
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.