SCSMBK_IMPORT_FROM_DATACLUSTER 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 SCSMBK_IMPORT_FROM_DATACLUSTER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SCSMBK
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'SCSMBK_IMPORT_FROM_DATACLUSTER' "
EXPORTING
* area = 'BC' " char2 Version Number Component
scheme = " csmsmntc Name of semantic for representing system relationships
class = " csmclass CCMS Class Names
* semantic = SEM_BC " csmsmntc Name of semantic for representing system relationships
* token = " csmtoken Property of CCMS Repository class
* active = 'Y' " csmactive Indicates whether a CCMS class is the active version
* dom_version = " csmversn Dominant or subsidiary version number of a CCMS class
* sub_version = " csmversn Dominant or subsidiary version number of a CCMS class
* lock = SPACE " csmbk_cl-sperr CHAR01 Data Element for SYST
* TABLES
* classdef = " csmbk_clss CCMS Class Definitions
* tokendef = " csmbk_tokn CCMS Token Definitions
EXCEPTIONS
ONLY_ONE_VERSIONNUMBER_GIVEN = 1 "
KEY_NOT_FOUND_IN_DATA_CLUSTER = 2 "
. " SCSMBK_IMPORT_FROM_DATACLUSTER
The ABAP code below is a full code listing to execute function module SCSMBK_IMPORT_FROM_DATACLUSTER 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).
| it_classdef | TYPE STANDARD TABLE OF CSMBK_CLSS,"TABLES PARAM |
| wa_classdef | LIKE LINE OF it_classdef , |
| it_tokendef | TYPE STANDARD TABLE OF CSMBK_TOKN,"TABLES PARAM |
| wa_tokendef | LIKE LINE OF it_tokendef . |
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_area | TYPE CHAR2 , |
| it_classdef | TYPE STANDARD TABLE OF CSMBK_CLSS , |
| wa_classdef | LIKE LINE OF it_classdef, |
| ld_scheme | TYPE CSMSMNTC , |
| it_tokendef | TYPE STANDARD TABLE OF CSMBK_TOKN , |
| wa_tokendef | LIKE LINE OF it_tokendef, |
| ld_class | TYPE CSMCLASS , |
| ld_semantic | TYPE CSMSMNTC , |
| ld_token | TYPE CSMTOKEN , |
| ld_active | TYPE CSMACTIVE , |
| ld_dom_version | TYPE CSMVERSN , |
| ld_sub_version | TYPE CSMVERSN , |
| ld_lock | TYPE CSMBK_CL-SPERR . |
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 SCSMBK_IMPORT_FROM_DATACLUSTER or its description.