Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

change of source system - any mass transaction?

Clemenss
Active Contributor
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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

JozsefSzikszai
Active Contributor

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

Clemenss
Active Contributor
0 Kudos

Thanx, Basis will do for me...

0 Kudos

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

0 Kudos

Jan,

Very very helpful your post!! Your tip saved me a lot of time of manual work. Really thanks!

Ale

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Nice comment Jan.

I used it to compile the following document

Andre

ceterum censeo RAP esse utendam