Ansicht
Dokumentation

FOICJ002 - generated module

FOICJ002 - generated module

PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Description

This routine sets the time unit of measure as weeks (a week being seven days, that is, including the weekend). The start and end dates of the "fixation period" are then determined using the unit of measure and the 'period before' and 'period after' fields.

Output

With the 'Exclude event date' indicator not set:

'Period after' not zero.

The 'date from' is determined by subtracting the number of weeks from the event date.

The 'date to' is determined by starting with the event date, adding 'period after' weeks and going back one day.

'Period before' not zero, but 'period after' zero.

The end date is set to the event date. The 'date from' is determined by taking the event date, subtracting 'period before' weeks and adding one day.

'Period before' and 'period after' are zero.

'Date to' and 'date from' are both set to the event date.

With the 'Exclude event date' indicator set.

The date determined from and 'date to' is determined as explained above. Only if one of the 'period before' and 'period after' is zero and the other is not, will the time frame that was determined be shifted by one day, so that the event date is excluded.






rdisp/max_wprun_time - Maximum work process run time   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1351 Date: 20240531 Time: 233801     sap01-206 ( 29 ms )