Skip to Content

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

Added sentence with more than 255 char in header ALV report

hi Experts,

I have one report in which i need to show all profit center entered in selection option in header of ALV grid .

earlier report was using 'REUSE_ALV_COMMENTARY_WRITE' with 'TOP_OF_PAGE' event which allows only 60 character.

so i used "HTML_TOP_OF_PAGE" of ALV with "cl_dd_document".

but it allows only 255 character and when user enters long range in selection option then my string in header is cut from 255th character.

so is there any way to solve this problem as i need to display all valid profit center from input and in some case string containing valid profit center can be longer than 255 character.

Former Member
Former Member replied

Hi Zubin,

Try creating your ALV using Split container.

Split the container horizontally into 2. Use the top container as header.

Now you can fill as many data into header using a  class method.



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