SAP Function VERS_CHECK_VERSIONS_CLOSED -

Parameter Reference Type Length Default Optional Text
OBJNAME VRSD-OBJNAME C 110 Object Name
OBJTYPE VRSD-OBJTYPE C 4 Object type

Exception Text
NOT_YET_VERSIONED
VERSIONING_CLOSED