Start of Content Area

Process documentation Process of Time Logic Locate the document in its SAP Library structure

Call Parameters

The time logic is called up using the following parameters:

LEVEL

Authorization Level

TCLAS

Transaction Class = Difference Personnel Number/Applicant Number

INFTY

Infotype

BEGDA

Start Date of Infotype Record To Be Checked

ENDDA

End Date of Infotype Record To Be Checked

In addition, the period of responsibility that has already been determined is transferred.

Process Flow

The system performs all the following steps of the time logic.

If the period of responsibility is empty, the time logic returns not authorized.

The time logic determines whether the authorization check should be performed on a date-dependent basis (from T582A-VALDT) or not.

  1. The tolerance time (ADAYS authorization main switch) is determined.
  2. The check establishes whether the check is for read access (LEVEL = R or M).

If the check is for read access, the following steps are carried out:

    1. The end date of the period of responsibility is determined (see also the following graphic, 2: Period Determination for Read Access):

This graphic is explained in the accompanying text

    1. The check establishes whether the validity period BEGDA - ENDDA of the infotype has a full intersection with the newly defined period of responsibility, that is whether there is at least one day, which is in both periods:

If the intersection is not empty, the time logic check returns authorized.

If the intersection is empty, the time logic check returns not authorized.

If the check is for write access, the following steps are carried out (see also the following graphic: 3: Period Determination for Write Access):

    1. If the first day of the period of responsibility concurs with the first day of the organizational assignment (BEGDA of the first infotype record of infotype 0001, normally the date of the initial setting), the period of responsibility is extended to begin on January 1, 1800. (This is necessary to ensure that users can access dates that are before the initial setting.)
    2. If the current date (SY-DATUM) is within the period of responsibility or after the end of a responsibility interval by no more than the tolerance time (ADAYS), the period January 1, 1800 to December 31, 9999 is set as the new period of responsibility.
    3. This graphic is explained in the accompanying text

    4. If the current date (SY-DATUM) is outside a responsibility interval and by more than the tolerance time after the end of each responsibility interval, all responsibility intervals that are before the current date are deleted.
    5. The check establishes whether the validity period BEGDA - ENDDA of the infotype is completely within the newly defined period of responsibility:

See also:

Time Logic in Flowchart 6.

 

 

End of Content Area