Executing Transaction SAP Workitem / Task ( SAP Workflow )


Executing SAP Transaction in Work item / Task ( SAP Workflow )

Create a class YCL_WORFKLOW


 Implement interface IF_WORKFLOW and create method call_transaction.
  method BI_PERSISTENT~FIND_BY_LPOR.

  CREATE OBJECT result
    TYPE
      ('YCL_WORKFLOW').

  endmethod.











Write below code inside method CALL_TRANSACTION
 CALL TRANSACTION 'ME53N'.

Create a standard task using transaction PFTC

 

Create a new Workflow using Transaction SWDD and Assign task to the workflow.







 

Execute workflow and Transaction will be called.
 

No comments:

Post a Comment

Code Inspector

The Code Inspector tests single objects or object sets (programs, function groups, classes, interfaces, Dictionary objects) for performanc...