SAP CLRC_ASSIGNMENTS_OF_OBJECTS Function Module for
CLRC_ASSIGNMENTS_OF_OBJECTS is a standard clrc assignments of objects 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 clrc assignments of objects FM, simply by entering the name CLRC_ASSIGNMENTS_OF_OBJECTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: CLRC
Program Name: SAPLCLRC
Main Program: SAPLCLRC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CLRC_ASSIGNMENTS_OF_OBJECTS 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 'CLRC_ASSIGNMENTS_OF_OBJECTS'".
EXPORTING
I_KLART = "Class Type
I_CLASS = "Class Number
I_KEY_DATE = "Date and Time, Current (Application Server) Date
I_LANGUAGE = "SAP R/3 System, Current Language
I_CHARACT_DESCR = "Single-Character Indicator
I_CALL_REPID = "ABAP Program: Current Main Program
I_CALL_DYNNR = "ABAP Program: Number of Current Screen
TABLES
IT_OBJECTS = "Objects in Search Result
IT_CHARAC = "Transfer Structure: Result Screen of Search in Classes
* IT_AUSP = "Characteristic Values
EXCEPTIONS
ERROR_IN_CLSD = 1 ERROR_IN_CLGV_CTMS = 2 ERROR_IN_CLGV_CTCV = 3 NO_CLASSIFICATION = 4
IMPORTING Parameters details for CLRC_ASSIGNMENTS_OF_OBJECTS
I_KLART - Class Type
Data type: KLASSENARTOptional: No
Call by Reference: Yes
I_CLASS - Class Number
Data type: KLASSE_DOptional: No
Call by Reference: Yes
I_KEY_DATE - Date and Time, Current (Application Server) Date
Data type: SYDATUMOptional: No
Call by Reference: Yes
I_LANGUAGE - SAP R/3 System, Current Language
Data type: SYLANGUOptional: No
Call by Reference: Yes
I_CHARACT_DESCR - Single-Character Indicator
Data type: CHAR1Optional: No
Call by Reference: Yes
I_CALL_REPID - ABAP Program: Current Main Program
Data type: SYREPIDOptional: No
Call by Reference: Yes
I_CALL_DYNNR - ABAP Program: Number of Current Screen
Data type: SYDYNNROptional: No
Call by Reference: Yes
TABLES Parameters details for CLRC_ASSIGNMENTS_OF_OBJECTS
IT_OBJECTS - Objects in Search Result
Data type: CLSEL_SEARCH_OBJECTSOptional: No
Call by Reference: Yes
IT_CHARAC - Transfer Structure: Result Screen of Search in Classes
Data type: CLRS_CHARACOptional: No
Call by Reference: Yes
IT_AUSP - Characteristic Values
Data type: AUSPOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
ERROR_IN_CLSD -
Data type:Optional: No
Call by Reference: Yes
ERROR_IN_CLGV_CTMS -
Data type:Optional: No
Call by Reference: Yes
ERROR_IN_CLGV_CTCV -
Data type:Optional: No
Call by Reference: Yes
NO_CLASSIFICATION -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CLRC_ASSIGNMENTS_OF_OBJECTS 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_i_klart | TYPE KLASSENART, " | |||
| lt_it_objects | TYPE STANDARD TABLE OF CLSEL_SEARCH_OBJECTS, " | |||
| lv_error_in_clsd | TYPE CLSEL_SEARCH_OBJECTS, " | |||
| lv_i_class | TYPE KLASSE_D, " | |||
| lt_it_charac | TYPE STANDARD TABLE OF CLRS_CHARAC, " | |||
| lv_error_in_clgv_ctms | TYPE CLRS_CHARAC, " | |||
| lt_it_ausp | TYPE STANDARD TABLE OF AUSP, " | |||
| lv_i_key_date | TYPE SYDATUM, " | |||
| lv_error_in_clgv_ctcv | TYPE SYDATUM, " | |||
| lv_i_language | TYPE SYLANGU, " | |||
| lv_no_classification | TYPE SYLANGU, " | |||
| lv_i_charact_descr | TYPE CHAR1, " | |||
| lv_i_call_repid | TYPE SYREPID, " | |||
| lv_i_call_dynnr | TYPE SYDYNNR. " |
|   CALL FUNCTION 'CLRC_ASSIGNMENTS_OF_OBJECTS' " |
| EXPORTING | ||
| I_KLART | = lv_i_klart | |
| I_CLASS | = lv_i_class | |
| I_KEY_DATE | = lv_i_key_date | |
| I_LANGUAGE | = lv_i_language | |
| I_CHARACT_DESCR | = lv_i_charact_descr | |
| I_CALL_REPID | = lv_i_call_repid | |
| I_CALL_DYNNR | = lv_i_call_dynnr | |
| TABLES | ||
| IT_OBJECTS | = lt_it_objects | |
| IT_CHARAC | = lt_it_charac | |
| IT_AUSP | = lt_it_ausp | |
| EXCEPTIONS | ||
| ERROR_IN_CLSD = 1 | ||
| ERROR_IN_CLGV_CTMS = 2 | ||
| ERROR_IN_CLGV_CTCV = 3 | ||
| NO_CLASSIFICATION = 4 | ||
| . " CLRC_ASSIGNMENTS_OF_OBJECTS | ||
ABAP code using 7.40 inline data declarations to call FM CLRC_ASSIGNMENTS_OF_OBJECTS
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