The work view is a view of a work set (also referred to as a work attribute set) that does not create permanent storage. The attributes in a work view come from a work set, not from an entity. Counters, totals, indicators, and selection codes are examples of attributes stored in a work set. You can use these attributes in Action Diagram statements to monitor execution time information such as the calculation of intermediate totals and counts.
Work sets are usually added by the designer, but the software supplies some of them. For example, one work set called IEF_SUPPLIED is available when you add work views. The attributes in this work set include Select Char, Action Entry, Command, Count, Total Real, Total Currency, Total Integer, Percentage, Average Real, Average Currency, Average Integer, Flag, and Subscript. These views are intended to be used for data that exists only for the duration of an action block or transaction; these views cannot be used directly to update a database.
The following example shows how a work view appears in View Maintenance:
Import Views view of ORDER_PROCESS_COUNT wrk set IEF_SUPPLIED attr COUNT attr TOTAL_INTEGER attr FLAG
Work sets act like entity types in several ways:
Work views cannot be added to the entity action view set, so these views can never be used in entity actions (CREATE, READ, UPDATE, and DELETE).
|
Copyright © 2014 CA.
All rights reserved.
|
|