11-27-2007 9:24 AM
Hi,
we have to transfer some programs and stuff from one system to another. Basis people will manually import a transport for this. In target system, I want to change the source system of the transported objects. Because it is quite a big number, I am looking for a standard reoprt/transaction to accomplish that.
Any hints?
TIA,
Regards,
Clemens
11-27-2007 9:28 AM
Hi
I believe yuo can create a program to update the table TRDIR, something like this:
TABLES: TADIR. " Catalogo oggetti R/3 Repository
DATA: COUNT TYPE I.
PARAMETERS: P_SYST1 LIKE TADIR-SRCSYSTEM, " Source Sys
P_CLASS LIKE TADIR-DEVCLASS ,
P_SYST2 LIKE TADIR-SRCSYSTEM. " Target Sys.
SELECT * FROM TADIR WHERE SRCSYSTEM = P_SYST1
AND DEVCLASS = P_CLASS.
TADIR-SRCSYSTEM = P_SYST2.
MODIFY TADIR.
IF SY-SUBRC = 0.
COUNT = COUNT + 1.
ENDIF.
ENDSELECT.
IF SY-SUBRC = 0.
WRITE: Count, 'Objects from', P_SYST1, 'to', P_SYST2.
ENDIF.
U can try to use the trx SE03:
- Run the node: Change Objects Directoty entries
Here you can change the dev class and source system too, but I don't believe it can change all objects in mass way.
Max
11-27-2007 9:28 AM
Hi
I believe yuo can create a program to update the table TRDIR, something like this:
TABLES: TADIR. " Catalogo oggetti R/3 Repository
DATA: COUNT TYPE I.
PARAMETERS: P_SYST1 LIKE TADIR-SRCSYSTEM, " Source Sys
P_CLASS LIKE TADIR-DEVCLASS ,
P_SYST2 LIKE TADIR-SRCSYSTEM. " Target Sys.
SELECT * FROM TADIR WHERE SRCSYSTEM = P_SYST1
AND DEVCLASS = P_CLASS.
TADIR-SRCSYSTEM = P_SYST2.
MODIFY TADIR.
IF SY-SUBRC = 0.
COUNT = COUNT + 1.
ENDIF.
ENDSELECT.
IF SY-SUBRC = 0.
WRITE: Count, 'Objects from', P_SYST1, 'to', P_SYST2.
ENDIF.
U can try to use the trx SE03:
- Run the node: Change Objects Directoty entries
Here you can change the dev class and source system too, but I don't believe it can change all objects in mass way.
Max
11-27-2007 9:32 AM
hi Clemens,
try transaction SE03, what you need is about in the middle. I am not sure, if you can really change it in mass mode, but at least the selection is easier.
ec
11-28-2007 5:05 PM
07-29-2010 3:24 PM
Hallo,
it's a long time since the original question, but since this has been posted in SDN so many times : how to mass change a package or original system in SE03 (SE03 / report RSWBO051/RSWBO052). The solution is to select the objects you want and enter MASS in the OK-code.
Regards
Jan
10-19-2010 3:30 AM
Jan,
Very very helpful your post!! Your tip saved me a lot of time of manual work. Really thanks!
Ale
03-21-2016 5:29 PM