Report Summary table
Hi
I am tasked with producing an automated version of a manual summary table that is built in Excel.
The data is derived from a single reporting table.
My problem is going about how to design such a table. Please see the image attached to get an idea of what i'm after.
It's like I'm after a double grouping of data - one for the rows and one for the columns, but I don't know how to implement one.
Should I just insert a row for each summation into the table that first begins with the row title? eg
VALUES ROWTITLE, SummedInfo2012, SummedInfo2013 etc....
Or is there another way about this?
Thanks.
Well, keep guessing
select type, value
from (select
sum(cast(fault as int)) as
fault ,
sum(cast(nonfault as int)) as
nonfault ,
sum(cast(dispute as int)) as
dispute
from t1) as agg
unpivot(value for type in([fault ], [nonfault ],
[dispute ])) as u;
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence
Similar Messages
-
Post Author: strife
CA Forum: General
I am using Crystal 10 and trying to develop a donor percent participation report, comparing donors to total number of class members (donors per class/good addresses per class) * 100. The number of class members comes from a summary table of good address counts that remains static throughout the year.
1) I can create a view for the good address counts but Iu2019m unclear as to the way to link this view to the table of donors. I canu2019t link ID to ID since itu2019s a summary and doesnu2019t have a row per ID (I need address counts for ALL IDs not just the ones who are donors).
2) If I put the view in a subreport, I get only one result not a count for each group which is class year.
3) If I put the subreport in the class year group to get a result returned for each class but the subreport creates unwanted blank rows in the export to Excel.
I am looking at the last option but wonder if there is some other way that Iu2019m overlooking. Any help is appreciated.Here is the video! and it works for 2010. It shows you how to put the pivot wizard that you need on the ribbon.
https://www.youtube.com/watch?v=pUXJLzqlEPk
Excel Pivot Tables: How to flatten a cross tab table
Note: the above instructions for 2007 and 2003 work as well BUT you must let go of the "alt" & "d" when you press "P"! -
Summary Tables for Asset Master?
I need to create an asset/insurance data report, using SAP Query, which shows the asset master record balances only (acquisition and posted depre'n) as at report selection date.
Are there any summary tables for fixed assets that are equivalent to GLT0, KNC1 and LFC1 for GL, Customer and Vendor?
Thanks in advance for any assistance.
Best regards,I am not sure about ANEP or know how to use it. It only has data records for the fiscal year when there is posting to acquisition values field u201CAmount postedu201D for the asset. No data records for other years with posted depreciation.
-
I am trying to make a summary table in Report, where I can pull specific channel values, channel properties, etc. in a summary table. So far, I can only display an entire channel, a single value over and over in a column, or a channel property over and over in a column. I have structured my data in groups, where each group is a separate experiment, each experiment has a bunch of channels. I am trying to generate a table where I can display a value from each experiment in a single column. I can provide an example if it would help. Thanks.
Steve
Solved!
Go to Solution.I was able to get a solution from the "Ask an Engineer" line. My problem was that I was calling out a specific group number when I was coding the table columns, so it was only repeating the same value from the same column every time. In the Script tab, I would have just used a for loop to loop over the number of groups. The solution that was provided to me for Report was to use the "D2TabRow" variable to specify the row of the table, instead of calling out the group by number. For example, to display the maximum value in the channel "dTemp Smooth" from the nth group in the nth row of the 2D table, I would use:
@@Str(Data.GetChannel("["+str(D2TabRow)+"]/dTemp Smooth").Properties("maximum").Value, "AutoAdj")@@
I think this solves the problem that I was having. I'm trying to find my way up the learning curve of using the Report feature to automate my analysis and data summarization. Report is a HUGELY powerful tool, but the coding is a little awkward to a new user. Can you recommend any useful resources for a Report newbie?
Thanks,
Steve -
Linkig FI-SL Summary Table in Transaction FSI1
Hi,
I'm trying to create Balance Sheet Report on FI-SL. I do not see any option on how to link summary table to the report. We are in ECC 6.0. Any help is appreciated.
Thanks,
TrinadhaHello Trinadha,
The linkage will be created / established when you create your library, sets and variables as well as when you specify the FI-SL ledger in the columns of the report.
For instance when you create a library, you need to enter the FI-SL summary table. The linkage is then established when you enter the report and the report group in the said library.
Refer back for any other clarifications.
Elias -
Hi,
I have doubts in Report Summary scection in AWR report.Please anyone clear it.
1,What is W/A MB processed?
2,What is the difference between logons in load profile section and Sessions in snap info section?
Logons means connection which may one or more sessions.Is it right?
3,What is the difference between Block changes and Physcical writes in load profile section?
a,,Block changes means only datafile? or including Undo/Temp?
b,Physical writes:Number of physical writes performed.What does mean?
For Ex:
1,Emp table has 5000 rows on 50 blocks.
2,Insert into emp select * from emp;Then commit;
50 blocks changed Hence the value 50 added to Block changes.Is it right?
What about Physical writes?How the writes value calculated.Just assume 100 writes performed for this insert statment.
How is the value(100) cacluated?What basis?Is there any parameter influenced?like db_block_size .....If it's what are the parameters?
4,Execute to Parse %: Parse once execute many.
Softparse %:
Buffer Nowait %: 99.97 Redo NoWait %: 100.00
Buffer Hit %: 99.93 In-memory Sort %: 100.00
Library Hit %: 103.53 Soft Parse %: 94.67
Execute to Parse %: 100.00 Latch Hit %: 94.42
Parse CPU to Parse Elapsd %: 12.94 % Non-Parse CPU: 99.81
a,Soft Parse %: 94.67.So Remaining 5.23% is hard parse?
b,If Execute to Parse % is 70,What does mean of remaning 30%?(Same statement but differ in various reason like authentication or optimizer)Is it right?
c,How to relate Execute to Parse %: with Soft Parse %:?
d,How to relate Parse CPU to Parse Elapsd %: with % Non-Parse CPU:?
5,Shared Pool Statistics
Begin End
Memory Usage %: 26.26 25.90
% SQL with executions>1: 98.95 98.31
% Memory for SQL w/exec>1: 97.79 99.46
a,What does mean of Memory usage?26.26% memory used in allocated total SGA(if configured sga_target or memory_target).Is it right?
b,at does mean SQL with executions>1?How to/Where to realet with other parameter in AWR?
c,at does mean % Memory for SQL w/exec>1?How to/Where to realet with other parameter in AWR?
6,What does mean of Per exec, per call in load profile section for the attribute DB Time(s),DB CPU(s)?
7,What is Load average begin/end in host cpu section?How is the value calcuated?
8,What is %wio in in host cpu section?
9,What does mean %total cpu and %busy cpu in instance cpu?
10,what does mean Applied urec?
Br,
RajHi,
Thanks for your Reply..........
Now we use 11g only,Not 12c.
I read oracle 11g document already(few times).But i couldn't understand it.Hence,i posted here.
If anyone tell,it is a BIG release from headache.
Br,
Raj -
Hi
I am using Disc Release 4.1
I have registered a external summary in the Discoverer admin addition against my folders. My database version is higher than 8.1.6.
I made sure that The options
"Available for queries" = Yes
"when do u want to use summary data" is set to "always, whenever available"
are selected.
But when i try to generate reports and try to see the execution plan it is querying the base tables rather than the external summary table.
How do i solve that?
Thanks in advanceHi
I am using Disc Release 4.1
I have registered a external summary in the Discoverer admin addition against my folders. My database version is higher than 8.1.6.
I made sure that The options
"Available for queries" = Yes
"when do u want to use summary data" is set to "always, whenever available"
are selected.
But when i try to generate reports and try to see the execution plan it is querying the base tables rather than the external summary table.
How do i solve that?
Thanks in advance -
Summary Tables Questions...
Hi to everybody,
I use Oracle Discoverer 10.1.2 and created some summary tables - using both methods : being specified by me and Discover automatically defined them....
I have two questions:
1) Is there any way to define the summary table(materialized view in the 'language' of Oracle Database ) in the application db user and not in the Discoverer Repository db owner.....????
NOTE: I have created the Discoverer Repository in a user , let's say EUL, whereas all referenced tables in the summary tables are owned in another user , say HIS...
Simply , I ask if a summary table can be created in the HIS dataschema and not in EUL.....
2)Is there any way to give the summary table a more meaningful name in the process of creating it..... I mean a name different from this one: EUL5_MV102497
Thanks , a lot
SimonHi Simon
As mentioned by Sabine, if you create the materialized views in the database you have full control. To answer your question I always build my summary tables in the schema of the user who owns the EUL.
However, I would have thought that you can do what you ask, but I'm not so sure. In theory, all you need to do in order to make this work is to make sure the EUL owner and the owner of the schema into where you want to insert the summary table has the following privileges:
These are the grants the EUL needs:
ALTER ANY MATERIALIZED VIEW
CREATE ANY MATERIALIZED VIEW
DROP ANY MATERIALIZED VIEW
ANALYZE ANY
These are the privileges needed by the user in whose schema you intend to create the materialized view:
CONNECT
RESOURCE
GLOBAL QUERY REWRITE
With these privileges granted you should be able to create summary tables inside Discoverer and have full control over the schema in which the materialized view is created and the name of the materialized view. I say should be able to because it doesn't seem to work. Please read on.
To control the MV schema and name, I should be able to use this workflow:
1. When you are in the manual summary folder process, you will come to a screen that allows you to maintain Combinations.
2. From the Combinations screen, highlight a combination and click the Properties button.
3. The Database Storage Properties dialog box will open.
4. In the Database Storage Properties dialog box, use the drop-down alongside the Table Owner and switch this to be a user who has the privileges mentioned earlier.
Note: the drop-down is not visible until you click in the Table Owner box
5. Click in Table Name (this is the name of the materialized view) and change it to a name that complies with your naming standards.
6.Change any other properties you wish, then click OK.
7. Click Finish to complete the summary folder.
At this point, even though I had granted the Global Query Rewrite to the other user, Discoverer Admin stopped and reported that the user needed this privilege. I was therefore unable to complete the summary folder process. Interestingly enough, the materialized view was actually created but I, as the owner of the EUL, was unable to use it. This is because in order for the EUL owner to be able to use an existing MV / Table that is owned by someone else, the other user needs to have run a grant like this:
GRANT SELECT ON MY_MV TO EUL_OWNER WITH GRANT OPTION
But how can this be done because the table is being created by me? The problem therefore is that only the owner of the MV can grant this but when you are inside Discoverer Admin you are not logged in as that user. I therefore am suspicious that, despite Discoverer having a screen to do so, it is not possible to create a summary table in someone else's account.
Has anyone been able to make this work?
In summary though, if the intention is to produce a materialized view that everyone can use then the above doesn't appear to work. However, it looks like you are able to create a materialized view within a user's schema that is only available to that user. This opens up the interesting possibility that you could create different materialized views for different users, thus giving users individual copies and potentially different copies of the data.
It would be interesting if someone were to test this out and report back. My only concern would be that once created, because it is the EUL owner who has the ALTER and DROP privileges, how would the schema owner update it? As I say, this is an interesting conumdrum.
Personally, as stated at the beginning, I always create my summary folders (aka materialized views) in the EUL owner's schema.
I hope this helps
Best wishes
Michael Armstrong-Smith
URL: http://learndiscoverer.com
Blog: http://learndiscoverer.blogspot.com -
Planner profile SAPFAGL and Summary Table is FAGLFLEXT
Dear Friends,
I am not able to enter plan data (Version 1) for Planner profile SAPFAGL and Summary Table is FAGLFLEXT.
Whenever i try to enter plan data, got error message GLS0 is not available. Why..?
Is there way to enter plan data (version 1) in Summary Table is FAGLFLEXT.....? We are in ECC 6.0. Please help me. Thanks in Advance.
I will give more points for this solution.
VK.Hi VK,
Please find the details.
You must/can start the selection with the following parameters:
1. Company Code (required entry field)
Enter the company code of the accruals account to be checked.
2. G/L Account (required entry field)
Enter the accruals account to be checked.
3. Posting Period/Year To (required entry fields)
Enter the period to be checked in posting periods.
4. Indicator: Only Not Cleared Documents (optional entry field)
If you set this indicator, only actions with an incomplete revenue recognitions (revenue postings and billing document postings) are taken into account, because only these postings are necessary for an explanation of the balance. However, to trace the balance, it may be necessary for the system to also display completed (cleared) revenue recognition processes. In this case, the indicator must not be set, which generally has a negative effect on runtime.
Note: The periods in the SD tables are determined by the posting date in the VBREVE and VBREVR tables.
If the necessary selection parameters were set and the report is started, a split screen appears.
1. Upper part of the screen - Balances
This is where different balances are displayed for each currency in the form of a calculation. The calculation consists of the following:
a) Balance from revenue recognitions
This balance is determined from the posted revenue lines in the VBREVE table. These are the revenue amounts that were recognized in the selected period according to SD.
b) - Balance from billing documents
This balance is determined from the posted, billing items in the VBREVR table that are relevant for revenue recognition. These are the revenue amounts that were deferred in the selected period according to SD.
c) - Balance from other postings
If not only the revenue recognition process (VF44/VF46/VF01/VF02/VFX3) but also other FI transactions such as FB01 posted to the selected accruals account, then these values are not known in SD (VBREVx tables). This appears to result in an inconsistency between SD and FI, but there really is no inconsistency at all.
The system now takes the balance from revenue recognitions, minus the balance from billing documents, and compares the result with the total balance in FI. If there is a difference, the other postings on the selected accruals account for the selected period in FI are read. The result is the 'Balance from other postings.' If this balance is now also subtracted from the previous result, the determined value must result in the total balance from FI.
d) Total balance
This is the balance of the accruals account for the selected period that was determined in FI. If you now take the balance of revenue recognitions, minus the balance of billing documents and minus the balance of other postings, then the result should reflect the total balance in FI. If this is not the case, this result must be analyzed further, since there is an inconsistency between FI and SD. Transactions VF47 and VF45 (among others) are available for further analysis.
2. Lower part of the screen - VBREVx rows (SD tables)
This is where SD detail data (VBREVx tables) concerning the selection at sales and distribution document item level is listed (the total in the 'Balance' column must equal the total balance in FI). If the totals are different, there are inconsistencies between FI and SD.
The following values are displayed for the items:
a) Billed revenues
For the relevant document item, the revenue billed in the selected period is displayed, based on the billing items relevant for revenue recognition (this is the revenue that was posted to the selected accruals account). Data is retrieved using the reference line table (VBREVR).
b) Recognized revenues
For the relevant document item, the revenue recognized in the selected period is displayed, based on the VBREVE table (this is the revenue that was posted to the selected accruals account). Data is retrieved using the revenue line table (VBREVE).
c) Accrued total value
This is the revenue amount of the document item to be recognized at accruals account level. Data is retrieved using the control row table (VBREVK) in which the relevant accrued total value is updated.
d) Balance
This balance at document item level is calculated by subtracting the recognized revenues from the billed revenues.
3. In addition to the screen described above, you can also receive more detailed information. The functions for the displayed ALV buttons are as follows:
a) Billing documents (F5)
This is where the billing items that are relevant for the selected document item are displayed. A jump to the respective billing document is also possible.
b) Other FI documents (F6)
If balances exist from other postings, the accounting documents which resulted in these balances are displayed here. A jump to the respective accounting document is also possible.
c) Overview (F7)
This is where the revenue recognition data that is relevant for the selected document item is listed. This is done in Transaction VF45 - 'Revenue Recognition: Overview.'
Implementation
1. Use Transaction SE38 to create the following program:
Name.....: SDRRAV53
Title....: Compare report for revenue recognition
Create without a top include.
Attributes
Type.............: Executable program
Status...........: SAP Standard Production Program
Application......: Sales
Development class: VFE
2. Use Transaction SE11 to create the following structures in the VFE development class:
a) Data type (structure): VBREVBSIS
Short text...........: Output Structure for SDRRAV53
Enhancement category.: can be enhanced (deep)
(from Release 4.70)
Component Component type Ref field Ref table
BUKRS BUKRS
BELNR BELNR_D
GJAHR GJAHR
HKONT HKONT
BUDAT BUDAT
WAERS WAERS
MONAT MONAT
SHKZG SHKZG
WRBTR WRBTR WAERS VBREVBSIS
ZUONR DZUONR
TCODE TCODE
AWTYP AWTYP
AWKEY AWKEY
b) Data type (structure): VBREVDETAIL
Short text...........: Detailed Structure for SDRRAV53
Enhancement category.: can be enhanced (character-type or numeric)
(as of Release 4.70)
Component Component type Ref field Ref table
VBELN VBELN
POSNR POSNR
WAERS WAERS
VBREVR_WRBTR WRBTR WAERS VBREVDETAIL
VBREVE_WRBTR WRBTR WAERS VBREVDETAIL
VBREVK_WRBTR WRBTR WAERS VBREVDETAIL
VBREVK_BAL WRBTR WAERS VBREVDETAIL
c) Data type (structure): VBREVSALDO
Short text...........: Balance Table for SDRRAV53
Enhancement category.: can be enhanced (character-type or numeric)
(as of Release 4.70)
Component Component type Ref field Ref table
WAERS WAERS
SALDO WRBTR WAERS VBREVSALDO
ORDERSALDO WRBTR WAERS VBREVSALDO
FAKTURASALDO WRBTR WAERS VBREVSALDO
RESTSALDO WRBTR WAERS VBREVSALDO
d) Data type (structure): VBREVINVOICE
Short text...........: Billing Data for SDRRAV53
Enhancement category.: can be enhanced (character-type or numeric)
(as of Release 4.70)
Component Component type Ref field Ref table
VBELN VBELN_VF
POSNR POSNR
WAERS WAERS
WRBTR WRBTR WAERS VBREVINVOICE
3. Implement the source code attached at the end. Use the "Note Assistant" to do this.
4. Add the following text elements to the SDRRAV53 report:
a) Selection texts
Name Text Dictionary Ref
P_BUKRS Company Code 'X'
P_HKONT G/L Account 'X'
P_OPEN only Not Cleared Documents ' '
b) Text symbols
Sym Text dLen mLen
D01 Total Bal 11 40
D02 Balance from Revenue Recognitions_____ 35 40
D03 Balance from Billing Documents________ 33 40
D04 - Balance from Other Postings__ 33 40
D05 _____________________________ 29 40
D06 Curr 7 7
D07 Bals 6 6
D24 Bal 5 18
D25 Recognized Revenue 18 30
D26 Accrued total value 25 40
D27 Billed Revenues 18 40
E01 Period 8 8
E02 Acct 5 5
E03 Control 9 9
E04 Posting Period/Year 20 20
E05 To 3 3
Start Transaction SE38 or SE80. Under the menu option "Goto" you will find the menu option "Text elements." Here you can make the changes listed above.
5. Create the GUI statuses INVOICE and STANDARD.
a) Copy the STANDARD statuses from the SAPLSALV program and remove the following FCODES: &ALL, &SAL, &NFO, &NTE, &CRB, &CRE, &ABC, &CRL, &CRR, &XPA, &EB9, &RNT_PREV, &OMP, &XML.
b) Add the following functions to the STANDARD status in the new program:
FCODE DETA
F-key Function text Icon name Info text
F5 Billing documents ICON_OVERVIEW Billing documents
FCODE REST
F-key Function text Icon name Info text
F6 Other FI documents ICON_FINANCING Other FI documents
FCODE VF45
F-key Function text Icon name Info text
F7 Overview ICON_PERIOD Revenue recognition overview
6. Use Transaction SE93 to create the following transaction:
Transaction code.: VF48 (Report transaction)
Development class: VFE
Transaction text.: Revenue recognition: Compare report
Program..........: SDRRAV53
Selection screen.: 1000
Classification
'x' - Professional User Transaction
GUI capability
'x' - SAP GUI for HTML
'x' - SAP GUI for Java
'x' - SAP GUI for Windows
7. Save and activate the objects that you have created.
Header Data
Release Status: Released for Customer
Released on: 16.11.2005 15:44:32
Master Language: German
Priority: Correction with high priority
Category: Advance development
Primary Component: SD-BIL-RR Revenue Recognition
regards,
Srinivas Muthyala -
Report In Table Format in Email
Dear sir,
i want to send mail to user in format of report of issues in table Format in Body of mail.
Actully i want to send mail daily to user with Pending Issues of user.
HOD allote issue to user with Close target Date .Mail would be fire till tagget date >sysdate .
There can be Multiple issue with user.
so i want to create a list of All pending issue in report in table which are not Closed .
Report should be display with that column
eg. User 0010 has 3 Pending Issue
Issue No-----subject-----Create On-----Target Date
001---------ABC-------27-Mar-2011-------30-Jnn-2011
002--------BHN-------23-Jun-2011---------06-July-2011
003--------JHN--------05-Jun-2011---------02-July-2011
That Report Should be sent to User in mail.
My Code is
DECLARE
l_id number;
to_add varchar2(1000);
to_sub_by varchar2(1000);
from_add varchar2(1000);
l_body varchar2(4000):=:P33_DESCRIPTION;
l_sub varchar2(1000):=:P33_SUBJECT;
I_case varchar2(10):=:P33_CASE_ID;
I_isue_dte date:=:P33_SUBMITTED_ON;
l_regd varchar(100);
CURSOR C1 IS SELECT EMAIL_ID,(SELECT EMAIL_ID FROM USER_MAS WHERE USER_ID =:P33_SUBMITTED_BY_ID) AS D FROM USER_MAS WHERE USER_GR_ID=:P33_ASSIGNED_TO_GROUP_ID AND USER_ID NOT IN(:APP_USER);
BEGIN
if :P33_ASSIGNED_TO_GROUP_ID is not null then
open C1;
LOOP
FETCH C1 INTO to_add,to_sub_by;
EXIT WHEN C1%NOTFOUND;
select email_id,user_name into from_add,l_regd from user_mas where user_id=:app_user;
l_id:=APEX_MAIL.SEND(
p_to => to_add, -- change to your email address
P_cc => to_sub_by,
p_from => from_add,
p_body => 'Issue Information'||''||chr(13)||chr(10)||chr(13)||chr(10)||
'www.farhorizonindia.net:7777/crm'||''||chr(13)||
'Issue Title'||':'||l_sub||CHR(13)||chr(10)||
'Issue Number'||':'||I_case||CHR(13)||
'Issue Open Date'||':'||I_isue_dte||''||chr(13)||chr(10)||CHR(13)||chr(10)||
'Most Recent Comment'||':'||''||chr(13)||chr(10)||
l_body||chr(13)||chr(10)||''||CHR(13)||chr(10)||'Regards'||chr(13)||chr(10)||''||l_regd||CHR(13)||chr(10)||CHR(13)||chr(10)||'Please do not reply to this email.If you wish to update the call.please login to the issue Management.',
P_subj => I_case ||' Issue '||l_sub);
end loop;
close C1;
end if;
COMMIT;
apex_mail.push_queue(
P_SMTP_HOSTNAME => '102.111.0.9',
P_SMTP_PORTNO => 25);
commit;
END;How can i create that format in Body Of sending Email.
Thanks
Vedant
Edited by: Vedant on Jun 30, 2011 3:44 AM
Edited by: Vedant on Jul 5, 2011 9:17 PMLook at using an interactive reports and subscription routine..: http://st-curriculum.oracle.com/obe/db/apex/r40/apexirr/apexirrdev/apexirrdev_ll.htm
Death called while you were out, so I gave him your cell number.
Thank you,
Tony Miller
Webster, TX -
Create a Cockpit (Transaction) for Reports and Tables
Hi Gurus,
i am very new in ABAP. I want to create a Transaction/view in SAP BW where i can put my favourite Abap reports and tables and execute These directly from the created view/Transaction without se16/se11 or se38 Access and dont know if this is possible and how to do it.
the reason herefore is that we get deprived in differently time ranges our authorizations for the Standard Transactions.
I have a list of my tables and programms.
Thanks for your help.we get deprived in differently time ranges our authorizations for the Standard Transactions.
So you try to bypass security checks put in place by the Basis team
or could you explain your requirement ?
Remember (or learn) that creating such transaction, you are able to bypass following authorization checks using SU24 (Identity Management, User and Role Administration of Application Server ABAP, AS ABAP Authorization Concept, From the Programmed Authorization Check to a Role, Editing Authorization Default Data (Development System) / Editing Authorization Default Data (Customer System). )
Regard,
Raymond -
How to get the report summary to the bottom of the page?
Hi all. Does anyone know how can I get the report summary to
stick to the bottom of the page, like the page footer? Basically, I
have a report that displays line items on an order. At the end of
the report, there is a signatory section or acknowledgment. If I
stick this in the page footer, then it displays at the bottom of
the page, but on every page. If I put it on the report footer, than
it follows immediately after the details, and not at the bottom of
the page. What I need is the report footer to be at the bottom of
the last page.
Any ideas?Greetings. Thanks for the post. I am not having problems with
a page number. I am having problems with getting the report footer
contents to be at the bottom of the last page. The closest solution
I have found is to put the content in the page footer, and then
hide the page footer until the last page. However, this leaves
whitespace on all of the other pages, which isn't ideal. I really
need an attribute that allows me to set the report footer to print
at the bottom of the page, like the page footer. -
How do I display an invalid zip code in a summary table
On my airshow website we have a feedback form, one of the questions is the zipcode where the visitor came from. This works fine. The summary results tab includes a lookup for the zipcode where I show the city associated with the zipcode and then how many responses came from that zipcode. This can be seen here http://www.hollisterairshow.com/feedback-results.php?tab=7
In testing, I found that an invalid zipcode is not displayed in the summary table, although it is counted in the total number of responses. I'd like to display the invalid zipcode and leave the City blank, or maybe put "Invalid zip code". The current code is displayed below, it's beyond my ability to figure out how I should change it to display invalid zipcodes and I'd really appreciate some direction on this.
I know I could validate the zipcode on entry but it's quite possible the zipcode table I have is out of date and i can't find a free downloadable list, so I'm thinking anything invalid could cause me to update my table.which is fine.
Thanks for any assistance.
Tony
<div class="TabbedPanelsContent">
<?php
// Make a MySQL Connection
$query = "SELECT feedback.zip, COUNT(feedback.zip), zipcodes.citystate FROM feedback, zipcodes WHERE feedback.zip = zipcodes.zipcode GROUP BY feedback.zip";
$result = mysql_query($query) or die(mysql_error());
// Print out result
while($row = mysql_fetch_array($result))
echo $row['zip']. " ". $row['COUNT(feedback.zip)']. " ". $row['citystate'];
echo "<br />";
?>
</div>Use an outer join on the two tables so that results are returned for all feedback rows, instead of just matching rows. The column zipcodes.citystate will be NULL. In your recordset output, you can test for null in the column and populate it with "Invalid Zipcode" if you want.
You'll need to move the join to the FROM clause as I believe that MySQL does not support outer joins in the WHERE clause like most other DBMS's. -
CO-PA: Can we activate Movement Types in the summary table of CO-PA
Hi SAP Financials experts,
Are we able to activate Movement Types in the summary table of CO-PA when we extract into BW? At the moment, I understand that we are only pulling in YTD
ThanksHi
I dont think Mvt Types can be activated in COPA summary table.. Have never heard of this
Br, Ajay M -
Dear All,
Please let me know from which report or tables can i get the list of delivery order, delivery document number, billing document number and corresponding FI document number.
Regards,
IndranilHI
In the table VBRP you can get the sales order number, delivery number the fields are
VBRP-AUBEL (Sales Order)
VBRP-VGBEL (Delivery)
VBRP-VBELN (Invoice
For Accounting doc you need to goto BKPF Table
regards
Prashanth
Maybe you are looking for
-
How do I use my isight camera live?
I have a 27 inch Imac. How do I use my Isight camera as a web cam? I have flashplayer 10, but it still won't work. Help?
-
Issue while polling in clustered environment.
Hi All, I am using a polling adapter which polls records from two database tables. I have set Database rows per transaction as 10 and polling interval as 30 secs. Our servers are running in clustered mode. The issue is that, when the rows are picked
-
I'm trying to web printing with excel. I implemented the classes and also applied to code that appears in the how to document. The problems comes that some of the code such as footer works and all others doesn't work. Any ideas how this work? <HTML>
-
How to Deploy 2 project together?
I have created a Web Application[Default] project and the wizard has generated 2 projects. How can I deploy them together to run in my aplication server?
-
I posted this to an older thread but haven't recieved any response...I am starting a new thread to see if someone can help me out. I am trying to get this working, but I am runnning into some issues. Enterprise manager is not installed on the uccx