2007 Feb 28 5:30 AM
Hi friends,
i need small help..
In my alv grid report, i need to suppress the std.heading thats coming from the decription given in attributes.
even though i'm using no std page heading, its still there.
how can i suppress this ..plz help me..
Thanks,
Praveen
2007 Feb 28 5:36 AM
Hi friends,
i need small help..
In my alv grid report, i need to suppress the std.heading thats coming from the decription given in attributes.
even though i'm using no std page heading, its still there.
how can i suppress this ..plz help me..
Thanks,
Praveen
2007 Feb 28 5:34 AM
REPORT ...
NO STANDARD PAGE HEADEING.
Also in
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = report_id
i_grid_title = ws_title
is_layout = wa_layout
it_fieldcat = i_fieldcat
it_sort = i_sortcat
i_save = 'A'
it_events = i_events
TABLES
t_outtab = i_final
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
dont specify
<b>i_grid_title = ws_title</b>
Also if u have specified in layout remove teh title.
Reward if u find helpful.
2007 Feb 28 5:36 AM
check the EVENTs of that GRID FM.
<b> call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = fevents[].
read table fevents with key name = 'TOP_OF_PAGE'.
if sy-subrc = 0.
fevents-form = 'Z_TOPOFPAGE'.
* fevents-form = 'Z_LIST'.
modify fevents index sy-tabix.
clear fevents.<b> "COMMENT THIS</b>
endif. </b>
2007 Feb 28 5:36 AM
Hi,
You have to write code in Perform Comment_build.
List Header for Top-Of-Page
perform comment_build using g_list_top_of_page[].
----
Form : comment_build
Description : This form is used to display the Report Header(ALV)
----
*
form comment_build using lt_top_of_page type
slis_t_listheader.
data: l_line type slis_listheader,
l_heading1 like rs38m-repti,
l_date(10), l_time(8).
clear l_line.
l_heading1 = 'GR/IR DETAIL REPORT'.
g_repid = sy-repid.
write sy-uzeit to l_time.
write sy-datum to l_date.
l_line-typ = c_h.
move l_heading1 to l_line-info.
append l_line to lt_top_of_page.
endform.
Regards,
Anji
2007 Feb 28 5:36 AM
2007 Feb 28 5:46 AM
SY-TITLE contains the title that is gievn in the attributes screen.. u can over write it by assigning it with ur own title.
It wil solve your issue for sure.
Here is the syntax....
SY-TITLE = ' SDN Network'. --> assing ur own title.
Regards,
Sujatha.
2007 Feb 28 5:58 AM
Hi Sujatha,
Exact answer but slightly delayed.
I have done this just by guess and got it done.
Thanks a lot for your kindness.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |