on 05-14-2008 4:31 AM
Hi Friend ,
I ve a problem with the ALV output. Actually i am getting all the value in the internal table and then i am binding the table with the node . But i wonder why the output is not coming in the ALV table only the blank table is coming .
Regards,
Satya
My problem is solved , the issue is like i was not mapping the output node to my view node .After mapping its coming correct .I would like to thanks to every body for there suggestion and help
Regards,
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi satya pujahari,
I think You did not embed the table in to the viewcontainer of ALV in Window.I think this solve your problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satya,
I have listed the basic steps in brief.Just check if u have missed any of them.
1. In the component properties , the alv component should be declared as used component.
2. Similary in the corresponding view where the alv table is to be displayed , the alv component should be declared as used component.
3.In the view where the alv table is to be displayed, add a container (ViewContainerUiElement).
4. Go to the windows tab. Embed the alv table view to the above created container.
5. Map the context node of component controller with the interface controller data node.
6. instantiate the alv component in init method of the view.
With regards,
ajay
Do any of the standard SAP - SALV demo and example applications have the same problem? If they do then I would suggest that you are at the point where you consider opening a support ticket. If not, then all I could say you can do is double check everything. Maybe create a new test component and just try the ALV data binding real quick. The process isn't all that complex, so there either has to be a bug in your system or there is a step missing.
Hi Satya,
Just check whether you have mapped the comonent controller context node with the data node of interface controller.If this mapping is missing , then an empty table will be displayed.
With regards,
ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
first u instantiate the alv component with the use of wizard.
then u call the method "GET_MODEL".
Then u call the method "SET_DATA" and set the alv table with the node in which u have ur data.
check this code.....
DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
*declaration of alv usage
*declare config model
DATA lo_config_model_value TYPE REF TO cl_salv_wd_config_table.
lo_cmp_usage = wd_this->wd_cpuse_alv_requi_list( ).
IF lo_cmp_usage->has_active_component( ) IS INITIAL.
lo_cmp_usage->create_component( ).
ENDIF.
lo_interfacecontroller = wd_this->wd_cpifc_alv_requi_list( ).
lo_config_model_value = lo_interfacecontroller->get_model( ).
lo_interfacecontroller->set_data(
r_node_data = lo_nd_req_list
).
here lo_nd_req_list is the name of my node.
Regards
chythanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
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.