UPARM_VALID_MAIN_INFO_OBJ is a standard SAP function module that performs Validate Main Info Object functionality. This is available within standard R/3 SAP systems depending on version and release level.
Below are the pattern details for this FM showing its interface including any import, export and tables parameters. There is also a list of Exceptions and for your convenience any standard documentation available. All this information and more can also be viewed if you enter the function module name UPARM_VALID_MAIN_INFO_OBJ into the relevant SAP transaction such as SE37 or SE80.
CALL FUNCTION 'UPARM_VALID_MAIN_INFO_OBJ' "Validate Main Info Object
EXPORTING
i_main_info_obj = " uparm_y_main_iobj Main Info Object of a view
. " UPARM_VALID_MAIN_INFO_OBJ