How to order / group a report by a placeholder column ?
How to order / group a report by a placeholder column populated by the group filter ?
In more detail .....
My Data model editor's select statement brings back (say 1000 rows) from the database.
The group filter decides (on performing certain validations) whether to print a row or not in the report.
Additionally the group filter calculates a "rule type" (just a rule number to say on basis of what rule, the row was selected)
I would like to order/group the report on the placeholder column which was calculated by the group filter ?
Obviously, I won't be able to add the "ORDER BY :CP_RULE_NUMBER" in the sql statement as the placeholer column cp_rule_number
is determined by the group filter level only. (If I do, I get a frequency error)
Any ideas ?
Thanks in advance.
Edited by: user553361 on 8/10/2008 17:35
how is the group filter implemented?
If its pure PL/SQL, what about putting the filter-procedure in a stored function into the database? Then you could use the group filter in your query.
Similar Messages
-
Very urgent :how I order by my report within the report option not change i
Hi master
Sir I design the report but I need my report order by cheq_no now my report order by voucher no but If I change in query then my format must be change that very problem for me I again design
Is any option in report through which I order by my report as per my require column I is if I need on cheq_no , voucher_no or date
Please give me idea how I order by my report within the report option not change in report query
Thanking you
aamirUse a lexical parameter (see online help):
select ...
order by &sort_parameter -
How to order an entire Report by a column with in a group...
Okay, I have a Group Above report, and I want to order the groupings by a column within the group. I am using a lexical parameter in place of the entire ORDER BY statement in the query, giving the user the capability to sort the report by any specific column, at runtime.
So, basically, this parameter allows for the ORDER BY to be dynamic; however, in the Data Model, I am required to designate at least one hard-coded break column, which overrides whatever column is designated by the user at runtime.
Any ideas how I can get around this?Hi Brice,
If you want just i single hard coded column in a group
then i think you can create summary column with counting
so you can say say a column that gives you just Serial no.
and rest of the thing as it is.
in this way you got your hard column and also Order by facility
that you want.
Hope that helps you.
Enjoy Oracle.... -
How to design group above report manualy
I want to design group above report manually. How can i define main repeating frame and then internal repeating frame like report builder.
Hi,
one possibel way is:
//-- loop through all master values
<?for-each:DEPT_ROW?>
//-- store the master key in a variable
<?xdoxslt:set_variable($_XDOCTX,'v_DEPTNO',DEPTNO)?>
//-- Output of master data
<?DEPTNO?>
<?DNAME?>
//-- Loop through second dataset looking vor all data suitable to the current master key
<?for-each://EMP_ROW[xdoxslt:get_variable($_XDOCTX, 'v_DEPTNO')=DEPTNO]?>
<?ENAME?>
<?JOB?>
<?end for-each?>
<?end for-each?>
Hope that helps
Rainer -
How to make Group Matrix Report in BI Publisher Template Builder for Word
Dear All
I have created a template in MSWord's BI Publisher for creating Matrix report, it is working fine, but i couldn't do it for Group matrix report. Kindly give me any kind of example regarding group matrix or nested group in column level and row level.
Regards
Haq Nawaz
A.F.Ferguson & Co
Edited by: 823804 on Dec 28, 2010 5:42 PMHey hi,
I m also trying to create template for matrix wih group. have you found any solution for this? if yes please forward me the information on my mail id [email protected] -
How to design Group Left Report using RTF method ( XML Publisher )
Hi,
I need to design Group Left Report using basic RTF method. I am able to design basic simple report and Group Above Report but I am not getting Group Left Report. Can anyone help me out.
Thx N Regs,
Khan.Group Left report can be done using table consisting of 1 row and 2 columns. Group header goes to the column 1, group details go to the second column. Group details can be also designed using table, in this case you get table within table cell. "for-each.." statement for the upper level group to be placed in the left column before the group header data. "end for-each.." to be placed in the second column after the detail data.
-
How to insert Group into Report Footer or have two Groups in same level
Hi,
I am wondering whether it is possible to have two indepent groups---they are at the same level, in one report.
I tried insert a group into Footer section or just insert two unnested groups in Group Section, but seems undoable.
Thank you for your help!My suggestion will work. The basic layout would be:
G1Ha - printed when grouping field = 1 (your "Group header #1" above)
G1Hb - printed when grouping field = 2 (your "Group Header #2 above)
Da - printed when grouping field = 1 (your "AccountNumber1 Account Name1" under group header 1)
Db - printed when grouping field = 2 (your "Subreport for AccountNumber1 under group header 2)
G1Fa - printed when grouping field = 1 (your "Group Footer #1 above)
G1Fb - printed when grouping field = 2 (your "Group Footer #2 above).
Since the grouping field is the primary grouping, the order that the formats will display is:
G1Ha
Da
Da
Da
G1Fa
G1Hb
Db
Db
Db
G1Fb
matching your example perfectly.
HTH,
Carl -
How to order the Discoverer reports through MENU function sequence
I created 20 Discoverer reports functions in the MENU form, there is a sequence column,
but when the 20 Discoverer reports displayed on OSO, they are not ordered by the sequence number, looks like just randomly listed. How can I make the 20 Discoverer Reports ordered by the sequence number when displayed on OSO?Hi ram,
There are steps to register in oracle applications so there wont be any login poped up.Below is the link in that viewer and plus acces with e-business suite
http://ascbi.com/thirdparty_documents.htm_
hope it helps you,award points.
By,
KK -
How to achieve grouping of data based on one column
Hello PL/SQL Gurus/experts,
I am using Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production version
I have following table -
DROP TABLE T2;
create table T2(Manager,Employee) as select
'Nikki','Ram' from dual union all select
'Nina', 'Rita' from DUAL union all select
'Mike', 'Radha' from dual union all select
'Michael', 'Ratnam' from DUAL union all select
'Hendi', 'Ratna' from dual union all select
'Robert', 'Raman' from dual union all select
'Maria', 'Rolly' from dual union all select
'Kistrien', 'Rachna' from dual union all select
'Andrew', 'Ritvik' from dual union all select
'Emma', 'Ramesh' from dual union all select
'Andy', 'Ranpal' from dual union all select
'Brandy', 'Raunak' from dual union all select
'Nikki','Shyam' from dual union all select
'Nina', 'Sita' from DUAL union all select
'Mike', 'Sadhna' from dual union all select
'Michael', 'Satnam' from DUAL union all select
'Hendi', 'Satna' from dual union all select
'Robert', 'Samar' from dual union all select
'Maria', 'Sameer' from dual union all select
'Kistrien', 'Samrachna' from dual union all select
'Andrew', 'Satvik' from dual union all select
'Emma', 'Somesh' from dual union all select
'Andy', 'Sonpal' from dual union all select
'Brandy', 'Samar' from dual union all select
'Emma', 'Piyush' from dual union all select
'Andy', 'Pavan' from dual union all select
'Brandy', 'Paramjeet' from dual;Expected output -
Manager Employee
Nikki
Ram
Shyam
Nina Rita
Sita
Mike Radha
Sadhna
Michael Ratnam
Satnam
Hendi Ratna
Satna
Robert Raman
Samar
Maria Rolly
Sameer
Kistrien Rachna
Samrachna
Andrew Ritvik
Satvik
Emma Ramesh
Somesh
Piyush
Andy Ranpal
Sonpal
Pavan
Brandy Raunak
Samar
ParamjeetI thank to all of you in advance for your valuable time and inputsIn SQL, something like this...
SQL> ed
Wrote file afiedt.buf
1 select case when row_number() over (partition by emp.manager order by employee) = 1 then
2 mgr.manager
3 else
4 null
5 end as manager
6 ,emp.employee
7 from (select distinct manager from t2) mgr
8 join t2 emp on (mgr.manager = emp.manager)
9* order by mgr.manager, emp.employee
SQL> /
MANAGER EMPLOYEE
Andrew Ritvik
Satvik
Andy Pavan
Ranpal
Sonpal
Brandy Paramjeet
Raunak
Samar
Emma Piyush
Ramesh
Somesh
Hendi Ratna
Satna
Kistrien Rachna
Samrachna
Maria Rolly
Sameer
Michael Ratnam
Satnam
Mike Radha
Sadhna
Nikki Ram
Shyam
Nina Rita
Sita
Robert Raman
Samar
27 rows selected.If you want the managers on their own row with the employees underneath then you'll have to fudge it.
SQL> ed
Wrote file afiedt.buf
1 select case when row_number() over (partition by emp.manager order by employee nulls first) = 1 then
2 mgr.manager
3 else
4 null
5 end as manager
6 ,emp.employee
7 from (select distinct manager from t2) mgr
8 join
9 (select distinct manager, null as employee from t2
10 union all
11 select manager, employee from t2
12 ) emp on (mgr.manager = emp.manager)
13* order by mgr.manager, emp.employee nulls first
SQL> /
MANAGER EMPLOYEE
Andrew
Ritvik
Satvik
Andy
Pavan
Ranpal
Sonpal
Brandy
Paramjeet
Raunak
Samar
Emma
Piyush
Ramesh
Somesh
Hendi
Ratna
Satna
Kistrien
Rachna
Samrachna
Maria
Rolly
Sameer
Michael
Ratnam
Satnam
Mike
Radha
Sadhna
Nikki
Ram
Shyam
Nina
Rita
Sita
Robert
Raman
Samar
39 rows selected. -
Dear All,
Can you any body tell me how to get group wise reports in SAP.
My Client presently using Tally and TRIO where they are getting the reports like: for example:
Total Sundry Creditors is main group in that again Sub groups like: Sundry Creditors for RM, Sundry CR for Capital goods, Sundry CR for Expenses. And again in Sundry Cr for Rm there is a sub groups like Sundry Cr for Pen, Sundry Cr for Paint like that. So can any body please tell me how to map in SAP, and which transaction code to see all these financial reports internally
Thanks in advance
Regards,
AKHILHI,
YOu can try with Financial statement versions to get the desire report.
OB58
standard variant BAIN Financial Statement Version - India
Regards
Madhu M
SDN-WIKI-PAGES
http://wiki.sdn.sap.com/wiki/x/UgTpCw (RUPEE WORD FORMAT)
http://wiki.sdn.sap.com/wiki/x/8oMEDg (J1INEMIS )
http://wiki.sdn.sap.com/wiki/x/2BAMDg (J1INACKN )
http://wiki.sdn.sap.com/wiki/x/3xAMDg (J1INCCREP)
http://wiki.sdn.sap.com/wiki/x/6xYODg (J1INREV ) -
OBIEE - edit report entities like title, column name, decimal places
Hi all,
How do I edit OBIEE report entities like title, column name, decimal places?
I know I can edit column name in repository, but I hope I can do it also at report level.
As you can see, year looks like "2012.00", I don't need these zeros after "2012", how do I edit it?Using Criteria tab
Column Properties->Data Format->Override Default Data Format
You may go for Save button to make it catalog level for that column
Edited by: Srini VEERAVALLI on Dec 7, 2012 10:57 AM -
Is this Oracle Reports bug – "break order property" in "group above" report
Is this Oracle Reports bug – “break order property” in "group above" report
Could anybody confirm that in "group above" report, we could only order the brake column's values with ""none" or "ascending" or "descending" provided by "break order property"?
In the following example, “Dept” is brake column. Oracle Reports allows us to order values in “Dept” with “descending” provided by “break order property”:
Dept 30
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 20
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 10
job ename salary
xxx xxx xxx
xxx xxx xxx
or “ascending” provided by “break order property”:
Dept 10
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 20
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 30
job ename salary
xxx xxx xxx
xxx xxx xxx
I need to do:
Dept 20
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 10
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 30
job ename salary
xxx xxx xxx
xxx xxx xxx
Could I do this? Could anybody confirm that we could never ever do this, or If yes, how?
Millions of thanks for advice.
M.Z.
Edited by: jielan on Sep 18, 2010 8:23 AMWhy should that be a bug? You have a custom requirement and have to find a way to fulfill it. But, what is your actual sorting order? Do you have only this three departments? If so, you could add an addtional column in your query like
DECODE(DEPT, 20, 1, 10, 2, 30, 3, 4) SORTINGput that column in the same group as dept and sort after that new column. -
How to group a report by formula field.
Hi,
I need to create a report based on the following report:
http://s464.photobucket.com/albums/rr8/einas121809/
This new report should be grouped by days and status. Then, each group should display the details of each record such as Report No, Open Date , Due Date and Summary.
It is not a problem to display the report details, but I need to know how to group them since it involve calculation.
Thank you in advance,
Regards,
einas.Hello,
Right what you want to do is to get a crosstab which can be found in your toolbar or under Insert menu Insert --->Crosstab.
You might need to use a working day formula something like this
WhileReadingRecords;
Local DateVar Start := {StartDate}; // place your Starting Date here
Local DateVar End := {EndDate}; // place your Ending Date here
Local NumberVar Weeks;
Local NumberVar Days;
Local Numbervar Hol;
DateVar Array Holidays;
Weeks:= (Truncate (End - dayofWeek(End) + 1
- (Start - dayofWeek(Start) + 1)) /7 ) * 5;
Days := DayOfWeek(End) - DayOfWeek(Start) + 1 +
(if DayOfWeek(Start) = 1 then -1 else 0) +
(if DayOfWeek(End) = 7 then -1 else 0);
Local NumberVar i;
For i := 1 to Count (Holidays)
do (if DayOfWeek ( Holidays<i> ) in 2 to 6 and
Holidays<i> in start to end then Hol:=Hol+1 );
Weeks + Days - Hol
If you need to calculate bank holidays then you have to create an array like this
//Holiday Listing formula to go into the report header of the report.
BeforeReadingRecords;
DateVar Array Holidays := [
Date (2003,12,25),
Date (2003,12,31)
0
The workingdays formula needs to go into the Row and then distinct Count your orders. That should give you how many orders took x amount of days.
Then you need to further develop your formula so that it shows <20 days, more than 20 days etc.
Create something like this first and then ask further questions if you are stuck.
Hope this helps
Regards
jehanzeb -
How to create a daily report for sales order
hi
how to create a daily report for sales order. what fields it must consists of. what are the tables it need?Hi
You have to use the sales order tables VBAK,VBAP and VBEP
So keep date field on selection screen
and treat this date as Order creation data audat field in VBAK.
based on this fetch the data from VBAK and VBAP with the following fields like
VBELN, KUNNR,NETWR,POSNR, MATNR,ARKTX,KWMENG,WAERS etc and display in the report
<b>Reward points for useful Answers</b>
Regards
Anji -
Internal Order Group & Internal order wise report
Hi All
Any Standard reports are available to display the internal order group name and internal order.
Any Standard Function module or standard table are available to retrieve the order group and internal order details.
Please confirm.
Regards
K.GunasekarHi,
There is a lot of standard reports (e.g. S_ALR_87012993 - Orders: Actual/Plan/Variance); just go to Information systems of the Internal orders in the standard menu.
Tables: AUFK - orders master data. SETNODE and SETLEAF - groups.
Regards,
Eli
Maybe you are looking for
-
hi all , can anyone explain me this script particularly why expect is used here. set timeout -1 spawn sftp [email protected] match_max 100000 expect -exact "Connecting to 11.11.1.34...\r sftp> " send -- "cd /opt/app/policies/data\r" expect -exact "cd
-
My granddaughter likes to play games and I only download the free ones for her because she only uses them briefly. How can I secure my device so that doesn't happen?
-
Create Midlet for Bluetooth A2DP profile
Hello, I'm a newbie. I would like to know if it's possible to create a midlet for bluetooth A2DP profile. If it is, please let me know where i can get information on this. Thank you so much, Ken
-
What is the standard admin password?
I cant install the new X system as it need the administrators password and I don't know what it is, never used it before>
-
Currenly we upgraded from PL14 to PL29 in which we have see a great speed in most functions. We have a separate location that connects to the database with a T1 GB connection. They have had a few issues with connection. The customer service departmen