SAP SCSM_MD_ASSOCIATION_CLASS_DEF Function Module for
SCSM_MD_ASSOCIATION_CLASS_DEF is a standard scsm md association class def 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 scsm md association class def FM, simply by entering the name SCSM_MD_ASSOCIATION_CLASS_DEF into the relevant SAP transaction such as SE37 or SE38.
Function Group: SCSMBK_MDATA_IN
Program Name: SAPLSCSMBK_MDATA_IN
Main Program: SAPLSCSMBK_MDATA_IN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function SCSM_MD_ASSOCIATION_CLASS_DEF 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 'SCSM_MD_ASSOCIATION_CLASS_DEF'".
EXPORTING
* NAME' ' = "Object name in CCMS Repository
* ABAP_CLASS = "
* JAVA_CLASS = "CCMS Class Names
* SEMANTIC = "
* EXTENDED_NAMING_ON = CSM_NO "
CLASS_OWNER = "
* SCHEME = BC_SCHEME "
CLASS = "
* ABSTRACT = "
* FINAL = "
COMPONENT = "Application Component ID
* CLASS_VERSION = CSM_NONE "
* SUPER_SCHEME = BC_SCHEME "
* SUPER_CLASS = "
TABLES
CLASS_PROPERTIES = "Property Table for Function Group SCSMBK_MDATA_IN (CCMS SCR)
* CLASS_QUALIFIERS = "Input Table for CCMS System Repository Qualifiers
* PROPERTY_QUALIFIERS = "Input Table for CCMS System Repository Qualifiers
* CLASS_DESCRIPTIONS = "Short Texts for CCMS SCR Class and Property Descriptions
* PROP_DESCRIPTIONS = "Short Texts for CCMS SCR Class and Property Descriptions
* NS_CLASS_DESCRIPTS = "Translation Table for SCR Classes and Other Texts
* NS_PROP_DESCRIPTIONS = "Translation Table for SCR Classes and Other Texts
EXCEPTIONS
CLASS_VERSION_CONFLICT = 1 CLASS_MARKED_OBSOLETE = 2 FINAL_AND_ABSTRACT_MARKED = 3 CLASS_LOCKED_AGAINST_CHANGES = 4 REFERENCE_TYPE_NOT_GIVEN = 5 NOT_AUTHORIZED = 6 INTERNAL_ERROR = 7 REFERENCED_CLASS_NOT_DEFINED = 8
IMPORTING Parameters details for SCSM_MD_ASSOCIATION_CLASS_DEF
NAMESPACE - Object name in CCMS Repository
Data type: CSMOBJNMOptional: Yes
Call by Reference: No ( called with pass by value option)
ABAP_CLASS -
Data type: SEOCLSNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
JAVA_CLASS - CCMS Class Names
Data type: CSMCLASSOptional: Yes
Call by Reference: No ( called with pass by value option)
SEMANTIC -
Data type: CSMSMNTCOptional: Yes
Call by Reference: No ( called with pass by value option)
EXTENDED_NAMING_ON -
Data type: CSMACTIVEDefault: CSM_NO
Optional: Yes
Call by Reference: No ( called with pass by value option)
CLASS_OWNER -
Data type: CSMSYSGUIDOptional: No
Call by Reference: No ( called with pass by value option)
SCHEME -
Data type: CSMSMNTCDefault: BC_SCHEME
Optional: Yes
Call by Reference: No ( called with pass by value option)
CLASS -
Data type: CSMCLASSOptional: No
Call by Reference: No ( called with pass by value option)
ABSTRACT -
Data type: CSMABSTRCTOptional: Yes
Call by Reference: No ( called with pass by value option)
FINAL -
Data type: CSMFINALOptional: Yes
Call by Reference: No ( called with pass by value option)
COMPONENT - Application Component ID
Data type: SMAPCOMKEYOptional: No
Call by Reference: No ( called with pass by value option)
CLASS_VERSION -
Data type: CSMVERSNDefault: CSM_NONE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SUPER_SCHEME -
Data type: CSMSMNTCDefault: BC_SCHEME
Optional: Yes
Call by Reference: No ( called with pass by value option)
SUPER_CLASS -
Data type: CSMCLASSOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SCSM_MD_ASSOCIATION_CLASS_DEF
CLASS_PROPERTIES - Property Table for Function Group SCSMBK_MDATA_IN (CCMS SCR)
Data type: CSM_TOKENTOptional: No
Call by Reference: No ( called with pass by value option)
CLASS_QUALIFIERS - Input Table for CCMS System Repository Qualifiers
Data type: CSM_Q_INPTOptional: Yes
Call by Reference: No ( called with pass by value option)
PROPERTY_QUALIFIERS - Input Table for CCMS System Repository Qualifiers
Data type: CSM_Q_INPTOptional: Yes
Call by Reference: No ( called with pass by value option)
CLASS_DESCRIPTIONS - Short Texts for CCMS SCR Class and Property Descriptions
Data type: CSM_TEXTTOptional: Yes
Call by Reference: No ( called with pass by value option)
PROP_DESCRIPTIONS - Short Texts for CCMS SCR Class and Property Descriptions
Data type: CSM_TEXTTOptional: Yes
Call by Reference: No ( called with pass by value option)
NS_CLASS_DESCRIPTS - Translation Table for SCR Classes and Other Texts
Data type: CSM_TEXTS2Optional: Yes
Call by Reference: Yes
NS_PROP_DESCRIPTIONS - Translation Table for SCR Classes and Other Texts
Data type: CSM_TEXTS2Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
CLASS_VERSION_CONFLICT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CLASS_MARKED_OBSOLETE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FINAL_AND_ABSTRACT_MARKED -
Data type:Optional: No
Call by Reference: Yes
CLASS_LOCKED_AGAINST_CHANGES -
Data type:Optional: No
Call by Reference: Yes
REFERENCE_TYPE_NOT_GIVEN -
Data type:Optional: No
Call by Reference: Yes
NOT_AUTHORIZED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
REFERENCED_CLASS_NOT_DEFINED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SCSM_MD_ASSOCIATION_CLASS_DEF 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_namespace | TYPE CSMOBJNM, " | |||
lt_class_properties | TYPE STANDARD TABLE OF CSM_TOKENT, " | |||
lv_class_version_conflict | TYPE CSM_TOKENT, " | |||
lv_abap_class | TYPE SEOCLSNAME, " | |||
lv_java_class | TYPE CSMCLASS, " | |||
lv_semantic | TYPE CSMSMNTC, " | |||
lv_extended_naming_on | TYPE CSMACTIVE, " CSM_NO | |||
lv_class_owner | TYPE CSMSYSGUID, " | |||
lv_scheme | TYPE CSMSMNTC, " BC_SCHEME | |||
lt_class_qualifiers | TYPE STANDARD TABLE OF CSM_Q_INPT, " | |||
lv_class_marked_obsolete | TYPE CSM_Q_INPT, " | |||
lv_class | TYPE CSMCLASS, " | |||
lt_property_qualifiers | TYPE STANDARD TABLE OF CSM_Q_INPT, " | |||
lv_final_and_abstract_marked | TYPE CSM_Q_INPT, " | |||
lv_abstract | TYPE CSMABSTRCT, " | |||
lt_class_descriptions | TYPE STANDARD TABLE OF CSM_TEXTT, " | |||
lv_class_locked_against_changes | TYPE CSM_TEXTT, " | |||
lv_final | TYPE CSMFINAL, " | |||
lt_prop_descriptions | TYPE STANDARD TABLE OF CSM_TEXTT, " | |||
lv_reference_type_not_given | TYPE CSM_TEXTT, " | |||
lv_component | TYPE SMAPCOMKEY, " | |||
lv_not_authorized | TYPE SMAPCOMKEY, " | |||
lt_ns_class_descripts | TYPE STANDARD TABLE OF CSM_TEXTS2, " | |||
lv_class_version | TYPE CSMVERSN, " CSM_NONE | |||
lv_internal_error | TYPE CSMVERSN, " | |||
lt_ns_prop_descriptions | TYPE STANDARD TABLE OF CSM_TEXTS2, " | |||
lv_super_scheme | TYPE CSMSMNTC, " BC_SCHEME | |||
lv_referenced_class_not_defined | TYPE CSMSMNTC, " | |||
lv_super_class | TYPE CSMCLASS. " |
  CALL FUNCTION 'SCSM_MD_ASSOCIATION_CLASS_DEF' " |
