RH_CHECK_OBJECT_FOR_OUTBOUND is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below are the pattern details for this FM showing its interface including any import, export parameters etc and for your convenience any standard documentation available. All this information and more can be viewed if you enter the function module name RH_CHECK_OBJECT_FOR_OUTBOUND into the relevant SAP transaction such as SE37 or SE80.
CALL FUNCTION 'RH_CHECK_OBJECT_FOR_OUTBOUND' " EXPORTING plvar = " plvar Plan Version otype = " otype Object Type objid = " hrobjid Object ID * check_enqueue = 'X' " flag * check_original = 'X' " flag EXCEPTIONS OBJECT_IS_ENQUEUED = 1 " Object is locked OBJECT_IS_NOT_ORIGINAL = 2 " OBJECT_IS_NOT_EXISTING = 3 " Object Does Not Exist OBJECT_IS_NOT_REGISTERED = 4 " CUSTOMER_REJECTED = 5 " CUSTOMER_REJECTED_NO_MESSAGE = 6 " . " RH_CHECK_OBJECT_FOR_OUTBOUND