Output page footer if group details overflow single page
My report is all group details, with no page footer or headers, but I want to have a page footer output something like "continued on next page" only if that group continues on the next page, if there is a new group, then I want it suppressed.
I can't figure out where to put it, since one of the detail sections has the sub-report that causes it to go to a second page. I can't just say if there is a second page put it on, because they may print many groups of records at the same time, and each "group" is really its own report, so I don't want to indicate there is another page to that, since there isn't to that "group"
Make any sense? What am I missing (I will admit to being a CR newbie). Does one of the print state variables help with this?
Actually I tried to suppress like so:
Whileprintingrecords;
{@Details} <> 15
Details is a formula which is counting the number of purchased products in the Order. Once it reaches 15, the group goes over the next page and all I need is to print some text on that page, and go to the next page. The footer is holding the space reserved for it and on other pages where I don't need the footer to show up it reserves a lot of space.
Also I tried to place it into a fake group footer, but because I only need it to show up when it goes on the next page in that group this solution didn't work as well.
Is there a function which will tell the footer to print like so:
DETALTS - NEW PAGE AFTER - {@Details} = 14
PAGE FOOTER - {@Details} = 14 - Print it
PAGE FOOTER - {@Details} <> 14 - Do not Print it and do not reserve space for it.
Tatyana
Similar Messages
-
Tutorial on how to print multiple output pages
Hi,
I am rather sad that this forum does not provide a simple principle on how to printout multiple pages to newbie.
Below is a short contribution from me on how to print across multiple pages, other reader are also encourage to modify the code to provide more robust tutorial .
* How to use java to print across pages that are more than one
* Short contribution to java forum by Eric gan (Malaysia)
import java.awt.*;
import java.awt.geom.*;
import java.awt.print.*;
import java.awt.Graphics2D;
import java.awt.print.*;
import java.awt.print.Book;
import java.awt.print.Pageable;
import java.awt.Graphics2D;
import java.awt.Graphics;
public class Example implements Printable {
//--- Private instances declarations
private int row_cnt=30; // set the total number of row per page
private int cum_row_cnt=30; // set the counter to record total number of row per page to determine
// whether maximum pages should be increase depending on the programme requirement
private int max_pg=0; // set the maximum number of page
public Example () {
//--- Create a printerJob object
PrinterJob printJob = PrinterJob.getPrinterJob ();
printJob.setPrintable(Example.this);
if (printJob.printDialog()) {
try {
printJob.print();
} catch (Exception PrintException) {
PrintException.printStackTrace();
public void paint (Graphics g) {
Graphics2D g2d;
g2d = (Graphics2D) g;
int x=10;
int y=10;
for (int outline=0;outline<=160;outline+=20){
if (y>cum_row_cnt){
cum_row_cnt+=row_cnt;//counter should grow by value equal to row_cnt
max_pg++;
g2d.drawString("outline value ---> " +outline , x, y);
y+=10; // to set the row printing interval
} // end of paint procedure
public int print(Graphics g,
PageFormat pf, int pi)
throws PrinterException {
// normal routine to check when should java stop the print looping
if (pi >max_pg) {
return Printable.NO_SUCH_PAGE;
Graphics2D g2 = (Graphics2D) g;
int fontHeight=g2.getFontMetrics().getHeight();
int fontDesent=g2.getFontMetrics().getDescent();
double pageHeight = pf.getImageableHeight()-fontHeight;
double pageWidth = pf.getImageableWidth();
// setting for the translate and graphics clipping to enable printing on output pages
// row_cnt can be equal to pageHeight
// in this examples assumming pageHeight=20 rows
g2.translate(pf.getImageableX(), pf.getImageableY());
g2.translate(0f,-pi*row_cnt);
g2.setClip(0, (int)(row_cnt* pi),
(int) Math.ceil(pageWidth),
(int) Math.ceil(row_cnt));
paint(g2);
return Printable.PAGE_EXISTS;
public static void main (String [] args) {
Example example = new Example ();
System.exit (0);
ThankHello
I know that Pages is using its own algorithm to resize pages when it put several of them on a single sheet.
This is why I use this tip.
I draw a rectangle whose size is supposed to be the final one.
I give it a white background and a black border whose thickness is set to one point.
For the tests I just insert three page breaks so that the document is a four pages one.
I print it as is.
Doing that, I may measure the printed rectangle.
Of course, at first attempt it doesn't match the required size.
It's easy to compute the required adjustments.
When the correct factor is reached, it is easy to build the complete document so that it prints the correct size.
Doing that I never got odd results but maybe it's because I am a lucky guy.
Of course, disagreeing with one advice doesn't mean that I don't respect it.
I respect your opinion, _on other matters too_
Yvan KOENIG (from FRANCE mardi 6 mai 2008 17:24:09) -
Display output page by page in ALV
HI all,
can anyone pls tell me how to display output page by page in ALV
this is urgent..
ThanksHi,
if your case is like there sales orders,items.
you want to prints all sales order+its items in one page
then
you need to build sort table.
L_SPOS = L_SPOS + 1.
IT_SORT_DATA-SPOS = L_SPOS.
IT_SORT_DATA-FIELDNAME = 'VBELN'.
IT_SORT_DATA-TABNAME = 'IT_DISPLAY'.
IT_SORT_DATA-DOWN = 'X'.
IT_SORT_DATA-GROUP = '*'. "this is for page break
APPEND IT_SORT_DATA.
CLEAR IT_SORT_DATA.
pass this sort info to alv fm.
regards
vijay -
Provisioning multiple AD Groups from a Single Privilege
Experts,
We're encountering a situation here when we provision to multiple Active Directory groups from a single IDM Role.
The scenario is this:
We have a workflow that has multiple conditional and switch tasks that result in the provisioning of users to Active Directory 2008 (mixed mode) Our workflow uses the provisioning framework and all users have been granted the ONLY privilege for the system.
The workflow will result in adding the users to multiple AD groups sometimes two AD groups that are associated with a single IDM role. The first assignment always works, the second does simply does not occur, no entry in the system or job log although IDM does show that the role has been assigned with an 'OK' status.
We've accomplished a workaround by redesigning the workflow so that only single roles are assigned at a time and using chain result OK links to move from one provisioning activity to another, but frankly, we are unsatisfied with this. IDM should be handling this much better through
I'm wondering if we have a pending value floating out there and we should just be applying the pending value at the end of every AD group add.
Any thoughts on this would be appreciated.
Thanks,
MattMatt,
In your post you mention "I'm wondering if we have a pending value floating out there and we should just be applying the pending value at the end of every AD group add"... I'm faced with a similar issue were I'm left pending values for privileges after the group is assigned.
I've imported the AD groups as privileges. I assign them without issue. But when I review the assignments I can see that each corresponding privilege assignment now has a pending value. I can not remove the privilege from the user at this point.
Have you seen this before? Any suggestions on how I can clean this up. BTW, I'm using the SAP PF basically unchanged...
Thanks! -
ADF- OUTPUT PAGE NOT RENDERING
Hi all,
i have created my first ADF form but while running its not showing any errors and output page is not displayed.
i dont know what is wrong in that. its not showing any errors but output is not displaying.
its opening a new browser tab and showing 'Loading' and the browser is showing status as 'Done'.
Plz help me to get out of this.
Thanks on advance.
Regards,
Raja.javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = ALVMNRCTX09 TXID = CONTEXTID = d0a7c9a0dc393f2e:89aafbd:136a5b677de:-8000-0000000000000022 TIMESTAMP = 1334220290427
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>
<JMXWatchNotificationListener> <handleNotification> failure creating incident from WLDF notification
oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48447: The input path [\\\\alv.corp.com\\TSDataShare\\users\\Redirected\\rsingari\\APPLIC~1\\JDEVEL~1\\SYSTEM~1.13\\DEFAUL~1\\servers\\DefaultServer\\adr] does not contain any ADR homes
Action: Ensure that command line tool "adrci" can be executed from the command line.
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:933)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:298)
at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:259)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:828)
at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:792)
at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:552)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands "create home base="\\\\alv.corp.com\\TSDataShare\\users\\Redirected\\rsingari\\APPLIC~1\\JDEVEL~1\\SYSTEM~1.13\\DEFAUL~1\\servers\\DefaultServer\\adr" product_type=ofm product_id=defaultdomain instance_id=defaultserver
debug ami 72
set base \\\\alv.corp.com\\TSDataShare\\users\\Redirected\\rsingari\\APPLIC~1\\JDEVEL~1\\SYSTEM~1.13\\DEFAUL~1\\servers\\DefaultServer\\adr
set homepath diag\ofm\defaultdomain\defaultserver
create incident problem_key="BEA-101020 [HTTP][oracle.jbo.NoDefException]" error_facility="BEA" error_number=101020 error_message="null" create_time="2012-04-12 14:14:50.599 +05:30" ecid="d0a7c9a0dc393f2e:89aafbd:136a5b677de:-8000-0000000000000022"
Cause: There was an error executing adrci commands; the following errors have been found "DIA-48447: The input path [\\\\alv.corp.com\\TSDataShare\\users\\Redirected\\rsingari\\APPLIC~1\\JDEVEL~1\\SYSTEM~1.13\\DEFAUL~1\\servers\\DefaultServer\\adr] does not contain any ADR homes
Action: Ensure that command line tool "adrci" can be executed from the command line.
at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1207)
at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:866)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:913)
... 19 more -
Rearrange output pages with Oracle Reports
Hi
I'm using Oracle Reports Builder 10g and I need help on this subject:
I'm developing a report divided in sections that reference statistics of the partitions present in an IBM Machine. Each page in the first section appears also in the other sections of the reports, i.e. the first page of the first section (with data from partition A) has the same layout than the first page of the second section (with data from partition B in this case), which is page 14 on the final pdf report, and so on.
For each 'kind' of page in the final report I use a repeating frame that fills a whole page in the page layout in reports builder (the parameter is the partition), so I get n output pages for each page in the rdf file (n is the number of partitions). The problem: in the resulting pdf output file, the first page of first section appears first, then the first page of second section, and so on. I need the pdf to be arranged in the correct order.
Can someone help me on this subject?
Thanks and regards,
AlexHi,
We had the same problem at my organization. Our DBA had to install a patch:
To implement the solution, please apply the patchset to upgrade to 10.1.2.2.0.
To obtain a patchset from MetaLink:
1) Click on Patches & Updates.
2) Click on Simple Search
3) Select your product, release and platform.
4) Patch number is 4960210
Description PLACEHOLDER BUG FOR AS/DS 10G R2 PATCH SET 2 10.1.2.2
Product Oracle Development Tools
Release 10.1.2.2
The Patchset 4960210 is a patch for the Application Server AND Developer Suite
5) Read any applicable notes before downloading, then click the Download button.
Note: Please review the Readme file for instructions on how to install the patchset.
you should launch the installer with the executable setup.exe provided in the patchset, it could shows up a message indicating nothing was upgraded, but the release should be modified to 10.1.2.2
Hope that helps -
Report output page setup as Landscape
Hi Gurus,
I have a batchjob created for a Report. Now the client wants that report output page setup as Landscape.i have defined printers in the output settings. Please advice on how to do it.
Thanks for your help in advance.
regards,
SaakithyanSmartforms
Select the Page and in the right hand side, you will have a tab output options. In that you will have the page format Portrait or Landscape.
Smart scripts
You can find the Portrait or Landscape in the Orientation of the Basic settings option.
Report
(probably you might not have authorization for all the below - contact basis)
Step1 : Go to the transaction SPAD, then on the menu - configuration -> Device types -> Page Formats.
Step2 : Create a Page Format, if you want a new one or change the one which you already have. Then in the orientation, select Portrait or Landscape.
Step3 : Go to SPAD, Enter the printer you are using in SAP in output devices. Go to the Tray info in the last tab and select the Page Format you created above and save it.
Then print using this printer will print in Landscape or Portrait in the way you selected. -
Output Devices for Purchasing Groups
Dear Friends/Gurus
Please help me out on this issue
We Configure Output Devices for Purchasing Groups in
SPRO the path is
SPRO-IMG-MM-Purchasing-Messages-Assign Output
Devices for Purchasing Groups. I would like to know what is
the Exact Usage of this Function.
If we Assign a Output Device (Printer) to a P Group and
create a PO using the same P Group, Do we get it any
where?Hi
Yes, u r right !.
Once u configure the Printer determination for Pur group. u can take the print at the required location
anand -
Cannot change BBM group details/setting, on BES
Hi All,
I'm newbie forgive if I wrongly put this question in this thread..
After updating to latest asia firmware (666), suddenly I cannot change BBM group detail on my torch (9800). Therefore, now I always get unwanted notification/update from new group that I recently join.
I am on BES, using a provider in Indonesia.
Any solution for this? I just want to turn off group notification..
Many thanksHmm... still no answer? Is it too specific?
-
Need of having more transport groups in a single transport domain
need of having more transport groups in a single transport domain
Hello,
Transport domain is all systems managed using one domain controller.
Transport group is systems sharing the common transport directory.
There is no rule concerning the transport groups, some landscapes have their DEV and QAS systems sharing the same tansport dir and production having its own transport directory. Which means this landscape will have 2 groups.
This is just to keep your production system isolated.
regards,
Awaiz
rewards pts if helpfull. -
Query to find sales group details based on a merchant.
I wanted a query to find the sales group details for a given merchant. How do i do it?
Hi,
use for following function module to get file listing
DATA: L_DIRNAME LIKE EPSF-EPSDIRNAM,
L_FILEMASK LIKE EPSF-EPSFILNAM.
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
EXPORTING
dir_name = l_dirname
file_mask = l_filemask
* IMPORTING
* DIR_NAME =
* FILE_COUNTER =
* ERROR_COUNTER =
TABLES
dir_list = pi_filelist
EXCEPTIONS
invalid_eps_subdir = 1
sapgparam_failed = 2
build_directory_failed = 3
no_authorization = 4
read_directory_failed = 5
too_many_read_errors = 6
empty_directory_list = 7
OTHERS = 8. -
How to save current output page as pdf or xls format?
hello expert,
i have make 2D line graph . now i am trying to save current output page as pdf or xls format.
how can i do this?
please reply soon
thanks in advanceI have a similar problem with Firefox on android. When saving a page as PDF, often the PDF page size isn't big enough and just shows part of the full web page. Is there any way to set the PDF page size and make it bigger,say A4 or some other size?
-
I'm trying to create a report that displays a "Summary" section above every grouped Details section.
Is this possible in SSRS? If so, what is the best way to do it?
Thanks!Hi mmw_pdx,
In order to achieve your requirement, we can use two tables to separately display summary data and detail data. Then use a list to combine the two tables based on the Name group. For more details, please see:
Drag a table to design surface, add a group grouped by Food.
Right-click the first column to insert a column with Inside Group-Right, then insert the corresponding values.
Drag another table to design surface, insert the corresponding values.
Drag a list to design surface with current dataset, then drag the two tables in the list.
Add a group grouped by Name in the list.
The following screenshot is for your reference:
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
If you have any feedback on our support, please click
here.
Katherine Xiong
TechNet Community Support -
BSP-The output page should open separate browser .So what to do?
Hi friends,
I have 2 pages in BSP Input ,output pages.
If i give input material no as input page the material discription ,plant will display in output table of second page.all are fine.
But i want the output page should open separate browser .So what to do?
MoosaHi ,
Sorry but I did not get your requirment.
WK_URL is having some image output.
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<%@ page language="abap" %>
<html>
<iframe src="<%= wk_url %>" width="100%" height="500px">
</iframe>
</body>
</html>
If you want to display the image in a different window, simply use
window.open('image_page_name.htm')
from the calling page.Suppose you want to call it on click of a button
<htmlb:button onC lientCl ick="javascript:call_window();" />
<s cript type='t ext/j avascript'>
function call_window()
window.o pen('image_page_name.htm')
</s cript> -
Got SQL *Plus query output in more than one in a single page
Hi All,
I have write a SQL *Plus code for execute one SQL query and registered as concurrent program. But I have got the output more than once in a single page after running the concurrent program. I am not getting what is the my code problem. Please can any one help me.
This is my SQL code.
-- These commands are added by applications concurrent manager
SET TERMOUT OFF
SET PAUSE OFF
SET HEADING OFF
SET FEEDBACK OFF
SET VERIFY OFF
SET ECHO OFF
WHENEVER sqlerror exit failure
-- set user environment
SET pagesize 999
SET linesize 860
SET appinfo on
SET tab off
SET newpage none
SET heading on
--SET colsep ','
-- define heading/footer
--ttitle -
-- left currdate -
-- center 'SSFT Open PO Report' -
-- right 'Page : ' format 999 sql.pno -
-- skip 1 -
-- center 'Organization US / Type Contract Labor / Status - Open' -
-- skip 2
--btitle -
-- skip 1 -
-- center 'Scansoft Inc. - All information confidential'
-- define columns
CLEAR columns
SET heading on
COLUMN c1 format a30 heading '"Last Name"' trunc
COLUMN c2 format a30 heading '"First Name"' trunc
COLUMN c3 format a50 heading '"Employee Name"' trunc
COLUMN c4 format a20 heading '"Timecard Number"' trunc
COLUMN c5 format a40 heading '"Expenditure Batch"' trunc
COLUMN c6 format a24 heading '"Weekending Date"' trunc
COLUMN c7 format a24 heading '"Expenditure Item Date"' trunc
COLUMN c8 format a20 heading '"Expendtrmonth"' trunc
COLUMN c9 format a20 heading '"Expendtryear"' trunc
COLUMN c10 format a24 heading '"Sortdate"' trunc
COLUMN c11 format 999999999 heading '"Task Id"'
COLUMN c12 format a30 heading '"Task Name"' trunc
COLUMN c13 format a30 heading '"Task Number"' trunc
COLUMN c14 format a24 heading '"Closed Date"' trunc
COLUMN c15 format a30 heading '"Project Name"' trunc
COLUMN c16 format a30 heading '"Project Number"' trunc
COLUMN c17 format a30 heading '"Project Status Code"' trunc
COLUMN c18 format a30 heading '"Expenditure Type"' trunc
COLUMN c19 format a30 heading '"Expenditure Org Name"' trunc
COLUMN c20 format 999999999 heading '"Organization Id"'
COLUMN c21 format a50 heading '"Projmrg"' trunc
COLUMN c22 format a25 heading '"Role"' trunc
COLUMN c23 format a24 heading '"Projmrg Start Date"' trunc
COLUMN c24 format a24 heading '"Projmrg Start Date"' trunc
COLUMN c25 format a35 heading '"Job Name"' trunc
COLUMN c26 format a35 heading '"Project Type"' trunc
COLUMN c27 format 999999999.99 heading '"Quentity"' trunc
-- define breaks & computes
--break -
-- on report skip 2 -
-- on c30 -
-- on c20 skip 1
--compute avg label 'Average' of c210 on report
-- select statement here
SELECT papf.last_name || '' c1, papf.first_name || '' c2,
papf.full_name || '' c3, pea.orig_user_exp_txn_reference || '' c4,
pea.expenditure_group || '' c5, pea.expenditure_ending_date || '' c6,
peia.expenditure_item_date || '' c7,
SUBSTR (TO_CHAR (peia.expenditure_item_date), 4, 3) || '' c8,
SUBSTR (TO_CHAR (peia.expenditure_item_date), 8, 2) || '' c9,
TO_DATE (SUBSTR (TO_CHAR (peia.expenditure_item_date), 4, 6),
'MM/YY'
|| '' c10,
peia.task_id || '' c11, pt.task_name || '' c12,
pt.task_number || '' c13, ppa.closed_date || '' c14, ppa.NAME || '' c15,
ppa.segment1 || '' c16, ppa.project_status_code || '' c17,
pet.expenditure_type || '' c18, haou.NAME || '' c19,
haou.organization_id || '' c20, pppv.full_name || '' c21,
pppv.ROLE || '' c22, pppv.start_date_active || '' c23,
pppv.end_date_active || '' c24, pj.NAME || '' c25,
ppa.project_type || '' c26, peia.quantity || '' c27
FROM pa.pa_expenditures_all pea,
pa.pa_expenditure_items_all peia,
pa.pa_tasks pt,
pa.pa_projects_all ppa,
hr.per_all_people_f papf,
hr.hr_all_organization_units haou,
pa.pa_expenditure_types pet,
apps.pa_project_players_v pppv,
hr.per_jobs pj
WHERE pea.expenditure_id = peia.expenditure_id
AND peia.task_id = pt.task_id
AND peia.job_id = pj.job_id
AND pt.project_id = ppa.project_id
AND pea.incurred_by_person_id = papf.person_id
AND pea.incurred_by_organization_id = haou.organization_id
AND pet.expenditure_type = peia.expenditure_type
AND ppa.project_id = pppv.project_id
AND pppv.end_date_active IS NULL
AND pea.expenditure_ending_date >= SUBSTR (SYSDATE - 545, 1, 9)
ORDER BY papf.full_name ASC,
pea.expenditure_ending_date ASC,
peia.expenditure_item_date ASC;
--spool off
Thanks in advance
--SubhasHi
Either remove the semicolon (;) or the slash (/) at the end of your query, as both will execute it.
Maybe you are looking for
-
What is better ti use entourage or my .mac account to vidoe chat?
What is better to use entourage or my .mac account to video chat? How do I add a buddy into my entourage buddy list? Message was edited by: fotomike
-
Can someone suggest a solution to the problem of errors in installing Adobe Reader 11 to my Mac OS 9.2 computer?
-
Is it possible to recover organizers from PE3 or PE4 in PE10?
Since my current version of Photoshop Elements is very old, I want to buy the last one PE10 but I need to be sure I won't lose the old organizers (my catalog .psa) under PE3 and PE4? If this is possible, how to recover these organizers in PE10? Many
-
Migration from Oracle 7 to 8i or 9i
If a customer has the choice to migrate from 7 to 8i or 9i it seems more efficient to migrate directly to 9i. Are there any circumstances or reasons for not migrating directly to 9i? (for example stability?). Thanks for your reply.
-
Efficient way get FCE4 Log and Transfer to read .mts files stored on drive?
Hi All I've searched the FCE discussion forum and not found an answer verified by more than one user to this question: What is an efficient way to get FCE4 (via the Log and Transfer window) to see .mts files from an AVCHD camera stored on a drive (NO