SAP RKD_TRANSPORT_OBJECTS Function Module for
RKD_TRANSPORT_OBJECTS is a standard rkd transport objects SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 rkd transport objects FM, simply by entering the name RKD_TRANSPORT_OBJECTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: KXOB
Program Name: SAPLKXOB
Main Program: SAPLKXOB
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function RKD_TRANSPORT_OBJECTS 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 'RKD_TRANSPORT_OBJECTS'".
EXPORTING
* CORRECTION_NUMBER = ' ' "
* WITH_USER_ACTION = ' ' "
* OPERATION_TYPE = 'B' "
* FILTER_PROGRAM = ' ' "
* FILTER_FORM = ' ' "
* IT_F1_TAB = "
* I_ALL_LANGUAGES = ' ' "
* I_SPLIT = 'X' "
* I_OVERWRITE_DEFAULT = ' ' "
* I_TRANS_INFO = "
* I_AUTOREQUEST = ' ' "Automatic Creation of Transport Requests
* I_SYST_REQUEST = ' ' "Customizing Request
* I_CUST_ONLY = ' ' "Checkbox
* LANGUAGE = SY-LANGU "
* MANDANT = SY-MANDT "
* APPLICATION = ' ' "
* OBJECTKEY = '*' "
OBJECTTYPE = "
* RETURN_OBJECTTYPES = ' ' "
* WITH_EXTERNAL_TABS = ' ' "
EXCEPTIONS
BAD_OBJECTTYPE = 1 OBJECT_NOT_FOUND = 2 NO_CORRECTION_NUMBER = 3 USER_ABORT = 4 JOB_FAILURE = 5
IMPORTING Parameters details for RKD_TRANSPORT_OBJECTS
CORRECTION_NUMBER -
Data type: E070-TRKORRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WITH_USER_ACTION -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OPERATION_TYPE -
Data type:Default: 'B'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FILTER_PROGRAM -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FILTER_FORM -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_F1_TAB -
Data type: KXOB_T_TRANSPORT_F1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ALL_LANGUAGES -
Data type: SY-BATCHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SPLIT -
Data type: SY-BATCHDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_OVERWRITE_DEFAULT -
Data type: SY-BATCHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TRANS_INFO -
Data type: KXOB_YS_TRANS_INFOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AUTOREQUEST - Automatic Creation of Transport Requests
Data type: COPA_TR_AUTODefault: SPACE
Optional: Yes
Call by Reference: Yes
I_SYST_REQUEST - Customizing Request
Data type: E070-TRKORRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CUST_ONLY - Checkbox
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: Yes
LANGUAGE -
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
MANDANT -
Data type: SY-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
APPLICATION -
Data type: TKEB1-APPLCLASSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECTKEY -
Data type:Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECTTYPE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
RETURN_OBJECTTYPES -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WITH_EXTERNAL_TABS -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
BAD_OBJECTTYPE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OBJECT_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_CORRECTION_NUMBER -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
USER_ABORT - Terminated by user
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
JOB_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RKD_TRANSPORT_OBJECTS 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_bad_objecttype | TYPE STRING, " | |||
lv_correction_number | TYPE E070-TRKORR, " SPACE | |||
lv_with_user_action | TYPE E070, " SPACE | |||
lv_operation_type | TYPE E070, " 'B' | |||
lv_filter_program | TYPE E070, " SPACE | |||
lv_filter_form | TYPE E070, " SPACE | |||
lv_it_f1_tab | TYPE KXOB_T_TRANSPORT_F1, " | |||
lv_i_all_languages | TYPE SY-BATCH, " SPACE | |||
lv_i_split | TYPE SY-BATCH, " 'X' | |||
lv_i_overwrite_default | TYPE SY-BATCH, " SPACE | |||
lv_i_trans_info | TYPE KXOB_YS_TRANS_INFO, " | |||
lv_i_autorequest | TYPE COPA_TR_AUTO, " SPACE | |||
lv_i_syst_request | TYPE E070-TRKORR, " SPACE | |||
lv_object_not_found | TYPE E070, " | |||
lv_i_cust_only | TYPE XFELD, " SPACE | |||
lv_language | TYPE SY-LANGU, " SY-LANGU | |||
lv_no_correction_number | TYPE SY, " | |||
lv_mandant | TYPE SY-MANDT, " SY-MANDT | |||
lv_user_abort | TYPE SY, " | |||
lv_application | TYPE TKEB1-APPLCLASS, " SPACE | |||
lv_job_failure | TYPE TKEB1, " | |||
lv_objectkey | TYPE TKEB1, " '*' | |||
lv_objecttype | TYPE TKEB1, " | |||
lv_return_objecttypes | TYPE TKEB1, " SPACE | |||
lv_with_external_tabs | TYPE TKEB1. " SPACE |
  CALL FUNCTION 'RKD_TRANSPORT_OBJECTS' " |
