Functionality The function module reads the relevant definitions for a list of objecttype IDs from the business object repository. The parameters WITH_VERBS, WITH_PARAMETERS, WITH_EXCEPTIONS,WITH_TEXTS, WITH_FORMATTED_DOCUMENTATION, andWITH_SAPSCRIPT_DOCUMENTATION can be used to determine which informationshould be read. It should be noted that WITH_PARAMETERS andWITH_EXCEPTIONS are only meaningful if the verbs are read as well, thatis if WITH_VERBS has the value 'X'. Otherwise these parameters areignored. The documentation is always read on the same level as theobject type, that is the documentation of the verbs is only read if theverbs themselves are read. The individual sub-objects are returned in separate tables. Example DATA: objtypes like RPYBOOJ occurs 0 with header line," input objecttypes basedat like RPYBOBS occurs 0, " basic data intfs like RPYBOIF occurs 0, " interfaces key like RPYBOKE occurs 0, " key fields attribs like RPYBOAT occurs 0, " attributes methods like RPYBOME occurs 0, " methods mparameter like RPYBOMP occurs 0, " method parameters exceptions like RPYBOEX occurs 0, " exceptions events like RPYBOEV occurs 0, " events eparameter like RPYBOEP occurs 0. " event parameters ... " Fill input parameter objtypes-objtype = 'BUS1043'. " object type customer append objtypes. objtypes-objtype = 'BUS1044'. " object type vendor append objtypes. ... call function 'RPY_OBJECTTYPE_MULTI_READ' exporting language = 'E' " language English cico_mode = 'R' " read-only cico_request_no = ' ' " no transport request with_verbs = 'X' " read all parts with_parameters = 'X' " " with_exceptions = 'X' " " with_texts = 'X' " " with_formatted_documentation = ' ' " no documentation with_sapscript_documentation = ' ' " no documentation tables objecttype_ids = objtypes objecttype_infos = basedat interfaces = intfs keyfields = key attributes = attribs methods = methods methodparams = mparameter methodexceptions = exceptions events = events eventparams = eparameter exceptions not_found = 1 permission_error = 2 others = 3. IF SY-SUBRC NE 0. ... ENDIF. Further information For further information on the business object repository, refer to theonline documentation. Detailed information on the referenced structures and tables can befound under: Object type IDs> Basic data> Interfaces> Key fields> Methods> Method parameters> Exceptions> Attributes> Events> Event parameters> General fields> |