Skip to Content

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

BSP Code


I have a 'Z' BSP application which uses the standard class CL_BSP_HAP_DOCUMENT_UI and method DOCUMENT_GET_LIST_R_OPEN2. In this I'm trying to display a table which has structure "HAP_S_DOCUMENTS " from this method. Need to show one more column in the application, but this standard structure doesnot have this column.

I can think only one way, need create one more sturcture that includes my new column and HAP_S_DOCUMENTS and need to fill the internal table and display this in BSP.

How can we can add column dynamically . What is the best and easiset way of doing this.

In the LAYOUT coding -

<htmlb:tableView id              = "<%= cl_bsp_hap_document_cs=>c_bsp_documents_todo %>"
                       visibleRowCount = "12"
                       fillUpEmptyRows = "<%= cl_bsp_hap_document_cs=>c_false %>"
                       width           = "100%"
                       onHeaderClick   = "SORTING"
                       sort            = "APPLICATION"
                       headerVisible   = "<%= cl_bsp_hap_document_cs=>c_true %>"
                       headerText      = "<%= otr(PAOC_HAP_DOCUMENT_UI/TITLE_LIST_TODO) %>"
                       selectionMode   = "MULTISELECT"
                       table           = "<%= APPLICATION->T_DOCUMENTS_R_OPEN %>" >

Highly appreciate your help!!!



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