EXPORTING | ||
CORRECTION_NUMBER | = lv_correction_number | |
WITH_USER_ACTION | = lv_with_user_action | |
OPERATION_TYPE | = lv_operation_type | |
FILTER_PROGRAM | = lv_filter_program | |
FILTER_FORM | = lv_filter_form | |
IT_F1_TAB | = lv_it_f1_tab | |
I_ALL_LANGUAGES | = lv_i_all_languages | |
I_SPLIT | = lv_i_split | |
I_OVERWRITE_DEFAULT | = lv_i_overwrite_default | |
I_TRANS_INFO | = lv_i_trans_info | |
I_AUTOREQUEST | = lv_i_autorequest | |
I_SYST_REQUEST | = lv_i_syst_request | |
I_CUST_ONLY | = lv_i_cust_only | |
LANGUAGE | = lv_language | |
MANDANT | = lv_mandant | |
APPLICATION | = lv_application | |
OBJECTKEY | = lv_objectkey | |
OBJECTTYPE | = lv_objecttype | |
RETURN_OBJECTTYPES | = lv_return_objecttypes | |
WITH_EXTERNAL_TABS | = lv_with_external_tabs | |
EXCEPTIONS | ||
BAD_OBJECTTYPE = 1 | ||
OBJECT_NOT_FOUND = 2 | ||
NO_CORRECTION_NUMBER = 3 | ||
USER_ABORT = 4 | ||
JOB_FAILURE = 5 | ||
. " RKD_TRANSPORT_OBJECTS |
ABAP code using 7.40 inline data declarations to call FM RKD_TRANSPORT_OBJECTS
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 TRKORR FROM E070 INTO @DATA(ld_correction_number). | ||||
DATA(ld_correction_number) | = ' '. | |||
DATA(ld_with_user_action) | = ' '. | |||
DATA(ld_operation_type) | = 'B'. | |||
DATA(ld_filter_program) | = ' '. | |||
DATA(ld_filter_form) | = ' '. | |||
"SELECT single BATCH FROM SY INTO @DATA(ld_i_all_languages). | ||||
DATA(ld_i_all_languages) | = ' '. | |||
"SELECT single BATCH FROM SY INTO @DATA(ld_i_split). | ||||
DATA(ld_i_split) | = 'X'. | |||
"SELECT single BATCH FROM SY INTO @DATA(ld_i_overwrite_default). | ||||
DATA(ld_i_overwrite_default) | = ' '. | |||
DATA(ld_i_autorequest) | = ' '. | |||
"SELECT single TRKORR FROM E070 INTO @DATA(ld_i_syst_request). | ||||
DATA(ld_i_syst_request) | = ' '. | |||
DATA(ld_i_cust_only) | = ' '. | |||
"SELECT single LANGU FROM SY INTO @DATA(ld_language). | ||||
DATA(ld_language) | = SY-LANGU. | |||
"SELECT single MANDT FROM SY INTO @DATA(ld_mandant). | ||||
DATA(ld_mandant) | = SY-MANDT. | |||
"SELECT single APPLCLASS FROM TKEB1 INTO @DATA(ld_application). | ||||
DATA(ld_application) | = ' '. | |||
DATA(ld_objectkey) | = '*'. | |||
DATA(ld_return_objecttypes) | = ' '. | |||
DATA(ld_with_external_tabs) | = ' '. | |||
Search for further information about these or an SAP related objects