Query to get summarized and detailed data
Hi experts,
The scenario is as follows:
Generic extractor -> DSO -> Infocube
Now, the cube have item level details. My concern is, the cube might grow very big and impact the performance.
Is it possible to have a query that retrieves summarized information from the cube and for details do a jump to target to the DSO and get the details?
Pls give me a hint on this.
Yes you can have summerized query on Cube & item level query on DSO.
Using RRI (tcode RSBBS) you can jump from Summerized Query to Detailed Query.
You can also pass values from summerized query to detailed query through RRI if required, provided the same infoobject is used in both cube & DSO.
Similar Messages
-
Post Author: tadj188#
CA Forum: Formula
Needed: Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount > 28
Background:
1) Report SQL is created with unions to have detail lines continue on a page, until it reaches page footer or report footer, rather than using subreports. A subreport report is now essentially a group1a, group1b, etc. (containing column headers and other data within the the report with their respective detail lines). I had multiple subreports and each subreport became one union.
Created and tested, already:
1) I have calculated @TotalLineForEachOfTheSameGroup, now I need to sum of the individual same group totals to get the total line count on a page.
Issue:
1) I need this to create break on a certain line before, it dribbles in to a pre-printed area.
Other Ideas Appreciated:
1) Groups/detail lines break inconveniently(dribble) into the pre-printed area, looking for alternatives for above situation.
Thank you.
Tadjexport all image of each page try like this
var myDoc = app.activeDocument;
var myFolder = myDoc.filePath;
var myImage = myDoc.allGraphics;
for (var i=0; myImage.length>i; i++){
app.select(myImage[i]);
var MyImageNmae = myImage[i].itemLink.name;
app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
app.jpegExportPreferences.exportResolution = 300;
app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
alert(myImage[i].itemLink.name) -
How to get header and item data in ME_PROCESS_PO_CUST ?
Hi all,
How can I get header and item data in me_process_po_cust~process_account ? I have to do some validation for account assignment catagory in item overview.Hi ,,
Further make the following changes in method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM.
Get Line item data using method:
CALL METHOD IM_ITEM->GET_DATA
RECEIVING
RE_DATA = W_ITM_DATA.
and then validate the item data from structure W_ITM_DATA..
Same as follows for Header Records:
In method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_Header.
Thanks
Shambhu -
Function Module to get BEGIN and END date of a month?
Hello everybody,
Is there any function module to get BEGIN and END date of a month
GIVEN EITHER THE CURRENT SYSTEM DATE or MONTH?
Regards,
Sanghamitra.A.hi
CALL FUNCTION 'PA03_PERIODDATES_GET'
EXPORTING
f_abkrs = p_abkrs1
IMPORTING
f_permo = wf_permo
f_current_begda = wf_begda
f_current_endda = wf_endda
CHANGING
f_current_period = wf_pabrp
f_current_year = wf_pabrj
EXCEPTIONS
pcr_does_not_exist = 1
abkrs_does_not_exist = 2
period_does_not_exist = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
this is the function module to get the first date and last date of a particular month
if u have any doubts ask
regads
karthik
reward points if useful -
Hi gurus,
How do we get evtcreation_date and evtcreation_time data into check function module or implementation of object type? I am using cdhdr and cdpos and able to write my own logic.
Thanks in advance!!!
Xevi G.I think check FM's contain these value in any paramters.
Otherwise check CDHDR/CDPOS with appropriate OBJECT number etc.
This question can more appropriately answered in WORKFLOW forum.
Try [this|http://www.*******************/2007/09/work-flow-2.html] link also. -
Query to get Inventory ITEM details
Hi All,
Can any one give me the query to get the following details of an ITEM
ITEM
Description
Onhand availability
Org_id
Item status
Pricelist name
Subinventory
Revision
Lot
UOM
Unit Price
Thanks,
Srikanth
Edited by: 925743 on Apr 16, 2012 1:03 AMuse the following query you will get max columns
select segment1 as "ITEM",description,inventory_item_status_code,a.organization_id,list_price_per_unit,lot_control_code,primary_unit_of_measure,transaction_quantity,subinventory_code,revision,revision_qty_control_code from mtl_system_items_b a,
mtl_onhand_quantities b
Regards
Raju -
Get first and last date of month
Hi,
Is there any function module to get first and last date of month for a entered date.
Please let me know.
Regards,
SPHi,
Use the below FM to find the Last day of month and them u can easily calculate the first day.
DATA : v_startdate TYPE sy-datum.
DATA : v_enddate TYPE sy-datum.
DATA : v_temp TYPE dats.
v_temp = sy-datum.
CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
EXPORTING
day_in = v_temp
IMPORTING
last_day_of_month = v_enddate
CONCATENATE v_enddate+0(6) '01' INTO v_startdate.
Hope it helps.
Regards,
Arnab. -
Getting first and last dates of a month
Jello all,
I am really sorry I am posting this topic here, not actually owned by this forum but in fundamental forum i am not getting it attended.
I am generating monthly, quartelry and yearly reports, for which I need to get first and last dates of a given Month taking in to account leap year. I searched the API and docs for Calendar class. I could not find any useful methods / fields. I wonder this being a very common requirement, how SUN has not provided these essential features. I still feel, it must be some where. Please help me and reply. Also if you came across any other forum for util package, let me know.
Thanks
VardeJello all,
I am really sorry I am posting this topic here, not
actually owned by this forum but in fundamental forum
i am not getting it attended.
Yes, and I can see you are a very patient person, waiting a whole half hour for a response before cross posting other boards.
Question answered.
http://forum.java.sun.com/thread.jsp?thread=514908&forum=31&message=2451646 -
FM to get start and end date when given month
Hi all,
can anybody help me if there a FM to get start and end date when given month like 01 for jan.
Thanks in advance
SahityaHi,
Check this Function Module
HR_JP_MONTH_BEGIN_END_DATE
here if you r giving the month u wil get the start date and the end date.
Hope this helps you.
Thanks & regards,
Y.R.Prem Kumar -
hi Experts,
while running SQL Query i am getting an error as
The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query
select T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
T2.LineText
from OQUT T0 INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN
QUT10 T2 ON T1.DocEntry = T2.DocEntry where T1.DocEntry='590'
group by T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
,T2.LineText
how to resolve the issueDear Meghanath,
Please use the following query, Hope your purpose will serve.
select T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
CAST(T2.LineText as nvarchar (MAX))[LineText]
from OQUT T0 INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
QUT10 T2 ON T1.DocEntry = T2.DocEntry --where T1.DocEntry='590'
group by T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
,CAST(T2.LineText as nvarchar (MAX))
Regards,
Amit -
How to get new and updated data into LO Excel in Xcelsius
Dear Experts,
I have created dashboard on top of webi report by using Live-Office connection. Latest data of webi report is imported into excel and mapped data with components and generated SWF file and exported into server.
To day my webi report has latest instance with new and updated data. But until unless by clicking "Refresh All Objects" i am not getting updated data into excel.
When i am trying to open dashboard in BI Launch Pad/CMC it is showing data whatever exist in excel(i.e yesterday data). But here we need to show data of latest instance of webi report.(i.e New and updated data as of now).
I have selected option "Latest instance: From latest instance scheduled by" in "refresh options".
My Question & Doubts:
1) Is it mandatory to open dashboard every day and need to click on "Refresh All Objects" to get updated data into excel or dashboard.
2) Is there any option to automate this process.
Regards,
PRK.Hi,
Schedule the webi report to get the latest data from the source. To answer your query no is doesn't require to open the dashboard every time to refresh the excel to get the latest data.
Please use the Refresh Before Components are Loaded: Select this option to refresh the data each time the model loads and to use that data as the initial data for the model (using a Reset Button component, it will reset the data to the values from the last time the model was loaded).
You are using the Live Office so here automatic refresh is not possible without touch the swf file, you need to use the refresh but to get the latest data. If you are using QAAWS, Web Service & XML then automatic refresh is possible.
For more information please check the below document for in-depth idea on the design pattern.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b02e31fb-3568-2e10-e78f-92412c3c0a96?overridelayout=t…
Kindly revert for more clarification!!!
--SumanT -
Query for month start and end date
Hi,
I want to pick every month Start date and End Date. could anybody suggest what is the query for this.
I need output
Start Date End Date
01/01/2011 31/01/2011
01/02/2011 28/02/2011
01/03/2011 31/03/2011
01/04/2011 30/04/2011
01/05/2011 .......Hi,
SQL> select sysdate from dual;
SYSDATE
24-FEB-11
SQL> select last_day(sysdate) from dual;
LAST_DAY(
28-FEB-11
SQL> select last_day(sysdate),last_day(add_months(sysdate,-1))+1 from dual;
LAST_DAY( LAST_DAY(
28-FEB-11 01-FEB-11
SQL> select last_day(sysdate),last_day(add_months(sysdate,-2))+1 from dual;
LAST_DAY( LAST_DAY(
28-FEB-11 01-JAN-11Try to refer to Oracle documentation and try to experiments the functions, you will get results on your hand.
- Pavan Kumar N
Edited by: Pavan Kumar on Feb 24, 2011 12:51 PM
Edited by: Pavan Kumar on Feb 24, 2011 12:52 PM -
Sql query to seperate character and number data in a column
Hi,
We have a test table on 10.2.0.4 db as below;
10:44:34 TEST:WAULT > desc t;
Name Null? Type
EMP VARCHAR2(10)
10:43:18 TEST:WAULT > select * from t;
EMP
JOHN
7281
TOM
7852145
BNPPARIBAS
9862354
Mindcraft
875
INFINITY
78998775
01234
EMP
0
-123
-856359
SCOTT
-657
16 rows selected.
The question is; we need to segregate the character data and numerical data in the EMP field, using sql query.
Plz suggest as to how we can achieve this.
Also, plz suggest how the use of reqexp can be made in this to achieve the same.
Thanks,
Rahul>
Hi,
EMP
JOHN
7281
TOM
7852145
The question is; we need to segregate the character data and numerical data in the EMP field, using sql query.
Plz suggest as to how we can achieve this.Check out the CAST function
http://download.oracle.com/docs/cd/B12037_01/server.101/b10759/functions015.htm
However, I would have to ask why on earth you're doing this - it would, IMHO, be
much better to redesign your app. It looks like you have an EAV problem
(AKA MUCK or OTLT) Google Joe Celko and these terms.
Paul...
Rahul -
Get-Content and add Date and Time in a new file
Hello,
in a existing file I have data like:
1;Idle
5;chrome
1;spoolsv
Now I need to grab the content and add date and time in front of each line and save it to another file like:
07.04.2015;10:18;1;Idle
07.04.2015;10:18;5;chrome
07.04.2015;10:18;1;spoolsv
But I don't have any idea how I could solve this challange. Does anyone have a helping hand for me?
GreetingsHello,
If you need a new file with the desired output try this
get-content .\current.txt | Foreach-Object{ $dntv = (get-date) ; "$dntv" + $_} | Out-File newfile.txt
regards,
V
Venu -
Getting Start and End Date of Current Year?
Hi Folks,
How do I get the start of the year and end of the year in Java ?
If I say :
Calendar cal = Calendar.getInstance();
int day = cal.get(Calendar.DATE);
int month = cal.get(Calendar.MONTH);
int year = cal.get(Calendar.YEAR);
System.out.println("Day: " + day);
System.out.println("Month: " + month);
System.out.println("Year: " + year);
I get the current day and time.What I need is the start of the current Year (Jan 2010) and the End of the Current Year (Dec 2010).
How can get the above 2 dates if I the current date is March 24th 2010 ?
Thankssabre150 wrote:
What am I missing? The start date of 2010 is 1/1/2010 and the end data is 31/12/2010 . So, as I see it, at any time the only information you need is the current year which you currently get from int year = cal.get(Calendar.YEAR);
Well, with the GregorianCalendar, anyway. ;-)
Maybe you are looking for
-
Contribute CS4 Disc/ Download Link?
Greetings Contribute Forum Users! I have managed to lose my disc for Contribute CS4 and Tech Support suggested I post here to see if anyone happens to have a disc or the download link ferreted away? I have my own serial number, so no worries about u
-
A question about 'GL_SL_LINK_TABLE'
some values in GL_SL_LINK_TABLE 'APECL' 'WTA' 'MTA' 'RSL' what tables do they represent?? thank you. peter
-
How to use max of function in mapping?
hi all: SQL: select max(var1) from tab1, insert tab2(var1,...) values(var1,...), move a rowset of max var1 from tab1 to tab2, how to do in mapping?
-
Anyone know why it is that if I go to the flash forums on line and click on login - I always get sent back to the list of adobe forums? It happens if I click on "my forums" as well OR "New Topic" It is starting to bother me that I can't use the web i
-
Safari sometimes seems to loose the page formating, especially on the Apple pages, causing the whole page to look like un-formated junk. Is this a Safari bug, or are the Apple Discussion pages going bonkers at times? Once it happens, it seems that th