Finding out the percentage from 2 different reports
Hello Friends,
I am using OBI 10g. I am trying to divide values from one report which has a total count with another report which has a count with a particular criteria. For example, one report has count of people living in various states and the other report has a count of people who are above 60 years living in those states. Now I want to calculate the percentage. Say 80 people are living in Florida and number of people over 60 years living in Florida is 40, so I have these 2 reports already on my page. I want a 3rd report which gives the % of these two reports ie (40/80)*100 = 50. I want to use this 3rd report on the same page. Please let me know how to accomplish this. Also, let me know if you need any other information.
Thank You.
Hello Srini,
Thank You for the reply. Here the report for people over 60 years living in Florida is the result of combination of 6 reports (*using combine with another request*). I am not able to figure out how to pull people over 60 years living in Florida and
people living in Florida in the below formula
FILTER(Fact."# People" USING ( people over 60 years living in Florida))/FILTER(Fact."#People" USING ( people living in Florida))*100.0
It will be helpful if you can advice me in this regard.
Thank You
Similar Messages
-
How to find out the user from the Jobs queue in Report server
Hello All!
I have a doubt about finding out the user from the scheduled jobs queue. Say I go ahead and schedule a report on Reports Server how can I find out the user name. When I view the jobs using showjobs I could see that the DBMS_JOBS table has a column under "Job Owner". But it invariantly shows it is "rwuser". So is there a way to find out which user has scheduled which job?
Regards
Shobhahi,
The below tables will give only the name .
USER_ADDRS
USER_ADDR
USER_ADDRP
USR02
i think you need email address .
you can use this Tcode : su01d
and give the user name and excute it
i hope it will help you.
Ram
Edited by: Ram velanati on Jun 30, 2008 6:57 PM -
How to find out the total, subtotal in alv report
hi dears,
how to find out the total, subtotal in alv report?
pls tell me logic ,
i will be waiting for eply
regards
eswarHi,
<b>ALV Grid List with sub-totals</b>
REPORT z_demo_alv_sort.
* This program lists orders (VBAK) with sort and sub-total for *
* 'sold-to-party' (KUNNR) and 'Sales organization' (VKORG) *
TABLES : vbak.
TYPE-POOLS: slis. " ALV Global types
SELECT-OPTIONS :
s_vkorg FOR vbak-vkorg, " Sales organization
s_kunnr FOR vbak-kunnr, " Sold-to party
s_vbeln FOR vbak-vbeln. " Sales document
SELECTION-SCREEN :
SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.
PARAMETERS p_max(2) TYPE n DEFAULT '20' OBLIGATORY.
SELECTION-SCREEN END OF LINE.
DATA:
BEGIN OF gt_vbak OCCURS 0,
vkorg LIKE vbak-vkorg, " Sales organization
kunnr LIKE vbak-kunnr, " Sold-to party
vbeln LIKE vbak-vbeln, " Sales document
netwr LIKE vbak-netwr, " Net Value of the Sales Order
waerk LIKE vbak-waerk, " Document currency
END OF gt_vbak.
INITIALIZATION.
v_1 = 'Maximum of records to read'.
START-OF-SELECTION.
PERFORM f_read_data.
PERFORM f_display_data.
* Form f_read_data
FORM f_read_data.
SELECT * INTO CORRESPONDING FIELDS OF TABLE gt_vbak
FROM vbak
UP TO p_max ROWS
WHERE kunnr IN s_kunnr
AND vbeln IN s_vbeln
AND vkorg IN s_vkorg.
ENDFORM. " F_READ_DATA
* Form f_display_data
FORM f_display_data.
DEFINE m_fieldcat.
add 1 to ls_fieldcat-col_pos.
ls_fieldcat-fieldname = &1.
ls_fieldcat-ref_tabname = 'VBAK'.
ls_fieldcat-do_sum = &2.
ls_fieldcat-cfieldname = &3.
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
DEFINE m_sort.
add 1 to ls_sort-spos.
ls_sort-fieldname = &1.
ls_sort-up = 'X'.
ls_sort-subtot = &2.
append ls_sort to lt_sort.
END-OF-DEFINITION.
DATA:
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv,
lt_sort TYPE slis_t_sortinfo_alv,
ls_sort TYPE slis_sortinfo_alv,
ls_layout TYPE slis_layout_alv.
m_fieldcat 'VKORG' '' ''.
m_fieldcat 'KUNNR' '' ''.
m_fieldcat 'VBELN' '' ''.
m_fieldcat 'NETWR' 'X' 'WAERK'.
m_fieldcat 'WAERK' '' ''.
m_sort 'VKORG' 'X'. " Sort by vkorg and subtotal
m_sort 'KUNNR' 'X'. " Sort by kunnr and subtotal
m_sort 'VBELN' ''. " Sort by vbeln
ls_layout-cell_merge = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
is_layout = ls_layout
it_fieldcat = lt_fieldcat
it_sort = lt_sort
TABLES
t_outtab = gt_vbak.
ENDFORM. " F_DISPLAY_DATA
***************** END OF PROGRAM Z_DEMO_ALV_SORT **********************
Regards
Sudheer -
How can I find out the percentage of space taken up by a vector in a document?
Hi all,
I've been doing visual research over the last couple of years, and part of this has resulted in hundreds of in-design documents with vectors of varying sizes in each. Essentially, I'm hoping to find a quick way to find out the percentage of space occupied by these vectors. I can't figure out how to go in to each document and find the info on the selected vector. I know that Photoshop has options to see pixels when using selection tools, but I've found this both cumbersome and inaccurate.
Any ideas would be greatly appreciated!
Cheers,
Kevinjava.io.BufferedReader in = new java.io.BufferedReader( new java.io.FileReader( "YourFile.txt" ) );
int lineCount = 0;
while( in.readLine() != null )
lineCount ++;
System.out.println( "Line Count = " + lineCount ); -
How can I find out the place from where a record is being inserted in table
Hi,
I want to find out the exact code statement from the SAP code from where record is being inserted into a SAP table. I tried ST05 SQL trace but it seems to only give the SQL statement and not the program from where it is being fired (unless you guys can show me a way to find it from the trace)
I m trying to see that when sales order is changed in VA02, from which piece of code in SAP the tables CDHDR and CDPOS get update. Also I tried using SE30 but it doesnt seem to give the results properly. Please help.
Thanks for readingHello Srikrishna,
Did you try the following?
In your trace with ST05:
i) Find the line that you are interested, right-click and select 'Display ABAP Source'.
OR
ii) Go to Trace List menu and click 'Summarize Trace by SQL Statement'. Then here, select the line you want and again right click to see 'Display ABAP Source'.
Regards,
Guven. -
How to find out the metachian from subchain
hello friends,
could you please let me know , how to find out the meta chain from subchian .
I know the subchain name and wanted to check that this chian is included in which meta chian ,
actaully here so many chain , so its confusing .
Is there any way ?Hi,
Pls chk this links,
Re: Meta chains - how to create n example scenerios
Re: How to create process chains, infopackage groups & Meta chains
Hope this helps,
regards
CSM reddy -
How to find out the Area Menu for a Report/ Table/Function Module
Hi,
Is there any procedure to find out the <b>"AREA MEANU"</b> for a Report/Table/Function Module...
Or is there any Transaction code / Report is available to find out all the report for a particular "AREA MENU".
Thank you for your quick response...
Regards,
Thiru
<b></b>Hi,
Check these below threads:
user log in & log out time SAO
How to find user log-out time ?
Regards,
Nitin -
Finding out the userid from a JSP or servlet. (9.0.2)
Hi Again!
I have a JSP in the htdocs directory of my portal which fetches binary objects
from a content repository. I use this binary.jsp to display images embedded
in a content portlet shown within the portal. So as far as the browser gots
the portal page it starts to fetch the images with an ordinary get operation
to a given URL of the binary.jsp.
Now I want to be able to find out if the current user is allowed to see the
image from the content repository, so I have to find out the userid within
the JSP. But I couldn't find any way to do this. Since the binary.jsp is
not loaded in the context of the portal, it doesn't know anything about
the PortletRendererRequest, so thi code returns null:
PortletRenderRequest oraRequest = (PortletRenderRequest)
request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
if ( oraRequest == null ) {
makeLog ("Could not get PortletRequest!");
} else {
oracleUser = oraRequest.getUser().getName();
So I've tried to put the userID into the servlet session like this
request.getSession().setAttribute("iASUserName", oracleUser);
but obviously the binary.jsp doesn't share the same http session object,
so this code returns null within the binary.jsp
request.getSession().getAttribute("iASUserName");
We allready done this with the old version of PDK and JServ and
everything was OK, except that we used the deprecated API
request.getSession().setValue("iASUserName", oracleUser);
request.getSession().getValue("iASUserName");
No both ways doesn't work, since we are using Orion-Appserver
and PDK 9.0.2 :-(
Is there anyone out there with an idea how we can solve
this problem?I could understand what you are lookig for. We can probably relie on cookies to share user information between portal & non-portal resources.
Example :
Lets say we have a contributor.jsp viewed through portal. This sets up a cookie in the client machine which carries portal user name. It persists till the end of user session.
contributor.jsp
<%
PortletRenderRequest pr =
(PortletRenderRequest)request.getAttribute(HttpProvider.PORTLET_RENDER_REQUEST);
String pUser = pr.getUser().getName();
/* Customize these strings to suitable names. */
String pUserKey = "CUR_PORTAL_USER";
String pDomain = ".oracle.com";
%>
<SCRIPT language="JavaScript1.2">
var today = new Date();
function setCookie(name, value, domain)
document.cookie = name + "=" + escape(value) +
"; path=/" +
"; domain=" + domain;
</SCRIPT>
<BODY onload="javascript:setCookie('<%=pUserKey%>', '<%=pUser%>', '<%=pDomain%>')"/>
This cookie now will be set in the client machine and any JSP in the same domain will be able to access it.
Let me know if it offers any help to your problem.
Thanks,
Amjad. -
How to find out the tables from extract structures
Hi All,
As I know my data sources are 2lis_04_p_matnr,2lis_04_p_comp,2lis_04_p_arbpl.
How to find out the tables concerned with the fields in the extract structure.
ThanksPl check this link:
http://help.sap.com/saphelp_nw2004s/helpdata/en/29/79eb3cad744026e10000000a11405a/frameset.htm
OR navigate to: help.sap.com - netweaver - bi content - supply chain - look for your application area and the extractor and you will see the source tables and fields.
Ravi Thothadri -
How to find out the percentage of code loaded using the load instrument vi
i am loading my software through preload instrument.vi. Is there any way to know the percentage of the vi loaded, in parallel when the vi is getting loaded.
I do not think so.
If you carefully watch other loaders, you will see that the bars do not not update at a constant rate. They usually update in chunk fasion.
You could get the size of all of the VI before starting the loads and update your progress bar based on percent of total code loaded. If smooth updatesis readlly important, you could track the load time vs files size and use that to do some periodic incremental updates.
Cluge? yes!
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Any fuction to find out the percentage?
in my query i want to create one column with the percentage. iwant like below.
Customer - tablename.customer name
Amount -- sum(tablename.Amount)
Percentage of Amount - ?
EX: customer Amount percentage of Amount
i was trying to use sum(sum(table.Amount) .but it is throwing error. can anybody have any idea to do this easyly?i was trying to use this function,but throwing me the message like this finction does not exist.
as per the document , same thing i am expecting .can anybody please suggest me anyother way? -
How to find out the table from the field.
Hi Friends,
I want to know the table name from the field.
I mean i know the field with which i want to know the table. I tried but could find the structure only but how can i find the table.
Please guide me.
siva.Hi Sivakumar,
Using DD03L (in SE16, SQVI) you can list the tables & structures which contain the desired field.
(If it's a very common field [e.g. MATNR] you'll get a huge amount of hits...you can also use 'F1' + 'Technical information' [in the transacton you are] to get information on table & field as mentioned before)
http://www.erpgenie.com/abap/tables.htm
BR
Csaba -
How to find out the transport request that a report is locked to?
Hello Experts,
I have to transport a report to production system.
The report has already been assigned to a transport request.
How do I find as to which transport request is the particular report assigned to.
Any place where I can check for the locks on a report ?
Any advice is very much helpful...Hello Venkat,
Thanks for the prompt reply.
Actually i had tried it. but unfortunately, NO request number is shown. The Only nessage i'm getting is
" Source systems can not be transported."
The report is opening in RRMX in change mode.
This implies 2 things,
1. The report is already assigned to a transport request. OR
2. Its assigned to $temp.
But if the report is stored as $temp, while tranporting in transport connection, it should ask for a transport request and also ask for the development class. Which is not happening
Any other places to look for ????? -
Need to find out the changes from Apps 10.7 to the present release 11. x.x
Hullo,
I saw a link on one of the blogs that a presentation on improvements/changes/features from 10.7 onwards was available on www.oracle.com/appsnet/technology/upgrade/docs/features.html. This page is no longer available.
Does anyone know another link where this or similar information is available?
Salim.Oracle Applications Upgrade - new functionality added since 10.7 and 11
This post contains a link to the Oracle page which will provide you with a functionality comparison between the different releases of Oracle Applications.
If you are still on Oracle Applications R10.7 or R11 and are considering an upgrade to R11i, this Oracle Appsnet page will provide you with an understanding of what new features and capabilities have been added to Oracle E-Business Suite since R10.7 and R11. The site lists the changes by major release and by module and is very useful in understanding the differences between each major release of Oracle Applications.
Comments:
Hi
The link is broken it seems
http://www.oracle.com/appsnet/technology/upgrade/docs/features.html
Choudhary
Posted by Sunil on 04/26 at 12:00 PM
Yes, Oracle re-organised their site and have moved this page without providing a redirect. If anyone knows where this page has disappeared to please let me know as it contained some very useful content.
Posted by Richard Byrom on 04/26 at 01:01 PM
Does anyone know where the information now is? -
Find out the relation from vbrk and ekpo
hi
i want the relation field from vbrk and ekko or ekpo apart from kunnr and lifnr.
ple give me the fieldCheck ThisLink
Relation between the tables ekko and vbrk
Ranga
Maybe you are looking for
-
Report 11g RUN_REPORT_OBJECT is not working FRM-41214
Dear all, We are not able to run the reports using RUN_REPORT_OBJECT from forms 11g, we have tried our maximum to resolve this issue, unfortunately no proper documentation. Forms working without any issue are able to see the report out puts if I try
-
Multiple ports on single node cannot communicate
I am a Sr. Tech Architect from SBC that it evaluating your product for utilization in our enterprise online order application in combination with the Solarmetric Kodo product. I was able to install and utilize your application and line command, sampl
-
Install Windows 7: 32 or 64 bit?
My apologies if this question has already been asked and answered already. I didn't seem to find anything definite for what I needed. 13" Unibody MacBook Pro MAC OS X 10.6.2 2.26 GHz Intel Core 2 Duo 2 GB 1067 MHz DDR3 I'd like to install a 64-Bit ve
-
DISAPPEARING KEYBOARD LETTERS - PAVILION DM4
Has anyone else experienced the white painted letters coming off the keys of a new Pavilion dm4? The letters started coming off shortly after it was purchased. We bought the laptop for my wife to use and, understandably, she has not wanted to part
-
Hello, We want to add an entry in the table V_156B. I tried doing it by SM30 --> it didnt allow me I have checked OMJJ settings, but not sure which is the right one to make this movement type appear in the table. I have searched the configuration for