Description This read program serves as an example for reading a workflow for aspecific instance of an application object. This means that questionslike "show me the workflow with which the document with number xy wasreleased" can be answered from archive data. If the work item connection to the archive information system is active(archive info structure SAP_BO_2_WI_001), the archive in which theworkflow with this object was saved is read automatically. In thiscase, the workflow found can also be read directly from the archive(indexed access). If the connection to the archive information system is not activated,the user must employ appropriate measures to ensure that they know thearchive in which they want to search for the workflow. In this case,the archive is selected using archive administration file selection.First, all work items are read from the archive sequentially using thefunction module SWW_WI_LIST_ARCHIVED_READ>. Then the work iteminstances for the given workflow instance are sorted out. The function module SWWX_SELECT_ARCHIVED_FLOW> is called tooutput the workflow.Output A (restricted) workflow log is prepared. It is not currently possibleto navigate within this workflow log or display detailed data. |