IUUC_CREATE_TABLE 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 IUUC_CREATE_TABLE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
IUUC_REMOTE
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'IUUC_CREATE_TABLE' "Create Table
EXPORTING
i_name = " ddobjname Name of shadow table
* i_orig_name = " ddobjname Name of original table
is_dd02v = " dd02v Generated Table for View DD02V
is_dd09l = " dd09l DD: Technical settings of tables
* i_add_probtab_entry = " boolean boolean variable (X=true, -=false, space=unknown)
* i_secind_field = " fieldname field in first position of sec. ind.
* i_only_inactive_nametab = " boolean don't create table on DB; only inactive nametab
* i_num_of_partitions = " numc_3 requested number of partitions (Oracle)
* i_sequence_sec_index = " boolean include sequence field in second. index
IMPORTING
e_rc = " syst-subrc Return Value, Return Value After ABAP Statements
TABLES
it_dd03p = " dd03p Structure
EXCEPTIONS
TABLE_CREATE_FAILED = 1 " Table couldn't be created successfully
MSSQL_IDENT_NOT_DEFINED = 2 " IDENT field for MS SQL could not be defined
DATA_CLASS_UNKNOWN = 3 " data class is unknown
INDEX_CREATION_FAILED = 4 " index creation failed
INVALID_INDEX_FIELDNAME = 5 " invalid index fieldname
. " IUUC_CREATE_TABLE
The ABAP code below is a full code listing to execute function module IUUC_CREATE_TABLE 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_e_rc | TYPE SYST-SUBRC , |
| it_it_dd03p | TYPE STANDARD TABLE OF DD03P,"TABLES PARAM |
| wa_it_dd03p | LIKE LINE OF it_it_dd03p . |
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_e_rc | TYPE SYST-SUBRC , |
| ld_i_name | TYPE DDOBJNAME , |
| it_it_dd03p | TYPE STANDARD TABLE OF DD03P , |
| wa_it_dd03p | LIKE LINE OF it_it_dd03p, |
| ld_i_orig_name | TYPE DDOBJNAME , |
| ld_is_dd02v | TYPE DD02V , |
| ld_is_dd09l | TYPE DD09L , |
| ld_i_add_probtab_entry | TYPE BOOLEAN , |
| ld_i_secind_field | TYPE FIELDNAME , |
| ld_i_only_inactive_nametab | TYPE BOOLEAN , |
| ld_i_num_of_partitions | TYPE NUMC_3 , |
| ld_i_sequence_sec_index | TYPE BOOLEAN . |
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 IUUC_CREATE_TABLE or its description.
IUUC_CREATE_TABLE - Create Table IUUC_COUNT_ENTRIES_LOGGING_TBL - Count entries in the logging table IUUC_COPY_DB_TABLE - copy a DB table, optionally with content IUUC_COPY_DBCON_TO_SENDER - Copies the replication target dbcon to the sender IUUC_CLASSIFICATION_EXIT - customer-specific classification logic IUUC_CHECK_UNIQUE_INDEX - Check if tables has unique index (primary or secondary)