SAP SCSMBK_OBJ_READ Function Module for
SCSMBK_OBJ_READ is a standard scsmbk obj 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 obj read FM, simply by entering the name SCSMBK_OBJ_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_OBJ_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_OBJ_READ'".
EXPORTING
QUANTITY = "Single-Character Flag
* DISPLAY_NAME = "Object name in CCMS Repository
* STATUS = "Indicator for Meta Data in System Component Repository
* SEMANTIC = "Object name in CCMS Repository
* DOMSYSTEM = "System GUID for R/3 or other system
* HOMSYSTEM = "System GUID for R/3 or other system
* REPORTER = "System GUID for R/3 or other system
* CCMS_OBJ = "Object Repository in CCMS System Repository
* SCOPE_OBJ = "System GUID for R/3 or other system
* SAP_KEY = "Text Field of Length 60
* CIM_KEY = "180 Character Text Field
* NAME' ' = "
* NS_CLASS = "CCMS Class Names
* SCHEME = "Object name in CCMS Repository
* CLASS = "CCMS Class Names
IMPORTING
RETURN_CODE = "Natural Number
OBJECT_ENTRY = "New Object Table for SCR from SAP Web AS 6.10
TABLES
* OBJECT_ENTRIES = "Object Repository in CCMS System Repository
IMPORTING Parameters details for SCSMBK_OBJ_READ
QUANTITY - Single-Character Flag
Data type: CSMACTIVEOptional: No
Call by Reference: Yes
DISPLAY_NAME - Object name in CCMS Repository
Data type: CSMOBJNMOptional: Yes
Call by Reference: Yes
STATUS - Indicator for Meta Data in System Component Repository
Data type: CSMACTIVEOptional: Yes
Call by Reference: Yes
SEMANTIC - Object name in CCMS Repository
Data type: CSMSMNTCOptional: Yes
Call by Reference: Yes
DOMSYSTEM - System GUID for R/3 or other system
Data type: CSMSYSGUIDOptional: Yes
Call by Reference: Yes
HOMSYSTEM - System GUID for R/3 or other system
Data type: CSMSYSGUIDOptional: Yes
Call by Reference: Yes
REPORTER - System GUID for R/3 or other system
Data type: CSMSYSGUIDOptional: Yes
Call by Reference: Yes
CCMS_OBJ - Object Repository in CCMS System Repository
Data type: CSMSYSGUIDOptional: Yes
Call by Reference: Yes
SCOPE_OBJ - System GUID for R/3 or other system
Data type: CSMSYSGUIDOptional: Yes
Call by Reference: Yes
SAP_KEY - Text Field of Length 60
Data type: CSMBK_OB2-SAP_KEYOptional: Yes
Call by Reference: Yes
CIM_KEY - 180 Character Text Field
Data type: CSMBK_OB2-CIM_KEYOptional: Yes
Call by Reference: Yes
NAMESPACE -
Data type: CSMOBJNMOptional: Yes
Call by Reference: Yes
NS_CLASS - CCMS Class Names
Data type: CSMCLASSOptional: Yes
Call by Reference: Yes
SCHEME - Object name in CCMS Repository
Data type: CSMSMNTCOptional: Yes
Call by Reference: Yes
CLASS - CCMS Class Names
Data type: CSMCLASSOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SCSMBK_OBJ_READ
RETURN_CODE - Natural Number
Data type: INT4Optional: No
Call by Reference: Yes
OBJECT_ENTRY - New Object Table for SCR from SAP Web AS 6.10
Data type: CSMBK_OB2Optional: No
Call by Reference: Yes
TABLES Parameters details for SCSMBK_OBJ_READ
OBJECT_ENTRIES - Object Repository in CCMS System Repository
Data type: CSMBK_OB2Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for SCSMBK_OBJ_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, " | |||
| lt_object_entries | TYPE STANDARD TABLE OF CSMBK_OB2, " | |||
| lv_display_name | TYPE CSMOBJNM, " | |||
| lv_status | TYPE CSMACTIVE, " | |||
| lv_semantic | TYPE CSMSMNTC, " | |||
| lv_domsystem | TYPE CSMSYSGUID, " | |||
| lv_homsystem | TYPE CSMSYSGUID, " | |||
| lv_reporter | TYPE CSMSYSGUID, " | |||
| lv_ccms_obj | TYPE CSMSYSGUID, " | |||
| lv_object_entry | TYPE CSMBK_OB2, " | |||
| lv_scope_obj | TYPE CSMSYSGUID, " | |||
| lv_sap_key | TYPE CSMBK_OB2-SAP_KEY, " | |||
| lv_cim_key | TYPE CSMBK_OB2-CIM_KEY, " | |||
| lv_namespace | TYPE CSMOBJNM, " | |||
| lv_ns_class | TYPE CSMCLASS, " | |||
| lv_scheme | TYPE CSMSMNTC, " | |||
| lv_class | TYPE CSMCLASS. " |
|   CALL FUNCTION 'SCSMBK_OBJ_READ' " |
| EXPORTING | ||
| QUANTITY | = lv_quantity | |
| DISPLAY_NAME | = lv_display_name | |
| STATUS | = lv_status | |
| SEMANTIC | = lv_semantic | |
| DOMSYSTEM | = lv_domsystem | |
| HOMSYSTEM | = lv_homsystem | |
| REPORTER | = lv_reporter | |
| CCMS_OBJ | = lv_ccms_obj | |
| SCOPE_OBJ | = lv_scope_obj | |
| SAP_KEY | = lv_sap_key | |
| CIM_KEY | = lv_cim_key | |
| NAMESPACE | = lv_namespace | |
| NS_CLASS | = lv_ns_class | |
| SCHEME | = lv_scheme | |
| CLASS | = lv_class | |
| IMPORTING | ||
| RETURN_CODE | = lv_return_code | |
| OBJECT_ENTRY | = lv_object_entry | |
| TABLES | ||
| OBJECT_ENTRIES | = lt_object_entries | |
| . " SCSMBK_OBJ_READ | ||
ABAP code using 7.40 inline data declarations to call FM SCSMBK_OBJ_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.| "SELECT single SAP_KEY FROM CSMBK_OB2 INTO @DATA(ld_sap_key). | ||||
| "SELECT single CIM_KEY FROM CSMBK_OB2 INTO @DATA(ld_cim_key). | ||||
Search for further information about these or an SAP related objects