How to copy data from one cube to other?
Hi experts
I have 2 system defined cubes..
Now in 1st cube there is data till 2007 which is coming from 2LIS_04_P_MATNR.
I want to copy this data in 2nd cube..
Please suggest me.. how can I do it?
Regards
Swati
swathi..
create a export datasource option for exisintg the cube...
Then replicate the same exported datasource which you craetd.
Then do the trasnformation one to one from the exisitng cube(i mean which the datamart crated by u)
Now load the infopackage from the old cube to new cube...
we implemented the same in many of our data targets in the current project
Similar Messages
-
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 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 copy query from one cube to another ? OR atlest a KF strecture?
Hello edperts,
just wanted some tips on coping a query or KF strecture from one cube to other . i am trying to use TCODE RSZC, but bcoz some of the chars. are not present in the target cube i a m not able to copy it.
But, looks like both the cube has save KFs, so i thought atlest let me copy KFS , so i just have to pull manually chars. but thats also not working..
Is there any back door way to do it ? please help me, it might save lots of time.
Appreciated.Hi,
Check the below article, it might help you out.
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/204111a9-0fca-2d10-219c-be20e686cdb5?QuickLink=index&overridelayout=true]
Regards,
Durgesh. -
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 table to another (in other database)
Hi. I would like to copy all rows from one table to another (and not use BC4J). Tables can be in various databases. I have already 2 connections and I am able to browse source table using
ResultSet rset = stmt.executeQuery("select ...");
But I would not like to create special insert statement for every row . There will be problems with date formats etc and it will be slow. Can I use retrieved ResultSet somehow ? Maybe with method insertRow, but how, if ResultSet is based on select statement and want to insert into target table? Please point me in the right direction. Thanks.No tools please, it must be common solution. We suceeded in converting our BC4J aplication to PostgreSQL, the MSSQL will be next. So we want to write simple aplication, which could transfer data from our tables between these 3 servers.
-
How to copy data from one transaction to the next (F-43)
All,
I have a situation where it appears the due date of an invoice is being copied from a previous invoice entry. Can anyone tell me is there a process where the user can have data default from one invoice to the next and if so is the due date (planning date) one of those fields?
Thanks
SandraI understand how it is supposed to work. However, I have production examples of that not happening and I'm trying to figure out how. The only way I have been able to replicate the issue is when I manually enter the due date when entering the invoice the calculation of baseline date + #of days does not happen. Users say they are not manually entering a date so I'm trying to find a way the date could be entered without the users knowledge.
Regards
Sandra -
Regarding Load data from one cube to other cube in BW 3.X
Hello Experts,
Here is my scenario. I have one cube say c1 from which i need to transfer data into the cube say c2 which has material code <> blank and sales quantity is 0 . We are using BW 3.x.
Now how do i do that.
Kindly Help Urgently.you have to write the below code in the start routine of your update rule.
DELETE DATA_PACKAGE WHERE MATERIAL IS INITIAL AND SALES_QUANTITY NE 0.
This code will delete the records where material is blank and sales quantity not equal to zero.
So at the end of the start routine, you will get only those records with material not blank and sales quanity equal to 0.
--- Thanks... -
How to pass data from one component to other component.
Hi,
I have created a table view in Item Details Page Under Price Agreement Assignment Block. Price Agreement Assignment Block has one table as standard. I have created one more view Under the Assignment block of Price agreement(CRMCMP_CND). In that view I have an option to enter data when the user click on edit. In that custom view, If user cnages to edit mode and enter data. it has to save when user click's on save button in Quotation page(BT116QH_SRVQ). From Quotation page user clicks on item to get the Item details. In the Item details there is an Price Agreement Assignment Block. In that Custom view was created and assigned to it. Data entred in that view needs to be stored when user clciks on Save button on Quotation page when he comes back. How to get the custom view data from CRMCMP_CND to BT116QH_SRVQ). Please advice. Thanks In Advance.Hi Satish,
Global custom controllers are not available everywhere. So before using them please make sure that they are available for your case.
http://sapdiary.com/index.php?option=com_content&view=article&id=2402:sap-network-blog-interaction-center-global-custom-controllers&catid=81:data-services&Itemid=81
if you find problems in navigating data using component controllers then you can also navigate it through navigation links.
If you see your outbound plug method op_xxxxx, then there is a method call to navigate method. This method has an option to pass your data collection. Pass your data collection and also inbound plug so that in target component you can read and temporarily store data as soon as you hit target component.
Hope that helps,
BJ -
How to import data from one instance to other
Hello all,
I want to modify the data in one dev instance from production instace ,but in same table can any help me out with command how to retreive the data from other instance
example:
I want to change the email address of a person in per_all_people_f table in development instance which has the accurate data in production instance ,I am using the update statement how should I relate them and how to change the value?You can create one dblink in dev db to Production db with the user/schema the live table belongs. Then you can accesss the live table in dev db.
eg.
Run in Dev db
create database link "live_db.WORLD"
connect to live_user
identified by <pwd>
using 'live_tns_name';
select * from live_table@live_db;
Now the remore live table is available in dev db just as if a local table.
You can play with its data.
But remember to remove the dblink after your work is done.
drop database link live_db; does the work
cheers...
Message was edited by:
golden Arrow -
How to copy data from one node to another or fromone table to another table
Hi,
I have a two tables.I am populating data in first table and on the click of first table ,selected row data should be copied to the second table.
How do i achieve this requirement and what should be the cardinality of the second table
Thanks
Bala DuvvuriHi,
For this u have to fetch the selected row.
For fetching the selected row go to the events of first table and select "OnLeadselect".
Create a new method for this.
Now in this method read the value of the selected row with method get_static_attributes.
with this u will have the selected row in the element.
not just bind this elemnt with the second table.
Second node will also have the cardinality 0:n, because this is also binded with the table.
Coding part for this is as below:
method ONACTIONSELECT .
DATA lo_nd_cn_mara TYPE REF TO if_wd_context_node.
DATA lo_el_cn_mara TYPE REF TO if_wd_context_element.
DATA ls_cn_mara TYPE wd_this->element_cn_mara.
DATA ls_cn_mara1 TYPE wd_this->elements_cn_mara.
navigate from <CONTEXT> to <CN_MARA> via lead selection
lo_nd_cn_mara = wd_context->get_child_node( name = wd_this->wdctx_cn_mara ).
@TODO handle not set lead selection
IF lo_nd_cn_mara IS INITIAL.
ENDIF.
get element via lead selection
lo_el_cn_mara = lo_nd_cn_mara->get_element( ).
@TODO handle not set lead selection
IF lo_el_cn_mara IS INITIAL.
ENDIF.
alternative access via index
lo_el_cn_mara = lo_nd_cn_mara->get_element( index = 1 ).
@TODO handle non existant child
IF lo_el_cn_mara IS INITIAL.
ENDIF.
get all declared attributes
lo_el_cn_mara->get_static_attributes(
IMPORTING
static_attributes = ls_cn_mara ). " here u are getting the selected row of the table.
APPEND ls_cn_mara to ls_cn_mara1. " append the row in the table so that can be binded with the second node
DATA lo_nd_cn_maraout TYPE REF TO if_wd_context_node.
DATA lo_el_cn_maraout TYPE REF TO if_wd_context_element.
DATA ls_cn_maraout TYPE wd_this->element_cn_maraout.
navigate from <CONTEXT> to <CN_MARAOUT> via lead selection
lo_nd_cn_maraout = wd_context->get_child_node( name = wd_this->wdctx_cn_maraout ).
Bind the table with the second node
lo_nd_cn_maraout->bind_table( ls_cn_mara1 ).
endmethod.
->cn_mara is the first node.
->cn_mara1 is the second node
Thanks,
Pankaj Aggarwal
Edited by: Pankaj Aggarwal on Nov 19, 2008 7:40 AM -
How to copy data from one internal table to another
i am using some function module to get some data for my function module
and the retrieved data is not getting populated in mu fumctional module
i am sucessful in getting the data to an internal table in my function module but dont know how to pass it to my table parameter
thanks in advanceHi Naval,
Declare an internal table of type table parameter structure and pass it the table parameters of the Function module.
Check the code for this function module.
DATA IT_MARA LIKE MARA OCCURS 0 WITH HEADER LINE.
SELECT * FROM MARA UP TO 10 ROWS INTO TABLE IT_MARA.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = 'C:\TEST.TXT'. FILETYPE = 'ASC'
WRITE_FIELD_SEPARATOR = 'X'
<b> TABLES
DATA_TAB = IT_MARA</b>
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks,
Vinay -
Dump while loading data from 1 cube to other cube
Hi,
We created a direct mapping between 2 cubes ( no start/end routines, formula exist in the mapping). Strange part is while I am loading data from one cube to other cube all data packages executing successfully only last data package giving dump with ITAB_DUPLICATE_KEY. This is in our QA system. But it is working/loading correctly in DEV.
Please help. Thanks in advance for your support.
Regards,
SaiHi Sai,
Please refer to below blog for ITAB Duplicate Key error.
ITAB_DUPLICATE_KEY Dump error during Master Data loading
This can occur when a BW client has many different source systems, unused objects still remains, creating a duplicate entry in RSISOSMAP table.
Regards
Shabnam -
Move data from one cube to another cube
Hi,
I am on BW 3.5 and I have moved the data from one cube to another cube and found that the number of records in the original cube does not match to the newly created cube. for eg. if the original cube contains 8,549 records then the back up cube contains 7,379 records.
Please help me on what I need to look on and if in case the records are getting aggregated then how do I check the aggregating record.
Regards,
TysonDear tyson m ,
check with any update rules in ur transfer.If so check in it.
Just go through these methods for making transfer from one cube to another cube fully without missing data.
Update rules method
if it's updated from ods, you can create update rules for cube2 and update from ods
or you can try datamart scenario
cube1 right click 'generate export datasource'
create update rules for cube2, assign with cube1
rsa1->source system->bw myself, right click 'replicate datasource'
rsa1-> infosource -> search 8cube1 name
(if not get, try right click root note 'infosource'->insert lost node(s)
from that infosource, you will find assigned with datasource, right click and 'create infopackage', schedule and run.
Copy from
While creating the new cube give the cube name in the "Copy from" section. It would copy all the characteristics and Key figures. It would even copy the dimensions and Navigational attributes
Another option is:
The steps for copying the contents of one cube to another:
1. Go to Manage -> Recontruct of the new cube.
2. Select the "selection button"(red , yellow, blue diamond button).
3.In the selection screen you can give the technical name of the old cube, requests ids you want to load, from & to date.
4.Execute and the new cube would be loaded.
Its all that easy!!!!!!
Refer this link:
Copying the structure of an Infocube
Reward if helpful,
Regards
Bala -
How to transfer data from one system to another by datamart please give de
how to transfer data from one system to another by datamart please give details
Hi Deba,
Find the below SAP help doc which may help u...
http://help.sap.com/saphelp_nw70/helpdata/en/12/43074208ae2a38e10000000a1550b0/frameset.htm
Also find the below threads...
Loading data from one cube to another cube.
data copy from infocube to infocube in two different BW systems
Delta when loading from ODS to ODS
reg datamart
Data mart flag
Regards,
KK.
Maybe you are looking for
-
FRM-40202:field must be entered
In R12, under Service Contracts; when navigating between the two blocks 'FRM-40202' error is thrown indicating 'Field must be enetered'. Duplication Instructions: 1) Create a new service contract with 2 usage lines and add 1 counter at subline level
-
Mac OS X 10.6 will not install updates
I continue to get an error message when installing software updates for Java Update 10 and iTunes telling me the selected updates could not be installed due to an unknown error.
-
Got the new AirPort Extreme. Trying to connect my Linksys SPA941 phone to it. Mute button flashes so call receiver cannot hear me. Tested wires..All good. Changed modem..All good. Had same issue with Linksys router EA4500 i just traded in. Hoped
-
I want to know the PO's created on a particular day with time. I went on to the SE16 & entered the table MKPF @ the inital screen and in layout I gave the time of entry. When I enter the doc. No. & date the system doesn't gave me the Time of entry.
-
Dynamic images in Form Builder?
Any idea about including images dynamically? An example: how to print a form with the photo of the involved employee? Images could be available via http... Thanks a lot