on 05-21-2014 10:22 AM
Hello,
We have a requirement to rearrange table column in a particular order in WDA. Column order is known at runtime only.
So we need to rearrange columns at runtime or dynamically.
Example.
Table contains following columns -
PO Material Plant Creation Date Creation time
001 MAT1 1800 21/05/2014 01:25:23
how can we change column order or sequence to following -
Material PO Creation Date Plant Creation time
MAT1 001 21/05/2014 1800 01:25:23
Thank you.
Hi nikhil,
Dynamic node creation is good method to resolve this issue... As Rama has already written.
You add dynamic node in modify view method.
One more way to display data...
you can show data in web dynpro ALV using Dynamic ALV creation. You can use field-symbol for that.
Regards,
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rama,
Hi Jayvin,
Many thanks for your inputs.
There are 2 things -
1. Output we have to display in tree table i.e. hierarchical display.
2. Table columns are constants so making it dynamic table would be unnecessary.
Is it possible to create hierarchical display with more than 1 level of hierarchy ?
Thank you for your reply.
Regards,
Nikhil Tiwari
Hi Nikhil,
Yes, its possible to create multi level hierarchy in tree table.
Please check the below link
Integration of Tree Structure in a Table using Webdynpro Abap - Community Profiles - SCN Wiki
Hope this helps you.
Regards,
Rama
Hi Nikhil,
You can create dynamic node and also tree table dynamically but its tricky.
As suggested in the below link, you can have your node created and there the data dynamically decides the level of your tree table. i.e for node leaf = abap_false, you can create nested levels too.
Integration of Tree Structure in a Table using Webdynpro Abap - Community Profiles - SCN Wiki
Hope this helps you.
Regards,
Rama
Hi Nikhil,
We do not have provision to re-arrange the columns of static table. But, there are 2 possibilities available to achieve your requirement
Option1:
Option2:
please refer the below link ;
Creating UI Elements Dynamically in Abap Webdynpro Application
Hope this helps you.
Regards,
Rama
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.