BAPI_RE_APPORT_RULE SAP (Apportionment Rule) Structure details

Dictionary Type: Structure
Description: Apportionment Rule




ABAP Code to SELECT data from BAPI_RE_APPORT_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_TYPEBusiness Object Type of Object RECABUSOBJTYPECHAR2TBO00J_OBART
OBJECT_IDID of Object RECABUSOBJIDCHAR45CHAR45
VALID_FROMDate from when assignment is valid DGULTABDATS8DDAT
VALID_TODate Assignment to Settlement Variant Ends RESCRHYTHMENDDATS8REDATRECADATEEND
SETTLEMENT_VARIANTSettlement variant ABRVARCHAR4TIA01ABRVAR
SETTLEMENT_VARIANT_TEXTSettlement variant text XABRTXTCHAR50XTEXT50
APPORTIONMENT_PURPOSEPurpose of Apportionment RESCFORPURPOSECHAR3TIVSCPURPOSERESCFORPURPOSERESCPURPOSE
APPORTIONMENT_FACTORApport.factor - percentage VVUGRPROZDEC5(2) DEC3_2
MEASUREMENTMeasurement Type REBDMEASCHAR4TIVBDMEASALPHAREBDMEASREBDMEASREBDMEAS
VACANCY_PERCENTAGEVacancy percentage rate, borne by landlord VVLEERPROZDEC5(2) DEC3_2
REG_LOC_KEY_HEAT_DAYSRegional Location Key for Heating Value Days RESCLOCKEYCHAR10TIVA2ETH10RESCLOCKEY
SETTL_UNIT_OBJECT_TYPEBusiness Object Type of Object in Settlement Unit RESCBUSOBJTYPESUCHAR2TBO00J_OBART
SETTL_UNIT_OBJECT_IDPart of ID of Object in Settlement Unit RESCBUSOBJIDSUCHAR45CHAR45
TYPE_OF_PREDISTRIBUTIONType of Predistribution RESCHOWDISTRIBUTECHAR1RESCHOWDISTRIBUTE
EQUIV_NUMBEREquivalence Number RESCEQUIVNUMDEC20(8) RESCAPPORTVALUE
CALC_METER_FROM_ROConsumption Is Determined Using Assigned Rental Object RESCMETERFROMROCHAR1RECABOOL
SUM_EQUIV_NUMBEREquivalence Number RESCEQUIVNUM_SUMDEC20(8) RESCAPPORTVALUE
SUM_EQUIV_NUMBER_UNITMeasurement Unit for Assignment of Participating SUs RESCSUMEQUINUMUNITUNIT3T006CUNITMEINS
SUM_EQUIV_NUMBER_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
SUM_PERCENTPercentage rate predistribution cross settlement unit VVUAEPROZDEC5(2) VVPROZE
PERC_RATE_CROSS_SUPercentage rate predistribution cross settlement unit VVUAEPROZDEC5(2) VVPROZE
SETTL_UNIT_REST_OBJ_TYPEObject Type of Remainder Object of Settlement Unit RESCBUSOBJTYPERESTCHAR2TBO00J_OBART
SETTL_UNIT_REST_OBJ_IDPart of ID of Remainder Object of Settlement Unit RESCBUSOBJIDRESTCHAR45CHAR45
NEGATIVE_REST_ALLOWEDNegative Consumption Remainder Allowed RESCRESTNEGALLOWEDCHAR1RECABOOL
CALC_TYPE_HEAT_CST_FORMULACalculation type of heating cost formula VVHKVOTYPCHAR1VVHKVOTYP
HOT_WATER_VOLUMEV = measured volume of consumed hot water in m3 VVVOLWATERDEC15(2) DEC13_2
HOT_WATER_AVG_TEMPTW = Measured or estimated average temperature of hot water VVTEMPWATERDEC15(2) DEC13_2
FUEL_TYPEFuel type RESCFUELTYPENUMC2TIV54KBRART
FUEL_CALORIFIC_VALHV = Heating value of consumed fuel VVHEATVALDEC15(2) DEC13_2
TOTAL_CONS_THERM_UNITSTotCons = Total consumption of heating units as entry value VVGCONSUMPDEC15(2) DEC13_2
FUEL_CONSF = Fuel consumption VVBCONSUMPDEC15(2) DEC13_2
THERM_UNITS_HOT_WATERQ = heat consumption for hot water consumption VVQHEATAMOUNTDEC15(2) DEC13_2
HEAT_CONSUMEDH = heat consumed VVWHEATAMOUNTDEC15(2) DEC13_2
PERC_SHARE_HOT_WATERPercentage share for hot water consumption VVWWPROZDEC5(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 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!