CPET_DEFPERIODDET_COM SAP (CPE - Comm. Structure for Rule to Determine Default Period) Structure details

Dictionary Type: Structure
Description: CPE - Comm. Structure for Rule to Determine Default Period




ABAP Code to SELECT data from CPET_DEFPERIODDET_COM
Related tables to CPET_DEFPERIODDET_COM
Access table CPET_DEFPERIODDET_COM




Structure field list including key, data, relationships and ABAP select examples

CPET_DEFPERIODDET_COM is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "CPE - Comm. Structure for Rule to Determine Default Period" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_CPET_DEFPERIODDET_COM TYPE CPET_DEFPERIODDET_COM.

The CPET_DEFPERIODDET_COM table consists of various fields, each holding specific information or linking keys about CPE - Comm. Structure for Rule to Determine Default Period data available in SAP. These include COND_TYPE (CPE: Condition Type for Commodity Pricing), TERMNO (CPE Term - Number in Formula), PERIODDTIN_GUID (CPE Term - GUID for Changed Input of Period Determination), PERIODDETRULE (CPE Term - Period Determination Rule).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP CPET_DEFPERIODDET_COM structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
DOC_GUIDCPE Caller - GUID of Document Header CPET_DOC_GUIDRAW16SYSUUID
COND_TYPECPE: Condition Type for Commodity Pricing CPET_COND_TYPECHAR4Assigned to domainKSCHLCPE_COND_TYPE
TERMNOCPE Term - Number in Formula CPET_TERMNONUMC5NUMC5
PERIODDTIN_GUIDCPE Term - GUID for Changed Input of Period Determination CPET_PERIODDTIN_GUIDRAW16SYSUUID
PERIODDETRULECPE Term - Period Determination Rule CPET_PERDETRULECHAR5ALPHACPE_RULECPE_PERDETRULE
RULETEXTDescription BEZEI40CHAR40TEXT40
VALIDFROMCPE - 'Valid From' Time Stamp of Commodity Pricing Object CPET_VALIDFROMCHAR14TSTPSCPE_TIMESTAMPCPE_TIMESTAMP
PERIODDETROUTCPE Term- Period Determination Routine for Commodity Pricing CPET_PERDETROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
SOURCEROUTCPE Term - Source Routine for Price Quot. or Curr. Ex. Rates CPET_SOURCEROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
REFDATEROUTCPE Term - Reference Date and Time Routine CPET_REFDATEROUTNUMC7CPEC_REFDATEROUTCPE_ROUTINECPE_REFDATEROUT
DATEOFFSETROUTCPE Term - Date Offset Routine for Period Determination CPET_DATEOFFSETROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
OFFSETUNITSCPE Term - Number of Time Units for Date Offset Routine CPET_OFFSETUNITSDEC3DEC3
TIMEUOMROUTCPE Term - Time UoM Routine CPET_TIMEUOMROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
TIMEUNITSBEFCPE Term - Time Units Before Calculated Base Date CPET_TIMEUNITSBEFDEC3DEC3
TIMEUNITSAFTCPE Term - Time Units After Calculated Base Date CPET_TIMEUNITSAFTDEC3DEC3
EXCL_BASEDATECPE Term - Exclude Base Date CPET_EXCL_BASEDATECHAR1CHAR1_X
DATEFROMCPE Term - Start Date for Fixed Period CPET_DATEFROMDATS8DATE
TIMEFROMCPE Term - Start Time for Fixed Period CPET_TIMEFROMTIMS6TIME
DATETOCPE Term - End Date for Fixed Period CPET_DATETODATS8DATE
TIMETOCPE Term - End Time for Fixed Period CPET_TIMETOTIMS6TIME
READUNTILROUTCPE Term - Read-Until Routine for Quotation/Exchange Rate CPET_READUNTILROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
DATELISTROUTCPE Term - Date List Routine for Period Determination CPET_DATELISTROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
PERDETCALIDCPE Term - Calendar Used for Period Determination CPET_PERDETCALIDCHAR2TFACDWFCID
MISSENTRYROUTCPE Term - Routine for Missing Entry Used for Period Determ. CPET_MISSENTRYROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
CLOSEDDAYSROUTCPE Term - Routine for Closed Market Days CPET_CLOSEDDAYSROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
MAXWEIGHTINGCPE Term - Maximum Weighting of a Element During Averaging CPET_MAXWEIGHTINGDEC2DEC2
PERIODDETTEXTDescription BEZEI40CHAR40TEXT40
SOURCETEXTDescription BEZEI40CHAR40TEXT40
REFDATETEXTDescription BEZEI40CHAR40TEXT40
DATEOFFSETTEXTDescription BEZEI40CHAR40TEXT40
READUNTILTEXTDescription BEZEI40CHAR40TEXT40
DATELISTTEXTDescription BEZEI40CHAR40TEXT40
CALIDTEXTFactory calendar name SC_TXTFACCHAR40TEXT40
MISSENTRYTEXTDescription BEZEI40CHAR40TEXT40
CLOSEDDAYSTEXTDescription BEZEI40CHAR40TEXT40
FLAGCheckbox in Reporting CHECKBOXCHAR1FUNC

Key field Non-key field



How do I retrieve data from SAP structure CPET_DEFPERIODDET_COM using ABAP code?

As CPET_DEFPERIODDET_COM is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on CPET_DEFPERIODDET_COM as there is no data to select.

How to access SAP table CPET_DEFPERIODDET_COM

Within an ECC or HANA version of SAP you can also view further information about CPET_DEFPERIODDET_COM and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!