Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dynamic table columns

Hi all,

I have a no dynamic table, now I need add a dynamic columns a this table, I don't know the numer of columns until the user does not select a series of pre-filters.

How can I modify mi table? I have crate all table dynamically or can I to create dynamically only some columns?

Thanks and regards!!

Former Member
replied

You can do both, create the whole table dynamically or add columns to an existing table.

You will have to write all the dynamic code within the wdModifyView() method. Only in this method, will you get the handler for the existing view(parameter variable). Using the Interfaces for table and column, build a whole table or add columns to the table.

Check the IWDTable javadocs for further help:

http://help.sap.com/javadocs/nwce/ce711sp02/wdr/com.sap.wdr/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDTable.html

Also check out dynamic coding in Web Dynpro java for further guidance on this topic.

Regards,

Sharath

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question