How to report header and footers on first and last page only
Hi
We are trying to create a report that has a one data header on the first page and another header on subsequent pages then the data body then a footer section on the last page only. If we only have one page of data it works fine but when we move to multiple pages the data body section does not expand to fill the gap and we are left with second header but then a gap before the data.
We have tried to use anchors but are realy stuck. Any help would be greatly appreciated
Ian
Something like:
LOOP AT t_output1.
WRITE:/1 vline,
2 t_output1-ktokd,
17 vline,
18 t_output1-kunnr,
29 vline,
30 t_output1-name1,
70 vline,
71 t_output1-katr1,
87 vline,
88 t_output1-land1,
96 vline,
97 t_output1-vkorg,
107 vline,
108 t_output1-kvgr1,
118 vline,
* DV4K934131-Start.
* 119 T_OUTPUT1-TTEXT,
120 t_output1-v_text,
* 150 VLINE.
255 vline.
* DV4K934131-End.
ENDLOOP.
WRITE:/1 sy-uline(255).
TOP-OF-PAGE.
IF p_upda = 'X'.
v_linsz = 255.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 vline,
2 text-h01, "'Sold to/Ship to'
17 vline,
18 text-h02, "'Customer#'
29 vline,
30 text-h03, "'Customer Name'
70 vline,
71 text-h04, "'Customer Status'
87 vline,
88 text-h05, "'Country'
96 vline,
97 text-h06, "'Sales Org.'
107 vline,
108 text-h07, "'EST Status',
118 vline,
119 text-h08, "'Change History',
* 150 VLINE.
255 vline.
FORMAT RESET.
WRITE:/1 sy-uline(255).
ENDIF.
Rob
Similar Messages
-
How to print header in first and last page only in SAPSCRIPT
Hi!
How to print header in first and last page only in SAPSCRIPT,
in between pages, I need to print all line items in MAIN window only .
Thanks in anticipation!
Aki.Hi All,
Thanks for your early update...but my requirement here is
I have two pages (FIRST , NEXT ) First is having Header, Main and Footer
NEXT is having Main and Footer ..I am printing PO here..let us think that my PO is having 20lines items , let us assume that it takes five pages...
Now how application is printing is ..first set of data is printing in FIRST page and remainiang data distributed to 4 pages printing in NEXT page ..but what my requirement is , I need fifth page print on FIRST page, instead of NEXT page... Ultimately I need last set of data always print in FIRST ie out of 5 pages 1st print on FIRST 2nd 3rd 4th print on NEXT and 5th print again on FIRST .
hope you this will clear you.
Thanks! -
How to report print to the printer immediately and display the popup?
Dear friends,
I am running my report in background and displaying the confirm results on popup window and sending the results to printer,
but now i want to send the results page to printer then want to display the popup.
i have writen my popup perform after printer perform only but its not working...when i am clossing the popup or came back from that popup then only the results sending to printer...
How to report print to the printer immediately and display the popup?
Thanks in advance
SridharHi Sudheer,
I am using my print parameters like this :
NEW-PAGE PRINT ON DESTINATION ws_printer
IMMEDIATELY 'X'
KEEP IN SPOOL 'X'
NEW LIST IDENTIFICATION 'X'
SAP COVER PAGE 'X'
ARCHIVE MODE '1'
LINE-COUNT 64
LINE-SIZE 170
NEW-SECTION
NO DIALOG.
Then also its not printing immediatly.
here one thing for displaying the popup i am using submit report(calling another report for popup purpose)
before trigering the submit programe i need to print this.
Thanks
Sridhar. -
Need ideas on how to display a footer on last page only on a dynamic document
I have a document that is similar to this...
Dear Customer,
paragraph 1 content dkdk dkd alkfdjaldkjfa d
dlkfajd;lkfja;dlkfj a.
[repeating subform transaction data]
Closing paragraph please contact us using one of the numbers listed below
contact info
The problem I am having is that I want the Contact Info block to appear as a footer on the last page only. In addition, I want the Closing Paragraph to be on the same page as the contact info block. The contact info is currently anchored to the bottom in the design view and when the transaction data repeats, it incorrectly pushes the closing paragraph into the contact area. So basically if the closing paragraph starts to bleed into the contact info block, I want both closing paragraph and contact info to break to a new page. I don't want to reduce the height of the content area because I want the transaction data to have the ability to display in the full length of the height if needed.Every time you add an instance to you subform, you should hide the footer in the previous instance
e.g.
when adding an instance
var intCount = _subform.count;
_subform.addInstance(1);
Reference_syntax.resolveNode("subform[" + intCount.toString() + "].footer").presence = "hidden"
when removing an instance if applicable
_subform.removeInstance(x);
var intCount = _subform.count - 1;
Reference_syntax.resolveNode("subform[" + intCount.toString() + "].footer").presence = "visible"; -
Report with Subreport - Summary Table On First or Last Page
Post Author: andbort
CA Forum: General
All-
My apologies in advance for the long post. I would like to know if something can be done in a single report instead of having to spread it across two reports. I will use generic (Xtreme sample database) field names to explain my dilemma. I currently have the following report:
Main Report
Customer ID, Customer Name
Subreport
Order ID, Order Amount, Customer ID
Each Customer and its associated subreport are displayed on a separate page. So it looks like this:
(first page)
1 City Cyclists
100 $200 1
101 $5000 1
102 $350 1
(second page)
2 Pathfinders
103 $760 2
104 $20 2
(third page)
3 Bike-A-Holics Anonymous
105 $120 3
106 $270 3
107 $400 3
And so on. This report often has numerous customers (i.e. ~10 or more customers, thus ~10 or more pages). The business users would like to have a "summary" page at the beginning of the report. This summary page would be in basic tabular format, with one row per customer, but each row would contain values from the subreport. So the updated report would look like this:
(first page)
Customer ID Customer Name Most Recent Order Amount
1 City Cyclists $350
2 Pathfinders $20
3 Bike-A-Holics Anonymous $400
(second page)
1 City Cyclists
100 $200 1
101 $5000 1
102 $350 1
(third page)
2 Pathfinders
103 $760 2
104 $20 2
(fourth page)
3 Bike-A-Holics Anonymous
105 $120 3
106 $270 3
107 $400 3
Is this possible in Crystal Reports 10?
Additional Background: The application in question is ASP.Net 1.1 (Visual Studio 2003) which displays reports designed in Crystal Reports 10. The actual report displays customer records in the detail section Da. There are 5 subreports, one in each section Da, Db, Dc, Dd, and De. The summary page could be rendered either at the beginning of the report (e.g. report header) or at the end (e.g. report footer), but will ultimately need to contain Customer table field values, as well as field values from two of the five subreports. I am hoping that this requirement can be addressed in a single report, instead of having to spread it across two reports (each displayed in its own CrystaReportViewer control on the web page). I am assuming that a solution to the generic example above will be applicable to my specific report.
Thanks,
Andrew Bort
National Grid
[email protected]Post Author: Guy
CA Forum: General
Hi,
If I understand you correctly, you could simply use a crosstab at the begginning of your report to summarize all customers. If you put it alone in its section you'll be able to specify that you want a page break after.
The remaining of the report should be a simple report where you group on your customer and the detail line showing a sale.
finally, if I was wrong above and you still need subreports, you can use a shared variable (or a parameter) to allow the main report to receive the total from the subreport.
Good luck! -
Turning off headers and footers when printing a web page.
Is it possible to turn off (or reduce the size of) the
default header and footer
when printing a web page? I am using Internet Explorer 6.0.2
900, and only want
it to work with my computer and a specific printer.
I am using the directive @page normal { size : portrait;
margin : 0;} in a CSS
stylesheet specified as media="print".
ClancyOn Sat, 19 Jan 2008, David Powers wrote
>However, you are very selective in your quote. Michael
goes on to say
>(and I agree with him on this point):
>
>"The problem with logical inches and all other fixed
units of measure
>is that they do not scale well on systems with different
dot-per-inch
>settings. What may seem just right in Windows at 96 dpi
may be too
>large or too small on other systems.
Of course, but It's not a problem with logical inches per se.
The
logical inch is just another way of looking at what is meant
by the
screen dpi value. Scaling problems, with different dpi
settings, has
always been a Windows problem and results from the way that
the OS
handles scaling. Fonts scale perfectly. Actual windows, and
other
containers, don't. This is a problem programmers have
grappled with
since the first Windows OS. Vista is the first OS to try to
tackle this
problem.
>Thus, percentages or ems work best when cross-platform
compatibility is
>desired."
And that is because the users screen dpi, and hence logical
inches, are
totally irrelevant when specifying ems and percentages.
Ems and percentage equate to a number of pixels, not inches.
The sole purpose of screen dpi setting is to convert anything
sized in
physical inches into a number of screen pixels. That is the
_only_
purpose of screen dpi. It's a very simple algorithm.
(physical) inches x screen dpi value = number of pixels
How do _you_ think a font sized in points (inches) gets
translated to a
specific number of pixels on screen. I'd be interested in
your answer.
For the screen a conversion from physical inches to pixels is
always
necessary because, as you say, pixels are the unit of screen
measurement
but they are not just a "standard" measurement, they are the
only
consistent measurement. It's not the users program that
creates pixels
on screen but the Operating System. The program requests the
OS to
create a given font at a given size and the requested size
_must_ be in
pixels. Windows can't _directly_ create a screen font that's
specified
in points (inches) because it has no notion of what a
physical inch is
on screen. It does know what a logical inch is because the a
logical
inch is defined by the screen dpi value. That's what the
screen dpi
value is for. If a browser programmer wants to bypass the
variability of
screen dpi on different computers then they ignore dpi values
and work
directly in pixels i.e. in ems or percentage. When ems and
percentages
are specified one is dealing only in pixels.
> It makes a lot more sense in terms of website design to
set a
>font-size of 14px than use units that both you and
Michael Bowers
>define as "1/72 of a logical inch".
Of course it makes more sense to set font size specifically
in pixels
because that's the only unit the OS can use to put something
on screen.
I can't see where you get the idea that either Michael Bowers
or I have
said that there is a unit "defined as 1/72 of a logical
inch". Every
Windows program written takes it that there are 72 points to
a
_physical_ inch.
>
>Yes, you *can* use points to set font sizes (or any other
measurement)
>in CSS for onscreen display, but your fixation with
logical inches
>appears to add little of practical value to choosing the
most
>appropriate measures for designing pages to be viewed on
displays of
>various sizes and resolutions.
You are implying I've said things which I haven't. I have
never, at any
time, said one should use points or inches in designing web
pages. You
seem to have missed the point that what I am doing is
explaining why you
see the results you do on screen when those unit are used.
Somewhat more
informed than "Points are only for print because I don't know
what they
mean on screen, so they must be meaningless".
>As Eric Meyer says on page 110 of "Cascading Style
Sheets: The
>Definitive Guide" (2nd Edition), "points can be a very
difficult
>measurement to use in document design."
And again, I've never advocated using them in page design. A
close
reading, however, from page 83 onwards shows that Eric Meyer
has an
imperfect notion of the meaning of screen dpi. Heresy!! He's
hardly
alone, which is why I did a web site.
>
>That's why I recommend leaving points for use in print
style sheets.
>However, if you enjoy making life difficult for yourself
by using
>points for onscreen design, you're perfectly free to do
so.
Once again, I have never advocated that. You are setting up a
straw man
to knock down. You can do better than that.
Richard Mason
http://www.emdpi.com -
Prints gibberish in headers and footers in emails or web pages.
I have an HP J4540. The headers and footers print gibberish either in email or a web page. The body of the text is fine. It prints fine in Internet Explorer but not in Firefox.
Welcome to the HP Community , I read through your post about the printing issues you have been having, and I hope to help you! Seeing how the printer will make copies and test print tells us that the printer itself is fine and there is no hardware issues. However, seeing how printing from two different computers will not work, flags a software problem on the computers. Please try out the steps below and get back to me with the results and we will go from there. If you did not install the Full Driver, run the HP Printer Install Wizard for Windows to search and install the complete driver and software. This will need to run on both computers individually. Manually restart the print spoolers on the computers:1. Click Start
2. Type "Services" in the search field.
3. Open SERVICES
4. At the bottom, click "Extended View"
5. Search for Print Spooler
6. Right-click it and choose Properties
7. Select as Automatic in the drop down box, close the Window
8. Right click on Print Spooler and choose "Stop", wait until it stops and then right click again and "Start".
9. Close out of Services and try printing from Notepad.10. Try printing from a web browser now, if there is a problem with the print, try a different web browser. Show thanks for my reply to help you today by hitting the "thumbs up" icon below!I hope to hear from you, good luck! -
No biggy if the answer is no. I just would like the printer's headers and footers the same size as my Internet Explorer 8 thats all.
Hi Again Bob.
It looks like I am going to be upgrading hardware and software to CS5 after all (With an extra headache of Q2ID). Just before I do so I was wondering if you could point me in the right direction...
Is it possible that Amazon might stock legitimate versions of CS4? i.e: http://www.amazon.co.uk/Adobe-CS4-Design-Premium-Mac/dp/B001UV3T4W/ref=pd_rhf_p_t_1
Or could one download a trial of CS4 and purchase after the 30 days? (no idea where a trial would come from either)
I can't seem to get any information on CS4 at the moment, and would rather not purchase illegitimate software!
Thanks for your help
Lawrence -
How to Print Sales header text at the end of last page of Main Window
Dear All,
I have a requirement to print Sales order header text at the end of Main of last page. I don't have footer window.When i use Bottom-End bottom.Only one line is printing.The header has 5 lines.
Request you to provide <b>code</b>to handle this situation. Your response is highly appreciated
Best Regards
PraveenHi,
If u r using standard layout set RVORDER01.
U can print that sales order header text in the following text element.
/E SUPPLEMENT_TEXT.
U can include ur text objects here.
Then it gets printed.
Regards,
Veda Kumar -
How to Print T&C on backside of the last page in smartform.
Hi All,
I have requirement from one of the my client to print the terms & condition page on the back side of last page in invoice form.
I have created three pages as below.
First page: To Print header data,Print mode:blank,Next page : NEXT.
Second page : Contains the continuation of the data,if there are enough lines,Print Mode: D,Next page : NEXT.
Last page:To Print T&C,Print mode : blank,Next page :blank.
This is working properly when form has 2 pages.Here my question is,
How to print the T&C on backside of first page,if form has only one page.
Thanks in Advance.Hi Vineesh,
I have 3 pages in my form.
First page: To Print header data, Print mode:blank, Next page : NEXT.
First page has the comment node, go to next page as Third page.
Second page : Contains the continuation of the data, if there are enough lines, Print Mode: D,
Next page : NEXT.
Third Page: T&C page, Print mode : blank,Next page :blank
The 3rd page should print back side of the page.
If form has only one page,then first page should be in D mode.Hence the T&C page will print back side of first page.
If form has multiple pages. then the last page ( where the main window gets end ) should be D.Hence
the T&C page will print back side of last page.
How to achieve this both the scenarios?
Thanks & Regards,
Priya Chandran -
How can I display labels in the margin on last page
I would like to display a label and a line (for a signature) on the last page of my report at the bottom of the report. This has to be displayed after all the other report details have been displayed and should appear only on the last page. How can I do it? Please help.
You can move the label and the line for the signature into a frame and place the frame at the end of your report. Then set the "Print Object On" property for the frame to Last Page.
-
How to display the some extra text in footer last page of each department
Hello Experts,
I need help in generating RTF template to generate sum of salary for each department in the footer of the last page of each department name As shown below.
Total salary of <DEPARTMENT_NAME>=<Sum of salary>.
Someone plese help me.
For example:
If my output is displaying in multiple pages for each department I want the output should be as follows in the footer of last page of current group
*Total Salary of Accounting = _20300_*
My xml file is as follows*
<?xml version="1.0" standalone="yes"?>
<ROWSET>
<ROW>
<DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
<FIRST_NAME>Den</FIRST_NAME>
<JOB_ID>PU_MAN</JOB_ID>
<SALARY>11000</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
<FIRST_NAME>Alexander</FIRST_NAME>
<JOB_ID>PU_CLERK</JOB_ID>
<SALARY>3100</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
<FIRST_NAME>Shelli</FIRST_NAME>
<JOB_ID>PU_CLERK</JOB_ID>
<SALARY>2900</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
<FIRST_NAME>Sigal</FIRST_NAME>
<JOB_ID>PU_CLERK</JOB_ID>
<SALARY>2800</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
<FIRST_NAME>Guy</FIRST_NAME>
<JOB_ID>PU_CLERK</JOB_ID>
<SALARY>2600</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
<FIRST_NAME>Karen</FIRST_NAME>
<JOB_ID>PU_CLERK</JOB_ID>
<SALARY>2500</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
<FIRST_NAME>Nancy</FIRST_NAME>
<JOB_ID>FI_MGR</JOB_ID>
<SALARY>12000</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
<FIRST_NAME>Daniel</FIRST_NAME>
<JOB_ID>FI_ACCOUNT</JOB_ID>
<SALARY>9000</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
<FIRST_NAME>John</FIRST_NAME>
<JOB_ID>FI_ACCOUNT</JOB_ID>
<SALARY>8200</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
<FIRST_NAME>Ismael</FIRST_NAME>
<JOB_ID>FI_ACCOUNT</JOB_ID>
<SALARY>7700</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
<FIRST_NAME>Jose Manuel</FIRST_NAME>
<JOB_ID>FI_ACCOUNT</JOB_ID>
<SALARY>7800</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
<FIRST_NAME>Luis</FIRST_NAME>
<JOB_ID>FI_ACCOUNT</JOB_ID>
<SALARY>6900</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Accounting</DEPARTMENT_NAME>
<FIRST_NAME>Shelley</FIRST_NAME>
<JOB_ID>AC_MGR</JOB_ID>
<SALARY>12000</SALARY>
</ROW>
<ROW>
<DEPARTMENT_NAME>Accounting</DEPARTMENT_NAME>
<FIRST_NAME>William</FIRST_NAME>
<JOB_ID>AC_ACCOUNT</JOB_ID>
<SALARY>8300</SALARY>
</ROW>
</ROWSET>Hi,
This a good document to look at. Search for the words "Running Totals" and "Regrouping the XML Data" on the page.
Oracle Fusion Middleware Report Designer's Guide for Oracle Business Intelligence Publisher
http://docs.oracle.com/cd/E21043_01/bi.1111/e13881/T421739T481157.htm
I hope it helps.
Sinan -
Is the macbook air and iPad supposed to sync last page read?
is my macbook air and iPad2 supposed to sync last book page read?
Do you mean in iBooks?
If you're signed in to iCloud on both machines, that's what's supposed to happen. However, if the internet connection on the machine you used last was poor, the sync may not have completed -
How can i let firefox not to remember the last page that i've closed?
At the beginning, Firefox asked me wither to remember the last page that i've closed or not. i accidently chose yes, but i dont know how to change it back.
The [[passwords]] article shows how to delete individual usernames/passwords.
-
Ipad mini and iphone no longer syncs "last page used" of my ebooks
My ipad mini and iphone recently stopped syncing the page locations for my kindle e-books. Each time i go from one device to the other i find my book on the same page it was when i last used that device and when I tap the sync circle icon it tells me that i am "currently at the furtest location across all your devices." Not! it used to sync them but now it doesn't and I don't know why.
ChristineSounds like the problem is with the phone. Do a hard reset and go from there.
Basic troubleshooting steps.
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G + 120G OCZ Vertex 3 SSD Boot HD
Maybe you are looking for
-
iTunes keeps saying "song can no longer be made into a ringtone" But it is saying it for every song. I have on multiple song from my library clicked on the little ringtone thing and it keeps coming up saying "this song can no longer be made into a ri
-
ITunes no longer recognizing iPod
Following a total re-install of MacBook operating system, including an update of iTunes to 10.4, iPod touch was no longer recognized. iTunes 10.3.1 was restored, but now it also is not recognized. Another oddity is that I can not delete podcasts from
-
Err. 1001, 1461, 1475
I have a C code calling a Stored Procedure with NO CURSORS in it. The prog. runs in background and keeps a connection open to DB. After few days, I keep getting those errors on a particular line of SP. There are othere C programs linked with this cod
-
Problem in Dequeuing from AQ Adapter
I Have Problem in Dequeuing my BPEL Process is able enqueue the message to B2B but it is not able to Dequeue the same message from the Queue. Interesting point some times My process is able to Dequeue the message and some time it is not able to Deque
-
Nokia 6288 won't display the caller ID
When a call comes in it just says 'call' it won't display either a number or the caller's name if the caller is someone in my contact list.