How to see no .of records in a column on BW user repot
On BW user report (not analyzer the excel like report that buisiness uses to view report s output) how would i do GROUP BY on one particular column so that it gives me total no of records present in that column.
scenario - buisiness wants to see no of sales orders placed in a single day. i could pull the sales document field into the report but how could i see no of records it has on that day? [like in excel sheet we cud see no of lines by choosing GROUP BY or something like that]
please help
Hi Ramya
Check this link below
Number of documents count in BEx
Depending on your design either you choose what Santosh has suggested or what Visali has suggested.
Regards
Anindya
Similar Messages
-
How to see the data records for a dso based upon the request id?
Hi all,
How to see the data records based upon the request id on the dso.
I need to see the data for a dso based upon the request id 444493 loaded from another dso through repair full update.
thanksHi,
Step 1: select your request from DSO request tb
Step 2: Select your DSO just above your contents/requests/reconstruction tabs
Step 3: Click contents(Spectacles symbol) in the top area of your screen
Step 4: Slect the required fields
Regards,
Suman -
How to transpose the data records (rows) to column(lists) using apd
Hi,
how to transpose the data records (rows) to column (lists) using apd in sap bw.
I do not want to use abap routine.only use the transpose rows to list transformation .
Pls provide the step by step procedure .
thanks,
NimaiSave youe file to transpose as a csv and in the header row of your file for the columns you want to transpose you need to put some soer of a tag before the column name (ie your colum header was for a period budget will be something lie 2011001:ZFIBDD)
1. You will need to create a new apd process (rsanwb)
2. Insert a "Read from Data File" data source object and map it file (,csv)
3. insert a transpose object into your apd process (middle row 4th one over in the transformations section)
4. under the definition tab in the transformation object select all the columns that are to be transposed into rows and move them to the transformed area, the grouping fields section should contain the rows that you want to now be columns
5.under the transformation tab enter in the seperator you selected under the Field Name/Infoobject area (ie. ZFIBDD)
6. under the details tab you need to enter in all the fields to be transformed and tner the transposition field (ie ZFIBDD)
7. Then you can insert a set of transformations and a DSO and link the newly transposed fields into that.
hope that helps -
How can I select random records from one column
How can I random select 400 records from a column contains more than 500,000 records? And how long will it take in oracle? Thanks.
here is one option: (just change 5 to suit your needs...)
SQL>select * from (
2 select object_name
3 from all_objects
4 order by dbms_random.random
5 ) where rownum < 5
6 /
OBJECT_NAME
UTL_SYS_COMPRESS
GV_$LOG_HISTORY
GV_$LOGMNR_LOGS
WWV_FLOW_THEME_7
SQL>/
OBJECT_NAME
WWV_FLOW_UPGRADE_REPORT
WRI$_ADV_SQLT_STATISTICS_PK
V_$DATABASE
GV_$SERVICEMETRIC
SQL>/
OBJECT_NAME
WWV_FLOW_CREATE_FLOW_API
WRH$_SERVICE_WAIT_CLASS_BL
EXU8SNAPL
GV$SERVICEMETRIC_HISTORY
SQL> well, regarding how long will it take... it depends from lots of variables...
Cheers,
Andrea -
How to see colors on my Mac the way a PC user sees them
Hi all,
I've been scouring the web to try and find a simple explanation of how best to calibrate color on my Mac so that photos that I edit there will appear properly when viewed on the web by a Windows user.
I was working using a profile that made the images look great on the Mac (I think it was a Gamma of 1.8 and temperature of "Monitor Default"), but when I saw the images in IE6 on a Windows PC, they all looked dark and over-shadowed.
So... now for the questions:
(1) Is there a way to calibrate the monitor so it better represents what a PC user would see? (I've read that using the sRGB profile is close, but didn't know if there was a way to get even closer)
(2) If you use Windows on an Intel Mac under either Boot Camp or Parallels Desktop, are the colors displayed the same way a PC user would see them? (I may be updating my PowerBook G4 to a MacBook Pro and would want to have a "test environment" that could emulate PC colors).
Thanks for your help!
- JohnIn Windows, the default gamma is a much darker 2.2 with a bright bluish white point of 6500K. Change your Mac's display profile to match those settings and the images you create under those settings should look much closer to how you see them on your Mac in Windows.
Profiles are very important in RGB. They let color management software (Kodak in Windows, ColorSync in the Mac OS) know what to do with the image when you open it. That is, when the source and destination profiles don't match (both the monitor and image profiles), the software knows how to alter the image values so the picture looks close to the same on one computer as another. With no profiles embedded, the color management software can't determine the original color spaces. As such, how the images will display on any given monitor will vary slightly, or a lot. It all depends on how that monitor is set up. But this pertains more to color then overall contrast, though it does affect both.
Some (not all) web browsers are aware of profiles. Safari is one. So even if your files have a gamma of 2.2, and a person visiting your web site has their monitor set to a 1.8 gamma, Safari can adjust the color of the images on the fly to have them view correctly by knowing the difference between the embedded image profiles and the user's monitor settings. It's not perfect, but works pretty well. -
Hi Gurus! how to count number of records in any column of ALV Grid report
Hi Guys!
I want to know how can we count the number of records in any column selected by the user. Like for oe customer there might be 20 sale order that means for 10 customer there will be 200 Sale order. So if i select cutomer number column ti should give 10 out put and whern select sale order it should give 200 as output.
-Anurag JainHi,
Either you can use the hotspot_click event or double_click to show the Pop-up info of the Sales Order count or customer Count depending on the selection.
In the hotspot_click event method you have E_ROW_ID E_COLUMN_ID..using these you can find the Sales Ordert or customer Number.. Loop the internal table and find the Count.
In the double_click event method you have E_ROW E_COLUMN..using these you can find the Sales Ordert or customer Number.. Loop the internal table and find the Count. -
How to see Deleted Asset Records
Hi,
From where we can see the deleted Asset Records means on which date asset has been deleted.
Regards..Hi,
Procedure to see the deleted asset records:-
Fixed Assets >Information System >Reports on Asset Accounting >Asset Balances >Balance Lists >Asset Balances >S_ALR_87011964
Go to Dynamic Selection >Administrative Data and select Mark for Deletion. Give input criteria as X and run the report.
Thanks,
Panneer -
How to see the Batch input session name in SM35 with User name.
Hi
Yesterday,User has created one Batch input session from FBWE and selected process button after that display errors only tick mark in SM35. Then the system displayed one error message"No Batch input data for screen SAPMF05A 0700".After that he came out from the screen. He dont know what happened.
Today we have verified in SM35. But there is no batch input session with his name. We have verified in incorrect screens and every thing in SM35.
We have verified in Table 'T045DTA'. There are some entries are there.
We dont know the session name also.
How we can find the session name created by the User.
We have not deleted any thing.
Please help me
Thanks
Ravi.Hi Ravi,
Yes, you should be able to create a new batch job for FBWE. You can see your own batch sessions from SYSTEM ==> OWN JOBS
Regards,
Mike -
How to get only updated records for a column using loading type INSERT
Hi,
Good morning all,
I have source1 containg 3 columns bill_cd,bill_desc,bill_date and
source2 has the columns bill_cd,bill_key,source_id.
My target has the columns bill_cd,bill_date,bill_desc .
Now the requirement is, bill_cd in target should not repeated when we run the mapping more than one thime. it should get only updated records not the previous records using only INSERT Loading type(for target) not to use update/insert.
How can we achieve this logic in mapping level.
Anybody Please give me some solution immediately.
Thanks in Advance,
SivThanks Herzog for your reply,
Here bill_cd is not unique. Yes,I want only new records using INSERT as loading type. Suppose when the map runs for the first time, bill_cd is loaded with values 1 to 5.
Now, in the source I have got new records 6 to 10 for bill_cd and when I run the mapping again I need to get only records for bill_cd from 6 to 10 using INSERT as loading type.
Is it possible to achieve this at mapping level?
Regards,
Siv. -
How to get top 3 record from aggregated column
Hello,
i have a simple query which return all student in class with total marks. now i want to select top 3 student whose score is maximum. simple top three position. how can i use rank function here? or any other way to do that
select st.sti_roll_no ,st.sti_name , sum(rd.rd_obt_marks) as mycol from rd_result_detail rd , rm_result_master rm, sti_student_info st
where rm.rm_result_id = rd.rd_result_id
and st.sti_roll_no= rd.rd_student_id
--and rd.rd_student_id = 'MBP10293'
and rm.rm_semester = 3
and rm_session = 2009
and rm_batch= 3
and rm.rm_exam_type ='FINAL TERM'
and rm.rm_class_id = 'MBA'
group by st.sti_name, st.sti_roll_no
order by st.sti_roll_no;Not sure!!!!!!!!!!!!!
with t as
(select st.sti_roll_no ,st.sti_name , sum(rd.rd_obt_marks) as mycol from rd_result_detail rd , rm_result_master rm, sti_student_info st
where rm.rm_result_id = rd.rd_result_id
and st.sti_roll_no= rd.rd_student_id
--and rd.rd_student_id = 'MBP10293'
and rm.rm_semester = 3
and rm_session = 2009
and rm_batch= 3
and rm.rm_exam_type ='FINAL TERM'
and rm.rm_class_id = 'MBA'
group by st.sti_name, st.sti_roll_no
order by st.sti_roll_no)
select sti_roll_no ,sti_name,mycol,dense_rank()over(order by mycol desc) rnk
from t
--where rnk<=3
SQL> ed
Wrote file afiedt.buf
1 select e.* from (select empno,ename,sal,dense_rank()over(order by sal desc) rnk
2* from emp)e where rnk<=3
SQL> /
EMPNO ENAME SAL RNK
7839 KING 5000 1
7788 SCOTT 3000 2
7902 FORD 3000 2
7566 JONES 2975 3 -
Duplicate records in a column of a table
Hi,
Can someone tell me how to get the duplicate records in a column of a table
what is the sql query.
Can anyone pls give an exampleCan someone tell me how to get the duplicate records in a column of a table select your_column, count(*)
from your_table
group by your_column
having count(*) > 1; -
How to see data records of idoc?
Hi
Can anybody tell me how can i see the data records of idoc..
i think its stored in EDID4 table..but i am not able to see the sdata fieldhi Gaurav,
Just follow the steps:-
1.Go To Transaction WE05.
2.Click on execute.
3.This will open Inbound/Outbound list of IDoc
4.Just select any Idoc and double click on it.
5.This will open Idocs three segement namely status,data and Control
6.Double click on Data Segment and u will see the data in it.
Regards,
Ashwin M
[Reward for the Helpful answers]. -
How to see the records through infoset
I have created infoset with infocube and master table,how to see the records in infoset?
Thanks
Gnanasundaram CHi Gnanasundaram
Just execute the t-code RSISET and click on infoset display data button it will take you to the records.
Hope its clear a little..!
Thanks
K M R
>
Gnanasundaram.c wrote:
> I have created infoset with infocube and master table,how to see the records in infoset?
>
> Thanks
> Gnanasundaram C -
In SQL Trace how to see which statement getting more time .
Hi Expart,
In SQL Trace (T-code ST05) . I am running the standard transaction . how to see which statement
running more time and less time . suppose one statement running more time so how resolve the
performance .
Plz. reply me
Regards
Razz> The ones in 'RED' color are the statement which are taking a lot of time and you need to
> optimise the same.
No, that is incorrect, the red ones show only the ones which need several hundret milliseconds in one execution. This can even be correct for hard tasks. And there are lots of problem, which you will not see
I have said everything here:
SQL trace:
/people/siegfried.boes/blog/2007/09/05/the-sql-trace-st05-150-quick-and-easy
Go to 'Tracelist' -> Summarize by SQL statements', this is the view which you want to see!
I summarizes all executions of the same statement.
There are even the checks explained, the slow ones are the one which need a lot of time per record!
See MinTime/Rec > 10.000 microseconds.
Check all number of records, executions, buffer, identicals.
The SE30 Tipps and Tricks will not help much.
Siegfried -
How to display the NULL records by multiple XMLTABLE()
First, let me provide the testing data of INSERT and CREATE TABLE sql:
create table xml_t2 (xml_raw XMLTYPE);insert sql, a bit long.....just copy and paste then run it will be OK!
the system warns: Your message exceeds the maximum length of 30000 characters.
So, I place it on the mediafire shariing space
http://www.mediafire.com/?npmot6lgl86dgliTesting SQL:
SELECT t1.years, t1.months,t1.days,t1.hours,t1.value,t2.value
FROM xml_t2,
XMLTABLE ('$d/cdata/F1' passing xml_raw as "d" COLUMNS years integer path '//year', months varchar(3) path '//month', days varchar(2) path '//day', hours varchar(2) path '//hour', mins varchar(2) path '//minute', value float path '//value') t1 ,
XMLTABLE ('$d/cdata/F2' passing xml_raw as "d" COLUMNS years integer path '//year', months varchar(3) path '//month', days varchar(2) path '//day', hours varchar(2) path '//hour', mins varchar(2) path '//minute', value float path '//value') t2The condition for now is....In the xml data, I have deleted the month 'Jan' with <F2>tag which is in 2010.
That mean the output of XMLTABLE t2 will not contain the 'Jan' records but it is still remain in XMLTABLE t1.
The problem is that when I use the above SQL to show the t1.value, it will not display the t1.value in 2010 Jan.....it just skipped 'Jan' and becomes 'Feb'...
what i would prefer to display is something like this:
YEARS MONTHS DAYS HOURS t1_value t2_value
2009 Jan 01 01 8 8
2009 Jan 01 02 8 580
2009 Jan 02 01 580 580
2009 Jan 02 02 580 580
2009 Feb 01 01 440 440
2010 Jan 01 01 627 NULL
2010 Jan 01 02 627 NULL
2010 Jan 02 01 367 NULL
2010 Jan 02 02 367 NULL
2010 Feb 01 01 367 849
2010 Feb 01 02 849 849
..............So...the main problem is how to display back the record in JAN in 2010 in t1 XMLTABLE and assign null to the t2 XMLTABLE since it doen't contains this months record.
THANKS for help!!Hi,
What's your database version?
Are you using binary XML storage? (This is the default in 11.2.0.2)
If not you have to explicitely specify it :
create table xml_t2 (xml_raw XMLTYPE)
xmltype column xml_raw store as securefile binary xml;Along with object-relational, it's the best storage strategy to use in conjunction with XMLIndex.
You should also use a structured XML index instead, it's more appropriate than the unstructured index you're currently using :
create index xml_t2_sxi on xml_t2 (xml_raw)
indextype is xdb.xmlindex
parameters (q'#
XMLTABLE xml_t2_xt '/cdata'
COLUMNS
YEARS INTEGER PATH 'F1/name/year',
MONTHS VARCHAR(3) PATH 'F1/name/month',
DAYS VARCHAR(2) PATH 'F1/name/day',
HOURS VARCHAR(2) PATH 'F1/name/hour',
MINS VARCHAR(2) PATH 'F1/name/minute',
VALUE FLOAT PATH 'F1/name/value',
VALUE2 FLOAT PATH 'F2/name/value'
call dbms_stats.gather_table_stats(user, 'XML_T2');Use the query provided by Stew and check the explain plan, you'll see the difference.
Maybe you are looking for
-
Hi All, I have arequirement, In that I have to display the due and overdue as per divison in each fiscal year as well as 0-30 days ,31-60 days and soon . Is there any predefined report for this. ANy one has any idea regarding this. Thanks in adv
-
No Customer debit during billing
Dear Experts, Is there anyway to to debit certain GL instead of customer during billing on the basis of payment terms or something else ? Thanks Ram
-
AWR snapsohots not generating after restart of the instance
oracle : 10.2.0.3 OS : Linux 64-bit Issue : AWR snapshots are being generated after restart of the instance. I restarted the instance at 31.01.2010 8 AM CST. SQL> select STARTUP_TIME from v$instance; STARTUP_T 31-JAN-10 SQL> select max(begin_interva
-
I was able to compile and create .class files for the DiveLog.java and other .java programs for the tabbbedPane. However I can't seem to run them. I am using java version 1.3.1_02. When I issue java divelog.DiveLog from C:\, I get the ff..... Excepti
-
Can DOCTYPE in web.xml Be "Localized"
At times when starting WebLogic Server 5.1 (sp6) in a Windows NT environment, our internet connection is slow and the DTD file specified in the web.xml file cannot be resolved. I have been able to get around this problem by changing the DOCTYPE in th