27.04.2013 Views

SAP Basis

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ADM100 Lesson: Accessing Archived Data<br />

Note: By default, there is a technical view for every archiving<br />

object. Whether an application-specific view is provided depends<br />

on whether a view of this type was implemented for this archiving<br />

object. You can also use the demonstration described in the last<br />

instructor note in this lesson to differentiate between the technical<br />

view and application-oriented view.<br />

At the end of this lesson, you can demonstrate that you can display the<br />

archived data in different ways: on one hand, directly from transaction<br />

SARA or transaction SARI , and on the other from an application<br />

transaction:<br />

On the initial screen of transaction SARA, enter the object name WORKITEM,<br />

press Enter, andchooseRead. On the next screen, choose Execute. Then<br />

select the file to be read, and choose Continue. The system displays a tree<br />

structure that you can expand. In this way, you can obtain an overview of<br />

the archived work item for the employee leave request. Note the number<br />

of an archived work item (such as “0000000001”, the leading numbers are<br />

also important, as the work item number is always 10 digits in length) and<br />

the date of the processing of the work item (such as “January 24 2003”).<br />

You can optionally also choose the Archive Explorer button on the initial<br />

screen of transaction SARI to demonstrate the display of archived data<br />

using the <strong>SAP</strong> Archive Information System. On the next screen, select<br />

the archiving object WORKITEM and choose a valid entry for the archive<br />

information structure. Then choose Report. On the next screen, accept the<br />

default settings and choose Execute. In the list that is displayed, select<br />

the first entry by double clicking it. The system displays an overview of<br />

the tables that belong to the selected object. You can optionally also view<br />

the archived data from a table by clicking the icon next to the relevant<br />

table name.<br />

You can obtain a different - application oriented - view of the archived data<br />

by calling the transaction Read Workflows from Archive (transaction code<br />

SWW_ARCHIV). In this way, you simulate an end user that is searching<br />

for a particular workflow. In the Object Type field, enter FORMABSENC (for<br />

Form: Absence). Use the input help to select an appropriate Object Key (or<br />

- if this is not possible - enter the number from the previous demo here,<br />

including the leading zeros), select an appropriate Period (this refers to the<br />

processing day of the workflow and not the day of archiving, ensure that<br />

the day noted from the previous demo is included) and choose Execute.<br />

Then select a file and choose Continue. You may have to select one of the<br />

IDs on the following screen and choose Copy. As a result, the system<br />

displays a specific workflow log that has already been archived.<br />

2003/Q3 © 2003 <strong>SAP</strong> AG. All rights reserved. 205

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!