Header and footer in a BW report
Hi Gurus,
I need to create a reportin BEx for which I need to have header information like Address of the customer and the remit to address. Can anyone please advice me as to how should I go about creating a header and footer in a standard Bex Report.
Thanks in advance,
Nip
Hi,
You can copy the sheet to another one (so the OLAP functionality is not there) and can insert a header and footer like you would normally do in a excel workbook. Hopefully this is helpful. If so, please assign points.
Thanks.
Similar Messages
-
Conditional Header and Footer description print in Report
Hello,
Is it possible to print different header or footer of a report depend on condition.
My requirement to change the header and footer description on a fly depend upon the parameter passed to the report.
Any soultion ...
Samhello samar
of course this is possible. paint your first desidered header/footer, place it in frame and add format trigger on this frame to display it when you want it, otherswise return false. the same is for other possible headers/footers. then place all those frames on same position. look at conditions to display only one header/footer at a time :)
or seccond (in case of simplier structure) is to place in header/footer only one bolierplate text with value f.e. &p_footer and then send value you want to see in footer n parameter p_footer ...
hth
Petr Valouch, Brainbench MVP for Oracle Programming, http://www.brainbench.com -
Header and Footer in a BEx report
Hi Everyone,
I have a requirement where I need to provide a space for the user to sign-off with their name and signature at the bottom of the print-out of a BEx report. For this purpose I need to provide a space at the bottom of the report where the user can write their names and sign-off. It should be something like:
Name: _________________________________-
Signature: _______________________________
Date: ___________________________________
Is there some way I can add all this as the footer text in the BEx query?
Thanks,
RamIf the BEx query can use a "structure" in the rows section....
Under last row, add a selection = company code, set it not equal to the company code, & change the description =
NAME: ____________________________________________
Then, copy the above row, but change description to =
SIGNATURE: _____________________________________
Repeat, copy the above row, change description =
DATE: ____________________________________
If you want to add blank lines, copy one of these rows, but change description = a period = .
By setting the restriction <> to the real company code, then that row should be blank straight across, except for the description.
A better/more professional looking option is to put the BEx query into a web template, add 3 HTML rows under the query result table, add text per your specs. Then save web template to the appropriate role/folder to publish it on the portal.
Edited by: Sharon West on Dec 11, 2008 10:17 AM -
Header and footer in ALV using CL_SALV_TABLE
How to add header and footer for an ALV report using CL_SALV_TABLE. I know how to add header lr_table->set_top_of_list_print( lr_header )
but how do I make it aligned center.
Also how to add a footer
I want it to look like Current page of total pages
What is the system variable for total pages.Hi,
this should be the Method:
SET_END_OF_LIST_PRINT
Best Regards -
Header and Footer for ALV Layout
Hi All,
I have used the following code to create the Header and Footer Areas for ALV Report.
CLEAR: FS_EVENTCAT.
FS_EVENTCAT-NAME = 'TOP_OF_PAGE'.
FS_EVENTCAT-FORM = 'build_comment'.
APPEND FS_EVENTCAT TO GT_EVENTS.
CLEAR: FS_EVENTCAT.
FS_EVENTCAT-NAME = 'END_OF_LIST'.
FS_EVENTCAT-FORM = 'F_WRITE_SUMMARY'.
APPEND FS_EVENTCAT TO GT_EVENTS.
Now the space is available for both Header and Footer...
But i would like to display the Text in Header and Footer areas...
How to insert the Texts....????
Can you help me please.....???
Regards
PavanHi,
Try with following example program:
REPORT ZRJR02 .
*Table declaration.
TABLES:ZEMP_MST,ZDEPT_MST,ZDESG_MST,ZSL_TXN.
*Varriable declaration.
TYPE-POOLS SLIS.
DATA : POS TYPE I.
DATA REPID LIKE SY-REPID.
DATA : F1 TYPE SLIS_T_FIELDCAT_ALV,
F2 TYPE SLIS_FIELDCAT_ALV,
L_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA L_POS TYPE I VALUE 1. "position of the column
DATA GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
*DATA GT_SORT TYPE SLIS_T_SORTINFO_ALV.
data: GT_EVENTS TYPE SLIS_T_EVENT,
FS_EVENTCAT LIKE LINE OF GT_EVENTs.
*Internal table declaration.
*DATA BEGIN OF IT_SORT OCCURS 5.
INCLUDE TYPE SLIS_SORTINFO_ALV.
*DATA END OF IT_SORT.
DATA:BEGIN OF ITAB OCCURS 0,
ZEMPNO LIKE ZEMP_MST-ZEMPNO,
ZEMPNAME LIKE ZEMP_MST-ZEMPNAME,
ZDEPTCD LIKE ZEMP_MST-ZDEPTCD,
ZDEPTNAME LIKE ZDEPT_MST-ZDEPTNAME,
ZDESGCD LIKE ZEMP_MST-ZDESGCD,
ZDESGNAME LIKE ZDESG_MST-ZDESGNAME,
END OF ITAB.
REFRESH ITAB.CLEAR ITAB.
START-OF-SELECTION.
SELECT AZEMPNO AZEMPNAME AZDEPTCD BZDEPTNAME AZDESGCD CZDESGNAME
FROM ZEMP_MST AS A
INNER JOIN ZDEPT_MST AS B
ON AZDEPTCD EQ BZDEPTCD
INNER JOIN ZDESG_MST AS C
ON AZDESGCD EQ CZDESGCD
INTO CORRESPONDING FIELDS OF TABLE ITAB.
IF SY-SUBRC <> 0.
MESSAGE E899(M3) WITH 'No records'.
ENDIF.
perform f_build_eventcat.
PERFORM LAYOUT.
END-OF-SELECTION.
*& Form LAYOUT
FORM LAYOUT .
PERFORM FCAT USING 'ZEMPNO' 'ITAB' '' 'Emp.No.' 'ZEMPNO' 'ZEMP_MST' ''.
PERFORM FCAT USING 'ZEMPNAME' 'ITAB' '' 'Emp. Name' 'ZEMPNAME' 'ZEMP_MST' ''.
PERFORM FCAT USING 'ZDEPTCD' 'ITAB' '' 'Dept.Code' 'ZDEPTCD' 'ZEMP_MST' ''.
PERFORM FCAT USING 'ZDEPTNAME' 'ITAB' '' 'Dept.Name' 'ZDEPTNAME' 'ZDEPT_MST' ''.
PERFORM FCAT USING 'ZDESGCD' 'ITAB' '' 'Desg.Code' 'ZDESGCD' 'ZEMP_MST' ''.
PERFORM FCAT USING 'ZDESGNAME' 'ITAB' '' 'Desg.Name' 'ZDESGNAME' 'ZDESG_MST' ''.
PERFORM LSORT USING 'ZEMPNO' 'IDATA' ''.
PERFORM LSORT USING 'ZEMPNAME' 'IDATA' ''.
MOVE IT_SORT[] TO GT_SORT[].
REPID = SY-REPID.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = REPID
IT_FIELDCAT = F1
IT_SORT = GT_SORT
I_SAVE = 'X'
IT_EVENTS = GT_EVENTS[]
TABLES
T_OUTTAB = ITAB.
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. " LAYOUT
*& Form FCAT
FORM FCAT USING P_FIELD P_TABLE P_SUM P_TEXT P_RFIELD P_RTABLE P_DISP.
ADD 1 TO POS.
F2-COL_POS = POS.
F2-FIELDNAME = P_FIELD.
F2-TABNAME = P_TABLE.
F2-SELTEXT_L = P_TEXT.
F2-REF_FIELDNAME = P_RFIELD.
F2-REF_TABNAME = P_RTABLE.
F2-DO_SUM = P_SUM.
F2-NO_OUT = P_DISP.
APPEND F2 TO F1.
CLEAR F2.
ENDFORM. " FCAT
*& Form LSORT
*FORM LSORT USING P_FIELD P_TABLE P_UP.
ADD 1 TO L_POS.
IT_SORT-SPOS = L_POS.
IT_SORT-FIELDNAME = P_FIELD.
IT_SORT-TABNAME = P_TABLE.
IT_SORT-UP = P_UP.
APPEND IT_SORT.
*ENDFORM. " LSORT
FORM F_BUILD_EVENTCAT .
CLEAR: GT_EVENTS. REFRESH: GT_EVENTS.
CLEAR: FS_EVENTCAT.
FS_EVENTCAT-NAME = 'TOP_OF_PAGE'.
FS_EVENTCAT-FORM = 'F_REPORT_HEADER_ALV'.
APPEND FS_EVENTCAT TO GT_EVENTS.
CLEAR: FS_EVENTCAT.
FS_EVENTCAT-NAME = 'END_OF_LIST'.
FS_EVENTCAT-FORM = 'F_WRITE_SUMMARY'.
APPEND FS_EVENTCAT TO GT_EVENTS.
ENDFORM. " F_BUILD_EVENTCAT
FORM F_REPORT_HEADER_ALV.
CALL FUNCTION 'Z_YHEAD_PRINT'
EXPORTING
TITLE1 = 'XYZ Limited'
TITLE2 = 'Employee Master'
TITLE3 = 'Created on '
COLOR = 'X'
ENDFORM.
*& Form F_WRITE_SUMMARY
Write summary before exit
FORM F_WRITE_SUMMARY .
write:/ 'Welcome to XYZ Limited'.
write:/ 'This is a test program to display Report in ALV Format'.
ENDFORM.
Regards,
Bhaskar -
HST6.0 Header and footer in reports
Hi,
We have an application generated from designer 1.3.2 using Headstart, and now we need to upgrade that one to designer 6.0, Everyting works ok with the forms but when we try to generate reports we don't get any header and footer. I have looked into the demo application in Headstart and found 2 reports with header and footer but I can't figure out how to generate this from Designer.
Thanks in advance for any help!These fragments might fall under the category of "other", as an example, there is a copyright fragment in the Other tab of the fragment toolbox window. You could copy that and enhance it to make your footer.
-
Header and Footer in BEX reporting
Hai friends,
could you plz tell me how to add Header and Footer in Bex report.. that means.. i want some my company name and address should print on the top of the report..
and also.. in the Footer. i want to display the Number of records are selected...
Ex :
XYZ ORGANIZATION
#301, ITPL,
BANGALORE.
4 Records are selected
so, plz give me the solution .... how to design a query with this requirement
thanks
with regards
@jayHi Ajay,
Refer to web tempaltes 0adhoc_header and 0adhoc_Footer , by changing this you should be able to display header and footer for each query out of BW server.
Hope that helps.
Regards
Kapadia
***Assigning points is the way to say thanks in SDN.*** -
Repeating Header and Footer on each page in Sub-Report
Post Author: Jimbob
CA Forum: General
I am formatting a report that has subreports. I can get the header on every page, but the footer only appears on the last page.
How do I get a header and footer to print on each page of the subreport?
Thanks for any help!Post Author: Guy
CA Forum: General
Hi,
You should add a first level of grouping in your subreport on a fake formula field with a constant value. Put your header and footer information in this group header and footer. In the group option make sure to check the "repeat group header on each page option".
This group will act as a page header + footer within your subreport.
good luck!
Guy -
Header and Footer on Narrative report - Need to remove
I have just created a narrative report and all looks good but when I do a print preview, it shows the form name in the upper left and Page 1 of 1. The bottom of the form, footer, shows the url and the current date. Is it possible to hide or remove this?
Hi !
This is not related to CRM OnDemand and your report. This is a printer configuration.
In your browser, go to File > Layout and you'll see header and footer fields. Just blank them and your printed page won't have header and footer. For IE having the date and url in the footer and the page title in the header is a standard setting...
Hope this will help, feel free to ask more !
Max -
Remove Header and Footer from a report
Hi,
I use the report S_ALR_87012104. But I want to export this report removing the header and footer. Is it possible to export the report excluding header and footer. That is line items only.
Regards
MahbubHi,
It is possbile but not suggested to change a standard SAP report. but you may change it via abaper. -
Avoid printing Header and Footer in the last page
Hi,
Could anyone please let me know how to avoid print the header and footer in the last page?
Note: I'm printing RTF template for publishing the output.
Looking forward for your valuable inputs/suggestions.
Thanks in advance,
Regards,
MuruHai,
My report got FROM PO & TO PO parameters and i need to print footer only in first page of each PO. Tried with section but now i am getting first page of all PO contionious and then all lines together.
Please call me or sent replies to [email protected] -
Bypass Header and Footer in Excel output
I have a Requirement like this
I need to have the report output in the below three formats
PDF,EXCEL,HTML
But when we see the ouput in EXcel it should not have the Footer and Header Scetion ,
remaining two output formats (PDF,HTML) must have the Footer and Header Section.
Any one having any idea about this issue.
Thanks in Advance.
Have a Nice day.Hi @BIPuser.
I said the same thing to them but they said no that is final option but we need only single template for all the outputs alos it should handle the bypassing of header and footer for excel output.
Thanks for your reply, If i come across anything i will let u know. -
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! -
Set header and footer in word file
Through jsp file I am printing contents in word doc .
response.setHeader("content-disposition","attachment; filename = filename.doc");
But I am not able to print header and footer in word doc.
In jsp I am having tabular format for generating star report.
Please help.Hi Supareno,
Can u tell me in details with small code, If it's
possible for you .
regards
karandefine an header (coordinate 0,0)
optional {
a CustomItem? (coordinate 0, 0+header.getHeight() )
another CustomItem ? (coordinate 0, CustomItem.getY() + CustomItem.getHeight() )
etc...
define footer (coordinate 0, getHeight() - footer.getHeight() )
Message was edited by:
supareno -
Creating Header and Footer in ALV
hi,
can anyone please tell how will you create Header and Footer in ALv and Classical Report.Hi,
In classical report use events 'top-of-page' for header and 'end-of-page' for footer.
in ALV
follow this link
http://www.sap-img.com/abap/test-alv-display-with-header-footer.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/header-footer-display-in-alv-grid-for-layout-description-344391
Regards and Best wishes.
Maybe you are looking for
-
Inserting values into multiple tables in one jsf page with single commit op
hi all, i have two tables , one is parent table and other is child record. record details: table1:(parent table) emplid (primary key) empl_name table 2:(child table) empl id ( Foreign key) empl_name ( Foreign key) contact_no (primary key) my senario
-
Itunes 7.0.1 doesn't help
I have been having issues similar to others since installing Itunes 7: - grinding and whirring - not recognized - won't update more than 280 songs at one time - doesn't play back smoothly on IPod - Itunes freezes when I connect IPod I downloaded 7.0.
-
Adobe flashplug-in always crashes when I am visiting neighbors while playing Cityville
Every time I play Cityville and vist my neighbors, somewhere along the way, the flash player plug-in crashes and I have to reload the page. I have uninstalled and re-instaled the most current version several times, but the problem still exists. Any s
-
Wild Cards are not allowed for this info object
Hello Experts, I am getting some problem, when I trying to find the some selections for info object in variable selection screen; it giving some error like u201CWILD CARDS" are not allowed for this info object. I am trying to find the search item li
-
Making the Gnome-Shell power manager and sound applet use stock icons
How might this be possible, I'd like to use the stock icons for these two, since every icon theme I seem to use makes the icon too tiny to even distinguish. I'd really like to just use the built-in ones, they look better anyway.