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: 

How to carry an order in the transport orders abap

former_member308319
Participant
0 Kudos

For example, in my work we have various developers in ABAP. Each one of they, create differents ABAP programs and deposit this in one only order transport. Whats happen? When someone want to free this transport order that have different developes of other coworkers, this broke to pass to quality or production ambient. Forever appears: Error in function modules SAP. So, to better this, exist any functionality in ABAP?

Thank you.

1 ACCEPTED SOLUTION

raghug
Active Contributor

If more than one person is working on different function modules within the same function group, then yes the transport is going to be the same. It may not be possible to separate out the work.

If you can, and if this problem happens frequently, consider moving the function group to a class, with each function module being a method. SAP handles transport requests for the object oriented programming much better than it does for function modules.

7 REPLIES 7

ricky_shaw
Contributor

Hi Juan,

Don't use one transport(TR) for all developments,.

Good practice is that each should create his own TR to avoid dependencies. They can release whenever they want.

In case of developing function modules, you may think of coordinate with other developers accordingly to put into common function groups.

Hope this helps.

0 Kudos

Thak you @Ricky for you repply.

0 Kudos

Than you Ricky for you repply. Is of a big help for me.

raghug
Active Contributor

If more than one person is working on different function modules within the same function group, then yes the transport is going to be the same. It may not be possible to separate out the work.

If you can, and if this problem happens frequently, consider moving the function group to a class, with each function module being a method. SAP handles transport requests for the object oriented programming much better than it does for function modules.

kiran_k8
Active Contributor
0 Kudos

Raghu,

To my knowledge,even if it is a Class with Methods I think we still have some issues.

For Ex,

I have a class ZCL_TEST

Under this class there were already few methods ZMETHOD1,ZMETHOD2 (available in Q and P).

Now I will create a new method ZMETHOD3 which is not yet ready to be moved to Q and P.

Someother Developer creates a new method ZMETHOD4 in the same Class,completes the development and would like to move it to Q and P.

In this case,even though my method ZMETHOD3 development is not yet completed,I am forced to move ZMETHOD3 commenting the whole code (ZMETHOD3) inorder to facilitate the transport of ZMETHOD4 to Q,to avoid dump.

What is the best way to transport in this scenario without commenting the code in ZMETHOD3 but still transport ZMETHOD4.

K.Kiran.

raghug
Active Contributor
0 Kudos

I said "much better" not perfect.

The difference is that for a Class, SAP saves it as many includes which can have separate transports. Once each method is declared, then changes can be made - with different transports - on a method-by-method basis. The issue that you are highlighting is the fact that the entire "DECLARATION" part of the class is treated as a single include and therefore can only have one transport.

This makes some amount of sense in that when the "signature" of a class changes it can drag a bunch of other things along with it. When the signature stays the same, it is a beautiful thing! 🙂

Jelena
Active Contributor
0 Kudos

I believe each team or organization chooses their own way of handling development team work. There have been quite a few posts on this subject on SCN already and there are even third party tools available. You might want to do some research in Google. Look up keywords like CHARM, transport dependencies, version control and such with "site:sap.com".