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

Function Module - Transport whole Package

former_member194549
Contributor
0 Likes
1,249

Hey Experts,

to deliver applications from our internal systems to customers, i would like to create a report which creates transport requests containing all objects of a package.

Does anybody know a function module or bapi which adds all objects of a package to a transport request or which returns all objects of a package so that i can add them via TR_OBJECTS_INSERT or something like that.

Looking forward to your replays

Simon

9 REPLIES 9
Read only

matt
Active Contributor
0 Likes
1,162

It's a standard part of SE10. Why would you need a function module? If you do, then trace/debug the functionality that SE10 provides.

Read only

0 Likes
1,162

Hey Matthew,

thanks for your replay.

I would like to integrate this functionality into another transaction of us. So within this transaction it should be possible to create requests and include complete packages.

The function module SCTS_COMP_REPOS_GET_PAKET returns all objects of a package, but only the objects stored in TADIR. F. e. SM30-Views are store in TVDIR...

SE10 selects all objects from TADIR, checks this objects, ads it to the request and so on...

My problem is, that i do not know where all objects are store on the db an in which tables i have to search for objects. As mentioned above, Classes, Reports, ... are stored in TADIR, Views are stored in TVDIR...

I will dig deeper in se10 on Monday.

Regards

Simon

Read only

vwegert
Active Participant
0 Likes
1,162

Don't use transports for delivery to customers. It looks like a good idea, but it really isn't. Here's why, as well as the proper alternative.

Read only

0 Likes
1,162

Hey Volker,

yes, i know the AAK, we use it for another product of our portfolio.

But with our new solution we will not go thru the certification process (costs, ...).

Our approach at this moment is to transport initialy complete packages to our customers. For maintenance we will bundle all transport requests every month to one "Support Package"-Transport.

For version tracking, we will include in every "Support Package" a customizing entry which describes the version included in the request and store this entry in a central table.

To avoid dependencies it is only allowed that the to use functions of the same package or of a central util package, which will be included in every transport.

I know, this is not the optimal approach but as mentioned before, we will not go thru the certification process.

Greetings

Simon

Read only

vwegert
Active Participant
0 Likes
1,162

Simon,

As far as I know, there is no need to certify every package. I might be wrong, but you can distribute as many AAK packages as you like, certified or uncertified, but you may not slap the certification badge on anything that hasn't gone through the process.

If you've already got access to the AAK, not using it is really (sorry) stupid, for reasons I've already outlined in detail.

Best regards

  Volker

Read only

0 Likes
1,162

Hey Volker,

ok, thanks for that hint.

If it is possible to use AAK for a not certified product, than this is definitely an option.

For sure, we would not use the badge for this new product if it is not certified.

And by the way, great blog!

Best regards

Simon

Read only

ThomasZloch
Active Contributor
0 Likes
1,162

This can be done quickly in SE80, right click on the package name -> "write transport entry" -> "all objects".

Thomas

Read only

0 Likes
1,162

Hey Thomas,

thanks for your reply.

As mentioned above, i need a function module or bapi to integrate this functionality into another program.

Regards

Simon

Read only

0 Likes
1,162

If you look under the hood, TRINT_SELECT_OBJECTS is called to collect the objects in a package, and TR_REQUEST_CHOICE for the transport request handling.

I did not get the TVDIR vs. TADIR statement, as views are also stored in TADIR, as much as I know.


Thomas