Client copy with different number of tables.
Hi,
I want to do a client copy between Client '100' and Client '200'. There are 121 tables in Client 100 and 101 tables in Client 200. Is the client copy possible. If yes what are the steps.
Another question is. Is the reverse possible ie copying of client 200 (with 101 tables) to Client 100 (with 121 tables). If yes how. And also i would like to know what will be the state of 20 tables( not available in client 100). What i mean is, will these 20 tables become empty(data erased) or will contain the data as was before the client copy.
Regards
Naeem
Dear Naeem,
Kindly let us know are you doing local client copy or remote client copy . If you are doing client copy then system is on same PS level . If you are doing local client copy just perform test run and find out the differences .If it is remote client copy ,Its better to perform client export and import .
Thanks and Regards,
Arun Kumar
Similar Messages
-
Client copy with configuration data in R/3. Is there any effect on EBP sys
Hi all,
We are using classic scenario. Our client is reorganizing their Org structure for that we need to do client copy with only configuration data.
In this scenario we are uploading the master and transactional data through ALE in order to retain the same number ranges and the same data in EBP system.
My doubt is when we do config steps Define logical system and assign the logical system to the client and define Idoc message types etc... Is it necessary to run BBP_LOCATIONS_GET_ALL job. If yes the same data like Plant and storage location and all master data will override the existing data or not. And what about the open Purchase orders and open goods receipts.
Can you please reply immediately. It is very urgent.
Thanks in advancewaiting online
-
Differences between client copy with sap_all and database copy
What's the difference between client copy with sap_all and doing a database copy.
I know if I do a database copy from Production to our Quality system.
I need to install the license key
restore the production library to the quality library
Initialize TMS and so on.
I know if I want to copy to our Development system. I would need to run either a remote client copy or and export/import since I cannot do a database copy because I would loose all my other clients in Development.
My question is, if the quality systems and the production systems are on the same support packs, same kernel.
What does a database copy give you (besides being faser) that a remote client copy or export/import of a client copy does.
Any differences
Thanks
JoeHello Joe,
If there is inconsistent Z tables between QAS and PRD, remote client copy could fail, especially when the table on PRD has longer length or more fields than the one on QAS.
Also the source client should has no-activity during the client copy, otherwise the application data could be inconsistent. For example, some material documents are copied, but not the corresponding financial documents. (For PRD client, it could be hours between the times those tables are copied.) For database restore, it is rarely an issue.
Best regards,
Victor -
Create n tables with different number names
Hi guys, I work with SQL Server 2008 and OS Windows Server 2008 R2 64 bits. I have to create 10 tables with different names e.g. 'Image1', 'Image2', and so on. For this goal, I use a loop and concatenation. Here is the code:
DECLARE @i INT
DECLARE @v_table_n CHAR
SET @i=1
SET @v_table_n='Image'
WHILE (@i<=10)
BEGIN
DECLARE @STR VARCHAR(100)
SET @STR = 'CREATE TABLE SQL_DB_Filestream.dbo.Image1' + @v_table_n + CAST(@i AS VARCHAR(10)) + ' (
[ID_RowFeatVec] INTEGER NOT NULL PRIMARY KEY,
[CF1] FLOAT,
[CF2] FLOAT,
[CF3] FLOAT
EXECUTE @STR
SET @i = @i + 1;
END
GO
As a result, an error message appears:
"The name 'CREATE TABLE SQL_DB_Filestream.dbo.Image1I1 (
[ID_RowFeatVec] INTEGER NOT NULL PRIMARY KEY' is not a valid identifier."
I have tried a lot of versions but it doesn't work.
What am I doing wrong?
Best wishes
SV_proj>> I have to create 10 tables with different names e.g. 'Image1', 'Image2', and so on. For this goal, I use a loop and concatenation. Here is the code: <<
1) An SQL Programmer would write ten CREATE TABLE statements. Are you old enough to know about Rube Goldberg? He was a cartoonist who invented inanely complex device for simple task!
2) Ten identical tables is a huge design flaw. It is so awful I want to use it in one of my books. Tables are sets. A set is completed whole, or as Cantor said “a many that is treated as a one” (it sounds cool in German or Esperanto).
3) We hate loops in SQL. This is a declarative language. I will bet you have no idea what that means.
What you want to do is mimic a magnetic tape file system from the 1950's. We used to put a label on the tapes based on the date or a sequence number. Not a completed whole.
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
Is it possible to create Order type with different number ranges-Plant wise
Hi Experts
Client wants to get the different number ranges for the order types created in the different plants. Is there any user exit for the same.
I have assigned the order type to the different plants. And Order type is assigned to a no range. So whenever a order type is created in different plants; order types uses the same number ranges.
so with this situation one cann't know the total no. of order created within a plant.
Is there any solution for the same.
Pease give your valuable solutions.
Regards
PankajHi
Best way is to create different order types for different plants.
like we have order types OR15 ,OR20 & OR30 for different plants 1500 ,2000 & 3000 .
you can assign different number range for different order type.
this is simplest solution.
Regards
Sujit -
Copy Package: Different number of members
When I do a standard copy package of two categories into one, I get a warning:
Warning: Different number of members
Is this new to OS 5? I don't remember having this issue with 4.2. Can you not copy data from two categories into one?Even in 4.2 the standard copy packages would only support 1:1 member relationships. We always ended up writing either a custom package or a short logic script to combine data. If you were doing this in 4.2 and it was working, then it was something customized.
-
Client Copy with return code error :W
Hi Gurus,
When I am copying from Prod. client 500 to Quality Client 400 in (ECC 6), I am getting
'Program ended with error or warning, return code: W"
can any body please give soultions for this
Regards
GokulHello Mr. Bhavik,
I had check in SCC3 client copy log and all error was got in test run, below gives details of log and examples of some table details log please help me what I can do?
Target Client 400
Source RFC Dest.: CLNT500TRP
System Name: TRP
Client in Source System 500
Copy Type Remote copy
Copy Type Test Run
Profile SAP_ALL
Status Completed w. Dictionary Errors
User BASIS
Start on 27.03.2010 / 11:33:21
Last Entry on 27.03.2010 / 12:20:36
Statistics for this Run
No. of Tables 52598 of 54115
Deleted Lines 5394087
Copied Lines 31175343
Warnings and Errors
Table Name Component Package
A001 SD-MD-CM DDIC Error (See SE14)
A004 SD-MD-CM DDIC Error (See SE14)
A005 SD-MD-CM DDIC Error (See SE14)
A006 SD-MD-CM DDIC Error (See SE14)
A007 SD-MD-CM DDIC Error (See SE14)
A009 SD-MD-CM DDIC Error (See SE14)
A010 SD-MD-CM DDIC Error (See SE14)
A012 SD-MD-CM DDIC Error (See SE14)
A015 SD-MD-CM DDIC Error (See SE14)
A016 SD-MD-CM DDIC Error (See SE14)
A017 SD-MD-CM DDIC Error (See SE14)
A018 SD-MD-CM DDIC Error (See SE14)
A019 SD-MD-CM DDIC Error (See SE14)
A021 SD-MD-CM DDIC Error (See SE14)
Table Information
Table: A001
- Short Description: Not Used in Standard
Package: VKON
- Short Description: Application development R/3 conditions
Application Component: SD-MD-CM
- Short Description: Conditions
Delivery Class: A
Table Type: Pooled table
Technical Information:
Nametab of Table is Correct
Table Exists in Database: KAPOL
Table Information
Table: A028
- Short Description: Info Record for Non-Stock Item
Package: VKON
- Short Description: Application development R/3 conditions
Application Component: SD-MD-CM
- Short Description: Conditions
Delivery Class: A
Table Type: Pooled table
Technical Information:
Nametab of Table is Correct
Table Exists in Database: KAPOL
Regards
Gokul Borse
9881843629
Edited by: Gokul Borse on Mar 28, 2010 7:17 AM -
JTable with different number of columns (packets)
Hi experts,
is it possible to draw a single JTable which have different number of columns in each row
if yes good
if no my project is to build a comperhensive packet sniffer what is the most appropriate swing component to repersent a packets (data,Ack,...) which have different number of fields and when i select one packet it is highlighted with different color
Best RegardsAHDK wrote:
is it possible to draw a single JTable which have different number of columns in each rowThis is about how to make a cell span multiple cells: [http://www.codeguru.com/java/articles/139.shtml]
The code is a little buggy. I used it in a practical example, and removed the bugs:
[http://forum.byte-welt.net/attachment.php?attachmentid=132&d=1249675825] (source code is included in the jar file) -
Local client copy with warnings and errors
Hi ,
I am doing a local client copy and is still running . There are a few large tables which have not been copied successfully and is shown under "Warnings and Error". The tables show "Program Cancel (See SM21)". In SM21 , I find the workprocess was disconnected from the database.
Now my questions is , once all the remaining tables complete , will I be given an option to repeat the copy for the failed tables only. The system is 6 TB and it is running for more than 15 days now.
Please suggest.
Regards
Ratnajitwill I be given an option to repeat the copy for the failed tables only
No, it doesn't ask you to repeat copy only for failed tables.
The system is 6 TB and it is running for more than 15 days now
What is the requirement to do such BIG client copy?
Regards,
Nick Loy -
Client copy between different operating systems.
Hi Experts,
Our production system is running on HP-UX OS. We are installing a standby quality system and planning to do a client copy to this system from production by taking this into transport domain. But this new system is in windows. So, is it possible to perform a client copy where the source system is HP -UX and target system is windows??
Regards,
Amit.Hi Amit,
Follow SAP Note 552711 for client copy. Refer to qns no 4 & 5, which is relevant for your question.
Can I create client copies in a heterogeneous system landscape?
Remote copies or client transports can also be carried out between different database and operating systems.
Regards,
Debasis. -
Client Copy (With Data/Cubes) Possible in BI 7.0?
Hello,
I am a basis team member (newbie and still learning) for my company and have been asked to copy our development cubes/data to our sandbox environment. We are attempting to do this through a client copy. I am using SCC9 with the SAP_APPL profile, but afterwards I do not see the cubes or any of the infoproviders etc in RSA1 in the sandbox. Is there a post processing step that I need to carry out to have this content show up or is a client copy not possible? We are trying to avoid a system copy if at all possible. Thanks for any and all suggestions/comment/help. Don't worry, I will award points for helpful answers :).
Thanks,
RobHello,
See these docs,
[System Copy Procedures |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50960d8f-6542-2a10-3ba8-e46dc23dd9b1]
[System Copy and Migration|System Copy and Migration ]
[Setting up Business Intelligence Client in NW2004s|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/007af9a7-e48e-2a10-5c85-fcac22d58e82]
[System Copy for SAP Systems Based on SAP NetWeaver 2004s SR2 ABAP and Java|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200ebc93-dabe-2910-c1a6-c4ec30b20e04]
[Homogeneous and Heterogeneous System Copy for SAP Systems Based on SAP NetWeaver 2004s|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f022aa7d-0c01-0010-20a5-c247330d47fa]
[System Copy for SAP Systems Based on SAP NetWeaver 2004s SR1 ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d10bf27d-0c01-0010-6995-bbdcdf0118a1]
[System Copy for SAP Systems Based on SAP NetWeaver 2004s SR2 ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e08502d4-dabe-2910-bbb4-c1bfc82aed73]
[System Copy for SAP Systems Based on SAP NetWeaver 2004s SR2 Java|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bd5cee-dabe-2910-fb97-c082a7c9c682]
Thanks
Chandran -
How to load data from file contains rows with different number of columns
hi all,
a data file contains assets data ordered like this(location_id
serial_number , quantity
serial_number , quantity
single column rows represents location, and two columns rows represents asset details for that location
123
12345 ,1
32145 ,1
124
12348 ,12
41239 ,22
54189 ,2
254
22419 ,1
I want to use sql loader to load these data after merging locations with thieir assets,like this order(location_id,serial number,quantity)
123 ,12345 ,1
123 ,25413 ,1
123 ,32145 ,1
124 ,12348 ,12
124 ,41239 ,22
124 ,54189 ,2
254 ,22419 ,1
Can one help me in that?
thank you,Create external table and code sql query to do it.
:p -
Add column with row number to table
Hi,
to a table view I'd like to add a new column that contains the row number for each row.
I have many data sources (twelve) and with the union operator I create one output dataset. The output data is sorted by the arrangement of the input ports of the union operator.
Is there a way to add a column with its corresponding entry number?
Regards, FTI have a similar question to the original post. It seems your answer will fill the new field in all rows with the same value. But, what if we want an actual row number?
I am simply looking to add a row number to a table. I only have one data source. The business scenario is that the output of the data service is sorted in descending order on value. I want to be able to select the first 10 (i.e. the top 10 items based on that value).
Even if I can solve my business scenario without using a row number field after the sort, it seems like a technique that would come in handy.
Any ideas? I'm pretty new to using Visual Composer so I may be missing something obvious. -
Dynamic Select with different number of rows
Hi all,
I have a procedure who receives a table name and array of column names of that table.
I need to create a specific select statement with this parameters. Of course, this could change because the number of column names may differ from each invocation the this procedure.
Here's my procedure:
PROCEDURE column_scramble (pv_table_name
VARCHAR2,
ptbl_col_names
tbl_col_names)
IS
lv_query
VARCHAR2 (32000);
cur_handle INTEGER;
temp
NUMBER;
BEGIN
IF ptbl_col_names.COUNT > 0
THEN
lv_query := 'SELECT old.id, ';
FOR i IN ptbl_col_names.FIRST .. ptbl_col_names.LAST
LOOP
lv_query :=
lv_query
|| 'new.'
|| ptbl_col_names
|| ' as new_'
|| ptbl_col_names (i);
IF i < ptbl_col_names.LAST
THEN
lv_query := lv_query || ',';
END IF;
END LOOP;
lv_query :=
lv_query
|| ' FROM ( SELECT ROWNUM rr, '
|| pv_table_name
|| '.* FROM '
|| pv_table_name
|| ' ORDER BY '
|| pv_table_name
|| '.id) old, (SELECT ROWNUM rr, a.* FROM ( SELECT id,';
FOR j IN ptbl_col_names.FIRST .. ptbl_col_names.LAST
LOOP
lv_query := lv_query || ptbl_col_names (j);
IF j < ptbl_col_names.LAST
THEN
lv_query := lv_query || ',';
END IF;
END LOOP;
lv_query :=
lv_query
|| ' FROM '
|| pv_table_name
|| ' ORDER BY DBMS_RANDOM.VALUE) a) new WHERE old.rr = new.rr';
END IF;
DBMS_OUTPUT.put_line ('LV_QUERY: ' || lv_query);
cur_handle := DBMS_SQL.open_cursor;
DBMS_SQL.parse (cur_handle, lv_query, DBMS_SQL.native);
temp := DBMS_SQL.execute (cur_handle);
LOOP
IF DBMS_SQL.fetch_rows (cur_handle) = 0
THEN
EXIT;
ELSE
lv_query := 'UPDATE ' || pv_table_name || 'SET ';
FOR s IN 1 .. ptbl_col_names.COUNT
LOOP
lv_query :=
lv_query
|| ptbl_col_names (s)
|| '='
|| <return_value(s)>;
IF s < ptbl_col_names.COUNT
THEN
lv_query := lv_query || ',';
END IF;
END LOOP;
lv_query := lv_query || ' WHERE id = ' || <return_value_id>;
END IF;
END LOOP;
DBMS_SQL.close_cursor (cur_handle);
END column_scramble;
Thanks in advance,
FilipeAvoid using the "cumbersome" DBMS_SQL, try this:
CREATE OR REPLACE TYPE tbl_col_names IS VARRAY (100) OF VARCHAR2 (40);
CREATE OR REPLACE PROCEDURE column_scramble
( pv_table_name VARCHAR2, ptbl_col_names tbl_col_names
, pmy_cursor OUT SYS_REFCURSOR) --<<< NOTE: I added this parameter
IS
lv_query VARCHAR2 (32000);
cur_handle INTEGER;
temp NUMBER;
BEGIN
IF ptbl_col_names.COUNT > 0
THEN
lv_query := 'SELECT old.id, ';
FOR i IN ptbl_col_names.FIRST .. ptbl_col_names.LAST
LOOP
lv_query := lv_query || 'new.' || ptbl_col_names ( i)
|| ' as new_' || ptbl_col_names ( i);
IF i < ptbl_col_names.LAST
THEN
lv_query := lv_query || ',';
END IF;
END LOOP;
lv_query := lv_query ||
' FROM ( SELECT ROWNUM rr, ' || pv_table_name ||
'.* FROM ' || pv_table_name ||
' ORDER BY ' || pv_table_name ||'.id) old
, (SELECT ROWNUM rr, a.* FROM ( SELECT id,';
FOR j IN ptbl_col_names.FIRST .. ptbl_col_names.LAST
LOOP
lv_query := lv_query || ptbl_col_names ( j);
IF j < ptbl_col_names.LAST
THEN
lv_query := lv_query || ',';
END IF;
END LOOP;
lv_query := lv_query || ' FROM ' || pv_table_name ||
' ORDER BY DBMS_RANDOM.VALUE) a) new WHERE old.rr = new.rr';
END IF;
DBMS_OUTPUT.put_line ( 'LV_QUERY: ' || lv_query);
OPEN pmy_cursor FOR lv_query;
END;
-- And to execute do this:
VAR my_cursor REFCURSOR;
DECLARE
emp_col tbl_col_names;
BEGIN
emp_col :=
tbl_col_names (
'DEPTNO'
, 'MGR'
, 'EMPNO'
, 'ENAME'
column_scramble ( 'EMP3', emp_col, :my_cursor);
END;
PRINT my_cursor;
PL/SQL procedure successfully completed.
ID NEW_DEPTNO NEW_MGR NEW_EMPNO NEW_ENAME
1 10 7839 KING
2 20 7566 7788 TIGER
3 30 7698 7499 ALLEN
4 10 7839 7782 CLARK
5 20 7566 7502 TIGER
6 30 7698 7654 MARTIN
7 30 7839 7698 BLAKE
8 20 7839 7566 JONES
9 20 7566 7788 SCOTT
10 20 7788 7876 ADAMS
11 30 7698 7521 WARD
12 20 7902 7369 SMITH
13 30 7698 7844 TURNER
14 30 7698 7501 BRWN
14 rows selected. -
LSMW uploading excel with different number of columns
Dear Expert,
I am trying to build a lsmw to upload data sometime the number of columns are different. For example, a standard excel has 5 columns but sometime it only has 4 columns with the input screen of 4 fields. I am wondering what is the APAB code I could put in may LSMW field mapping say if the value from the excel is "/" then this field should be skiped from reading. Then my LSWM will generate a batch input filed with 4 columns of input data to fit in the input screen with for fields only, If the value from the excel does not have "/' then all field would be read. So my LSMW will generate a batch input with 5 columns of input data to fit in the input screen of 5 fields.
If you may share the coding.
Thank youHi,
In this step, click on the target field and then click on the button "Rule"
IN the next screen select the radio button "ABAP Code"
Then put the code as below:-
IF NOT <Source Field> IS INITIAL.
<Target Field> = <Source Field>.
ENDIF.
(Insteac of <Source Field> and <Target Field>, put your actual value in your LSMW.)
Regards,
Gaurav
Maybe you are looking for
-
How do I move iTunes from a dead computer?
My iTunes currently resides on a dead computer (hard drive failure). How do I move iTunes to my laptop PC (Vista) without losing all of my music/videos (on iPod) or apps (iPhone)?
-
ICal multiple duplicates of events created for one
Please help. I created AN event in iCal for my work calendar. Repeats M-F, 0730-1600 thru March 2014. I've changed the "hours" of some of the "events" as needed (for example, vacation time, other time-off, etc.) Instead of ONE event, each DAY is s
-
HT1551 Apple tv connected but cannot link iPad to play movies through it, why?
Just moved house so am in the process of setting up my apple tv and it will not allow my iPad to play movies onto my tv as before. They are both connected to the same wifi network. Any ideas? Thanks
-
FInding differences is successive rows in a table
Hi , I have a few Audit tables which store all the changes in Entities in my application.. so I have tables like aud_table1, aud_table2 ...etc ... which have variable structure depending on actual entity audited. Above table store the complete entity
-
hi all, how to place a customized tab in MIRO tRANSACTION