SCTM_TRANSPORT_INSERT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name SCTM_TRANSPORT_INSERT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SCTM2
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'SCTM_TRANSPORT_INSERT' "
EXPORTING
object = " ko200-object Object Type
obj_name = " ko200-obj_name Object Name in Object List
* masterlanguage = SY-LANGU " ko200-masterlang Original Language in Repository Objects
* responsible = SY-UNAME " ko200-author Person Responsible for a Repository Object
* transport_order = SPACE " ko200-trkorr Request/Task
* development_class = SPACE " ko200-devclass Package
* operation = SPACE " ko200-operation Object operation for correction interface
* transport_type = 'K' " char1 Single-Character Flag
IMPORTING
message = " hier_mess Transfer structure for messages
tr_tadir = " tadir Directory of Repository Objects
. " SCTM_TRANSPORT_INSERT
The ABAP code below is a full code listing to execute function module SCTM_TRANSPORT_INSERT including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_message | TYPE HIER_MESS , |
| ld_tr_tadir | TYPE TADIR . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_message | TYPE HIER_MESS , |
| ld_object | TYPE KO200-OBJECT , |
| ld_tr_tadir | TYPE TADIR , |
| ld_obj_name | TYPE KO200-OBJ_NAME , |
| ld_masterlanguage | TYPE KO200-MASTERLANG , |
| ld_responsible | TYPE KO200-AUTHOR , |
| ld_transport_order | TYPE KO200-TRKORR , |
| ld_development_class | TYPE KO200-DEVCLASS , |
| ld_operation | TYPE KO200-OPERATION , |
| ld_transport_type | TYPE CHAR1 . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name SCTM_TRANSPORT_INSERT or its description.