SAP SCSMBK_PROPERTY_READ Function Module for
SCSMBK_PROPERTY_READ is a standard scsmbk property read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for scsmbk property read FM, simply by entering the name SCSMBK_PROPERTY_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: SCSMBK
Program Name: SAPLSCSMBK
Main Program: SAPLSCSMBK
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function SCSMBK_PROPERTY_READ pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'SCSMBK_PROPERTY_READ'".
EXPORTING
QUANTITY = "Indicates whether a CCMS class is the active version
* MINVERSION = "Natural Number
* SEMANTIC = "Name of semantic for representing system relationships
* PROVIDER = "Data supplier that creates a class token tuple
* SCHEME = "Name of semantic for representing system relationships
* REPORTER = "System GUID for R/3 or other system
* TIMESTAMP = "UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
* REM_TZONE = "Date and time, time difference from Greenwich Mean Time
* SUBTYPE = "Property type in CCMS Repository
* CCMS_OBJ = "System GUID for R/3 or other system
* TOKEN = "Property of CCMS Repository class
* VALUE = "Object name in CCMS Repository
* OWNER_CLS = "CCMS Class Names
* TOKNTYPE = "Property type in CCMS Repository
* VALUE_CLS = "CCMS Class Names
* ACTIVE = "Single-Character Flag
* MAJVERSION = "Natural Number
IMPORTING
RETURN_CODE = "Natural Number
CHANGING
* OBJECT_PROPERTY = "Fact Table for CCMS System Repository
TABLES
* OBJECT_PROPERTIES = "Fact Table for CCMS System Repository
EXCEPTIONS
MULTIPLE_ENTRIES_FOUND = 1 VALUE_OVERFLOW = 2
IMPORTING Parameters details for SCSMBK_PROPERTY_READ
QUANTITY - Indicates whether a CCMS class is the active version
Data type: CSMACTIVEOptional: No
Call by Reference: Yes
MINVERSION - Natural Number
Data type: CSMVERSNOptional: Yes
Call by Reference: Yes
SEMANTIC - Name of semantic for representing system relationships
Data type: CSMSMNTCOptional: Yes
Call by Reference: Yes
PROVIDER - Data supplier that creates a class token tuple
Data type: CSMPROVDROptional: Yes
Call by Reference: Yes
SCHEME - Name of semantic for representing system relationships
Data type: CSMSMNTCOptional: Yes
Call by Reference: Yes
REPORTER - System GUID for R/3 or other system
Data type: CSMSYSGUIDOptional: Yes
Call by Reference: Yes
TIMESTAMP - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
Data type: TIMESTAMPOptional: Yes
Call by Reference: Yes
REM_TZONE - Date and time, time difference from Greenwich Mean Time
Data type: SYTZONEOptional: Yes
Call by Reference: Yes
SUBTYPE - Property type in CCMS Repository
Data type: CSMTOKNTYPOptional: Yes
Call by Reference: Yes
CCMS_OBJ - System GUID for R/3 or other system
Data type: CSMSYSGUIDOptional: Yes
Call by Reference: Yes
TOKEN - Property of CCMS Repository class
Data type: CSMTOKENOptional: Yes
Call by Reference: Yes
VALUE - Object name in CCMS Repository
Data type: CSMOBJNMOptional: Yes
Call by Reference: Yes
OWNER_CLS - CCMS Class Names
Data type: CSMCLASSOptional: Yes
Call by Reference: Yes
TOKNTYPE - Property type in CCMS Repository
Data type: CSMTOKNTYPOptional: Yes
Call by Reference: Yes
VALUE_CLS - CCMS Class Names
Data type: CSMCLASSOptional: Yes
Call by Reference: Yes
ACTIVE - Single-Character Flag
Data type: CSMACTIVEOptional: Yes
Call by Reference: Yes
MAJVERSION - Natural Number
Data type: CSMVERSNOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SCSMBK_PROPERTY_READ
RETURN_CODE - Natural Number
Data type: INT4Optional: No
Call by Reference: Yes
CHANGING Parameters details for SCSMBK_PROPERTY_READ
OBJECT_PROPERTY - Fact Table for CCMS System Repository
Data type: CSMBKOptional: Yes
Call by Reference: Yes
TABLES Parameters details for SCSMBK_PROPERTY_READ
OBJECT_PROPERTIES - Fact Table for CCMS System Repository
Data type: CSMBKOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
MULTIPLE_ENTRIES_FOUND -
Data type:Optional: No
Call by Reference: Yes
VALUE_OVERFLOW -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SCSMBK_PROPERTY_READ Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.DATA: | ||||
lv_quantity | TYPE CSMACTIVE, " | |||
lv_return_code | TYPE INT4, " | |||
lv_object_property | TYPE CSMBK, " | |||
lt_object_properties | TYPE STANDARD TABLE OF CSMBK, " | |||
lv_multiple_entries_found | TYPE CSMBK, " | |||
lv_minversion | TYPE CSMVERSN, " | |||
lv_semantic | TYPE CSMSMNTC, " | |||
lv_provider | TYPE CSMPROVDR, " | |||
lv_scheme | TYPE CSMSMNTC, " | |||
lv_reporter | TYPE CSMSYSGUID, " | |||
lv_timestamp | TYPE TIMESTAMP, " | |||
lv_rem_tzone | TYPE SYTZONE, " | |||
lv_subtype | TYPE CSMTOKNTYP, " | |||
lv_ccms_obj | TYPE CSMSYSGUID, " | |||
lv_value_overflow | TYPE CSMSYSGUID, " | |||
lv_token | TYPE CSMTOKEN, " | |||
lv_value | TYPE CSMOBJNM, " | |||
lv_owner_cls | TYPE CSMCLASS, " | |||
lv_tokntype | TYPE CSMTOKNTYP, " | |||
lv_value_cls | TYPE CSMCLASS, " | |||
lv_active | TYPE CSMACTIVE, " | |||
lv_majversion | TYPE CSMVERSN. " |
  CALL FUNCTION 'SCSMBK_PROPERTY_READ' " |
EXPORTING | ||
QUANTITY | = lv_quantity | |
MINVERSION | = lv_minversion | |
SEMANTIC | = lv_semantic | |
PROVIDER | = lv_provider | |
SCHEME | = lv_scheme | |
REPORTER | = lv_reporter | |
TIMESTAMP | = lv_timestamp | |
REM_TZONE | = lv_rem_tzone | |
SUBTYPE | = lv_subtype | |
CCMS_OBJ | = lv_ccms_obj | |
TOKEN | = lv_token | |
VALUE | = lv_value | |
OWNER_CLS | = lv_owner_cls | |
TOKNTYPE | = lv_tokntype | |
VALUE_CLS | = lv_value_cls | |
ACTIVE | = lv_active | |
MAJVERSION | = lv_majversion | |
IMPORTING | ||
RETURN_CODE | = lv_return_code | |
CHANGING | ||
OBJECT_PROPERTY | = lv_object_property | |
TABLES | ||
OBJECT_PROPERTIES | = lt_object_properties | |
EXCEPTIONS | ||
MULTIPLE_ENTRIES_FOUND = 1 | ||
VALUE_OVERFLOW = 2 | ||
. " SCSMBK_PROPERTY_READ |
ABAP code using 7.40 inline data declarations to call FM SCSMBK_PROPERTY_READ
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects