DATEFUNCTION
Date Functions
DATEFUNCTION is an SAP database table in S/4HANA. Date Functions. It contains 23 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| CORE_DATEFUNCTION | view | from | Get Details of all Date Functions | |
| I_Datefunction | view | from | BASIC | Date Function |
Fields (23)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | id | datefunctionid | Relative Date Function | |||
| abap_language_version | abap_language_version | Language Version | ||||
| type | datefunctiontype | Function Type | ||||
| granularity | datefunctiongranularity | Granularity | ||||
| calendartype | datefunctioncalendartype | Calendar Type | ||||
| startpoint | datefunctionstartpoint | Start Point | ||||
| startoffset | datefunctionstartoffsetvalue | Start Offset Value | ||||
| startrelativeoffset | datefunctionstartreloffset | Start Relative Offse | ||||
| startoffsetunit | datefunctionstartoffsetunit | Start Offset Unit | ||||
| startrelativeoffsetunit | datefunctionstartreloffsetunit | Start RelOffset Unit | ||||
| startyearoffset | datefunctionstartyearoffset | Start Year Offset | ||||
| startfixeddate | datefunctionstartfixeddate | Fixed Date | ||||
| endpoint | datefunctionendpoint | Start Point | ||||
| endoffset | datefunctionendoffsetvalue | Start Offset Value | ||||
| endrelativeoffset | datefunctionendreloffset | Start Relative Offse | ||||
| endoffsetunit | datefunctionendoffsetunit | Start Offset Unit | ||||
| endrelativeoffsetunit | datefunctionendreloffsetunit | End Rel Offset Unit | ||||
| endyearoffset | datefunctionendyearoffset | Start Year Offset | ||||
| endfixeddate | datefunctionendfixeddate | Fixed Date | ||||
| createdby | datefunctioncreatedby | Created By User | ||||
| createdon | datefunctioncreatedon | Date Func Created On | ||||
| changedby | datefunctionchangedby | Changed By User | ||||
| changedon | datefunctionchangedon | Date Func Changed On |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Date Functions
-- Category TRANSPARENT · Delivery class W
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE DATEFUNCTION (
ID, -- Relative Date Function [datefunctionid]
ABAP_LANGUAGE_VERSION, -- Language Version [abap_language_version]
TYPE, -- Function Type [datefunctiontype]
GRANULARITY, -- Granularity [datefunctiongranularity]
CALENDARTYPE, -- Calendar Type [datefunctioncalendartype]
STARTPOINT, -- Start Point [datefunctionstartpoint]
STARTOFFSET, -- Start Offset Value [datefunctionstartoffsetvalue]
STARTRELATIVEOFFSET, -- Start Relative Offse [datefunctionstartreloffset]
STARTOFFSETUNIT, -- Start Offset Unit [datefunctionstartoffsetunit]
STARTRELATIVEOFFSETUNIT, -- Start RelOffset Unit [datefunctionstartreloffsetunit]
STARTYEAROFFSET, -- Start Year Offset [datefunctionstartyearoffset]
STARTFIXEDDATE, -- Fixed Date [datefunctionstartfixeddate]
ENDPOINT, -- Start Point [datefunctionendpoint]
ENDOFFSET, -- Start Offset Value [datefunctionendoffsetvalue]
ENDRELATIVEOFFSET, -- Start Relative Offse [datefunctionendreloffset]
ENDOFFSETUNIT, -- Start Offset Unit [datefunctionendoffsetunit]
ENDRELATIVEOFFSETUNIT, -- End Rel Offset Unit [datefunctionendreloffsetunit]
ENDYEAROFFSET, -- Start Year Offset [datefunctionendyearoffset]
ENDFIXEDDATE, -- Fixed Date [datefunctionendfixeddate]
CREATEDBY, -- Created By User [datefunctioncreatedby]
CREATEDON, -- Date Func Created On [datefunctioncreatedon]
CHANGEDBY, -- Changed By User [datefunctionchangedby]
CHANGEDON, -- Date Func Changed On [datefunctionchangedon]
PRIMARY KEY (ID)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA