Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Print headings using RSBTCHH0 on ALV grids

Former Member
0 Kudos

Most reports I have developed use the list processing event top-of-page to print headings for the report listing by calling standard SAP subroutine BATCH-HEADING in program RSBTCHH0 when structure BHDGD has been populated. Field BHDGD-LINES contains the line size used for printing the report headings. When we use ABAP objects to print data in the ALV grid we can add the same processing to print page headings to event PRINT_TOP_OF_PAGE. It appears as if the heading data is printed until the position of last column of the grid before the text is wrapped, creating a new line. Is there anyway of controlling the default line-size when doing grid printing.

Thanks in advance

Colin

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Refer to this document for all your ALV queries:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an easy reference for alv grid control.pdf

regards

Aveek

3 REPLIES 3

Former Member
0 Kudos

Hi,

Refer to this document for all your ALV queries:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an easy reference for alv grid control.pdf

regards

Aveek

0 Kudos

I have read this document before but did not found the answer.

0 Kudos

Hi,

Search for line-size in the document and it has a mention of changing the header layout.

regards

Aveek