SAP ABAP Data Element BAPI_JBD_DTE_SFWERK (Shift Due Date to Working Day)
Hierarchy
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
   IS-B-DP (Application Component) Transaction Data Pool
     JBD_BAPI (Package) BAPIs
Basic Data
Data Element BAPI_JBD_DTE_SFWERK
Short Description Shift Due Date to Working Day  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type T_SWERK    
Data Type NUMC   Character string with only digits 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name DUE_DATE_WKDAY_SHIFT   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 WrkDyRule 
Medium 15 Work. Day Rule 
Long 20 Working Day Rule 
Heading WD 
Documentation

Definition

Specifies what happens to a due date Due Date if it falls on a day that is not a working day according to the IMG activity Maintain Calendar.

Use

Use the working day shift to determine if and when a date is shifted, if the day is not a working day according to the IMG activity Maintain Calendar .

In order to shift a working day you must specify one or more Factory Calendars in the respective conditions. The system shifts the date until it comes to a date which is a working day in all calendars.

Value range

The following values are available:

  • 0 (No shift)
  • 1 (Shift to next working day)
  • 2 (Shift to next working day, modified)

    Modified means that the date can only be shifted within the current month. If a shift would result in a date in the next or previous month, then the date is shifted in the opposite direction to the previous working day.

  • 3 (Shift to previous working day)
  • 4 (Shift to previous working day, modified)

    Modified means that the date can only be shifted with the current month. If a shift would result in a date in the next or previous month, then the date is shifted in the opposite direction to the next working day.

Example

You want the system to shift 04/29/2007 (Sunday) to the next working day. The two factory calendars are defined as follows: Calendar 01 (German Standard) and Calendar NL (Netherlands).

Date    Weekday    Calendar 01    Calendar NL

04/27/2007    Friday    Working Day    Working day

04/28/2007    Saturday    Not a working day    Not a working day

04/29/2007    Sunday    Holiday    Not a working day

04/30/2007    Monday    Working day    Holiday

05/01/2007    Tuesday    Holiday    Working day

05/02/2007    Wednesday    Working day    Working day   

You want to shift 04/29/2007 to the next working day (1 - Shift to next working day). The systems shifts to 05/02/2007 (Wednesday).

You want to shift 04/29/2007 to the next modified working day (2 - Shift to the next working day, modified) the system shifts back from 05/02/2007 in the other direction to the previous working day 04/27/2007.

Definition

History
Last changed by/on SAP  20130529 
SAP Release Created in 463_20