SAP Function CF_ST_DOK_USAGE_CHECK - Check whether a task list allocation exists for a document

Parameter Reference Type Length Default Optional Text
DOKAR_IMP DRAW-DOKAR C 3 Document type
DOKNR_IMP DRAW-DOKNR C 25 Document number
DOKTL_IMP DRAW-DOKTL C 3 Part document
DOKVR_IMP DRAW-DOKVR C 2 Document version

Parameter Reference Type Length Text
OBJID_EXP CRID-OBJID N 8 Internal PRT ID
OBJTY_EXP CRID-OBJTY C 2 Internal object type PRT

Exception Text
NOT_FHM No PRT data for the document exists
ORDER_USAGE PRT document is allocated to a work order
PLAN_USAGE PRT document is allocated to a task list