Functionality This function module reads information about a set of object types(classes/interfaces) and returns the information in table parameters. The system checks authorization when reading (not yet implemented). Theobject types are not included in a correction or repair request, andare not locked to other users. If an error occurs during reading (forexample, no authorization for an object type), the entire procedure isterminated and no information about the object types is returned. Therelevant error messages are placed in the tableERROR_SET>. In the table parameter CLASS_INTERFACE_IDS, pass the names of theobject types for which you want to read information. Use the WITH_* (e.g. WITH_EVENTS) parameters to determine theinformation that you want to read. The information is returned in thecorresponding tables parameters (e.g. EVENT_SET). By default, all ofthe WITH_* parameters are selected, so that all of the information isread. This corresponds to the full object type (class or interface)with all of its components (attributes, methods, events), subcomponents(parameters, exceptions) and outgoing relationships (friends with,inherits from, contains, references). If you want to read all of the information about an object type, acceptthe default values. All long texts are, by default, read in the system language. If youwant to read texts in another lnaguage, enter its ID in the importparameter LANGUAGE. The function module does not trigger any exceptions. Problems and errormessages are returned to the caller in the table parameterERROR_SET>. If the read is successful, the error tableis empty.Example The following call reads all information except that for friendrelationships from the objects types 'EXAMPLE001' to 'EXAMPLE003': * Data declaration DATA: CLIF_KEYS LIKE RPYCLOK OCCURS 100 WITH HEADER LINE. DATA: CLIFS LIKE RPYCLCI OCCURS 100 WITH HEADER LINE. DATA: ATTRIBUTES LIKE RPYCLAT OCCURS 100 WITH HEADER LINE. DATA: METHODS LIKE RPYCLME OCCURS 100 WITH HEADER LINE. DATA: EVENTS LIKE RPYCLEV OCCURS 100 WITH HEADER LINE. DATA: PARAMETERS LIKE RPYCLPA OCCURS 100 WITH HEADER LINE. DATA: EXCEPTIONS LIKE RPYCLEX OCCURS 100 WITH HEADER LINE. DATA: METARELS LIKE RPYCLMR OCCURS 100 WITH HEADER LINE. DATA: IMPLRELS LIKE RPYCLIR OCCURS 100 WITH HEADER LINE. DATA: FRIENDRELS LIKE RPYCLFR OCCURS 100 WITH HEADER LINE. DATA: ERRORS LIKE RPYGSER OCCURS 100 WITH HEADER LINE. * Fill input parameters CLIF_KEYS-CLSNAME = 'EXAMPLE001'. APPEND CLIF_KEYS. CLIF_KEYS-CLSNAME = 'EXAMPLE002'. APPEND CLIF_KEYS. CLIF_KEYS-CLSNAME = 'EXAMPLE003'. APPEND CLIF_KEYS. * Call function modules CALL FUNCTION 'RPY_CLIF_MULTI_READ' EXPORTING * LANGUAGE = SY-LANGU * WITH_CLASS_INTERFACE_INFOS = 'X' * WITH_ATTRIBUTES = 'X' * WITH_METHODS = 'X' * WITH_EVENTS = 'X' * WITH_PARAMETERS = 'X' * WITH_EXCEPTIONS = 'X' * WITH_META_RELATIONS = 'X' * WITH_INSTANCE_RELATIONS = 'X' WITH_FRIENDS_RELATIONS = ' ' TABLES CLASS_INTERFACE_IDS = CLIF_KEYS CLASS_INTERFACE_INFO_SET = CLIFS ATTRIBUTE_SET = ATTRIBUTES METHOD_SET = METHODS EVENT_SET = EVENTS PARAMETER_SET = PARAMETERS EXCEPTION_SET = EXCEPTIONS META_RELATION_SET = METARELS INSTANCE_RELATION_SET = IMPLRELS ERROR_SET = ERRORS EXCEPTIONS OTHERS = 1. * Error processing LOOP AT ERROR_SET. ... ENDLOOP. Further information Other function modules in the Class Library API: RPY_CLIF_MULTI_READ_LOCK> RPY_CLIF_MULTI_INSERT> RPY_CLIF_COMP_MULTI_INSERT> RPY_CLIF_REL_MULTI_INSERT> RPY_CLIF_INFO_UPDATE> RPY_CLIF_COMP_UPDATE> RPY_CLIF_REL_UPDATE> RPY_CLIF_COMP_DELETE> RPY_CLIF_REL_DELETE> RPY_CLIF_DELETE> |