How to get page break in PSP reports
Dear All,
is there a way to generate reports with page break using PSP .i
am going to use ORacle 9iAS/9i DB and also apart from ORacle 6i
reports.
i want to generate reports using PSP/Oracle 9iAS and i need to
have a facilty for online printing of report like with page
breaks and sub totals should come on my report...please clarify
this asap...
thanks®ards
rammohan
HEllo,,
Checkout the code..
*& Form after_line_output
* After line output event is handled via this form
* L_V_LINE : Capturing line value for page break.
FORM SUB_after_line_output1 USING l_v_line TYPE slis_lineinfo. "#EC CALLED
DATA: l_index1 LIKE sy-tabix,
l_index2 LIKE sy-tabix.
FIELD-SYMBOLS: <l_fs_output1> TYPE ty_output,
<l_fs_output2> TYPE ty_output.
CLEAR l_index1.
l_index1 = l_v_line-tabindex.
READ TABLE g_t_output INDEX l_index1 ASSIGNING <l_fs_output1>.
IF sy-subrc = 0.
CLEAR l_index2.
l_index2 = l_index1 + 1.
READ TABLE g_t_output INDEX l_index2 ASSIGNING <l_fs_output2>.
IF sy-subrc = 0.
IF <l_fs_output1>-FAEDT <> <l_fs_output2>-FAEDT .
* WRITE: sy-uline.
NEW-PAGE.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. " after_line_output
for ref:Page break and Subtotal display in alv
Re: Page Break while Printing ALV
hope it helps..,
Regards,
Deepu.K
Similar Messages
-
How to Get Page Break Before Inline TOC in EPUB?
I'm exporting a book file to epub. The TOC is created correctly inline, but I can't yet find a way to get a page break right before it.
In EPUB Export Options->Advanced, I have selected Split Document->Based on Paragraph Style Export Tags.
The TOC Header (saying "Table of Contents") has the paragraph style "TOC Heading." In paragraph styles panel->Edit all Export Tags, I have checked the checkbox for "Split EPUB" next to the "TOC Heading" style.
But, after export, there is no page break before the TOC Header.
How can I correct this?
Thanks very much in advance to all for any info.I think basically you're doing it correctly. I've run into the same problem. What I found is that the heading in the PLACED table of contents (placed by using the Layout > Table of Contents feature and placing it onto the page) will not work for making a page break. It's a special kind of object because it can be updated by the Update Table of Contents command.
You have to do a workaround: You need to create "Table of Contents" in a separate frame and apply the TOC Heading paragraph style.
In the TOC style, DON'T include content for the TOC title. Look at the screen captures below of my TOC.
By separating the "Contents" into its own frame it works in EPUB: -
How to get page break in notepad download
Hi Experts,
My requirement is to download the Report output into notepad format with page breaks using GUI_DOWNLOAD Function module.I don't want to use any standard options.
Please Advice
IndraHi Indra,
I would agree with Rob on this as Notepad does not seem to have a page break feature. However, there is a public constant in cl_abap_char_utilities as FORM_FEED (but not sure whether it would work for Notepad though). For line breaks use NEWLINE and CR_LF.
Regards,
Debanjan -
How to remove the page break for CSV report
Hi,
I'm working on a rdf report and have an issue with page break.
As usual there exits a page break in the report output. how do I remove it.
work around: set Page break before/after : NO
worked on margin re-size, how ever could not resolve the issue.
Can any one help me on this.
Thanks in advance.
Thanks,
SanthoshThere are two ways to do this:
1) If you want to remove and individual dimension from a presentation, you can hide the dimension. This can be performed directly from within QueryBuilder. Within the first section of Query Builder that shows the selected measures selected and associated dimensions, simply remove the required dimensions from the right dialog panel.
2) To hide all page items within a presentation, simply add the following the property, pagingControlVisible="False", to the presentation tag in your JSP. For example:
<orabi:Presentation location="Local Computer Sales/Products/KPI Sales Prior Period and Prior Year" id="BIProductKPIs_pres2" pagingControlVisible="False"/>
Hope this helps
Business Intelligence Beans Product Management Team
Oracle Corporation -
How to set page setup in ssrs report level
Hi All,
Can any one suggest pls.
I have a SSRS report which has 50 column data.
When i am exporting it to PDF its giving me 20 pages.How can i make it in 2-3 page max.
Please suggest and also when i am exporting to excel it looks fine but when printing it its giving me two page.How can it fit to 1 page in excel
pls help.Hi i_pr,
In SQL Server Reporting Services (SSRS), it is designed to use 2 different rules in pagination: Physical pagination and Logical pagination. Physical pagination is used to the print control and the TIFF and PDF rendering extensions. It is controlled by the
PageSize properties.
If we want to use 2-3 pages to display these data, we can modify the PageSize to work around the issue. However, if we print the report, it maybe truncated. Because the limit of print paper. Did you get the extra blank page when you export report to PDF?
If so, please refer to the following thread to reduce the pages.
http://blogs.msdn.com/b/chrisbal/archive/2006/08/10/694892.aspx
In SSRS, if we have no page break in the report, we will get these data in one page when we export the report to Excel. The print layout is relate to paper size. Alternatively, we can adjust the report in Excel to work around the issue.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Hi all,
I am sending a report to external user e-mail id from SAP. The user is receiving the report in html format.
The user asks me they need a page break on the report after each customer data. I am wondering is it possible to have a page break in html report? If yes, how it is possible?Hi,
I insist : it is not possible with HTML to insert Page breaks. BUT, Tammie is right! You can use CSS (Cascade Style Sheet) to insert page breaks thanks to few lines of code in your HTML page.
Follow this link to have a look at a very simple piece of code to illustrate this :
http://www.codeave.com/css/code.asp?u_log=4016
Here it the code if you don't have access to this URL :
<html>
<head>
<title>CodeAve.com/CSS - Page Break</title>
<body bgcolor="#FFFFFF">
<center>
Page 1
<br style="page-break-before:always;">
Page 2
<br style="page-break-after:always;">
Page 3
<p>
Use print preview on your browser to see how<br>
this page would print out to three pages
</center>
</body>
</html>
Hope it helps.
Don't forget to close the post if solved (so that search in the forum is easier), and reward points (so that SDN members are happy !) -
How to put page break in SMARTFORMS
Hi Guys,
Can anyone please let me know How to put page break in SMARTFORMS
Regards
AviHi,
Look at the below thread, you will get the answer
https://www.sdn.sap.com/irj/sdn/profile?userid=2522810
Regards
Sudheer -
How to get Page Count of pdf in Document library in EventHandler
Hi,
How to get Page Count of pdf in Document library once uploaded has been done and i would like to update the page count value in document library column of the corresponding file.
I should achieve it in Event handler.
Which even should i use, either ItemAdded or "ItemUpdated "?
Thanks & Regards
Poomani Sankaran.Hello,
If you are looking for file download or view count then event handler will not work. You need to enable the analytic report to your site. Once you enable it then you can see the report within a browser or you can also create custom webpart to show count
of specific file.
http://blogs.msdn.com/b/ecm/archive/2010/05/03/web-analytics-in-sharepoint-2010-insights-into-reports-and-metrics.aspx
http://sharepoint.stackexchange.com/questions/34611/count-of-files-under-a-folder-in-a-document-library
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Getting page no. when generating report in XML format
hi all,
could any one tell me. How to get page no's in XML reporting.
Is there any facility to assign physical page no. to an other variable?
regards,
VasuHi Kishore,
I have a report (D2K) of 10 pages. Normally for getting page no.s on report, we will have a field and we will assign source as physical page no. But if give like this, i am not getting page no.s when i am generating report format as XML.
regards,
vasu -
How to avoid page break up in background
hi all,
i have developed new report i don't given page break statement .. in foreground it s coming correct without any page break..
when i have schedule in background page break is coming please let me know how to avoid page break in background process.
regards ,
santosh
Edited by: santosh jajur on Jul 8, 2009 12:16 PM
Edited by: santosh jajur on Jul 8, 2009 12:46 PMHi,
When you view the output from the report run in batch you are presumably looking at the spool output. Because you are viewing a preview of what is sent to the printer the spool applies page breaks based on the printer parameters. When you run the report in dialog you view the report on the screen, and the spool is not involved, so no page breaks.
If you print your report in dialog then review the spool you'll find it has the page break just as the background run has.
Regards,
Nick -
How to insert Page Break in SPOOL file
How to insert Page Break in SPOOL file.
How to insert Page Break in SPOOL file.
SET NEWP[AGE] {1|n|NONE}
SET NEWPAGE is not supported in iSQL*Plus
Sets the number of blank lines to be printed from the top of each page to the top
title. A value of zero places a formfeed at the beginning of each page (including
the first page) and clears the screen on most terminals. If you set NEWPAGE to
NONE, SQL*Plus does not print a blank line or formfeed between the report pages.
http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a90842/ch13.htm
SQL> SET PAGESIZE 5
SQL> SET NEWPAGE 0 --a form feed between your pages
SQL> SPOOL C:\output.doc
SQL> SELECT * FROM emp;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 800 0 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
7698 BLAKE MANAGER 7839 01-MAY-81 2850 0 30
7782 CLARK MANAGER 7839 09-JUN-81 2450 0 10
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7788 SCOTT ANALYST 7566 09-DEC-82 3000 0 20
7839 KING PRESIDENT 17-NOV-81 5000 0 10
7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7876 ADAMS CLERK 7788 12-JAN-83 1100 0 20
7900 JAMES CLERK 7698 03-DEC-81 950 0 30
7902 FORD ANALYST 7566 03-DEC-81 3000 0 20
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7934 MILLER CLERK 7782 23-JAN-82 1300 0 10
13 rows selected.
SQL> SPOOL OFFKhurram -
How to set page break for Narrative view???
Hi All,
I have created a report in Narrative view using HTML code. I am stuck how to set page break based on a column in Narrative view. If anybody is aware of the issue pls let me know how to overcome this situation. Or if this can be done using HTML code itself pls let me know how to do it.
Thanks & Regards
ThenmozhiHi Honey,
I am not sure on ur requirement but you can achieve page break with a column using pivot view by dragging that column into section area and editing section properties to Insert Page break option. -
How to get last column used in report sorting?
hi,
how to get last column used in report sorting?
simonHow to identifiy which column was sorted having different reports on page?
just use:
'YOUR_STATIC_REGION_NAME' instead of p_static_id,
:APP_ID for p_app_id,
:APP_PAGE_ID for p_page_id
:APP_USER_ID for p_app_user.
and dont forget to grant SELECT on #OWNER# to APEX_030200.WWV_FLOW_PREFERENCES$
good luck and thank you Juergen.Schuster
Simon -
How to put Page break in SAP Script
Hi Experts,
Please tell me how to put page break in SAP Script. or give some sample code
looking forward for your reply..
Regards,
Kali PramodHi,
NEW-PAGE is used to insert a page break ,
it can be conditional if used between IF..ENDIF
e.g. /:IF &KNA1-NAME1& = 'XYZname'
/:NEW-PAGE
/:ENDIF
If u want to Page break after displaying certain records or after some condition you use NEW-PAGE
reward if useful. -
How to get page one to animate only once in interactive pdf?
how to get page one to animate only once in interactive pdf? I like when the document opens up in acrobat and the the page animations work but when I go to one of the pages and hit my designated home button it goes back to page one but it reloads again. As a user it would drive me crazy to have to wait for all of it to load......anyway to have that page one load once as the opening page?
I don't think you really mean animations (unless you have a placed SWF file) because things created with the Animation panel don't work in PDF. Nonetheless, you're talking about some kind of interactivity which is set to happen On Page Load.
So when you return to that page, of course the interactivity loads again.
There isn't a On Page Load Once command.
Perhaps you need to rethink why the interactivity is there. If it's important, maybe it should be triggered by a rollover or by clicking a button.
Maybe you are looking for
-
Problem due to Namespace in XML
Hi, From XI (Outbound proxy from R/3), using an XML package I am calling a webservice of a 3rd party system to create a contract. The webservice is failing. The 3rd party system is saying that it is failing becuase of the additonal lines in XML (like
-
Hi I am trying to implement IDOC to File scenario following the below blog. <a href="/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters:///people/prateek.shah/blog/2005/06/08/introduction
-
Incident management team determination Ib52 or PFAC?
Hi! For solution manager 7.1 incidenent management, is the team determination carried out by Ibase (partner) of by rule PFAC\13220137? In IB52, we can set up the partner for contact person and service employee group...if I have the ibase setup, is th
-
HT4623 i cant find the software update option in between about and usage?
Hello am useing a Apple i phone 3GS , i want to upgrade the option from 4.2 to any new versions? plz support me to get it
-
Soa-infra failed to start due to deployment
Hi While starting my SOA Server , i am getting the following error. But the server comes as Running , but in em console - soa-infra is shown as down Can any one help me in getting the details on how to remove the failed application from soa-infra , s