SAP Function CF_ST_DOK_DELETE - Delete PRT data 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
FLG_TEST_IMP RC27X-FLG_SEL C 1 SPACE X Only test on use - no database change

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