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
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 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 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
Swatiswathi..
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 -
How to pass data from one internal session to another internal session
hi all sap experts ,
How to pass data from one internal session to another internal session and from oneExternal session to another external session.
Except : Import and Export parameters and SPA/GPA parameters.
Tell me the otherWay to pass data ..
Plz
Thanks in advancehi,
abap memory management u will understand about this concept.
the import /export parameter will help u that passing data between two internal sessions by using abap memory.
for syntax
Passing Data Between Programs
There are two ways of passing data to a called program:
Passing Data Using Internal Memory Areas
There are two cross-program memory areas to which ABAP programs have access (refer to the diagram in Memory Structures of an ABAP Program) that you can use to pass data between programs.
SAP Memory
SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens (see below).
ABAP Memory
ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse. For further information, refer to Data Clusters in ABAP Memory.
Filling Input Fields on an Initial Screen
Most programs that you call from other programs have their own initial screen that the user must fill with values. For an executable program, this is normally the selection screen. The SUBMIT statement has a series of additions that you can use to fill the input fields of the called program:
Filling the Selection Screen of a Called Program
You cannot fill the input fields of a screen using additions in the calling statement. Instead, you can use SPA/GPA parameters. For further information, refer to Filling an Initial Screen Using SPA/GPA Parameters.
Message was edited by:
sunil kumar
Message was edited by:
sunil kumar -
How to pass data from one internal session to another
Hi SAP Experts,
How to pass data from one internal session to another and from One external session to another external session. I used import and export parmeter and SPA/GPA parameters. What is the other way to pass data?
Please tel me urgently
Thank you
BasuMemory Structures of an ABAP Program
In the Overview of the R/3 Basis System you have seen that each user can open up to six R/3 windows in a single SAPgui session. Each of these windows corresponds to a session on the application server with its own area of shared memory.
The first application program that you start in a session opens an internal session within the main session. The internal session has a memory area that contains the ABAP program and its associated data. When the program calls external routines (methods, subroutines or function modules) their main program and working data are also loaded into the memory area of the internal session.
Only one internal session is ever active. If the active application program calls a further application program, the system opens another internal session. Here, there are two possible cases: If the second program does not return control to the calling program when it has finished running, the called program replaces the calling program in the internal session. The contents of the memory of the calling program are deleted. If the second program does return control to the calling program when it has finished running, the session of the called program is not deleted. Instead, it becomes inactive, and its memory contents are placed on a stack.
The memory area of each session contains an area called ABAP memory. ABAP memory is available to all internal sessions. ABAP programs can use the EXPORT and IMPORT statements to access it. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
All ABAP programs can also access the SAP memory. This is a memory area to which all sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters are often used to preassign values to input fields. You can set them individually for users, or globally according to the flow of an application program. SAP memory is the only connection between the different sessions within a SAPgui.
The following diagram shows how an application program accesses the different areas within shared memory:
In the diagram, an ABAP program is active in the second internal session of the first main session. It can access the memory of its own internal session, ABAP memory and SAP memory. The program in the first internal session has called the program which is currently active, and its own data is currently inactive on the stack. If the program currently active calls another program but will itself carry on once that program has finished running, the new program will be activated in a third internal session.
Data Clusters in ABAP Memory
You can store data clusters in ABAP memory. ABAP memory is a memory area within the internal session (roll area) of an ABAP program and any other program called from it using CALL TRANSACTION or SUBMIT.
ABAP memory is independent of the ABAP program or program module from which it was generated. In other words, an object saved in ABAP memory can be read from any other ABAP program in the same call chain. ABAP memory is not the same as the cross-transaction global SAP memory. For further information, refer to Passing Data Between Programs.
This allows you to pass data from one module to another over several levels of the program hierarchy. For example, you can pass data
From an executable program (report) to another executable program called using SUBMIT.
From a transaction to an executable program (report).
Between dialog modules.
From a program to a function module.
and so on.
The contents of the memory are released when you leave the transaction.
To save data objects in ABAP memory, use the statement EXPORT TO MEMORY.
Saving Data Objects in Memory
To read data objects from memory, use the statement IMPORT FROM MEMORY.
Reading Data Objects from Memory
To delete data clusters from memory, use the statement FREE MEMORY.
Deleting Data Clusters from Memory
please read this which provide more idea about memory
Message was edited by:
sunil kumar -
How to move BCS data from one box to other
Hello Expert,
Dose any one know how to move BCS data from one box to other box ?
Thanks & Regards,1) The best is to do the test. In my case, my customer was just doing this transfer (in full) to perform tests on the BEX reportings. Actually, they never raised any issue regarding document number when they did additional postings in test system... I would also say that during the transfer, the number counter in Qual gets not synchronized with the one in Prod. So, I think the system will just take the next number available in Qual. Should not be an issue.
2) As explained in answer 1), in my case, the purpose was not to perform data migration from one system to the other one. Thus, my customer never performed a subsequent consolidation in the target system. But, basically, the transfer copies all data : posting levels 00 to 30, for all periods you have selected + Additional financial data and sequence of activities. Thus, for me, everyhting is available in the target system, including COI documents. In other words, the "picture" regarding the data should be exactly the same between both system. The only thing you need to pay attention to is the customizing : it must be the same in Qual and Prod (example : date of acquisition and divestiture, structure of the group, etc...).
Another very important thing, is that your export data source must not be enriched due to the BCS Delta load scenario. If it is the case, the system will write the consolidation logic (i-e the consolidation group + reporting mode) when transferring the data from the source Real Time Infocube to the Target Real time infocube, which will lead to inconsistent data in the target system. -
How to Migrate VO Extension from One Instance to Other
Hi,
How to Migrate VO Extension from One Instance to Other.
Thanks
VishnuMove the VO.xml and Class files as usual to other Environment.
Also move the .jpx of the Project and run the jpx importer.
Thanks
--Anil -
How to port a Sebel BI Dashboard from one instance to other instance
Hi,
I am in search of find a way to port the Oracle Sebel BI Dash board from one instance to other. When we complete the Dash board in a test instance how can we port it into to production.. is there any way to port the bash board are we need to develop it again in the production.
Thanks
Abdul Hafeez ShaikIdentify the "class=MyStyle" string in the MTML code, and use the Multi-File Find and Replace feature to step through each topic and change the specific instances to "class=MyOtherStyle." (I doubt that you'll want to "Replace All".)
Sorry, there's no silver bullet!
Good luck,
Leon -
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. -
How to pass Data from one form to the other
Hi all
Can any one suggest me how to pass data from one form to the other form, which i zoomed from the original one?
I tried to do this by passing parameter in Event Procedure but i am getting error msg when i am opening the zoomed form.
If any one of u have any idea, give me a reply
Thank you
SuhasiniIf you choose the second alternative you should erase these global variables after the second form is opened
You can erase the global variable using:
erase('global_var')
Greetings,
Sim -
Preserve data from one instance of a workflow to another
Hi all,
I have a quite general question which has been bothering me for a while. It has to do with preserving data between instances of a workflow.
What I need is to preserve some data from one instance of a workflow (as a task in the WF) and then stall the WF for some time - actually it must be stalled until another workflow finishes (this second WF should batch a number of tasks which should be sent (together with all the data) in a form to a different user).
However when this second WF finishes it must thus send a "continue message" to all the instances of the first so that they can continue from their previous states.
I hope you can understand the scenario, otherwise I'll try to elaborate further.
If you could have some hints for what activities in the Workbench I should use and some pointers for pitfalls I would be very greatful.
Thanks in advance
Sincerely
Kim ChristensenCan't you just add your other workflow (child) as as step in the main workflow and set the Invocation Policy to "Wait for Response". This will ensure the main workflow will wait for the end of the child workflow.
Jasmin -
How to import data from excel or csv files to Oracle table
hello everybody,
I am new here and new in Oracle. I would like to know the steps how to import data from excel or csv files to Oracle table.
Let say I already have table inside the Oracle. Then my user give me the sets of data inside the Excel Worksheet.
So, how can I import the excel data into Oracle table.
Thank you in advance.
cheers,
shimaEven easier. Download JDeveloper 11G from this site.
Set up the database connection, right click on the table, select Import->Excel and specify your file to load it. On the import pop-up, you must view and update each tab indicating Columns, Data Types, and DML.
Columns -- move the selected columns that you want to load to the box on the right
Data Types -- select column name from second column to which the data for each column of the import file should load
DML -- click this tab to generate the INSERT SQL
Once done click 'Insert' -
How to import data from CSV to TCode COR6N
Hi friends,
Please help me. I don't know how to import data from CSV file to TCode COR6N. (time ticket for production order)
I used function: BAPI_PRODORDCONF_CREATE_TT to fill information into TCode COR6n, but it thrown error: "Orders of the order type ZP01 cannot be confirmed". ZP01 is my Order Type.
Thanks in advance.
Nguyen Phuoc Toan.You can use the LSMW tool to do this.
The details of LSMW BAPI method is as follows :-
Business Object:- BUS2116
Method:-CREATEPREDEFTIMETICKETMULTIPLE
Message Type:- PPCC2PRETTICKET
Basic Type:- PPCC2PRETTICKET01
Regards
Dhirendra -
How to import data from CSV to TCode COR1?
Hi SAP PP guru,
How to import data from CSV file to TCode COR1?
Thanks in advance,
Nguyen Phuoc Toan.Nguyen,
You have not yet confirmed what your requirement is?
You can take the help of ABAP person to understand what BDC or LSMW is about, basically this is a tool provided by SAP that would enable you to record a transaction process and you can use the code to perform the transaction in mass. [Help on LSMW|http://help.sap.com/erp2005_ehp_04/helpdata/EN/ad/2d54a41d7011d2b42e006094b944c8/content.htm]
Regards,
Prasobh
Maybe you are looking for
-
Why doesn't my boolean controls work?
I'm building an user interface and I have a tab control with several options. In the tabs I have Boolean controls that are always in the false state. Why does this happen? I'm running LabVIEW 6.1 in Windows XP.
-
how to fix the error message itunes can't sync apps because it can't determine what apps are installed
-
RE:Migration of KM content
Hi Experts I want to migrate KM content from development to production server (EP7).Will the metadata propeties get migrated if i use ICE protocol.I also need to migrate the properties related to search. Will i be able to achieve this through ICE p
-
Print issues when printing a muse page from internet explorer and opera
When I try to print a page on my muse site in internet explorer or opera it goes a little crazy. Everything is huge and thrown all over the place. When printing the same pages in firefox or safari it is fine. Any help?
-
My laptop is having firefox 5 but i want to download firefox 3.5.6 or firefox 3.6. How do i do it?