SAP ABAP Data Element TMOFFSET (Time Offset to Alter the Date Limit)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   SD-BIL-IV-SBI (Application Component) Self-Billing Proced.
     VASB (Package) Application Development R/3 Sales / Self-Billing Process
Basic Data
Data Element TMOFFSET
Short Description Time Offset to Alter the Date Limit  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type BEGINTIME    
Data Type TIMS   Time field (hhmmss), stored as char(6) 
Length 6    
Decimal Places 0    
Output Length 8    
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 TimeOffset 
Medium 15 Time Offset 
Long 20 Time Offset 
Heading  
Documentation

Definition

Postpones the 00:00:00 date limit by the time interval entered, if the transmission number is derived from the date of transmission.

Use

If the external transmission number is derived from the date of the IDoc, it does not make sense to have a change date of 00:00:00, because IDocs that belong together logically (IDocs resulting from one transmission) should be grouped under one transmission number.

The time interval entered here is added to the date/time of IDoc creation. The change date is therefore artificially postponed.

The new date per IDoc is now used to derive the transmission number.

Procedure

Examples

You define a time interval (offset) of 12:00:00 (12 hours).

IDocs, for which an external number is to be derived in the verification step, are created at the times shown in the following overview. The dates derived and the consequent generated transmission numbers are as follows:

IDoc# Created at After offset added Derived transm. no. 0001 01.10.1999 09:00:00 01.10.1999 21:00:00 19991001 (=> 01.10.) 0002 01.10.1999 11:50:00 01.10.1999 23:50:00 19991001 (=> 01.10.) 0003 01.10.1999 12:10:00 02.10.1999 00:10:00 19991002 (=> 02.10.) 0004 01.10.1999 18:00:00 02.10.1999 06:00:00 19991002 (=> 02.10.) 0005 02.10.1999 03:15:00 02.10.1999 15:15:00 19991002 (=> 02.10.)

In this example, all IDocs whose date/time of creation lies between 01.10.1999/12:00:00 and 02.10.1999/11:59:59, are logically assigned a creation date of 02.10.1999, and consequently the transmission number 02101999.

It makes sense to use this procedure if transmissions often arrive overnight, without externally assigned transmission numbers. The normal date change time of midnight then determines their transmission number.

Please note that this procedure was set up with test cases in mind. EDI partners normally specify their transmission numbers.

Dependencies

History
Last changed by/on SAP  20030411 
SAP Release Created in