How to copy data from a Input query to real time Infocube
Hi All, I need some help on IP related stuff. The details are as below:
I am using two real time infocubes and one Multiprovider on them.
First Infocube u2018PRODUCTu2019 with the following Objects:
Product Group ,Product,Region ,Fiscal Year , Fiscal Year Varient ,0currency
Gross Sales
Second Infocube u2018C_PRODUCT u2018 with the following Objects:
Product Group ,Product,Region ,Fiscal Year , Fiscal Year Varient ,0currency
Gross Sales and Forecast Sales
( u2018Forecast Salesu2019 in the extra object in the second Infocube. Remaining objects are same in the both the cubes)
First Infocube u2018Productu2019 has data but the second cube does not have any data.
I have created a Multiprovider ZMulti and in that I have included these two cubes. On this Multi Provider, I have created a Aggrigation Level(The details of the aggregation level is provided in the next page).
On this Aggrigation level I have built a Input Query by which I run the report.
(In the Rows area, I have taken Product Group, Product, Region and Fical year.
In the Key Figure section, I have taken Gross Sales and Forecast Sales( which is part of the second Infocube C_Product). These two Key Figures are made Input as Input ready. And the Query is Input ready query. In the Filter, I have taken Fiscal Year Variant. )
Data available in the first cube and no data currently in the second cube. Now executed the report and report displayed information from the first cube.
EX:
Product Product Region Year Gross Sales Forecast Sales
Group
PG01 Beer North 2008 10000 u2026u2026u2026
PG01 Beer South 2008 20000 u2026u2026u2026
PG01 Beer East 2008 15000 u2026u2026u2026
The second column is empty and there is no data for the Forecast sales Key Figure in the column.
Things look OK till the above.
Now based on the Gross Sales, I am entering forecast Sales values and I need to save the entire record to the second cube.
For this in the report, I have given the Forecast sales values in the second column and right clicked the mouse and form the menu which I got, selected the u2018SAVEu2019 Option to save the data. For some time, I can see u2018Processingu2019 message and later values at u2018Forecast Salesu2019 are disappearing.
Data is not saving to the cube second cube.
====================================================
Am I missing any thing?
In the Query, Do I need to provide InfoProvider and restrict it to specific value?
In the query, Do I need to include, 0currency object?
Could you please guide me on this?
=============================================
Details of the Aggrigation level.
I have created an Aggrigation Level ZAL_Prod on MultiProvider.
Selected all the objects and activated.
In the Filter, I have taken 0Fiscal Year Variant and saved it.
Restrict Forecast sales to the Plan cube in the Query.
that should fix it.
Similar Messages
-
How to read data from a .txt file in real time
Hi
I am running a fortran code which takes around 1 week to run and output data are continuously saved in .txt files. I want to display these data and plot it against time in labview.
Lets say I have a array of real numbers starting from 1.0 , and every 2-3 sec another number is added (output of code). So I dont want end-of-file-reached error in my program and also want program to wait until next data is updated in .txt file.
I tried to make a simple read_txt_file.vi, but I am getting problems in terms of continous reading. Help !! Help !!
Pl see the attached vi.
Thanx
PKJ
Attachments:
FileReader.vi 43 KB
labview.txt 18 KBHi PKJ,
I modified your VI and it seems to do what you asked, that is, display the data from a file as the data is being added.
Hope it helps!
Message Edited by Dynamik on 11-08-2005 04:32 PM
Message Edited by Dynamik on 11-08-2005 04:34 PM
When they give imbeciles handicap-parking, I won't have so far to walk!
Attachments:
FileReader.vi 52 KB -
How to copy data from mac to external hard
how to copy data from mac to external hard
ok - since you'll be sharing it with a PC - connect it to your windows pc - then format from there - instead of NTFS format - choose exFAT.
or, you can read the link below on how to do it in dos mode.
http://answers.microsoft.com/en-us/windows/forum/windows_7-files/how-can-i-forma t-external-drive-in-exfat-not-in/0f6bf19a-19d6-4470-ae05-53ddf26bb476?msgId=1860 eae3-3488-4eea-8326-f87b89d9851b
once you've formatted it - you can now use it in both your macbook and windows computer. -
How to copy data from transparent table to our own ceated z table?
How to copy data from transparent table to our own ceated z table?
Plz tell me different methods and which one is best?
Is get data from sflight into table z* is correct?Hi Ajay,
let us consider you have to copy EKKO table to ZEKKO table
1. In ABAP program define internal table based on EKKO
<b> eg: i_ekko</b>
2. Select the data from EKKO to i_ekko
<b> eg: select * from ekko into table i_ekko.</b>
3. insert into Z-TABLE from the internal table
<b> eg: INSERT EKKO FROM TABLE I_EKKO.
COMMIT WORK.</b>
<u>To insert in internal table you can use the following:</u>
1. INSERT [wa INTO|INITIAL LINE INTO] itab [INDEX idx].
2. INSERT [wa INTO|INITIAL LINE INTO] TABLE itab.
3. INSERT LINES OF itab1 [FROM idx1] [TO idx2] INTO itab2 [INDEX idx3].
4. INSERT LINES OF itab1 [FROM idx1] [TO idx2] INTO TABLE itab2.
<u>To inert in database table, use the following:</u>
1. INSERT INTO <dbtabname> [CLIENT SPECIFIED] VALUES wa.
2. INSERT <dbtabname> [CLIENT SPECIFIED] FROM TABLE itab.
3. INSERT <dbtab> [CLIENT SPECIFIED]. oder
4. INSERT <dbtabname> [CLIENT SPECIFIED] ... .
<b>Reward points.. if helpful.
Cheers !
Moqeeth.</b> -
How to store data from a complex query and only fresh hourly or daily?
We have a report which runs quite slow (1-2 minutes) because the query is quite complicate, so we would like to run this query daily only and store in a table so for those procedures that need to use this complex query as a subquery, can just join to this table directly to get results.
However, I am not sure what kind of object I should use to store data for this complex query. Is data in global temp table only persist within transaction? I need something that can persist the data and be access by procedures.
Any suggestions are welcome,
CheersThank you for your reply. I looked at the materialized view earlier on, but have some difficulties to use it. So I have some questions here:
1.The complex query is not a sum or aggregate functions, it just need to get data from different tables based on different conditions, in this case is it still appropriate to use meterialized view?
2.If it is, I created one, but how to use it in my procedure? From the articles I read, it seems I can't just query from this view directly. So do I need to keep the complex query in my procedure and how the procedure will use the meterialized view instead?
3. I also put the complex query in a normal view, then create a materialized view for this normal view (I expect the data from the complex query will be cache here), then in the procedure I just select * from my_NormalView, but it takes the same time to run even when I set the QUERY_REWRITE_ENABLED to true in the alter session. So I am not sure what else I need to do to make sure the procedure use the materialized view instead of the normal view. Can I query from the Materialized View directly?
Below in the code I copied from one of the article to create the materialized view based on my normal view:
CREATE MATERIALIZED VIEW HK3ControlDB.MW_RIRating
PCTFREE 5 PCTUSED 60
TABLESPACE "USERS"
STORAGE (INITIAL 50K NEXT 50K)
USING INDEX STORAGE (INITIAL 25K NEXT 25K)
REFRESH START WITH ROUND(SYSDATE + 1) + 11/24
NEXT NEXT_DAY(TRUNC(SYSDATE), 'MONDAY') + 15/24
enable query rewrite
AS SELECT * FROM HK3ControlDB.VW_RIRating;
Cheers -
How to copy data from one column to other column
hi,
can any one tell me how to copy data of one column to other column for some specific data
example
productno ocalyear actualsales prevplansales currentplansales
p001 2007 100 120
p002 2007 90 100
p003 2007 120 130
p004 2007 140 120
p005 2007 150 150
i want to copy data of p001 and p002 from prevplansales to current plansales
productno ocalyear actualsales prevplansales currentplansales
p001 2007 100 120 120
p002 2007 90 100 100
p003 2007 120 130
p004 2007 140 120
p005 2007 150 150
is it possible to do?
please suggest me.
i will assign pointsHi,
I think the needed techniques are already described in the documentation, e.g. in
http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
or
http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
The main techiques used in the above example to bind the filter of the planning function to selected (marked) objects in the analysis item or to drop down boxes (or both). These techniques are used in the above examples.
Regards,
Gregor -
How to copy data from mac book to seagate hard disk
i cannot seem tp copy data on my external hard disk.how do i copy data from my mac book pro to seagate harddisk
See > Disk Formats
drpriyamahale wrote:
i cannot seem tp copy data on my external hard disk.
First... Make sure the EHD is Formatted Mac OS Extended (journaled)..
See > http://pondini.org/OSX/DU1.html
From here > http://pondini.org/OSX/DU.html -
How to copy data from mac to external HD Drive
How do i copy data from mac book to an external hard disk drive?
Click on the Desktop area (the area where there are no open windows or Dock)
Look at the menu at the top next to the small Apple, it should say Finder
Click on the File men and select New Finder Window
Click on the File men and select New Finder Window (or stick in a disk, a USB, connect a hard drive and double click on the icon that appears on the Desktop)
Grab the Window by the top area by clicking and holding the mouse button down so both are side by side.
Click on the sidebar or open folders on the first window to get to where your files are
Click on the sidebar or open folders on the second window to get to where your destination is going to be
Click and drag the files or folder from one window to the other
If this occurs between volumes, it will copy
If this occurs on the same volume, it will move them
If you want to copy on the same volume, use the Finder > File > Duplicate and move the copy -
How to read data from analog input and export it to a file using Components Works
I've made a simple application (Delphi 5 using the activeX) that read data from analog input channel 0. After I read the data, I want to export it to a file using the Components Works on a 6035E NIDAQ. (I'm not using labview and don't want to use it)
How can I do that???
Regards,
FrancisHere's a sample code to do this...
P.S.: If you read only one channel this code won't work.
function MyFunction: Integer;
var
Low, High, i, j, ChannelCount, RowCount: Integer;
Po: P;
begin
//you are reading multiple channel
ChannelCount := VarArrayHighBound(Buffer, 1);
RowCount := VarArrayHighBound(Buffer, 2);
for i := 0 to ChannelCount do begin
for j := 0 to RowCount do begin
WriteToDisk(Buffer[i, j]));
end;
end;
end; -
How to combine data from different input forms outside a nested iView
Hi,
i try to combine data from different input forms in a single one.
Because of space reasons in Flex compiling i already use nested iViews. Within these nested iViews its possible to use the 'combine' function to do this.
But in the main iView I cant compose these function with other elements. I need to do this because of using these model in Guided Procedures with output parameters. These parameters I only get with a 'endPoint'. Unfortunatly its not possible to combine data from different input forms into the 'endPoint'.
Is there any solution?
Thanx
MathiasHi Scott,
i tried this already and i also tried to map all parameters in the endpoint by drawing lines from the other forms and assign the 'empty parameters' by a formula.
And when i create a collable object in GP and assign the VC iView, only the parameters of the parent-form (the form who trigger the event) are shown as output-parameters.
Maybe any other ideas? I cant believe that such a simple thing is not possible?!?!
In my opinion, thats a bug, that I'am not able to use the combine-operator in the main VC-iView. Whats your mind?
greets
mathias -
How to copy data from one BB to another via Desktop Manager
I've got two BBs (8900 and 9300), both actively in use and with different data (contacts, memos, etc.) on them.
I need to copy my tasks, memos and contacts from 8900 to 9300. I tried "switch phones" option, but it substitutes data, while I need to syncronize it, so that data from 8900 is added to what is currently is on the 9300.
Is it possible to do it via Desktop Manager? It seems there was somewhere an option "copy data from another BB", but I can't find it in the latest Desktop Manager version.You would need to use Desktop Mangaer to sync BB1 with a local PIM program (such as Outlook or Lotus Notes) to get the information off BB1. Then use Desktop Manager to sync BB2 with the same PIM program.
-
How to copy data from one planning area to other planning area
Hi ,
I need to copy data from one planning area to other planning area, the MPOS for two planning areas are differant and here my scenario is one planning area having extra key figures.
First i need to release forecast data to CIP planning area and then, i load the data from infocube to MPS planning area and copy the data from CIP planning area. here both MPS and CIP planning areas having different MPOS .
Please help me in this. Please give me the stepls i need to follow.
Thanks in advance.
Regards,
ChanduHi,
You can use the transaction /sapapo/tscopy.
In this you can configure your source plng area and destination plng area. You also have an option to map your KF. There is no problem if the MPOS are different as long as you are able to map the characteristics between the 2 MPOS.
Alternatively, you can create an Infocube which shares common ground between the 2 planning areas and extract data from CIP plng area into the infocube and then copy teh data from infocube to MPS plng area using the the transaction /sapapo/tscube.
Hope this helps.
Thanks
Mani Suresh -
How to submit data from multiple Input Ports in single SUBMIT button click
Hi,
I am in SPS8.
What exactly steps I need to perform to submit data from multiple Input Ports.
I couldn't able to submit One input Form and one Input Table to BAPI data service in single SUBMIT button click.
I debugged the VC application in SPS8.
While debugging, I found that when I click the SUBMIT button in the Input Form, Only data in that Input
form are being passed to the BAPI, But not the Table Form data.
If I click on the SUBMIT button in another Input Table, Only data from that table is being passed to the BAPI, but not the Input form data.
Essentially I need to submit both of them in one SUBMIT button.
Thanks,
RamakrishnaRamakrishna,
From the word document that you sent to me the steps you are missing to map the appropriate information into the BAPI is first you are not mapping all data rows into the table input port. To do this double click on the input table view and change your selection mode from single to multiple. Then when you click on your link between the BAPI and your input table you will see a new option appears under data mapping "Mapping Scope" select All Data Rows.
That's the first part of the problem to get the BAPI to recognize both the inputs coming from the form and the table eliminate the submit button from the form. Drag and drop a link from the output port of the table view to the Input port of the BAPI. Double click on the link between the BAPI and the table view and open the expressions editor for the two fields:
1/ Automatic Source
2/ SKIP_ITEMS_WITH_ERROR
On the hierarchical folder structure on the right expand expand the Data Fields node to find the fields from the form and map them accordingly.
Now when you hit the submit button on your table it should pass the BAPI all the parameters from both the form and the table.
Hope this helps,
Cheers,
Scott -
How to Copy data from field symbol to Dynamic Internal Table
Hi,
I want to copy the data between two dynamic Internal tables . Following is the code were I have data in the field symbol wanted to transfer it to the other Internal table :
REPORT ztest.
DATA:
gd_dref TYPE REF TO data,
gd_dref1 TYPE REF TO data.
FIELD-SYMBOLS: <fs1> TYPE any,
<fs_wa> TYPE any,
<field> TYPE any,
<fs_wa1> TYPE ANY TABLE. * Contains data from p_src
*Copy data from p_src to p_dest*
PARAMETERS: p_src LIKE dd02l-tabname . * Name of Dynamic Internal table *
p_dest LIKE dd02l-tabname . * Name of Dynamic Internal table*
*DATA : lt_csks LIKE p_dest WITH HEADER LINE.
START-OF-SELECTION.
CREATE DATA gd_dref TYPE (p_src).
CREATE DATA gd_dref1 TYPE TABLE OF (p_src).
ASSIGN gd_dref->* TO <fs_wa>.
ASSIGN gd_dref1->* TO <fs_wa1>.
SELECT * FROM (p_src) INTO TABLE <fs_wa1>.
*Write out data from FIELD SYMBOLS TO Table.
loop at <fs_wa1> into <fs_wa>.
do.
assign component sy-index
of structure <fs_wa> to <field>.
if sy-subrc <> 0.
exit.
endif.
if sy-index = 1.
write:/ <field>.
else.
write: / <field>.
endif.
enddo.
endloop.
*Need Logic To Copy the Data to p_dest table from <fs_wa1>.
*p_dest is a table having a similar structure to table p_src .
*Need Logic To Copy the Data to p_dest table from <fs_wa1>.
EXIT.
Thanks in Advance.try this...
I have extended your source code and just used vbak/vbap as an example as they have some common fields like vbeln/erdat etc which corresponds with your requirement of 'similar structure' i.e. shared/common fields in both.
Cheers...
report ztest.
data:
gd_dref type ref to data,
gd_dref1 type ref to data,
gd_dref_str type ref to data,
gd_dref_tab type ref to data.
field-symbols:
<fs1> type any,
<fs_wa> type any,
<fs1_dest_str> type any,
<fs_dest_tab> type any table,
<field> type any,
<fs_wa1> type any table.
* contains data from p_src
*Copy data from p_src to p_dest*
parameters: p_src like dd02l-tabname default 'vbak',
* name of dynamic internal table *
p_dest like dd02l-tabname default 'vbap'.
* name of dynamic internal table*
*data : lt_csks like p_dest with header line.
start-of-selection.
create data gd_dref type (p_src).
create data gd_dref1 type table of (p_src).
assign gd_dref->* to <fs_wa>.
assign gd_dref1->* to <fs_wa1>.
select * from (p_src) into corresponding fields of table <fs_wa1>
up to 3 rows
where vbeln ne space.
create data gd_dref_str type (p_dest).
create data gd_dref_tab type standard table of (p_dest).
assign gd_dref_str->* to <fs1_dest_str>.
assign gd_dref_tab->* to <fs_dest_tab>.
*write out data from field symbols to table.
loop at <fs_wa1> into <fs_wa>.
" break-point here - can see vbeln/waers/create date/ etc move over to new structure
" the 'common' fields of your structures - the same will happen. if they not the same name you will have to do an
" explicit move i.e. if fieldname = xyz ....move fieldxyz to new field123....after the move-corre
break-point.
move-corresponding <fs_wa> to <fs1_dest_str>.
insert <fs1_dest_str> into table <fs_dest_tab>.
** do.
** assign component sy-index
** of structure <fs_wa> to <field>.
** if sy-subrc <> 0.
** exit.
** endif.
** if sy-index = 1.
** write:/ <field>.
** else.
** write: / <field>.
** endif.
** enddo.
endloop.
" write out some dest data from the dest table build from previous loop
loop at <fs_dest_tab> assigning <fs1_dest_str>.
do.
assign component sy-index of structure <fs_wa> to <field>.
if sy-subrc <> 0.
exit.
endif.
if sy-index = 1.
write:/ <field>.
else.
write: / <field>.
endif.
enddo.
endloop. -
How to copy datas from a table to a file.
Hi,
Can Someone help me how to do this using queries or procedures.
I want to copy the datas from the table to a flat file (eg. text or excel).
example:
CREATE TABLE emp
(FCST_DATE DATE,
LEVEL1 VARCHAR2(2000) ,
Sal NUMBER,
Insert into emp (FCST_DATE,LEVEL1,Sal) values ('01-MAR-11','175-12','1');
Insert into emp (FCST_DATE,LEVEL1,Sal) values ('01-JAN-11','319-10','100');
Insert into emp (FCST_DATE,LEVEL1,Sal) values ('01-AUG-11','175-1L','10');
select * from emp;
fcst_date Level1 Sal
01-JAN-11 319-10 100
01-AUG-11 175-1L 12
01-MAR-11 175-12 1
I want this table information in a file.
Can someone help!
PadmaHi Padu,
Use SQLPLUS commad SPOOL for exporting sql query result.
and see : Sqlplus – spool data to a flat file
Maybe you are looking for
-
Display custom error message in enhancement spots
Hi all, Is there someone here who've encountered having the need to display custom error message in an enhancement spot? Could you help me please.. I can't find any reference from the net. Thanks in advance Regards, Aris
-
Applescript & Outlook; make new contact
Hi all, I'm working on an Applescript that will allow me to create a new contact in Outlook. This is what I have thus far based on some old Entourage code and the Applescript Outlook dictionary: tell application "Microsoft Outlook" activate mak
-
Hi SAP Gurus, I am trying to integrate MDM 5.5 SP02, XI 3.0 SR1, and IDES R/3 4.7 x 200 Enterprise. 1)Now for the flow of idocs I have to mention the interface names in the integration directory (As mentioned in MDM 5.5 SP03 Scenario Configuration Gu
-
Nasty black borders around clicked items
I am suddenly getting nasty black borders around file names I click on (and not just in the finder). Although ugly I would be able to live with if it wasn't for the fact that they can remain on the screen. It looks like corruption. Does anyone have a
-
Simple update on itunes. now cant access.
I simply updated iTunes to 11.1.4 and now I cant access my screen sharing from my snow leopard. I could before I updated. sometimes I want to give up on apple products and all the crazy updates. any suggestions???