Application Development and Automation 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: 
Read only

Logic for changing Development class of a program.

Former Member
0 Likes
1,331


Hi All,

I have a requirement where I need to implement a logic for changing development class for a list of programs (Type 1, M & I).

Do we have any standard program ,FM or class to achieve this. I know we can change it manually one by one, but I want to automate this process.

Please help me out.

Thanks.

Regards,

PK.

1 ACCEPTED SOLUTION
Read only

former_member223133
Active Participant
0 Likes
1,257

Hi,

You can use the table TADIR anf fetch the PGMID and OBJECT for the object name. Update the DEVCLASS with new class.

Regards

Gangadhar

Hi Pranshu,

As suggested by Rüdiger, you can try with the function module 'TR_TADIR_INTERFACE' to update the new development class.

Regards

Gangadhar

5 REPLIES 5
Read only

former_member223133
Active Participant
0 Likes
1,258

Hi,

You can use the table TADIR anf fetch the PGMID and OBJECT for the object name. Update the DEVCLASS with new class.

Regards

Gangadhar

Read only

0 Likes
1,257

Hi Gangadhar,

Do we have any way of updating TADIR table (I believe it's not recommended)? I came across one FM 'TR_TADIR_INTERFACE' but I'm not sure if its the right way.

Read only

0 Likes
1,257

Pranshu,

the function module supposed for changing the devclass of an object is TR_TADIR_INTERFACE.

For changing a decvlass assignment, call it, passing PGMID, OBJECT and OBJ_NAME, and the new DEVCLASS.

Additionally, you'll have to add the object's ADIR entry (e.g. LIMU ADIR R3TRPROGZZ_TEST) into a transport order, as there is no automatic transport of your change.

Regards,

Rüdiger

Read only

0 Likes
1,257

Hi Pranshu,

As suggested by Rüdiger, you can try with the function module 'TR_TADIR_INTERFACE' to update the new development class.

Regards

Gangadhar

Read only

Former Member
0 Likes
1,257

Hi, you can do such mass changes (but not automated changes) by using SE03 transaction -> Object directory.

Br

Bohuslav