SAP ABAP Data Element LOP_DECL_RULE (Declaration Date Rule)
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_DECL_RULE
Short Description Declaration Date Rule  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type LOP_DECL_RULE    
Data Type CHAR   Character String 
Length 2    
Decimal Places 0    
Output Length 2    
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 Decl. Rule 
Medium 15 Decl. Date Rule 
Long 25 Declaration Date Rule 
Heading 25 Declaration Date Rule 
Documentation

Definition

Describes how the declaration date is calculated. The following values are supported:

  • Absolute date
  • Event-based
  • Event-based - customer-specific

If the user works with the rule event-based, the technical description of the declaration date is an abstract formula like minus 30 days before the business event Bill of Lading. To calculate the real declaration date, the user or the program has to specify an event date in the trading contract transaction, tab Logistical Option. The event date is an absolute date that is connected to the business event used.

If the user wants to use custom fields and custom process logic, he or she has to use the rule event-based - customer-specific, and assign a class to a declaration date category that uses the interface IF_LOP_DECLARATION_DATE.

See also: Calculation Declaration Date.

Use

You assign the rules to declaration date categories in Customizing for logistical options, under Maintain Declaration Date Category.

Dependencies

Example

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