Application Development and Automation 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: 
Read only

ALV Reports

Former Member
0 Likes
573

Hi All,

How to put a header for Custom ALV Container?

Thanks & Regards,

Swamy

1 ACCEPTED SOLUTION
Read only

rahulkavuri
Active Contributor
0 Likes
526
module pbo output.

  *set pf-status 'MAIN100'.*
  *set titlebar 'MAINTITLE'.*

  if g_alv_tree is initial.
    perform init_tree.

    call method cl_gui_cfw=>flush
      exceptions
        cntl_system_error = 1
        cntl_error        = 2.
    if sy-subrc ne 0.
      call function 'POPUP_TO_INFORM'
        exporting
          titel = 'Automation Queue failure'(801)
          txt1  = 'Internal error:'(802)
          txt2  = 'A method in the automation queue'(803)
          txt3  = 'caused a failure.'(804).
    endif.
  endif.

endmodule.                             " PBO  OUTPUT

Double Click on MAINTITLE and set the title you want.. hope this helps

Hi All,

How to put a header for Custom ALV Container?

Thanks & Regards,

Swamy

1 REPLY 1
Read only

rahulkavuri
Active Contributor
0 Likes
527
module pbo output.

  *set pf-status 'MAIN100'.*
  *set titlebar 'MAINTITLE'.*

  if g_alv_tree is initial.
    perform init_tree.

    call method cl_gui_cfw=>flush
      exceptions
        cntl_system_error = 1
        cntl_error        = 2.
    if sy-subrc ne 0.
      call function 'POPUP_TO_INFORM'
        exporting
          titel = 'Automation Queue failure'(801)
          txt1  = 'Internal error:'(802)
          txt2  = 'A method in the automation queue'(803)
          txt3  = 'caused a failure.'(804).
    endif.
  endif.

endmodule.                             " PBO  OUTPUT

Double Click on MAINTITLE and set the title you want.. hope this helps