Queries on 0GR_VAL_PD and 0GR_VAL_R_P
Hello Guys,
I have one purchasing cube 0PUR_C01 which has two key figures 0GR_VAL_PD : Goods Receipt Value as at Posting Data and 0GR_VAL_R_P : GR Value : Returns as at posting date.
How we can calculate values of this KF? Is there any standard formula? Currently that KF is not mapped with any data source.
I have standard scenario, have not modified any thing.
i have tried lot but didn't get enough information, so i hope you guys can help.
Thanks in advance.
Rishit
Hi Samik,
These are purchasing key figures. The value in both of them remain the same. Only difference is in terms of time parameters.
GR value with have time characteristics arranged by PO document date and GR val PD is the one where time characteristics arranged by posting date.
Naveen.A
Similar Messages
-
How to find the list of all queries on each and every cube in the system???
Hi All,
I need some method to get all the reports(queries)(technical name and description),run on all the infocubes in the system. The number is very huge...roughly...on each cube there are near about 40-50 reports and the number of cubes is also too high.
Is there any table or function moudle which can make this job easy and less time consuming.
Freinds I need this solution urgetly. Please rush back...
regards,
minalHi Minal,
RSZCOMPIC table lists queries built on the cubes.
COMPUID is an ID of the query.
RSZELTDIR table contains description of the reporting elements. DEFTP field equals REP designates queries.
Search for RSZELTDIR-ELTUID = RSZCOMPIC- COMPUID. Field MAPNAME will contain a tech name of the query and TXTLG field its description.
Best regards,
Eugene -
3 queries 3 tables and in a NON-relational DBMS
3 queries 3 tables and in a NON-relational DBMS
i got this msg box error:
Error prop_id is a invalid identifier.
basically i have querying form a non rel_dbms.
with this statement
select a.case_nbr, a.Aplc_id
from Tcase a
, tloc b
, tla_prop c
where c.plan_area_nbr = '1'
and b.loc_id = a.Prop_id
and a.Aplc_id = b.aplc_id
thanks for responding
here is the first
query.
select prop_id, plan_area_nbr
from tla_prop
where plan_area_nbr = '1'
then i got a bunch of prop_id's from tla_prop that has plan_area_nbr of 1
the second query will have
select aplc_id, loc_id
from tloc
where loc_id is equal/the same prop_id from the table tla_prop
the third selection
will contain aplc_id from table tcase = aplc_is from the table tloc
select case_nbr, Aplc_id
from Tcase
where Aplc_id = Secondselection.prop_id
the goal is really to get the case_nbr with all criterias from query1,2,3 and table 1,2,3.
any ideas?
hmm, thanks in advanceHi
Try this:
select a.case_nbr, a.Aplc_id
from Tcase a , tloc b , tla_prop c
where c.plan_area_nbr = '1'
and b.loc_id = c.Prop_id
and a.Aplc_id = b.aplc_id
Ott Karesz
http://www.trendo-kft.hu -
Creating Queries from Cubes and ODS
Dear Gurus:
I'd like to learn how to make queries from ODS and CUBES. can any Guru out there prescribe a particular infocube / ods project for me to make report on in both 3.5 and BI 7? I can send daily reports on my progress. I think this is the only way I will learn.. I may even have to seek help to create a simple architecture from Source DataSourc to Target Data Source to transfer Rules to InforSource to ODS to Cube and then fuill it with practice data just so that I can design a query / queries... Can any kind BW Guru offer me his/her assistance please... I may run out of a job if I dont learn soon...
<b>By the way... I would like to make it known that I am starting out totally from scratch.... As in ZERO BW 3.5 and/or BI 7.0 experience nor application background in either. Hence the why I seek expert advice.Your kind support, understanding and advice will be greatly appreciated to no end!</b>The best way to start off is by reading the material on BW. The link below will give all the materials.
http://www.mysapbi.blogspot.com/
The to get hands on experience follow the scenarios in the best practices the link is below.
http://help.sap.com/bp_biv335/BI_EN/html/Bw.htm
And to get a tutor the best way I know is search for an institute in the following link
www.sulekha.com
Hope this helps.
Bhargava -
Problem with Join Queries using PHP and an Orcale Database
Ok, I am trying to build a simple php querying tool for my oracle database and for the most part it is working however I am having a problem getting data from my join queries. If I run the following query :
QUERY:
SELECT lastfirst,EnteredBy,Debit FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
RESULT SET:
Lastfirst EnteredBy Debit
caiu, test 204 1
But when I run the query correctly I get no results
QUERY:
SELECT sts.lastfirst,gl.EnteredBy,gl.Debit FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
RESULT SET:
sts.lastfirst gl.EnteredBy gl.Debit
and if I run the query combining the two above methods and adding a field (schoolid) that has the same name on both table I get the following result sets
QUERY:
SELECT lastfirst,EnteredBy,Debit,sts.schoolid FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
RESULT SET:
lastfirst EnteredBy Debit sts.schoolid
caiu, test 204 1
QUERY:
SELECT lastfirst,EnteredBy,Debit,schoolid FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
RESULT SET:
NONE
Therefore, I have to have something written incorrectly in my php code and I just can not figure it out. My entire code is pasted below please provide me with an assistance you might have to offer. I have change the odbc_connec line so I could post it to this forum. In addition, I had to phrase out the column headers there for when you write the column headers you have to use ~ instead of , as the separator and then I turn back into the correct format for sql.
//These scripts just open help windows if somone clicks on the icon
<script>
function submit()
{document.sqlform.submit();}
</script>
<script>
function colwin(){
window.open("colnames.php",null,"height=300,width=400,scrollbars=1");}
</script>
<script>
function tabwin(){
window.open("tablenames.php",null,"height=300,width=400,scrollbars=1");}
</script>
<script>
function help(){
window.open("http://www.w3schools.com/sql/default.asp",null,"height=500,width=700,scrollbars=1");}
</script>
<form method="post" action="<?php echo $PHP_SELF;?>" name="sqlform">
<?php
//Cookie to check for authorization to the site
if($_COOKIE['cookie']=="CheckCookieForAuth")
//These get the values of the textareas after the form has been submitted
$sqlSELECT = $_POST["SELECT"];
$sqlFROM = $_POST["FROM"];
$sqlJOIN = $_POST["JOIN"];
$sqlWHERE = $_POST["WHERE"];
$sqlOTHER = $_POST["OTHER"];
$sqlSELECTTYPE = $_POST["SELECTTYPE"];
//This is the variable used to parse out my headers the user entered
$sqlColNames = split('~',$sqlSELECT);
//This converts the ~ separator to , so I can actually use it as part of my sql string
$search = array('~');
$replace = array(',');
$mystring = $sqlSELECT;
$sqlString = str_replace($search, $replace, $mystring);
//These are the textareas and the drop down options that the end users has to create queries
echo "<table border=0>";
echo "<tr><td valign='top'>";
echo "<B>SELECT TYPE</B> <BR><SELECT NAME=SELECTTYPE>
<OPTION VALUE='SELECT' SELECTED>SELECT</OPTION>
<OPTION VALUE='SELECT DISTINCT'>SELECT DISTINCT</OPTION>
<OPTION VALUE='INSERT'>INSERT</OPTION>
<OPTION VALUE='UPDATE'>UPDATE</OPTION>
<OPTION VALUE='DELETE'>DELETE</OPTION>
</SELECT>";
echo "</td><td>";
echo "<textarea rows=2 cols=75 name=SELECT wrap=physical>$sqlSELECT</textarea>";
echo "</td><td valign='top'>";
echo "<img src='images/sqlC.jpg' width='25' height='25' onclick='colwin()'>";
echo "</td></tr>";
echo "<tr><td valign='top'>";
echo "<b>FROM</b>";
echo "</td><td>";
echo "<textarea rows=2 cols=75 name=FROM wrap=physical>$sqlFROM</textarea>";
echo "</td><td valign='top'>";
echo "<img src='images/sqlT.jpg' width='25' height='25' border=0 onclick='tabwin()'>";
echo "</td></tr>";
echo "<tr><td valign='top'>";
echo "<b>JOIN</b>";
echo "</td><td>";
echo "<textarea rows=2 cols=75 name=JOIN wrap=physical>$sqlJOIN</textarea>";
echo "</td></tr>";
echo "<tr><td valign='top'>";
echo "<b>WHERE</b>";
echo "</td><td>";
echo "<textarea rows=2 cols=75 name=WHERE wrap=physical>$sqlWHERE</textarea>";
echo "</td></tr>";
//This is where the end user would enter group by, having, order by, etc..
echo "<tr><td valign='top'>";
echo "<b>OTHER</b>";
echo "</td><td>";
echo "<textarea rows=2 cols=75 name=OTHER wrap=physical>$sqlOTHER</textarea>";
echo "</td></tr>";
This is a run query icon and a help icon
echo "<tr><td colspan=2 align=right>";
echo "<img src='images/RunQuery.jpg' width='30' height='28' onclick='submit()'> <img src='images/qm.jpg' border=0 width='25' height='25' onclick='help()'>";
echo "</td></tr></table>";
echo "<br>";
echo "<br>";
//This is where I connect to my remote oracle database
$conn=odbc_connect('ODBC_ConnectionName','USERNAME','PASSWORD');
//This is the sql string created by the end users
$sql="$sqlSELECTTYPE $sqlString FROM $sqlFROM $sqlJOIN $sqlWHERE $sqlOTHER";
//This executes the connection string and the sql string
$rs=odbc_exec($conn,$sql);
//This will display the query or a message if the query is empty
if($rs!=NULL){
echo "<table border=1>";
echo "<tr>";
//This loops through the string array the end user enter the field name text area to get column headers
for($i=0; $i<count($sqlColNames); $i++)
echo "<td>";
print_r($sqlColNames[$i]);
echo "</td>";
echo "</tr><tr>";
//This actually fetchs the rows from the statement and then display the data based on the column names the end user speificed
while (odbc_fetch_row($rs))
for($i=0; $i<count($sqlColNames); $i++)
$results=odbc_result($rs,$sqlColNames[$i]);
echo "<td>$results</td>";
echo "</tr>";
odbc_close($conn);
echo "</table>";}else{echo "Results will be displayed here";}
echo "<br><br>";
echo $sql;
else
echo "Not logged in";
?>
</form>This looks more like a SQL question than a PHP issue. There are a couple of JOIN examples at http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm#i2066611 that might you work through the problem.
-
Hi Friends,
I Have a view named - item_sales with 4 column
Item code
Item name
Transaction_YYYYMM (Date stored in YYYYMM format )
QTY_RECEIVED
QTY_SOLD
Sample data is
ITEM_CODE ITEM NAME TRANSACTION_YYYMM QTY_RECD QTY_SOLD
AX TSHIRT 201307 3000 2000
AX TSHIRT 201308 2000 500
AX TSHIRT 201309 1000 3000
CX XLSHIRT 201307 3000 2000
CX XLSHIRT 201308 3000 2500
CX XLSHIRT 201309 3000 2500
EVERY MONTH END I WILL RUN THIS QUERY TO FIND OUT THE BELOW DETAILS
1. TO FIND ITEM_NAME WISE - QTY_RECEIVED AND QTY_SOLD ( FOR CURRENT MONTH - EXAMPLE SEP )
2. TO FIND ITEM_NAME WISE - QTY_RECEIVED AND QTY_SOLD (FOR CURRENT YEAR EXAMPLE FROM JAN TO SEP )
OUTPUT FOR SEPTEMBER MONTH LOOK LIKE THIS
SEP-MONTH JAN TO SEP
ITEM_CODE ITEM_NAME QTY_RECEIVED QTY_SOLD QTY_RECEIVED QTY_SOLD
AX TSHIRT 1000 3000 6000 5500
CX XLSHIRT 3000 2000 9000 7000
Pls advise me how to write queries for this
RdkJust FYI, you *can* edit your own posts, you know
Rdk wrote:
Transaction_YYYYMM (Date stored in YYYYMM format )
First "problem". Don't store dates as string. Store them as dates. It will save you so much headache don't the road you won't believe it.
True, this is a view, so maybe not as critical - assuming the underlying *DATA* is actually a date.
1. TO FIND ITEM_NAME WISE - QTY_RECEIVED AND QTY_SOLD ( FOR CURRENT MONTH - EXAMPLE SEP )
2. TO FIND ITEM_NAME WISE - QTY_RECEIVED AND QTY_SOLD (FOR CURRENT YEAR EXAMPLE FROM JAN TO SEP )
So yeah, based on these requirements, I'd recommend you make that column a DATE, not a string. Dates are easier to parse for date-related logic - such as month by month as you need here.
Using that, here's one way to do it:
with w_data as (
select 'AX' item_code, 'TSHIRT ' item_name, to_date('20130701','yyyymmdd') trans_dt, 3000 qty_recd, 2000 qty_sold from dual union all
select 'AX' , 'TSHIRT ' , to_date('20130801','yyyymmdd') , 2000 , 500 from dual union all
select 'AX' , 'TSHIRT ' , to_date('20130901','yyyymmdd') , 1000 , 3000 from dual union all
select 'CX' , 'XLSHIRT' , to_date('20130701','yyyymmdd') , 3000 , 2000 from dual union all
select 'CX' , 'XLSHIRT' , to_date('20130801','yyyymmdd') , 3000 , 2500 from dual union all
select 'CX' , 'XLSHIRT' , to_date('20130901','yyyymmdd') , 3000 , 2500 from dual
w_base as (
select item_code, item_name, trans_dt, qty_recd, qty_sold,
sum(qty_recd) over (partition by item_code, trunc(trans_dt, 'MM')) mm_recd,
sum(qty_sold) over (partition by item_code, trunc(trans_dt, 'MM')) mm_sold,
sum(qty_recd) over (partition by item_code, trunc(trans_dt, 'YY')) yy_recd,
sum(qty_sold) over (partition by item_code, trunc(trans_dt, 'YY')) yy_sold,
row_number() over (partition by item_code order by trans_dt desc) rnum
from w_data d
Select item_code, item_name, mm_recd, mm_sold, yy_recd, yy_sold
from w_base
where rnum = 1
IT ITEM_NA MM_RECD MM_SOLD YY_RECD YY_SOLD
AX TSHIRT 1000 3000 6000 5500
CX XLSHIRT 3000 2500 9000 7000 -
How to send two seperate queries from OBI and combine the results
Hello all,
I am trying to understand how to combine results of two queries in OBI. Here is the scenario.
There are three tables, User, Security Roles joined though a Bridge Table Role_User
Each user has multiple roles, The roles to which a user has access is identified by a flag column with value T or else it will have value F.
I am trying to create an analysis as below
User Id
Roles with Access
Roles without Access
So column 2 will show all the roles with flag T for particular user and column 2 will show all the roles with flag F for same user.
I tried creating two Fact tables and using Filter condition on the flag value, but in analysis I could only use one at a time. When I add both the columns , I get error as None of the fact table are compatible with the query request. I do have hierarchies created for the dimensions and assigned them in the content level for all dims and facts.
Any hint will be highly appreciated.
ThanksGot the solution. I am posting it here in case anyone face similar issue.
I added this SQL code in the advanced tab:
Select A.saw_0 saw_0, A.saw_1 saw_1, B.saw_1 saw_2
FROM( Select Col1 saw_0,Col2 saw_1 FROM Table1) A LEFT OUTER JOIN
(Select Col1 saw_0,Col2 saw_1 FROM Table2) B
on A.saw_0=B.saw_0
I created to Logical Facts using same source with two different filter conditions and used them with sub-query as above
Ref: OBIEE Interviews: Reports -
Queries: user id and employee number ,and reponsibility and menu exclusions
Hi,
I have two different queries that are requested and I do not have a document to guide me in the tables relationships.
Query 1:
need to represent the reponsibility name asscociated with the name of menu and the functions excluded from that menu in the responsibility.
i was only able to retrieve the reponsibility name and the menu name, i do not know what is the table that contains the menu exclusion and how can i link it to the responsibility.
Please help, my query so far is as follows:
SELECT DISTINCT e.application_name, a.responsibility_name
--,a.LANGUAGE,
--,b.responsibility_key
, c.user_menu_name
,c.DESCRIPTION
,fme.prompt, fme.description
,fme.MENU_ID,frf.ACTION_ID
FROM apps.fnd_responsibility_tl a,
apps.fnd_responsibility b,
apps.fnd_menus_tl c,
apps.fnd_menus d,
apps.fnd_application_tl e,
apps.fnd_application f,
apps.fnd_menus_tl apm,
fnd_menu_entries_tl fme,
FND_RESP_FUNCTIONS frf
WHERE a.responsibility_id(+) = b.responsibility_id
AND b.menu_id = c.menu_id
AND b.menu_id = d.menu_id
AND e.application_id = f.application_id
AND f.application_id = b.application_id
AND a.LANGUAGE = 'US'
and apm.menu_id = fme.menu_id
and fme.MENU_ID(+)=c.MENU_ID
and b.RESPONSIBILITY_ID=frf.RESPONSIBILITY_ID
Query 2 :
It is required to represent the employee info associated with their associated reposnsibilities.
i could not link the employee number to the user id.
how can i join the two tables: fnd_user and per_all_people_f
PLEASE HELP ME.Hi,
need to represent the reponsibility name asscociated with the name of menu and the functions excluded from that menu in the responsibility.
i was only able to retrieve the reponsibility name and the menu name, i do not know what is the table that contains the menu exclusion and how can i link it to the responsibility.See these documents.
Note: 948512.1 - Checking Functions Associated with a User Menu or a Responsibility
Note: 468013.1 - Code Snippet for querying responsibilities and users in 11i Applications
Query 2 :
It is required to represent the employee info associated with their associated reposnsibilities.
i could not link the employee number to the user id.
how can i join the two tables: fnd_user and per_all_people_f Refer to the following docs for the requested query.
Note: 227103.1 - How Do I Find Person_Type Information in 11.5
Note: 332904.1 - How to Find Employees Who Have Logged In
Note: 332794.1 - Employee & User E-mail Syncronization
Regards,
Hussein -
Hi friends
Please let me know the following queries:
Is the report BBP_CCM_TRANSFER_CATALOG transferred from EBP to CCM via XI or without XI.
How is the tcode BBP_SP_SUPP_INI used to replicated vendors from EBP to SUS via XI or without XI.
if we are going for MM-XI-CCM. What info can be transfered and how it is transfered.
Thanks & Regards
Vinny NoviceHi,
BBP_CCM_TRANSFER_CATALOG: XI is required
EBP-SUS : XI is required
MM-XI-CCM: Info Records and contract can be transfered. Transaction MECCM
Regards,
Masa -
Hi people/Hussein,
I have few queries which i dont understand clearly.please correct my doubts.
1) how can find the modules/products which have got installed in my oracle applications database is there any table from where can i query?
will patchsets.sh is the correct answer or there exists some other appln tables?
we are using the oracle ebs 11.5.10.2 with the 10gr2 database integrated with it.in my workplace the modules were updated to most latest
version.
before updating the product modules i think they updated the atg tech stack version and the java and then started applying the patches on the modules.
my doubt is that is it necessary to update the atg version before upgrading the modules.what is the necessary exact reason to update the atg before updating the modules?.
and
Also, i dont understand the meaning of the terms like :PSEUDO PRODUCTS AND SHARED INSTALL PRODUCTS
What do these term actually mean and what is the difference between the terms?
and, ROLLUP / COMULATIVE / CONSOLIDATED PRODUCTS PATCHES APPLIED AS A MANDATORY PREREQUISITE --> under this heading they have given a list of products like httpd,java,txk etc for
which all they have applied patches .i dont understand how do they find that these are the products for which mandatorily they have to apply the patches.how to analyse and find these
things.
please clear my doubts
Thanks
AramHi;
1) how can find the modules/products which have got installed in my oracle applications database is there any table from where can i query?
will patchsets.sh is the correct answer or there exists some other appln tables?I belive that thread(also mention by auotoconfig) answer all your question about question 1
Re: How to find Applied/Present Patches, Mini Packsand Family Packs in 11i *<<Answered by Hussein Sawwan*
we are using the oracle ebs 11.5.10.2 with the 10gr2 database integrated with it.in my workplace the modules were updated to most latest
version.
before updating the product modules i think they updated the atg tech stack version and the java and then started applying the patches on the modules.
my doubt is that is it necessary to update the atg version before upgrading the modules.what is the necessary exact reason to update the atg before updating the modules?.All related steps mention in readme part of upgrade. You need to check it.
Also, i dont understand the meaning of the terms like :PSEUDO PRODUCTS AND SHARED INSTALL PRODUCTS
What do these term actually mean and what is the difference between the terms?Check:
http://ebusinessuite.wordpress.com/2007/08/22/what-are-pseudo-products/
www.scribd.com/doc/3185983/Oracle-Apps-DBA-Topics
and, ROLLUP / COMULATIVE / CONSOLIDATED PRODUCTS PATCHES APPLIED AS A MANDATORY PREREQUISITE --> under this heading they have given a list of products like httpd,java,txk etc for
which all they have applied patches .i dont understand how do they find that these are the products for which mandatorily they have to apply the patches.how to analyse and find these
things.Oracle support make test before relase patchs, so they confirm that patch can affect which modules,screens etc. So they put related patch in patch or put as a pre-request on patch readme part
I suggest also see below notes:
Release 11i Adpatch Basics [ID 181665.1]
Oracle Applications Patching FAQ [ID 174436.1]
How to check if a certain Patch was applied to Oracle Applications instance? [ID 443761.1]
http://oracle-magic.blogspot.com/2006/12/incase-you-ever-need-it.html
Re: Appying patches when Physical standby in place.
AutoPatch modes, arguements and options
http://advait.wordpress.com/category/oracle-application-r12/
Regard
Helios -
Joining these these two queries (one regular and one grouped)
Hello
I have these two queries I would like to join, however the later is a grouped query how can I join it with the first query?
Has to be joined on EventId. The second query is a total table scan.
SELECT AH.EventID,
AH.TechnicalAddress, AH.AlarmAlias, AH.AlarmPath as [OrgAlarmPath], AH.AlarmCounter as AlarmCount, AH.EventDateTime as EventTime,
AH.[Priority], AH.AlarmMessage, AH.EventText, AH.CallListName, AH.AlarmReadDate as EndTime,
AH.alh_EventEndedUserRemark as [EndRemark] --, SUM(seconds) here, and AlarmSessions here
FROM AlarmHistory AH
WHERE (AH.HeartbeatAlarm = 0 OR AH.HeartbeatAlarm IS NULL) AND
((AH.CallListID IS NOT NULL) OR (AH.alh_IsForStatistics = 1)) AND
(NOT (AH.alh_t_EventSubCode is NULL or AH.AlarmReadByUserID is NULL))
ORDER BY AH.EventID DESC
SELECT ia.eventID, SUM(DATEDIFF(SECOND,ia.eventTime,r.eventTime)) AS seconds, COUNT(*) as AlarmSessions
FROM alarmHistoryLog ia
INNER JOIN alarmHistoryLog r
ON ia.EventId = r.EventId
AND r.EventTypeId = 2
AND r.EventSeq = (SELECT MIN(eventSeq) FROM alarmHistoryLog WHERE eventSeq > ia.EventSeq AND EventTypeId = 2)
WHERE ia.EventTypeId = 0
group by ia.EventId
order by EventId desc
HenryTry the below:
;with ctefirst as
SELECT AH.EventID,
AH.TechnicalAddress, AH.AlarmAlias, AH.AlarmPath as [OrgAlarmPath], AH.AlarmCounter as AlarmCount, AH.EventDateTime as EventTime,
AH.[Priority], AH.AlarmMessage, AH.EventText, AH.CallListName, AH.AlarmReadDate as EndTime,
AH.alh_EventEndedUserRemark as [EndRemark] --, SUM(seconds) here, and AlarmSessions here
FROM AlarmHistory AH
WHERE (AH.HeartbeatAlarm = 0 OR AH.HeartbeatAlarm IS NULL) AND
((AH.CallListID IS NOT NULL) OR (AH.alh_IsForStatistics = 1)) AND
(NOT (AH.alh_t_EventSubCode is NULL or AH.AlarmReadByUserID is NULL))
), ctesecond as
SELECT ia.eventID, SUM(DATEDIFF(SECOND,ia.eventTime,r.eventTime)) AS seconds, COUNT(*) as AlarmSessions
FROM alarmHistoryLog ia
INNER JOIN alarmHistoryLog r
ON ia.EventId = r.EventId
AND r.EventTypeId = 2
AND r.EventSeq = (SELECT MIN(eventSeq)
FROM alarmHistoryLog WHERE eventSeq > ia.EventSeq AND EventTypeId = 2)
WHERE ia.EventTypeId = 0
group by ia.EventId
Select A.*,B.seconds,B.AlarmSessions From ctefirst A
Inner join ctesecond B On A.EventId = B.EventID
Please mark this reply as answer if it solved your issue or vote as helpful if it helped.
[Blog] -
How to get a list of queries by user and info-provider in back end ?
Hello,
I would like to list all the queries of a multprovider by user, date etc.. and export this list in Excel.
I dont't know which technical table (RS*) I have to use.
Have you and idea ?
Thank you in advance.
Best regards
NicolasHello Nicolas
RSRREPDIR: query info,cube,user,creationdate,version....
RSRWBINDEX: work book data,creationand change date....
RSRWBINDEXT: workbook id and description
RSRWORKBOOK: data abt which query belongs to which workbook...
To report on these create a generic data source based on table/view and design a flow..
Check BW expert of May 2005 volume 3 and issue 4
Thanks
Tripple k -
Data discrapancy between queries in SAP and BW
Hi All,
I have a problem in data discrapancy between the queries in SAP R/3 and BW Queries .can any one please tell me how to investigate this kind of problems and how to fetch this data ,
please help me ASAP this is an urgent issue
and how many ways we can investigate this kind of issues ,please send me some steps .......
Thanks
TomHi Tom,
You can proceed in a step by step fashion when trying to match the BW query data with that in R/3 reports.
. Try to check the filters and calculations applied in the BW query. You can create a very basic query if required.
. If this does not work then try using transaction LISTCUBE so that you can directly see the data in the InfoCube as per your chosen selections.
. If this doesn't yield anything, then look at the way data is being processed: Any code in the Start routines, Update or Transfer rules. Check them for correctness.
. If you loaded through the PSA, you can also check data in the PSA. Or you can also check the data extracted using RSA3 in the R/3 system.
. Try to provide us some more specifics about the data that you are trying to match. Which module is it? Which is the datasource?
Hope this helps... -
Queries on CPU and PSU Patches
We are on 11.5.10.2 and 10.2.0.4.We need to apply CPU and PSU patches.
1.When we apply the latest CPU patch does it mean it will apply all previous cpu patches on Both application and DB.
Means does it mean CPU's are cumulative.
2.What is PSU patch and what is difference between cpu and psu.When we apply latest psu will it apply latest cpu patch as well.
Please provide the latest CPU and psu note no. which includes Patches as well.Please search the forum before posting similar questions as this topic was discussed many times.
We are on 11.5.10.2 and 10.2.0.4.We need to apply CPU and PSU patches.
1.When we apply the latest CPU patch does it mean it will apply all previous cpu patches on Both application and DB.
Means does it mean CPU's are cumulative.Please see this link.
Switching to Cumulative Critical Patch Updates for E-Business Suite 11i
http://blogs.oracle.com/stevenChan/2010/01/cumulative_ebs_cpu.html
2.What is PSU patch and what is difference between cpu and psu.When we apply latest psu will it apply latest cpu patch as well.Can E-Business Users Apply Database Patch Set Updates?
http://blogs.oracle.com/stevenChan/2009/08/can_ebs_users_apply_database_patch_set_updates.html
cpu and psu
Re: CPU/PSU
PSU Vs CPU
Difference b/w CPU and PSU
Please provide the latest CPU and psu note no. which includes Patches as well.Critical Patch Update for January 2011 Now Available
http://blogs.oracle.com/stevenChan/2011/01/cpu_jan_2011.html
Thanks,
Hussein -
Characteristics without information in Queries of HR and PY
Hi All,
Two questions:
1. I have two infocubes activated, Headcount and Personnel Actions (0PA_C01) and Employee-Specific Payroll Data (0PY_C02). I had made extraction for these two cubes and they all are green, no error showed. Both of these share the following characteristics:
Gender - 0GENDER
Nationality - 0NATION
Personnel Area - 0PERS_AREA
Personnel Subarea - 0PERS_SAREA
Employee Group - 0EMPLGROUP
Employee Subgroup - 0EMPLSGROUP
Master Cost Center - 0MAST_CCTR
In the first cube (Head count and personnel action) I have a query Number of personnel actions 0PA_C01_Q002, in this query when I want to make a drilldown with the characteristics that I mention above, I cant see the information of those characteristics. I can only see the total information of the main characteristic (Hiring and Number of Actions).
I dont have that problem with a query of the second infocube I mentioned. I can make a drilldown of those characteristics and they will show me information.
When I go to option Maintain Master Data in every Infoobject, Im seeing that they have information (Master Data).
What can be the problem with the query 0PA_C01_Q002? Why is not showing information in those characteristics?
2. In the Query Quarterly Comparison of Wage Types Previous Year/CurrentYear 0PY_C06_Q008, from the Infocube Employee-Specific Payroll Data (0PY_C02), I can see all the information except for the characteristics of Gender and Nationality. These two characteristics dont show information, and their infoobjects do.
What is wrong with it? All the extraction for this cube are perfect (green)
Thanks a lot
Regards
VicHi,
Almost all the characterstics of both of the cubes gets the dat by looking into either 0EMPLOYEE or 0PERSON.
Gender -GENDER---> from 0PERSON
Nationality - 0NATION---> from 0PERSON
Personnel Area - 0PERS_AREA---> from 0EMPLOYEE
Personnel Subarea - 0PERS_SAREA---> from 0EMPLOYEE
Employee Group - 0EMPLGROUP---> from 0EMPLOYEE
Employee Subgroup - 0EMPLSGROUP---> from 0EMPLOYEE
Master Cost Center - 0MAST_CCTR---> from 0EMPLOYEE
So we have to make sure that all the data available in R/3 for person and Employee is uploaded , before we upload the data to Cube.
So Do full upload for Both 0PERSON_ATTR and 0EMPLOYEE_ATTR and then activate the Master data and then reupload the data to cubes.Then automatically both of your problms get solution.
With rgds,
Anil Kumar Sharma .P
Maybe you are looking for
-
How can I merge my contacts on iphone but keep the text msgs
I use my phone a lot for work and a lot of my correspondance is through text msgs. My best friend and I share the apple account and we have the same contacts so when I add it to the account my phone she does the same and we come up with duplicate con
-
Trusted Authentication on Windows 2008 64 bit
Has any one got Trusted Authenctication working on Windows 2008 server? We are having issues with making it to work. We followed the documentation on the SAP web site but are still not able to make it work. In particular the ISAPI redirector is no
-
Generating TEXT output from RTF template/reports
Hi , We have been working with XML Publisher for a long time now.. and we have come across some requirements such as 1. Page break in TXT report output 2. Page Headers after every 'X' lines in TEXT output. This was easily achieved with RTF template a
-
Why can't i update any of my apps?
i use my parents Apple ID and it works for them but not for me. They changed the password and I put in the password to update and it stop after I submit the password. it goes back to update. I tried my own Apple ID and it still doesn't work.
-
Can I get some BIOS with AMD Cool n Quiet option enabled? I get irritate when my A8 5550m cant get higher than 2.1GHz when the CPU can handle even 3.1GHz. I can fix this with restarting only, and it get back to 2.1GHz when I power on my laptop G405s-