EXPORTING | ||
NAMESPACE | = lv_namespace | |
ABAP_CLASS | = lv_abap_class | |
JAVA_CLASS | = lv_java_class | |
SEMANTIC | = lv_semantic | |
EXTENDED_NAMING_ON | = lv_extended_naming_on | |
CLASS_OWNER | = lv_class_owner | |
SCHEME | = lv_scheme | |
CLASS | = lv_class | |
ABSTRACT | = lv_abstract | |
FINAL | = lv_final | |
COMPONENT | = lv_component | |
CLASS_VERSION | = lv_class_version | |
SUPER_SCHEME | = lv_super_scheme | |
SUPER_CLASS | = lv_super_class | |
TABLES | ||
CLASS_PROPERTIES | = lt_class_properties | |
CLASS_QUALIFIERS | = lt_class_qualifiers | |
PROPERTY_QUALIFIERS | = lt_property_qualifiers | |
CLASS_DESCRIPTIONS | = lt_class_descriptions | |
PROP_DESCRIPTIONS | = lt_prop_descriptions | |
NS_CLASS_DESCRIPTS | = lt_ns_class_descripts | |
NS_PROP_DESCRIPTIONS | = lt_ns_prop_descriptions | |
EXCEPTIONS | ||
CLASS_VERSION_CONFLICT = 1 | ||
CLASS_MARKED_OBSOLETE = 2 | ||
FINAL_AND_ABSTRACT_MARKED = 3 | ||
CLASS_LOCKED_AGAINST_CHANGES = 4 | ||
REFERENCE_TYPE_NOT_GIVEN = 5 | ||
NOT_AUTHORIZED = 6 | ||
INTERNAL_ERROR = 7 | ||
REFERENCED_CLASS_NOT_DEFINED = 8 | ||
. " SCSM_MD_ASSOCIATION_CLASS_DEF |
ABAP code using 7.40 inline data declarations to call FM SCSM_MD_ASSOCIATION_CLASS_DEF
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.DATA(ld_extended_naming_on) | = CSM_NO. | |||
DATA(ld_scheme) | = BC_SCHEME. | |||
DATA(ld_class_version) | = CSM_NONE. | |||
DATA(ld_super_scheme) | = BC_SCHEME. | |||
Search for further information about these or an SAP related objects