on 09-27-2013 2:05 PM
Hi all,
I have created an wda alv report with TEST as node and 4 attributes under it.
I have mentioned data elements as type for the attributes created.
eg: PERNR of type PERSNO
DATE of type DARDT
I am able to see data for first 2 fields but unable to display data for other 2 fields
I have checked the internal table which is binded to alv it shows data for 4 fields and i have even checked the context for that view it shows all the 4 attributes.
Can any please help me out what might be the problem for not displaying data for last 2 columns.
I believe that you had added two fields in the interface contoller may be after binding it.
Do this step, remove the mapping you have done for the interface controller and redo the mapping again.
Thanks
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Node A
attributes : A type X,
B type X,
C type X,
D type X.
Read this Node and bind this internal table.
Thanks
Vijay.
At last the problem is resolved
Instead of creating a work area and internal table explicitly by creating a structure using types.c
I followed below procedure which resolved my problem.
work area
wa_flight TYPE if_componentcontroller=>element_node_flight.
internal table
it_flight TYPE if_componentcontroller=>elements_node_flight.
After declaring the above steps i amended the records to the internal table it_flight and binded to the alv.
It works as expected now, displays all the columns.
HI Naveen,
Check while debugging data will get populated for that fields or not. Check you bind the field in layout or not.
Regards,
John.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi , Can you mention all the four attributes which you have taken? Thanks Vijay
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 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.