beautypg.com

Maintaining tasks – Kofax Export Connector for ERP 2.4.9 User Manual

Page 50

background image

Store for Subsequent Entry

50

Kofax Export Connector for ERP Administrator's Guide

BEGIN_METHOD ZCREATEWD CHANGING CONTAINER. *** Local Variables
DATA:
TCODE LIKE T020-TCODE.
*** Get transaction code from workflow.
SWC_GET_ELEMENT CONTAINER 'TransactionCode' TCODE.
*** Call wrapper function to display workitem details
CALL FUNCTION 'Z_DICOM_SHOW_WORKITEM_BASIC'
EXPORTING
TCODE = TCODE
BUS_OBJECT_NAME = 'ZDCM_BKPF'. *** Check for errors
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

Maintaining Tasks

Because Kofax does not deliver tasks with the business objects in our transports, you must

create tasks. The business object of the task must be in line with the transaction to be called.

To make sure captured index data are properly filled into the transaction fields, use the

customized business object and the ZCreateWD open method.
 

 

As there are no ArchiveLink components involved, you can call the

Z_DICOM_STORE_USING_XX modules by passing the taskID. No image-related

information (Archiv, ArchivObject and DocType) is required.