SAP ABAP Data Element LOP_OFFSET (Offset with Sign)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-AB-TC (Application Component) Trading Contract
     LOOP (Package) Model layer for logistical contract options
Basic Data
Data Element LOP_OFFSET
Short Description Offset with Sign  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type LOP_OFFSET    
Data Type DEC   Counter or amount field with comma and sign 
Length 3    
Decimal Places 0    
Output Length 4    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Offset 
Medium 15 Offset 
Long 20 Offset 
Heading 20 Offset 
Documentation

Definition

Offset with a sign that is added to the event date, to calculate the declaration date. The offset is connected with the field Date Type.

Use

If the field Date Type has the value week, the program takes into account 7 days for a week. If the field Date Type has the value month, the program tries to shift the actual day of the month to the same day of the resulting month.

See also: Calculation Declaration Date.

Dependencies

Example

  • The field Date Type has the value month. The offset is -1 month. The event date is 2012-03-31
    • Result: 2012-02-29 (due to the fact that 2012-02-31 is an invalid date, the program shifts the date to 2012-02-29)
  • The field Date Type has the value month. The offset is -1 month. The event date is 2012-03-15.
    • Result: 2012-02-15
  • The field Date Type has the value month. The offset is 1 month. The event date is 2012-03-31.
    • Result: 2012-04-30 (due to the fact that 2012-04-31 is an invalid date, the program shifts the date to 2012-04-30)
  • The field Date Type has the value month. The offset is 1 month. The event date is 2012-02-29.
    • Result: 2012-03-29

History
Last changed by/on SAP  20130529 
SAP Release Created in 607