on 05-31-2013 2:56 PM
Hello,
I need to extract few (say 100) service orders from service order tables which contains millions of records. How do I write control file for R3trans to achieve this?
I tried following one but it end up extracting and loading only the first service order
export
file = '/Test/SO/SO.txt'
SELECT * FROM AFVC where aufpl = '1005701961'
SELECT * FROM AFVC where aufpl = '1005701982'
SELECT * FROM AFVC where aufpl = '1005701983'
SELECT * FROM AFVC where aufpl = '1005701984'
SELECT * FROM AFVC where aufpl = '1005701985'
SELECT * FROM AFVC where aufpl = '1005702001'
SELECT * FROM AFVC where aufpl = '1005702002'
SELECT * FROM AFVC where aufpl = '1005702003'
SELECT * FROM AFVC where aufpl = '1005702006'
SELECT * FROM AFVC where aufpl = '1005702007'
SELECT * FROM AFVC where aufpl = '1023702008'
SELECT * FROM AFVC where aufpl = '1054702010'
SELECT * FROM AFVC where aufpl = '1034702011'
Abhijeet
Hi Abhijeet,
is it not easier to get the data as database level ?
I have never done it using R3trans but maybe try adding a client as well ?
export
client = 020
file = 'clone.export.<sid>.<client no>.data'
select * from <client_dependent_tablename1>
select * from <client_dependent_tablename2>
Best Regards
Marius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhijeet,
> Looks like it is not possible.
... "Impossible is nothing" ...
Why not using a simple IN List like that ?
SELECT * FROM AFVC where AUFPL IN ('1005701961', '1005701982', '1005701983', ....., '1034702011')
... or use a SAP transport request (with object TABU) with a simple filter?
Regards
Stefan
Thanks for reply Stefan,
Yes I did try this syntax but it is giving error. It expects either 'Like' or 'Eq' instead of 'IN' operator.
Thats why I tried individual sql statements but it looks like it only store the last one (must be getting overwritten)
I might try transport request option, thanks!
Hi Abhijeet,
Please refer to link http://scn.sap.com/thread/660542.
Also refer to Note 1942 - How does R3trans work?
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer to this link.
http://venkata-pagolu.blogspot.com/2011/07/how-to-copy-tables-to-another-system.html
Johan
Hi Abhijeet,
Please check whether you have created the import file as described in the link below
Regards,
Deepak Kori
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.