AFABR SAP (Relationship Structure for Project Reporting) Structure details
Description: Relationship Structure for Project Reporting
Structure field list including key, data, relationships and ABAP select examples
AFABR 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 "Relationship Structure for Project Reporting" 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_AFABR TYPE AFABR.
The AFABR table consists of various fields, each holding specific information or linking keys about Relationship Structure for Project Reporting data available in SAP. These include VSGRUPPE (Group for a project version), VSNUMMER (Number or description of a version), PRCTR (Profit Center), PRNAM (Investment program name).. 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 AFABR 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 |
ARNUMMER | Archiving Session Number | ADMI_RUN_D | CHAR | 6 | ADMI_RUN | ||||
VSGRUPPE | Group for a project version | VSGRUPPE | CHAR | 20 | TEXT20 | ||||
VSNUMMER | Number or description of a version | VSNMR | CHAR | 12 | VSNMR | VS2 | |||
PRCTR | Profit Center | PRCTR | CHAR | 10 | CEPC | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
PRNAM | Investment program name | IM_PRNAM | CHAR | 8 | IMTP | IM_PRNAM | IMT | ||
PRPOS | Identification for an investment program position | IM_POSID | CHAR | 24 | POSID | IM_POSID | IMP | ||
PSPID | Project Definition | PS_PSPID | CHAR | 24 | ABPSN | PS_PSPID | PSP | PD_DUMMY | |
POSID | Work Breakdown Structure Element (WBS Element) | PS_POSID | CHAR | 24 | PROJN | PS_POSID | PRO | ||
KDAUF | Sales Document | VBELN_VA | CHAR | 10 | VBUK | ALPHA | VBELN | AUN | |
KDPOS | Sales Document Item | POSNR_VA | NUMC | 6 | VBUP | POSNR | APO | ||
AUFNR | Order/Network number | AUF_NETNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
VORNR | Activity number in network and standard network | CN_VORNR | CHAR | 4 | NUMCV | VORNR | |||
POSID2 | Work Breakdown Structure Element (WBS Element) | PS_POSID | CHAR | 24 | PROJN | PS_POSID | PRO | ||
AUFNR2 | Order/Network number | AUF_NETNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
VORNR2 | Activity number in network and standard network | CN_VORNR | CHAR | 4 | NUMCV | VORNR | |||
AUTYPTXT | Display field for order category description | AUTYPTEXT | CHAR | 40 | TEXT40 | ||||
AOBAR | Type of relationship | AOBAR | CHAR | 2 | AOBAR | AOBAR | |||
MIMAX | Indicates whether maximum time interval will be considered | DAUMIMAX | CHAR | 1 | XFELD | ||||
ZEINH | Unit for the time interval between relationships | AOBDAUEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
DAUER | Time interval between relationships | AOBDAUER | QUAN | 5(1) | AOBDAUER | ||||
DAUKZ | Indicator for the duration of the relationship | AOBDAUKZ | CHAR | 1 | AOBDAUKZ | ||||
VORNC | Indicator: maintained after successor | VORG_NACH | CHAR | 1 | XFELD | ||||
NCVOR | Indicates whether data after predecessor is maintained | NACH_VORG | CHAR | 1 | XFELD | ||||
KALID | Factory Calendar | WFCID | CHAR | 2 | TFACD | WFCID | FCI | ||
PRZNT | % used to calc. time interval between predecessor/successor | AOB_PRZNT | NUMC | 3 | AOB_PRZNT | ||||
PROVG | Key for defining time intervals in a relationship | AOB_PROVG | CHAR | 1 | AOB_PROVG | ||||
ARBPL | Work center | ARBPL | CHAR | 8 | ARBPL | AGR | |||
ARBTXT | Short text for the CIM operating resource | PS_ARBTEXT | CHAR | 40 | TEXT40 | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
FSABD | Earliest start date for the relationship | FSABD | DATS | 8 | DATUM | ||||
FSABZ | Earliest start time for the relationship | FSABZ | TIMS | 6 | ATIME | ||||
SSABD | Latest start date of the relationship | SSABD | DATS | 8 | DATUM | ||||
SSABZ | Latest start time of the relationship | SSABZ | TIMS | 6 | ATIME | ||||
FEABD | Earliest finish date for the relationship | FEABD | DATS | 8 | DATUM | ||||
FEABZ | Earliest finish time for the relationship | FEABZ | TIMS | 6 | ATIME | ||||
SEABD | Latest finish date of the relationship | SEABD | DATS | 8 | DATUM | ||||
SEABZ | Latest finish time of the relationship | SEABZ | TIMS | 6 | ATIME | ||||
DAUTM | Relationship duration (in seconds) as result of scheduling | DAUTM | INT4 | 10 | CX_DAUERS | ||||
LTXA1 | Operation short text | LTXA1 | CHAR | 40 | TEXT40 | ||||
LTXA12 | Operation short text | LTXA1 | CHAR | 40 | TEXT40 | ||||
NCH | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure AFABR using ABAP code?
As AFABR 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 AFABR as there is no data to select.How to access SAP table AFABR
Within an ECC or HANA version of SAP you can also view further information about AFABR 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