Get Transport Objects Actions

Get Transport Objects actions access a specified RFC Destination to retrieve a list of the objects contained in a specified set of transports. The results are stored in a Table dataset.

Action Property Description
Expand Views A Boolean parameter or dataset which determines whether table views found in the transports will be expanded so that the Result dataset includes each view’s associated tables. If the parameter set to ‘true’, table views will be expanded as described here. Additionally, table names will be retrieved for all logical transport table types. If the parameter is set to ‘false’, only the objects in each transport will be returned.
Result A Table dataset which stores the retrieved transport objects.
RFC Destination An RFC Destination parameter or dataset which refers to the system containing the transports.
Source A Table parameter or dataset specifying the transports whose objects are to be retrieved.

The Source Table parameter or dataset should have the following columns:

Column Description
SELNAME This column should be set to SPPK.
KIND This column should be set to S.
SIGN If this column is set to ‘I’, the transport specification will be included in the set of transports to analyze. If the column is set to ‘E’, the transport specification will be excluded. The ‘E’ option should only be used if the Source table also has a row which uses the ‘I’ option.
OPTION The comparison operator to use: One of EQ, GT, GE, LT, LE, BT or CP. See the Select List Parameters help topic for details.
LOW The name of a transport. If the BT (Between) operator is used, this column refers to the ‘low’ comparison value.
HIGH If the BT (Between) operator is used, this column refers to the ‘high’ comparison value.

The Result dataset has the following columns:

Column Description
TRKORR The name of a source transport.
PGMID The transport object’s program ID.
OBJECT The type of an object in the transport.
OBJNAME The name of the transport object.

Defining Transport Selections

Support pack transports must be disassembled or imported using transaction SPAM/SAINT before their objects can be extracted by the Get Transport Objects action. The comparison operators that may be used in the action’s Source table depend upon whether the transports have been imported, or disassembled only.

Support Packs Have Been Disassembled Only

The transport selections for disassembled support packs must specify each support pack transport individually using the EQ comparison operator. Range selections using the BT or CP comparison operators cannot be used. For example, to extract the objects from support packs SAPKH47025 through to SAPKH47030, set the Source table to look like this:

SELNAME KIND SIGN OPTION LOW HIGH
SPPK S I EQ SAPKH47025  
SPPK S I EQ SAPKH47026  
SPPK S I EQ SAPKH47027  
SPPK S I EQ SAPKH47028  
SPPK S I EQ SAPKH47029  
SPPK S I EQ SAPKH47030  

Support Packs Have Been Imported

Support packs that have been imported may be listed individually, or specified using the range comparison operators BT (Between) or CP (Contains Pattern). For imported transports, the above Source table may be reduced to:

SELNAME KIND SIGN OPTION LOW HIGH
SPPK S I BT SAPKH47025 SAPKH47030

Expand Views = true

If the Expand Views property is set to ‘true’, the Get Transports Objects action works as follows:

  • If the transport is found in the RFC Destination’s E071 table (i.e. if the transport has been imported), the action returns the tables based on any TABK (Table Key) objects in the transport.
  • If the transport is found in the RFC Destination’s E071 table (i.e. if the transport has not yet been imported), the action returns all tables that the views depend on, as defined in the RFC Destination’s OBJS table.

Example:

Get Transport Objects action example.

To examine the details for a Get Transport Objects action, double-click the action node, or select ‘View Details’ from the node’s context menu. The Details screen displays the number of transports analyzed, the number of rows in the Result table and the time taken for the action to complete.

The progress of a Get Transport Objects action may be monitored by viewing the Details screen while the action is running. Time estimates are available after a sufficient number of objects have been processed, relative to the total number of objects. The following details are shown:

Item Description
Total objects The total number of transports to be analyzed.
Remaining objects The number of transports that have not yet been processed.
Elapsed time (seconds) The time for which the Get Transport Objects action has been running.
Estimated total time (seconds) The estimated total time for which the Get Transport Objects action will run.
Remaining time (seconds) The estimated remaining time for which the Convert SAP Types action will run.
Remaining time (hours/minutes) The estimated remaining time (in hours or minutes) for which the Get Transport Objects action will run.
Total elapsed time hh:mm:ss The time for which the Get Transport Objects action has been running in hours, minutes and seconds.

Press the F5 key periodically to update the display.