SAP SCTM_TRANSPORT_CHECK Function Module for Check the transport properties of the specified object









SCTM_TRANSPORT_CHECK is a standard sctm transport check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check the transport properties of the specified object processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for sctm transport check FM, simply by entering the name SCTM_TRANSPORT_CHECK into the relevant SAP transaction such as SE37 or SE38.

Function Group: SCTM2
Program Name: SAPLSCTM2
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SCTM_TRANSPORT_CHECK pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'SCTM_TRANSPORT_CHECK'"Check the transport properties of the specified object
EXPORTING
OBJECT = "Object Type
OBJ_NAME = "Object Name in Object List
* OPERATION = ' ' "Object operation for correction interface

IMPORTING
TR_TADIR = "Directory of Repository Objects
DISPLAY = "Single-Character Flag
MESSAGE = "Transfer structure for messages

CHANGING
* TRANSPORT_ORDER = ' ' "Request/Task
* DEVELOPMENT_CLASS = ' ' "Package
.



IMPORTING Parameters details for SCTM_TRANSPORT_CHECK

OBJECT - Object Type

Data type: KO200-OBJECT
Optional: No
Call by Reference: No ( called with pass by value option)

OBJ_NAME - Object Name in Object List

Data type: KO200-OBJ_NAME
Optional: No
Call by Reference: No ( called with pass by value option)

OPERATION - Object operation for correction interface

Data type: KO200-OPERATION
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for SCTM_TRANSPORT_CHECK

TR_TADIR - Directory of Repository Objects

Data type: TADIR
Optional: No
Call by Reference: No ( called with pass by value option)

DISPLAY - Single-Character Flag

Data type: CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

MESSAGE - Transfer structure for messages

Data type: CTM_MESS
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for SCTM_TRANSPORT_CHECK

TRANSPORT_ORDER - Request/Task

Data type: KO200-TRKORR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

DEVELOPMENT_CLASS - Package

Data type: KO200-DEVCLASS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SCTM_TRANSPORT_CHECK Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_object  TYPE KO200-OBJECT, "   
lv_tr_tadir  TYPE TADIR, "   
lv_transport_order  TYPE KO200-TRKORR, "   SPACE
lv_display  TYPE CHAR1, "   
lv_obj_name  TYPE KO200-OBJ_NAME, "   
lv_development_class  TYPE KO200-DEVCLASS, "   SPACE
lv_message  TYPE CTM_MESS, "   
lv_operation  TYPE KO200-OPERATION. "   SPACE

  CALL FUNCTION 'SCTM_TRANSPORT_CHECK'  "Check the transport properties of the specified object
    EXPORTING
         OBJECT = lv_object
         OBJ_NAME = lv_obj_name
         OPERATION = lv_operation
    IMPORTING
         TR_TADIR = lv_tr_tadir
         DISPLAY = lv_display
         MESSAGE = lv_message
    CHANGING
         TRANSPORT_ORDER = lv_transport_order
         DEVELOPMENT_CLASS = lv_development_class
. " SCTM_TRANSPORT_CHECK




ABAP code using 7.40 inline data declarations to call FM SCTM_TRANSPORT_CHECK

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single OBJECT FROM KO200 INTO @DATA(ld_object).
 
 
"SELECT single TRKORR FROM KO200 INTO @DATA(ld_transport_order).
DATA(ld_transport_order) = ' '.
 
 
"SELECT single OBJ_NAME FROM KO200 INTO @DATA(ld_obj_name).
 
"SELECT single DEVCLASS FROM KO200 INTO @DATA(ld_development_class).
DATA(ld_development_class) = ' '.
 
 
"SELECT single OPERATION FROM KO200 INTO @DATA(ld_operation).
DATA(ld_operation) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!