PCOM SAP (Interface to Forecasting) Structure details
Description: Interface to Forecasting
Structure field list including key, data, relationships and ABAP select examples
PCOM 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 "Interface to Forecasting" 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_PCOM TYPE PCOM.
The PCOM table consists of various fields, each holding specific information or linking keys about Interface to Forecasting data available in SAP. These include MODAW (Model Selection Indicator), MODAV (Model selection procedure), KZPAR (Indicator for parameter optimization), OPGRA (Optimization level).. 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: Can be enhanced (character-type or numeric)
SAP PCOM 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 |
PRMOD | Forecast model | PRMOD | CHAR | 1 | PRMOD | ||||
MODAW | Model Selection Indicator | MODAW | CHAR | 1 | MODAW | ||||
MODAV | Model selection procedure | MODAV | CHAR | 1 | MODAV | ||||
KZPAR | Indicator for parameter optimization | KZPAR | CHAR | 1 | XFELD | ||||
OPGRA | Optimization level | OPGRA | CHAR | 1 | OPGRA | ||||
KZINI | Initialization indicator | KZINI | CHAR | 1 | KZINI | ||||
ALPHA | Basic value smoothing using alpha factor | ALPHA | DEC | 3(2) | GLATT | ||||
BETA1 | Trend value smoothing using the beta factor | BETA1 | DEC | 3(2) | GLATT | ||||
GAMMA | Seasonal index smoothing using gamma factor | GAMMA | DEC | 3(2) | GLATT | ||||
DELTA | MAD (mean absolute deviation) smoothing using delta factor | DELTA | DEC | 3(2) | GLATT | ||||
EPSIL | Epsilon factor | EPSIL | DEC | 3(2) | GLATT | ||||
SIGGR | Tracking limit | SIGGR | DEC | 5(3) | SIGGR | ||||
PERAN | Number of historical periods | PERAN | DEC | 3 | PERAN | ||||
PERIN | Number of periods for initialization | PERIN | DEC | 3 | PERAN | ||||
PEREX | Number of periods for ex-post forecasting | PEREX | DEC | 3 | PERAN | ||||
PERIO | Number of periods per seasonal cycle | PERIO | DEC | 3 | PERAN | ||||
ANZPR | Number of forecast periods | ANZPR | DEC | 3 | PERAN | ||||
FIMON | Fixed periods | FIMON | DEC | 3 | PERAN | ||||
LGRAD | Service level | LGRAD | DEC | 3(1) | DEC2_1 | ||||
GWERT | Basic value | GWERT | QUAN | 13(3) | MENGV13 | ||||
VMGWE | Basic value of previous period | VMGWE | QUAN | 13(3) | MENGV13 | ||||
GWER1 | Basic value of the 2nd order | GWER2 | QUAN | 13(3) | MENGV13 | ||||
VMGW1 | Base value of the second order in previous period | VMGW2 | QUAN | 13(3) | MENGV13 | ||||
GWER2 | Basic value of the 2nd order | GWER2 | QUAN | 13(3) | MENGV13 | ||||
VMGW2 | Base value of the second order in previous period | VMGW2 | QUAN | 13(3) | MENGV13 | ||||
TWERT | Trend value | TWERT | QUAN | 13(3) | MENGV13 | ||||
VMTWE | Trend value of previous period | VMTWE | QUAN | 13(3) | MENGV13 | ||||
PRMAD | Mean absolute deviation (MAD) | PRMAD | QUAN | 13(3) | MENG13 | ||||
VMMAD | Mean absolute devaition of previous period | VMMAD | QUAN | 13(3) | MENG13 | ||||
FSUMM | Error total | FSUMM | QUAN | 13(3) | MENGV13 | ||||
VMFSU | Error total for the previous period | VMFSU | QUAN | 13(3) | MENGV13 | ||||
AUSNA | Exception message bar | AUSNA | CHAR | 30 | TEXT30 | ||||
PROAB | Forecast flow control | PROAB | CHAR | 10 | CHAR10 | ||||
KZOKO | Indicator: suppress places after decimal point | KZOKO | CHAR | 1 | XFELD | ||||
GEWGR | Weighting group | GEWGR | CHAR | 2 | Assigned to domain | GEWGR | |||
THKOF | Theil coefficient | THKOF | DEC | 5(2) | DEC3_2 | ||||
NULLV | Zero distribution | NULLV | CHAR | 1 | XFELD | ||||
PRWUG | Forecast: Lower limit | PRWUG | QUAN | 13(3) | MENGV13 | ||||
PRWOG | Forecast: Upper limit | PRWOG | QUAN | 13(3) | MENGV13 | ||||
PRROS | Forecast: Sale rate | PRROS | QUAN | 13(3) | MENGV13 | ||||
PRKUM | Cumulative forecast result | PRKUM | QUAN | 13(3) | MENGV13 | ||||
PRZGF | Pointer: Forecast weighting factor | PRZGF | NUMC | 10 | PRZGF | ||||
AKTPE | Current period | AKTPE | DEC | 3 | PERI3 |
Key field | Non-key field |
How do I retrieve data from SAP structure PCOM using ABAP code?
As PCOM 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 PCOM as there is no data to select.How to access SAP table PCOM
Within an ECC or HANA version of SAP you can also view further information about PCOM and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects