CO_DT_DTAB_CREATE 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 CO_DT_DTAB_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CODT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CO_DT_DTAB_CREATE' "CIM order
EXPORTING
* aufnr_imp = SPACE " aufk-aufnr Order Number
* complete = SPACE " xfeld Flag; creation of the dialog table across all networks
* flg_obju = SPACE " xfeld Checkbox
object_status = " tca11 Object selection for object overviews
* prps_projn = 00000000 " prps-pspnr WBS Element
* rc27i_a_allig = 0 " sy-tabix Index of Internal Tables
rc27i_imp = " rc27i Task lists: Indexes referring to current rec'd in rec'd tabs
* selection = " rc271 Fields in Screen for the Selection of Task Lists
* trtyp_imp = SPACE " tc10-trtyp Transaction Type
* wbspos_imp = SPACE " xfeld Checkbox
IMPORTING
entries = " sy-tabix Index of Internal Tables
flg_lst_exists = " xflag New Input Values
lstnr = " rclst-lstnr Task list: Number of the object overview to be displayed
. " CO_DT_DTAB_CREATE
The ABAP code below is a full code listing to execute function module CO_DT_DTAB_CREATE 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_entries | TYPE SY-TABIX , |
| ld_flg_lst_exists | TYPE XFLAG , |
| ld_lstnr | TYPE RCLST-LSTNR . |
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_entries | TYPE SY-TABIX , |
| ld_aufnr_imp | TYPE AUFK-AUFNR , |
| ld_flg_lst_exists | TYPE XFLAG , |
| ld_complete | TYPE XFELD , |
| ld_lstnr | TYPE RCLST-LSTNR , |
| ld_flg_obju | TYPE XFELD , |
| ld_object_status | TYPE TCA11 , |
| ld_prps_projn | TYPE PRPS-PSPNR , |
| ld_rc27i_a_allig | TYPE SY-TABIX , |
| ld_rc27i_imp | TYPE RC27I , |
| ld_selection | TYPE RC271 , |
| ld_trtyp_imp | TYPE TC10-TRTYP , |
| ld_wbspos_imp | TYPE XFELD . |
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 CO_DT_DTAB_CREATE or its description.