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

Layout Header

Former Member
0 Likes
1,052

Hi experts, I have a simple report. On the selection screen I have to check a B_BLOCK parameter for change layout Header. My question, in this case what is the meaning of change layout header??? And how can I handle it?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
828

hi,

here i think it means that ,

change header of your report if checkbox is ticked.

you can do this by writing separate headers for both the cases and applying if conditon on them,'

hope it solves your problem.

Regards,

Talwinder.

3 REPLIES 3
Read only

Former Member
0 Likes
829

hi,

here i think it means that ,

change header of your report if checkbox is ticked.

you can do this by writing separate headers for both the cases and applying if conditon on them,'

hope it solves your problem.

Regards,

Talwinder.

Read only

Former Member
0 Likes
828

Hi,

It means depending on radio button u r changing :-

1. Changing layout By using structure – slis_layout_alv which consist properties " no headings

no_hotspot(1) type c, " headings not as hotspot

zebra(1) type c, " striped pattern

no_vline(1) type c, " columns separated by space

cell_merge(1) type c, " not suppress field replication

edit(1) type c, " for grid only

edit_mode(1) type c, " for grid only

numc_sum(1) type c, " totals for NUMC-Fields possib.

no_input(1) type c, " only display fields

ie changing layout of display to with headings or without headings for field name in output display.

And with stripped or unstripped output display(with lines or without lines)

2. Changing diplay header data by- slis_t_listheader to which u can add some data like company name , logo and some extra data.

FORM TOP_OF_PAGE_TLD.

CLEAR : ITHED[].” It is itab like slis_t_listheader

SHED-TYP = 'H'.

SHED-INFO = ‘data or info to display’.

APPEND SHED TO ITHED.

CLEAR SHED.

SHED-TYP = 'S'.

SHED-INFO = ‘information’.

APPEND SHED TO ITHED.

CLEAR SHED.

ENDIF.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

IT_LIST_COMMENTARY = ITHED

I_LOGO = 'logoname'.

ENDIF.

ENDFORM.

Read only

Former Member
0 Likes
828

Thanks for the help