MSS_PARTITION_STORAGE_GET 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 MSS_PARTITION_STORAGE_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SFMSS_PARTITION
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'MSS_PARTITION_STORAGE_GET' "
EXPORTING
part_tabname = " dd02l-tabname Table Name
source_hierarchy = " storagesrc Source hierarchy for storage structure
* dbsys = SY-DBSYS " sy-dbsys R/3 System, Name of Central Database System
IMPORTING
part_colname = " dd03l-fieldname
left_right = " msspartright
value_type = " msspartparatyp
value_length = " dd03l-leng
value_decimals = " dd03l-decimals
part_type = " mssparttype
keyflag = "
TABLES
part_values_out = " msssysnametab
filegroups_out = " msssysnametab
part_names_out = " msssysnametab
* storage_out = " ddtextdata
EXCEPTIONS
WRONG_DATABASE_PLATFORM = 1 "
WRONG_PARAMETER_INPUT = 2 "
NO_STORAGE_PARAMETER_AVAILABLE = 3 "
SCHEMA_NOT_FOUND = 4 "
INVALID_INPUT = 5 "
NO_DB_ACCESS = 6 "
DB_NOT_FOUND = 7 "
INTERNAL_ERROR = 8 "
DB_ERROR = 9 "
NOT_RUNNING_ON_MSSQL = 10 "
. " MSS_PARTITION_STORAGE_GET
The ABAP code below is a full code listing to execute function module MSS_PARTITION_STORAGE_GET 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_part_colname | TYPE DD03L-FIELDNAME , |
| ld_left_right | TYPE MSSPARTRIGHT , |
| ld_value_type | TYPE MSSPARTPARATYP , |
| ld_value_length | TYPE DD03L-LENG , |
| ld_value_decimals | TYPE DD03L-DECIMALS , |
| ld_part_type | TYPE MSSPARTTYPE , |
| ld_keyflag | TYPE STRING , |
| it_part_values_out | TYPE STANDARD TABLE OF MSSSYSNAMETAB,"TABLES PARAM |
| wa_part_values_out | LIKE LINE OF it_part_values_out , |
| it_filegroups_out | TYPE STANDARD TABLE OF MSSSYSNAMETAB,"TABLES PARAM |
| wa_filegroups_out | LIKE LINE OF it_filegroups_out , |
| it_part_names_out | TYPE STANDARD TABLE OF MSSSYSNAMETAB,"TABLES PARAM |
| wa_part_names_out | LIKE LINE OF it_part_names_out , |
| it_storage_out | TYPE STANDARD TABLE OF DDTEXTDATA,"TABLES PARAM |
| wa_storage_out | LIKE LINE OF it_storage_out . |
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_part_colname | TYPE DD03L-FIELDNAME , |
| it_part_values_out | TYPE STANDARD TABLE OF MSSSYSNAMETAB , |
| wa_part_values_out | LIKE LINE OF it_part_values_out, |
| ld_part_tabname | TYPE DD02L-TABNAME , |
| it_filegroups_out | TYPE STANDARD TABLE OF MSSSYSNAMETAB , |
| wa_filegroups_out | LIKE LINE OF it_filegroups_out, |
| ld_source_hierarchy | TYPE STORAGESRC , |
| ld_left_right | TYPE MSSPARTRIGHT , |
| ld_dbsys | TYPE SY-DBSYS , |
| it_part_names_out | TYPE STANDARD TABLE OF MSSSYSNAMETAB , |
| wa_part_names_out | LIKE LINE OF it_part_names_out, |
| ld_value_type | TYPE MSSPARTPARATYP , |
| ld_value_length | TYPE DD03L-LENG , |
| it_storage_out | TYPE STANDARD TABLE OF DDTEXTDATA , |
| wa_storage_out | LIKE LINE OF it_storage_out, |
| ld_value_decimals | TYPE DD03L-DECIMALS , |
| ld_part_type | TYPE MSSPARTTYPE , |
| ld_keyflag | TYPE STRING . |
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 MSS_PARTITION_STORAGE_GET or its description.
MSS_PARTITION_STORAGE_GET - MSS_PARSE_FINAL_COMMAND - MS SQL Server parse final command for explain MSS_PARAMSTRING_FROM_SQLTEXT - MS SQL server function to get parameter string from sqltext MSS_MON_SQLTEXT - Get SQL Text for an MSS object MSS_MON_SET_ONLINE_INDXCREATE - Set online index creation on/off MSS_MON_OBJECT_TYPE - Find the type of an object