on 01-09-2013 10:22 AM
Hi Experts,
In Web Dynpro ABAP component enhancement, I need to add two table columns(say X and Y) beside another table column(say C) in a view.
Actually the table contains a number of columns like
A
B
C
D
E
Now I'm in a need to add two more table columns X and Y which should be added beside table column C through enhancement. I have tried a lot, but can't able to add those columns beside column C. The two columns(X and Y) are getting reflected above column A.
How can I achieve this. Please help me.
With Regards,
RAM
Is your requirement to change the position of the two enhanced columns
from
X Y A B C D E
to A B C X Y D E
If yes then you can use SET_POSITION method of class CL_SALV_WD_COLUMN to change the position of columns.
Check : http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=318671409
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SALV_WD_TABLE is for ALV you cannot use this for Table UI. For your requirement, delete the table UI by right click on the table and click on 'Remove Element' in the enhancement mode.
Then create a new Table UI and bind to the existing node and re arrange columns as per your requirement.
You can check this document for ref: Enhance Web Dynpro Component
Hope this helps u.,
Regards,
Kiran
This question seems to have been double posted and has been answered here: http://scn.sap.com/message/13769611
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.