SAP Function RP_OA_STORE_DOCUMENT - HR: dialog box during allocation of originals

Parameter Reference Type Length Default Optional Text
COM_CBWFL PSPAR-CBWFL C 1 Call from Workflow (early entry)
COM_DOKAR PSPAR-DOKAR C 10 Document type of the object to be stored
COM_ENAME P0001-ENAME C 40 Name the employee/applicant
COM_OBART T585O-OBART C 10 Object type (PREL/PAPL)
COM_OBJKY PSKOA u 26 Archive key of the current infotype record

Parameter Reference Type Length Text
COM_OBKEY PSKOA u 26 confirmed key after allocation

Exception Text
DOKART_DOES_NOT_EXIST Document type not configured in T585O
NO_ASSIGNMENT Allocation was not confirmed
NO_BARCODE
WRONG_INFOTYPE Allocation called in the incorrect info type
WRONG_OBJPS Allocation called in incorrect object ID
WRONG_SUBTYPE Allocation called in incorrect subtype