Standard Task WF_AbsCheck (Check Vacation (with Form)

Definition

Standard task used to transfer all the data of a notification of absence located in the task container to a form for execution.

Standard task: 30000366

Abbreviation: WF_AbsCheck

Name : Check vacation (with form)

Structure

Referenced object method, properties

Object type: FORM ( desktop form)

Method: Process (process)

Task container, binding definition

As the method Process is a generic method which can operate on the data of any form, the method container cannot be a 1:1 mapping of the task container.

The method Process has three method parameters which each have correspondence in the task container. The task container contains additional elements which describe the fields of a notification of absence. The last-named container elements do not have correspondence in the method container.

The binding from the task container to the method container is defined as follows:

R3FForm <== &R3FForm&

R3FFormType <== &R3FFormType&

Workitem <== &_Workitem&

The method container contains the element Workitem which is filled with the reference to the work item in which the method is executed. The method can access the container of the referenced work item via this object reference. (In contrast, the method container of the method described above CreateWithoutDialog contains all elements of the task container.)

Initial Value Assignment

As the single-step task was defined specifically for a particular form, form name and type are assigned to the relevant elements of the task container in an initial value assignment:

R3FForm <== APPROVE;IPM.Note.SAP.Demo.Absence.Approval

R3FFormType <== EXE;Outlook

When executing the methods, the values are exported from the work item container to the PC in a structured manner (as "R3F attachment"), and the form specified by form name and form type is started there.

File APPROVE.EXE is installed on your PC together with SAPforms.

Agent assignment

At runtime, this standard task is addressed to the superior of the creator of the notification of absence using role resolution.

When customizing this task, you must therefore keep the agent assignment so general that all superiors of all employees are possible agents of the single-step task. Therefore, link the standard task Approve notification of absence with a job "head of department" (or similar), and also maintain the organizational plan in a such a manner that the relevant chief positions of every single organizational unit are described with this job.