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

SAP saved same object/s in 2 different TRs!

former_member194142
Participant
0 Likes
2,973

Hello,

We have a custom class and working fine, well, now

A)  First ABAPer created 2 new methods in it hence his/her TR's entries are as below

Class Definition (ABAP objects) LIMU CLSD - ZCL_MY_CLASS

Private header - LIMU CPRI - ZCL_MY_CLASS

Public header - LIMU CPUB - ZCL_MY_CLASS

Method - METH - ZCL_MY_CLASS METHOD_1

Method - METH - ZCL_MY_CLASS METHOD_2

B) Second developer created 2 more new methods in it hence his/her TR's entries are same as above (but with METHOD_3 and METHOD_4), pl. let us know

1) Does CLASS DEFINATION and PUBLIC/PRIVATE headers saves for every time when ever a new method is created, hence here we are seeing two times them in A's TR and B's TR?

2) If so, now in this week, we want to move the Second developer's TR only, I mean, we don't want to send the first developer's TR in this week, probably we will sent it in next year, if so, is it OK/Safe?

3) If not safe, then pl. let us know better/safe practice

Thank you

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,141

Hi,

   1) Public/Private headers saved in your OT, reason might be the new methods inclusion in the public or private section.

    Just check class definition -> goto -> sections... to know the differences between the two versions if any.

   2) You have to follow the same sequence i.e., developer A first and then B.  Other wise it will give problem due to inconsistency with the declarations...etc.,

   3) you just comments developer A's method code and follow the order and later you can work on developer A's code and proceed further.

Check and revert back if any issues.

Hello,

We have a custom class and working fine, well, now

A)  First ABAPer created 2 new methods in it hence his/her TR's entries are as below

Class Definition (ABAP objects) LIMU CLSD - ZCL_MY_CLASS

Private header - LIMU CPRI - ZCL_MY_CLASS

Public header - LIMU CPUB - ZCL_MY_CLASS

Method - METH - ZCL_MY_CLASS METHOD_1

Method - METH - ZCL_MY_CLASS METHOD_2

B) Second developer created 2 more new methods in it hence his/her TR's entries are same as above (but with METHOD_3 and METHOD_4), pl. let us know

1) Does CLASS DEFINATION and PUBLIC/PRIVATE headers saves for every time when ever a new method is created, hence here we are seeing two times them in A's TR and B's TR?

2) If so, now in this week, we want to move the Second developer's TR only, I mean, we don't want to send the first developer's TR in this week, probably we will sent it in next year, if so, is it OK/Safe?

3) If not safe, then pl. let us know better/safe practice

Thank you

6 REPLIES 6
Read only

Former Member
0 Likes
2,142

Hi,

   1) Public/Private headers saved in your OT, reason might be the new methods inclusion in the public or private section.

    Just check class definition -> goto -> sections... to know the differences between the two versions if any.

   2) You have to follow the same sequence i.e., developer A first and then B.  Other wise it will give problem due to inconsistency with the declarations...etc.,

   3) you just comments developer A's method code and follow the order and later you can work on developer A's code and proceed further.

Check and revert back if any issues.

Read only

former_member186660
Participant
0 Likes
2,141

Good day SAP X 3,

My suggestion, let the 2nd developer merge his transport with the 1st Developer.

And comment out functionality on method_1 & method_2.

Reason being definition of the class & 2 methods were on the 1st Developer's TR.

Then move 2nd developer's merged TR. Then after the move create a new TR for 1st developer to continue with his development.

Regards,

Tumelo Modise

Read only

0 Likes
2,141

Thank you.

Pl. let us know is it normal (saving CLASS DEFINATION in 2 different TRs)?

Regards

Read only

0 Likes
2,141

Any help pl.?

Thank you    

Read only

0 Likes
2,141

Hi

Normal is hard to define, it really depends on how you're structuring the release of your transports.

Like you say you have a transport required for this year and then another for next year.

I'm assuming you have a QA environment to test with, ensure that Transports 1 gets to QA successfully and is tested fully. Transport 2 should wait until Transport 1 is successfully implement in Production before sending to QA.

Regards

Arden

Read only

former_member182877
Participant
0 Likes
2,141

Hi SAP SAP SAP

Since you want to release the development objects of the 2nd developer.... Its better u

1. Merge the TRs.

2. Comment out the CODE (Main functionality) of the first developer's

3. Make sure you have all the second developers data declarations are defined and not commented

4. Similarly the Member attributes should exist.

(or)

1. If its a Custom Class definition and since already your developer 2 has done it.... Better create a new one which will not take much time - If you are not ok with Option 1!!

Hope this helps/.

Cheers,

Kripa Rangachari.