BAPI_RE_APPORT_RULE SAP (Apportionment Rule) Structure details
Description: Apportionment Rule
Related tables to BAPI_RE_APPORT_RULE
Access table BAPI_RE_APPORT_RULE
Structure field list including key, data, relationships and ABAP select examples
BAPI_RE_APPORT_RULE 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 "Apportionment Rule" 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_BAPI_RE_APPORT_RULE TYPE BAPI_RE_APPORT_RULE.
The BAPI_RE_APPORT_RULE table consists of various fields, each holding specific information or linking keys about Apportionment Rule data available in SAP. These include OBJECT_ID (ID of Object), VALID_FROM (Date from when assignment is valid), VALID_TO (Date Assignment to Settlement Variant Ends), SETTLEMENT_VARIANT (Settlement variant).. 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 BAPI_RE_APPORT_RULE 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 |
OBJECT_TYPE | Business Object Type of Object | RECABUSOBJTYPE | CHAR | 2 | TBO00 | J_OBART | |||
OBJECT_ID | ID of Object | RECABUSOBJID | CHAR | 45 | CHAR45 | ||||
VALID_FROM | Date from when assignment is valid | DGULTAB | DATS | 8 | DDAT | ||||
VALID_TO | Date Assignment to Settlement Variant Ends | RESCRHYTHMEND | DATS | 8 | REDAT | RECADATEEND | |||
SETTLEMENT_VARIANT | Settlement variant | ABRVAR | CHAR | 4 | TIA01 | ABRVAR | |||
SETTLEMENT_VARIANT_TEXT | Settlement variant text | XABRTXT | CHAR | 50 | XTEXT50 | ||||
APPORTIONMENT_PURPOSE | Purpose of Apportionment | RESCFORPURPOSE | CHAR | 3 | TIVSCPURPOSE | RESCFORPURPOSE | RESCPURPOSE | ||
APPORTIONMENT_FACTOR | Apport.factor - percentage | VVUGRPROZ | DEC | 5(2) | DEC3_2 | ||||
MEASUREMENT | Measurement Type | REBDMEAS | CHAR | 4 | TIVBDMEAS | ALPHA | REBDMEAS | REBDMEAS | REBDMEAS |
VACANCY_PERCENTAGE | Vacancy percentage rate, borne by landlord | VVLEERPROZ | DEC | 5(2) | DEC3_2 | ||||
REG_LOC_KEY_HEAT_DAYS | Regional Location Key for Heating Value Days | RESCLOCKEY | CHAR | 10 | TIVA2 | ETH10 | RESCLOCKEY | ||
SETTL_UNIT_OBJECT_TYPE | Business Object Type of Object in Settlement Unit | RESCBUSOBJTYPESU | CHAR | 2 | TBO00 | J_OBART | |||
SETTL_UNIT_OBJECT_ID | Part of ID of Object in Settlement Unit | RESCBUSOBJIDSU | CHAR | 45 | CHAR45 | ||||
TYPE_OF_PREDISTRIBUTION | Type of Predistribution | RESCHOWDISTRIBUTE | CHAR | 1 | RESCHOWDISTRIBUTE | ||||
EQUIV_NUMBER | Equivalence Number | RESCEQUIVNUM | DEC | 20(8) | RESCAPPORTVALUE | ||||
CALC_METER_FROM_RO | Consumption Is Determined Using Assigned Rental Object | RESCMETERFROMRO | CHAR | 1 | RECABOOL | ||||
SUM_EQUIV_NUMBER | Equivalence Number | RESCEQUIVNUM_SUM | DEC | 20(8) | RESCAPPORTVALUE | ||||
SUM_EQUIV_NUMBER_UNIT | Measurement Unit for Assignment of Participating SUs | RESCSUMEQUINUMUNIT | UNIT | 3 | T006 | CUNIT | MEINS | ||
SUM_EQUIV_NUMBER_UNIT_ISO | ISO code for unit of measurement | ISOCD_UNIT | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
SUM_PERCENT | Percentage rate predistribution cross settlement unit | VVUAEPROZ | DEC | 5(2) | VVPROZE | ||||
PERC_RATE_CROSS_SU | Percentage rate predistribution cross settlement unit | VVUAEPROZ | DEC | 5(2) | VVPROZE | ||||
SETTL_UNIT_REST_OBJ_TYPE | Object Type of Remainder Object of Settlement Unit | RESCBUSOBJTYPEREST | CHAR | 2 | TBO00 | J_OBART | |||
SETTL_UNIT_REST_OBJ_ID | Part of ID of Remainder Object of Settlement Unit | RESCBUSOBJIDREST | CHAR | 45 | CHAR45 | ||||
NEGATIVE_REST_ALLOWED | Negative Consumption Remainder Allowed | RESCRESTNEGALLOWED | CHAR | 1 | RECABOOL | ||||
CALC_TYPE_HEAT_CST_FORMULA | Calculation type of heating cost formula | VVHKVOTYP | CHAR | 1 | VVHKVOTYP | ||||
HOT_WATER_VOLUME | V = measured volume of consumed hot water in m3 | VVVOLWATER | DEC | 15(2) | DEC13_2 | ||||
HOT_WATER_AVG_TEMP | TW = Measured or estimated average temperature of hot water | VVTEMPWATER | DEC | 15(2) | DEC13_2 | ||||
FUEL_TYPE | Fuel type | RESCFUELTYPE | NUMC | 2 | TIV54 | KBRART | |||
FUEL_CALORIFIC_VAL | HV = Heating value of consumed fuel | VVHEATVAL | DEC | 15(2) | DEC13_2 | ||||
TOTAL_CONS_THERM_UNITS | TotCons = Total consumption of heating units as entry value | VVGCONSUMP | DEC | 15(2) | DEC13_2 | ||||
FUEL_CONS | F = Fuel consumption | VVBCONSUMP | DEC | 15(2) | DEC13_2 | ||||
THERM_UNITS_HOT_WATER | Q = heat consumption for hot water consumption | VVQHEATAMOUNT | DEC | 15(2) | DEC13_2 | ||||
HEAT_CONSUMED | H = heat consumed | VVWHEATAMOUNT | DEC | 15(2) | DEC13_2 | ||||
PERC_SHARE_HOT_WATER | Percentage share for hot water consumption | VVWWPROZ | DEC | 5(2) | VVPROZE |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI_RE_APPORT_RULE using ABAP code?
As BAPI_RE_APPORT_RULE 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 BAPI_RE_APPORT_RULE as there is no data to select.How to access SAP table BAPI_RE_APPORT_RULE
Within an ECC or HANA version of SAP you can also view further information about BAPI_RE_APPORT_RULE 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