ALV PAGE HEADER
HI Experts,
I need to show the Company code, Date & other selections as Page header in my AVL report. The Header Should b in big format. Plz help me to do the same.
Thanks.
Khan.
Hello Khan,
DO like this:
* Internal Table TOP-OF-PAGE commentary
DATA: IT_COMMENTARY TYPE SLIS_T_LISTHEADER.
* Work Area TOP-OF-PAGE commentary
DATA: WA_COMMENTARY TYPE SLIS_LISTHEADER.
CLEAR : WA_COMMENTARY,
IT_COMMENTARY,
IT_COMMENTARY[].
WA_COMMENTARY-TYP = 'S'.
WA_COMMENTARY-INFO = TEXT-003. " Give whatever u want to display
APPEND WA_COMMENTARY TO IT_COMMENTARY.
IT_VARIANT-REPORT = SY-REPID.
G_PROGNAME = 'Z48M2_MAT_LIEF_PROJ'.
* 003 vsm1kor 18.02.08 - en " OPL 1979
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = G_PROGNAME
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
IT_FIELDCAT = IT_FIELDCAT
I_SAVE = 'A'
IS_VARIANT = IT_VARIANT
I_SCREEN_START_COLUMN = 50
I_SCREEN_START_LINE = 5
I_SCREEN_END_COLUMN = 100
I_SCREEN_END_LINE = 20
TABLES
T_OUTTAB = IT_MATNR
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form TOP-OF-PAGE
* For Top of page
FORM TOP_OF_PAGE. "#EC CALLED
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_COMMENTARY.
ENDFORM. "top_of_page
Cheers,
Vasanth
Similar Messages
-
Eliminate page heading in the spool of ALV report
Hi,
We are running the ALV report in the background, and when we view the spool
the page heading and the column heading is displayed for all the pages, Is there some way to
eliminate this.
The download from the on-line exec is fine,but the download from the spool includes the column
headings for each page. Is there some way to check if the ALV report is run in the batch mode
and to disable the heading from Page 2 to N.
Appreciate any input.
Thank you
LalithaHi,
I need to avoid the column headings also, I need the heading in the first page, but not on the subsequent pages.
Is there any setting in the ALV function modules to prevent this ?
So wanted to know if there is some setting to accomplish that.
Thank you
Lalitha -
Hi .
I am facing problem in displaying a particular layout in ALV.
the layout is as follows:
1. Header part
2. Line item
3. There is field customer and after every change of customer do page break and display information like how many record read and how many record processed. below is brief detail about how to get read and processed record.
I have two internal table say table1 and table2.
Looping table1
increase the counter as counter_read = counter_read +1.
compare the record with table2.
if matches
increase the counter as counter_process = counter_process + 1.
4. At the end of report display a error log.
to get the error log we will follow the above logic and if record not matched then display as error record.
Please help ASAP to find the solution.
Thanks in advanceThere is a knowledge base article C2014229 (1210986 - Subreports do not have a Page Header) , but instead of providing link I will just copy content here:
Symptom
Since subreports are objects in the Main Report, they do not contain Page Headers. How can you create a fake page header for subreports?
Resolution
To create a fake page header for subreports, use the following steps:
1. In the subreport, create a formula:
@FakePageHeader
//name of formula
WhileReadingRecords;
2. Go to the 'Insert' menu and click 'Group'. Select the @FakePageHeader formula.
3. Select the 'Repeat Group Header on Each New Page' option, and click 'OK'.
This inserts a new group at the lowest, or innermost, grouping level. You will need to move this group to the highest, or outermost, grouping level.
4. Go to 'Report' menu and click 'Group Expert'. Use the up arrow to move this newest group up to the top of the list.
5. Move all the headers that you would like repeated into this Header for the @FakePageHeader group.
Hope it will help. -
Page No in ALV GRID Header disply ?
Hi,
How to display the page No in ALV GRID Header display.
Thanks & Regards,
Amir.hai
I think u can use this funtion... Using this funtion u can find som solution for ur problem
*& Form BUILD_EVENTTAB
text
-->P_EVENTS[] text *
form build_eventtab using p_events type slis_t_event.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_events.
read table p_events with key name = slis_ev_top_of_page
into ls_event.
if sy-subrc = 0.
move formname_top_of_page to ls_event-form.
append ls_event to p_events.
endif.
endform. " BUILD_EVENTTAB
*& Form BUILD_COMMENT
text
-->P_HEADING[] text *
form build_comment using p_heading type slis_t_listheader.
data: hline type slis_listheader,
text(60) type c,
test_date TYPE string,
test_date1 TYPE string,
sep(20) type c.
clear: hline, text.
hline-typ = 'H'.
write: text-101 to text+23.
hline-info = text.
append hline to p_heading.
clear text.
write: 'User: ' to text,
sy-uname to text+6,
'Date: ' to text+25,
sy-datum to text+31,
'Page: ' to text+50,
sy-pagno to text+56.
hline-info = text.
append hline to p_heading.
endform. " BUILD_COMMENT
FORM TOP_OF_PAGE *
form top_of_page.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = heading.
endform.
regard
nawa -
I need to create page header in my ALV Report like this:
CLEAR s_line.
s_line-typ = 'H'.
s_line-info = sy-title.
APPEND s_line TO t_list_top_of_page.
CLEAR s_line.
s_line-typ = 'S'.
s_line-key = 'Program Name:'.
s_line-info = sy-repid.
APPEND s_line TO t_list_top_of_page.
CLEAR s_line.
s_line-typ = 'S'.
s_line-key = 'Run On :'.
WRITE: sy-datum TO s_line-info.
APPEND s_line TO t_list_top_of_page.
but I am getting the low and high values combindly like
'IEQxxxyyyy'
. can you please help me how to seperate this?
ThanksHi,
First move the low and high dates into a character string and then move it to s_line-info.
data: p_char(30).
p_char(10) = date-low.
p_char+11(2) = 'To'.
p_char+14(10) = date-high.
WRITE: p_char TO s_line-info.
APPEND s_line TO t_list_top_of_page.
Regards,
Rajesh -
................DATE...................
..DAY..
....MONTH...
..YEAR..
....02...
.......12........
...2003...
....23...
.......03........
...2000...
Can do it with alv grid (2 heads)?
Thankscheck the following program : REPORT ERGP2140 LINE-SIZE 90 NO STANDARD PAGE HEADING.
* Report ERGP2140: Einzeilige Liste mit hierarchischen Überschriften *
* Entspricht: ERGO2140, 2145 *
* mit/ohne Streifenmuster (Standard), *
* Programmversion; angelegt: 1.2.1995, Gerd Waloszek *
* Letzte Änderung: 25.2.98, Gerd Waloszek *
************************* Global data **********************************
DATA: LENGTH TYPE I VALUE 8. " Length of list
data: tp like textpool occurs 0 with header line.
DATA: TXT_REPORT LIKE DOKHL-OBJECT. "Reportname für Erläuterungsaufruf
DATA: BEGIN OF MYLIST OCCURS 10, " Internal table for preparing
E3AA(12) TYPE P DECIMALS 2, " the list
E3AB(12) TYPE P DECIMALS 2,
E3BA(12) TYPE P DECIMALS 2,
E3BB(12) TYPE P DECIMALS 2,
END OF MYLIST.
DATA: STRIPES TYPE C VALUE ' '. " Stripes Y/N
DATA: SEED1 TYPE I, " Rand number seed 1
SEED2 TYPE I, " Rand number seed 2
SEED3 TYPE I, " Rand number seed 3
WIDTH TYPE I. " Width of list
*************************** Main Program *******************************
START-OF-SELECTION.
SET PF-STATUS 'LIBS1'.
READ TEXTPOOL SY-REPID INTO TP LANGUAGE SY-LANGU.
LOOP AT TP WHERE ID = 'R'.
SET TITLEBAR '001' WITH TP-entry.
EXIT.
ENDLOOP.
* Start seed for random number generator
SEED1 = 123. SEED2 = 2345. SEED3 = 23.
PERFORM FILL_ITAB. " Fill internal table with pseudo-data
* List output
WIDTH = 69. " Width of list
PERFORM MAIN.
*************************** Form Routines ******************************
* FORM MAIN *
* List output *
FORM MAIN.
PERFORM HEADING. " Heading
PERFORM BODY. " First body
PERFORM FINISH(ERGPHELP) USING WIDTH.
PERFORM LEGEND(ERGPHELP)
USING 'X' STRIPES ' ' ' ' ' ' ' ' ' ' ' '.
ENDFORM.
* FORM FILL_ITAB *
* Fills the internal table for the list output *
FORM FILL_ITAB.
DATA: RAN TYPE F,
RANI TYPE I,
RANP TYPE P DECIMALS 2.
DO LENGTH TIMES.
PERFORM RANDOM(ERGPHELP) USING SEED1 SEED2 SEED3 RAN.
RANI = 1000000 * RAN. RANP = RANI.
MOVE RANP TO MYLIST-E3AA.
PERFORM RANDOM(ERGPHELP) USING SEED1 SEED2 SEED3 RAN.
RANI = 1000000 * RAN. RANP = RANI.
MOVE RANP TO MYLIST-E3AB.
PERFORM RANDOM(ERGPHELP) USING SEED1 SEED2 SEED3 RAN.
RANI = 1000000 * RAN. RANP = RANI.
MOVE RANP TO MYLIST-E3BA.
PERFORM RANDOM(ERGPHELP) USING SEED1 SEED2 SEED3 RAN.
RANI = 1000000 * RAN. RANP = RANI.
MOVE RANP TO MYLIST-E3BB.
APPEND MYLIST.
ENDDO.
ENDFORM.
* FORM HEADING *
* Writes the heading of the list *
* This list has hierarchical headings *
FORM HEADING.
DATA: WIDTH2 TYPE I.
WIDTH2 = WIDTH - 2. " Width without borders
FORMAT INTENSIFIED OFF. " Remove any INTENSIFIED
ULINE AT (WIDTH). " Upper frame border
FORMAT COLOR COL_HEADING INTENSIFIED." Title color
WRITE: / SY-VLINE NO-GAP. " Left border
WRITE: AT (WIDTH2) TEXT-U10 CENTERED NO-GAP.
WRITE: AT WIDTH SY-VLINE. " Right border
ULINE AT (WIDTH).
FORMAT COLOR COL_HEADING INTENSIFIED OFF. " Secondary title color
WRITE: / SY-VLINE NO-GAP. " Left border
WRITE: (33) TEXT-V10 CENTERED NO-GAP.
WRITE: SY-VLINE NO-GAP . " Middle border
WRITE: (33) TEXT-V20 CENTERED NO-GAP.
WRITE: AT WIDTH SY-VLINE. " Right border
ULINE AT (WIDTH). " Line below titles
FORMAT COLOR COL_HEADING INTENSIFIED OFF. " Third title color
WRITE: / SY-VLINE NO-GAP. " Left border
WRITE: (15) TEXT-W10 RIGHT-JUSTIFIED.
WRITE: SY-VLINE NO-GAP . " Middle border
WRITE: (15) TEXT-W20 RIGHT-JUSTIFIED.
WRITE: SY-VLINE NO-GAP . " Middle border
WRITE: (15) TEXT-W30 RIGHT-JUSTIFIED.
WRITE: SY-VLINE NO-GAP . " Middle border
WRITE: (15) TEXT-W40 RIGHT-JUSTIFIED.
WRITE: AT WIDTH SY-VLINE. " Right border
ULINE AT (WIDTH). " Line below titles
ENDFORM.
* FORM BODY *
* Writes the body of the list *
* Important: *
* Use SY-VLINE or '|' for vertival lines *
* Use NO-GAP for avoiding free space behind fields *
* Use FORMAT COLOR COL_NORMAL INTENSIFIED OFF for light list body *
* Use COLOR behind fields for individualized coloring *
* Caution: the actual field values are pure dummies! *
* Stripes in the list body *
* If You want a striped list body, You have to set up a counter. *
* If the counter starts with zero You have to set the body color to: *
* even counter values: COL_NORMAL INTENSIFIED
* odd counter values: COL_NORMAL INTENSIFIED OFF
FORM BODY.
DATA: COUNT TYPE I VALUE 0, " Loop counter for list body
EVEN TYPE I VALUE 0. " Checker even/odd
* max type i value 8, " Number of rows in list
* helpn type p.
LOOP AT MYLIST.
* Stripe handling
IF STRIPES EQ ' '. " No Stripes
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
ELSE. " Stripes
EVEN = COUNT MOD 2. " Check for even/odd
IF EVEN = '0'.
FORMAT COLOR COL_NORMAL INTENSIFIED.
ELSE.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
ENDIF.
ENDIF.
* List row
WRITE: / SY-VLINE NO-GAP.
WRITE: (16) MYLIST-E3AA NO-GAP, SY-VLINE NO-GAP.
WRITE: (16) MYLIST-E3AB NO-GAP, SY-VLINE NO-GAP.
WRITE: (16) MYLIST-E3BA NO-GAP, SY-VLINE NO-GAP.
WRITE: (16) MYLIST-E3BB NO-GAP.
WRITE: AT WIDTH SY-VLINE.
ADD 1 TO COUNT.
ENDLOOP.
ENDFORM.
*************************** Events *************************************
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'ERLE'.
TXT_REPORT = 'ERGP2140'.
CALL FUNCTION 'ERGO_TEXT_SHOW'
EXPORTING
TEXTNAME = TXT_REPORT
ID = 'RE'
LANGU = SY-LANGU
EXCEPTIONS
TEXT_NOT_FOUND = 01.
WHEN 'STRI'.
SY-LSIND = 0.
IF STRIPES EQ 'X'.
STRIPES = ' '.
ELSE.
STRIPES = 'X'.
ENDIF.
PERFORM MAIN.
ENDCASE. -
ALV Grid Header Problem.
Hi All,
I want to display the header of the ALV Grid as:
Material 111/11823
Plant/Usage/Alt 2845/3/5
Description ABI CAB
Base Qty. 23.000
The values are to be taken from variables
Please suggest how to do this.
Thanks*& Report ZDEMO_ALVGRID *
*& Example of a simple ALV Grid Report with grand total *
*& The basic requirement for this demo is to display a number of *
*& fields from the EKKO table. *
REPORT zdemo_alvgrid .
TABLES: ekko.
type-pools: slis. "ALV Declarations
*Data Declaration
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform display_alv_report.
perform top-of-page.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
form build_fieldcatalog.
There are a number of ways to create a fieldcat.
For the purpose of this example i will build the fieldcatalog manualy
by populating the internal table fields individually and then
appending the rows. This method can be the most time consuming but can
also allow you more control of the final product.
Beware though, you need to ensure that all fields required are
populated. When using some of functionality available via ALV, such as
total. You may need to provide more information than if you were
simply displaying the result
I.e. Field type may be required in-order for
the 'TOTAL' function to work.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'STATU'.
fieldcatalog-seltext_m = 'Status'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MATNR'.
fieldcatalog-seltext_m = 'Material Number'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MENGE'.
fieldcatalog-seltext_m = 'PO quantity'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MEINS'.
fieldcatalog-seltext_m = 'Order Unit'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-do_sum = 'X'. "Display column total
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'PEINH'.
fieldcatalog-seltext_m = 'Price Unit'.
fieldcatalog-col_pos = 8.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
IT_EVENTS = GT_XEVENTS
i_save = 'X'
is_variant = z_template
tables
t_outtab = it_ekko
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
form data_retrieval.
select ebeln ebelp statu aedat matnr menge meins netpr peinh
up to 10 rows
from ekpo
into table it_ekko.
endform. " DATA_RETRIEVAL
Form TOP-OF-PAGE *
ALV Report Header *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table it_ekko lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_header.
i_logo = 'ideas'.
endform. -
Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?
Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions. Complain to Apple, you may have better chance than me and they may finally listen to their users....
-
Master Page Header and Footer in Page Viewer Web Part
Hi.
I created a View in Pages Library to view specific folders.
After that i added one Page Viewer web part to one of the aspx page.
There in the Page Viewer web part properties Link i have provided the url of the view.
It is displaying the folders but at the same time it is displaying the master page header and footer inside the web part.
Now i need to display the folders alone inside the Page Viewer web part.
Please let me know how to exclude the master page header and footer inside the Page Viewer web part?
Regards,
Sudheer
Thanks & Regards, SudheerI think that is the default behavior of the page viewer webpart.
In the page viewer web part,your just enter the url of the website.So that is treated as webpage and it is displaying as per page.
http://meritsolutions.com/meritmatters/archives/576-Displaying-a-File,-Folder-or-Web-Page-in-the-Page-Viewer-Web-Part.html
If you want to display a folder, type in a network path to that folder under Link and the folder content will be displayed.
Find the more details about page viewer webpart in msdn
http://office.microsoft.com/en-in/sharepoint-server-help/page-viewer-web-part-HA010024045.aspx -
Page Header and Footer in Printer Friendly mode
Hi,
I have a report which has more than 500 rows and I want to print them.
The printer friendly mode works fine, but is it possible that there is a page "header" and "footer" on every page which is printed?
For example, that the column headings are on every page which was printed?
Or that at the bottom of each page is the page number displayed?
Does anyone have an idea?
Thanks,
TimIE and Firefox are designed for WEB pages.
WEB pages are on Internet. Security is important and browser should not compromise user to use it.
Many users=Many printers!
If you want to write app for especially one printer and know users (Intranet application) then here is what you can do:
1) Use IE
2) write your own ocx with interface for your needs.
3) every user should implement this ocx in their browser.
4) When they accept your ocx, then in this "small app" you could do as much as this user can do on their own windows. So setting printer, orientation and size is a peace of cake.
5) make your report regarding this printer
And this is it!
And few other things...
If user choose larger font then your HTML is broken!!!
For that I think that PL/PDF or Mail merge is better solution! -
Traffic lights in ALV list header
how do i display traffic lights as icons in ALV list header. for example, in the code below, i want to display a green icon at the end of closed items and a red icon at the end of the open items:
closed : 4 [green-icon]
open : 2 [red-icon]
CLEAR header_alv_wa-info.
header_alv_wa-key = 'closed:'.
header_alv_wa-info = gv_closed.
header_alv_wa-typ = 'S'.
APPEND header_alv_wa TO headeralv.
CLEAR header_alv_wa-info.
header_alv_wa-typ = 'S'.
header_alv_wa-key = 'open:'.
header_alv_wa-info = gv_open.
APPEND header_alv_wa TO headeralv.Hi,
http://www.sapfans.com/forums/viewtopic.php?t=79424
http://www.sapfans.com/forums/viewtopic.php?t=24512
the above links will give u the code for the same..
Regards,
Aparna -
Page header plus page footer too large for the page in crystal report 2008.
Hi,
when we selecting pieview and print after entering paramter it's showing error: page header plus page footer too large for the page. error in File.rpt page header or page footer loanger than page. and it's not showing print layout format if i connect another printer it's showing layout designe. and some times it's showing letter formate and if i give print it's taking default lamdscape but we setup defual setup for printer 10*12 inches in particular printer.please guide me how we can solve this issues.
regds,
samapthThis is a really hard post to read. See if you can take a bit of time to reword it, but one thing I do understand is that you are getting this error:
page header plus page footer too large for the page.
Typically, you can trust that if the error is thrown, it is true. E.g.; this is not one of those errors that says one thing, and means another. I suspect that you have some field(s) in the header(s) that grow, depending on the data. If there is too much data or the data is too long ( a text for example), the error will be thrown. To resolve this, see if placing the field(s) into a group footer / header will help.
Ludek -
How to set a page header and footer of an excel file i'm creating
Hello !
SORRY MY ENGLISH is very BAD.
I tried to set page header and footer in Excel sheet with ABAP ole
DATA : BEGIN OF enter,
x(1) TYPE x VALUE '0D',
END OF enter.
DATA : format(255) TYPE c.
FORM set_page_sheet.
CALL METHOD OF excel 'ActiveSheet' = sheet.
CALL METHOD OF sheet 'PageSetup' = pagesetup.
SET PROPERTY OF pagesetup 'Orientation' = xllandscape.
SET PROPERTY OF pagesetup 'PrintTitleRows' = '$9:$12'.
CLEAR format.
ERROR
CONCATENATE 'PAGESHEET' enter-x 'PAGE &P/&N' INTO format.
ERROR
SET PROPERTY OF pagesetup 'RightHeader' = format.
CLEAR format.
CONCATENATE ' Text 1 ' enter-x 'Text 2'
enter-x 'Text 3 ' INTO format.
SET PROPERTY OF pagesetup 'RightFooter' = format.
FREE OBJECT pagesetup.
ENDFORM. " set_page_sheet
Activate report -
ERROR - The enter-x must by data type c or another then data type x
Thanks for answer.Try to define ENTER this way & try
class cl_abap_char_utilities definition load.
DATA : BEGIN OF enter,
x type c value cl_abap_char_utilities=>cr_lf,
END OF enter.
PS : I am not 100% sure about this.
a® -
SSRS 2008 R2 report does not print the page header for a html content displaying on multiple pages
Hi
I need to display the html content from the database. The html content are quite long and can have content of 3-5 pages. Issue I am facing is f the record has html content of 3-5 pages, then it does not print the page header (which is a separate tablix) on
second page onwards.
Nikesh Shah
Nikesh ShahHi Nikesh,
According to your description, I’m not sure the meaning of Page header in your scenario. In Reporting Services, a page header that run along the top of each page, respectively. Headers can contain static text, images, lines, rectangles, borders, background
color, background images, and expressions. But we couldn’t add tablix in the page header.
If you are saying report header, a report header consists of the report items that are placed at the top of the report body on the report design surface. They appear only once as the first content in the report. So it cannot repeat in other pages.
If you are saying tablix header, freezing column headers are different in table and matrix. For more details, please refer to the following thread:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/c8ddc1af-1bdf-4e72-8aab-0353c7cc848a/ssrs-report-freezing-row-and-column-while-scrolling-issue?forum=sqlreportingservices
If there are any misunderstanding, please elaborate the issue for further investigation.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Page Header not repeating on each page of Subreport
I made a crystal report whose record detail is opening in a subreport. I want to make Page header to be present on each page of my subreport but i am not able to do it. what setting i should apply for that?
Regards
JitendraHi Jitendra,
You need to create fake page header in subreport.
For more information, check out this link
https://boc.sdn.sap.com/node/19833
Hope this helps.
Maybe you are looking for
-
Photos are huge in Facebook ( groups) ??
-
How to Download Trial Version of SAP ERP 6.0 with Oracle?
HI all, Kindly help out how i can able to download SAP ERP 6.0 or Netweaver trial dump with oracle database in SAP Support portal. Awaiting for your valuable reply. Regard M.L.Gopinath
-
hi i tried the bulletsandbones oddball fix for a problem and had no difficulty with repairing permissions, but was unable to locate the garageband preference files to delete them. the FAQ gives directions for S X 5 and older, and i have 10.6.2. is th
-
Does AnyConnect 3.0 supports in IOS 12.4(20)?
Hello. We have Cisco 2821 and IOS 12.4(20)T2. In browser-initiated mode AnyConnect 3.0.5075 works fine. But in standalone mode it doesn't work.
-
Lombard won't boot to Hard Drive
I erased and installed 10.3, once that is done it restarts and works great. Then after I turn it off, or restart again, or unplug AC adapter from the wall it will not boot to hard drives, boots to the circle slash. I booted to install cd and ran disk