on 01-20-2009 10:00 AM
Hi Friends,
Currently, I am working on SELECT-OPTIONS component, Variants.
In component controller WDDOINIT, I have got the instantiated the select-options component.
And I have one more pop-up view, in Get_variant action method ,I will be getting the data of Variants and Using the methods set_range_table_of_sel_filed( ) and set_value_of_parameter_filed( ), I am setting the data to Selection-screen.
For select-options fileds.
CALL METHOD wd_comp_controller->m_handler->set_range_table_of_sel_field(
EXPORTING
i_id = l_searchparameter-name
it_range_table = l_dref ).
for Parameter fileds.
ALL METHOD wd_comp_controller->m_handler->set_value_of_parameter_field(
EXPORTING
i_id = l_searchparameter-name
i_value = l_dref ).
It runs successfully for all the fileds , and after coming out of this method, I am getting an error like
Subnode WDR_SELECT_OPTIONS#COMPONENTCONTROLLER.CONTEXT.BEGDA does not exist.
But in webdynpro, For select-option fileds we will not be creating any context.
Could you please help me, in solving this issue.
Regards,
Xavier.P
Edited by: Xavier Reddy on Jan 20, 2009 11:07 AM
sap note has been raised
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Xavier,
CALL METHOD wd_comp_controller->m_handler->set_range_table_of_sel_field(
EXPORTING
i_id = l_searchparameter-name
it_range_table = l_dref ).
Put a break point on the method and check what value is passed in i_id field because here we pass the name of the field for which we want to create the range.
Regards
Arjun
Edited by: Arjun on Jan 20, 2009 4:11 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
True you wont be creating any context for select option but you will be displaying some data in the range of that select option somewhere like in any table or drop down... check out there if you have created any context there...........
regards
Pranav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pranav,
I have stored the Variant In INDX Table.
And using Import statement, i am getting the Varaiants into a internal table and form there to work-area and based on the filed I am setting to Selection-screen fileds.
but no where I have created the Context, I have Created a Context to Hold the variant name, description, or Global.but not for selection-screen fileds
Regards,
Xavier.P
Edited by: Xavier Reddy on Jan 20, 2009 11:34 AM
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.