DTL_SUBPROJ_DEFINE 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 DTL_SUBPROJ_DEFINE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
DMC_DTL
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'DTL_SUBPROJ_DEFINE' "API: create subproject
EXPORTING
im_project = " dmc_pident Bezeichner f. Projekte
im_subproject = " dmc_sident Bezeichner f. Subprojekte
* im_descript = " dmc_descr Beschreibung
* im_packid = " dmc_package_id Package number to specify CMIS and TDMS packages
* im_session_id = " dmc_session_id MBT PCL SESSION_ID
* i_tadir = '-' " boolean Direct TADIR update instead of CTS
IMPORTING
ex_lognumber = " balognr Anwendungs-Log: Protokollnummer
ex_status = " dmc_activity_status_info Status info for MWB activities
* TABLES
* it_rfcdest = " dtl_rfc_data_from_pcl rfc data from PCL (CNVMBTPCLSTRUCRF)
* it_rulelist = " dmc_dtl_rules Structure for passing of rules to DTL (API)
* it_ruleparams = " dtl_rule_parameters rule paramters, including rule name (= CNVMBTPCLSTRUCRP)
* it_rulecoding = " dtl_rulecode_from_pcl structure for rule code from PCL (CNVMBTPCLSTRUCRC)
. " DTL_SUBPROJ_DEFINE
The ABAP code below is a full code listing to execute function module DTL_SUBPROJ_DEFINE 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_ex_lognumber | TYPE BALOGNR , |
| ld_ex_status | TYPE DMC_ACTIVITY_STATUS_INFO , |
| it_it_rfcdest | TYPE STANDARD TABLE OF DTL_RFC_DATA_FROM_PCL,"TABLES PARAM |
| wa_it_rfcdest | LIKE LINE OF it_it_rfcdest , |
| it_it_rulelist | TYPE STANDARD TABLE OF DMC_DTL_RULES,"TABLES PARAM |
| wa_it_rulelist | LIKE LINE OF it_it_rulelist , |
| it_it_ruleparams | TYPE STANDARD TABLE OF DTL_RULE_PARAMETERS,"TABLES PARAM |
| wa_it_ruleparams | LIKE LINE OF it_it_ruleparams , |
| it_it_rulecoding | TYPE STANDARD TABLE OF DTL_RULECODE_FROM_PCL,"TABLES PARAM |
| wa_it_rulecoding | LIKE LINE OF it_it_rulecoding . |
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_ex_lognumber | TYPE BALOGNR , |
| ld_im_project | TYPE DMC_PIDENT , |
| it_it_rfcdest | TYPE STANDARD TABLE OF DTL_RFC_DATA_FROM_PCL , |
| wa_it_rfcdest | LIKE LINE OF it_it_rfcdest, |
| ld_ex_status | TYPE DMC_ACTIVITY_STATUS_INFO , |
| ld_im_subproject | TYPE DMC_SIDENT , |
| it_it_rulelist | TYPE STANDARD TABLE OF DMC_DTL_RULES , |
| wa_it_rulelist | LIKE LINE OF it_it_rulelist, |
| ld_im_descript | TYPE DMC_DESCR , |
| it_it_ruleparams | TYPE STANDARD TABLE OF DTL_RULE_PARAMETERS , |
| wa_it_ruleparams | LIKE LINE OF it_it_ruleparams, |
| ld_im_packid | TYPE DMC_PACKAGE_ID , |
| it_it_rulecoding | TYPE STANDARD TABLE OF DTL_RULECODE_FROM_PCL , |
| wa_it_rulecoding | LIKE LINE OF it_it_rulecoding, |
| ld_im_session_id | TYPE DMC_SESSION_ID , |
| ld_i_tadir | TYPE BOOLEAN . |
This API is used to create a subproject in the migration workbench. The
execution is done in synchronous mode.
...See here for full SAP fm documentation
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 DTL_SUBPROJ_DEFINE or its description.
DTL_SUBPROJ_DEFINE - API: create subproject DTL_SET_OBJECT_BLOCK_STATUS - set or reset block status for a migration object DTL_SEMAPHORE_INFO_GET - API: Get semaphore values for sender, receiver and DTL system DTL_SEMAPHORE_DEFINE - API: Assign semaphore values to sender, receiver and DTL system DTL_RULES_RESET - API: delete rules for existing (sub)project or conv.obj. DTL_RULES_DEFINE - API: define additional rules for existing (sub)project or conv.obj.