beautypg.com

Adding a transaction code – Kofax Export Connector for ERP 2.4.9 User Manual

Page 32

background image

Store for Subsequent Entry

32

Kofax Export Connector for ERP Administrator's Guide

8 Use this graphic to complete the fields on the ABAP tab of the Change Object Type

window.
 

 

9 Enter the following code to call the function:

'Z_DICOM_SHOW_WORKITEM_BASIC'
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.

10 Continue at

Adding a Transaction Code

.

Adding a Transaction Code

1 Click Edit to switch to edit mode.

The system displays the business objects.

2 Select the method name you created in

Adding a Transaction Code

and click Parameters.