SAP Program SAPDBIDFPLUS - Real Estate logical database

Description
Database for Real Estate
Features:
The VIGETTAB field string determines if other GET time points should beused in addition to those in the database hierarchy. Check thecorresponding table in the VIGETTAB field string for this (set thevalue of VIGETTAB-J

to 'X').
If you require a time-dependent selection, the RFVILSP structure has bedeclared with TABLES in the program. This ensures that a from-date, ato-date and a key date are in the selection.
Use the VIGETTAB string to specify which tables are and are notevaluated with the from-date, to-date or key date. If the from-date,to-date or key date have been entered and no time-dependent selectioncan be made, set the value of the VIGETTAB-JDI
to 'X'.
The from-date, to-date or key date are taken into account in tables(for which a JDI
field with a VIGETTAB string has beendesignated) as described below (in the overview 'following record'means that the to-date is derived from the from-date of the followingrecord with the same key)
Table From-date To-date Features
VZGPO DBEBEZ DENBEZ/unlim.
SPAB1 GBDAT GEDAT/unlim.
VIOB27 DGULTAB Following rec. JEZUORD is taken into
account
VIOB11 DGAB Following rec.
VIOB40 DGULTAB Following rec. (also VIOB40_BD, _PY)
VIKOKO DGUEL_KK Following rec.
VZZKOPO DGUEL_KP Following rec. JNULLKON u
DGUEL_KK dates aretaken
into account
VIMIMV DMIBEG DMIEND/DKUEZU//unlim.
VIMI54 DGABANRT DBISANRT
VIMI55 DGABANRT Following rec.
VIMI38 DATAB Following rec.
VIBEPP DBERVON DBERBIS *)
VIAK03 DGUELEMP of DAEEND
1. VIAK05 record
VIAK05 DGUELEMP Following rec.
VIAK25 DPERBEG DPEREND
VIVW01 DVWBEG DVWEND/unlim.
*):
As the VIBEPP can be selected using the due date (via selectoption), we recommend deactivating the selection via DBERVON/DBERBISvia VIGETTAB-JDIVIBEPP if the due date is also used as a selectioncriteria.
The VIGETTAB field string does not have to be separate in the report.The higher-level VIGSMT field string supplies information about whichhierachical level is currently being processed. It contains the primaryand foreign keys of structure to which the data, which is currentlybeing processed, belongs. You can use the information from VIGSMT asdescribed in the following:

Example
In a report the partner of a business entity and the partner of arental agreement are used. However, they have to be processed indifferent ways.
GET VIOB01.
...
VIGETTAB-JVZGPO = 'X'.
...
GET VIMIMV.
...
VIGETTAB-JVZGPO = 'X'. " Only necessary if the variable is
" explicitely reset in the interim
" period. For example GET VIMIO1
...
GET VZGPO.
CASE VIGSMT-IMKEY.
WHEN VIOB01-IMKEY.
* BE partner
WHEN VIMIMV-IMKEY.
* Rental agreement partner

Additional structure from the VIGETTAB field string
The branches that are addressed only when using the VIGETTAB field arehighlighted.
VIGSMT
|
|---JEST
|---VZGPO
| |
| |---BP000
| |
| |---BPADR
| |---BP030
|
|---VIEIGE
|---VIOB39
|---VZSORT
|---SANO1
| |
| |---SANS1
|
|
|---VIOB01
| |
| |---VIOB24
| |---VIOB27
| |---VIOB07
| |---VIOB02
| | |
| | |---VIOB40_PY
| | |---VIGBUCH
| | | |
| | | |---VIGBSTD
| | | | |
| | | | |---VIGBFLS
| | | | |---VIGBZAB
| | | |
| | | |---VIGBA1
| | | |---VIGBA2
| | | | |
| | | | |---VIGB2A
| | | |
| | | |---VIGBA3
| | | |
| | | |---VIGB3A
| | | As long as at time point GET VIOB02:
| | |---JEST VIGETTAB-JJEST = 'X'
| | |---VZGPO VIGETTAB-JVZGPO = 'X'
| | | |
| | | |---BP000
| | | |
| | | |---BPADR
| | | |---BP030
| | |
| | |---VIEIGE VIGETTAB-JVIEIGE = 'X'
| | |---VIOB38 VIGETTAB-JVIOB38 = 'X'
| | |---VIOB39 VIGETTAB-JVIOB39 = 'X'
| | |---VZSORT VIGETTAB-JVZSORT = 'X'
| | |---SANO1 VIGETTAB-JSANO1 = 'X'
| | | |
| | | |---SANS1
| | |
| | |---VIOB24 VIGETTAB-JVIOB24 = 'X'
| | |---VIOB27 VIGETTAB-JVIOB27 = 'X'
| | |---VIMI01 VIGETTAB-JVIMI01 = 'X'
| | |
| | |--- ... (with all subnodes)
| |
| | As long as at time point GET VIOB01:
| |---JEST VIGETTAB-JJEST = 'X'
| |---VZGPO VIGETTAB-JVZGPO = 'X'
| | |
| | |---BP000
| | |
| | |---BPADR
| | |---BP030
| |
| |---VIEIGE VIGETTAB-JVIEIGE = 'X'
| |---VIOB38 VIGETTAB-JVIOB38 = 'X'
| |---VIOB39 VIGETTAB-JVIOB39 = 'X'
| |---VZSORT VIGETTAB-JVZSORT = 'X'
| |---SANO1 VIGETTAB-JSANO1 = 'X'
| | |
| | |---SANS1
| |
| |---VIOB03
| | |
| | |---VIOB40_BD
| | |---VIOB04
| | |---VIOB20
| | |---VIOB05
| | |---VIOB22
| | | |
| | | |---VIOB11
| | | |---VIOB21
| | | |---VIOB23
| | |
| | | As long as at time point GET VIOB03:
| | |---JEST VIGETTAB-JJEST = 'X'
| | |---VZGPO VIGETTAB-JVZGPO = 'X'
| | | |
| | | |---BP000
| | | |
| | | |---BPADR
| | | |---BP030
| | |
| | |---VIEIGE VIGETTAB-JVIEIGE = 'X'
| | |---VIOB38 VIGETTAB-JVIOB38 = 'X'
| | |---VIOB39 VIGETTAB-JVIOB39 = 'X'
| | |---VZSORT VIGETTAB-JVZSORT = 'X'
| | | |
| | | |---SANS1
| | |
| | |---VIOB24 VIGETTAB-JVIOB24 = 'X'
| | |---VIOB27 VIGETTAB-JVIOB27 = 'X'
| | |---VIMI01 VIGETTAB-JVIMI01 = 'X'
| | |
| | |--- ... (with all subnodes)
| |
| |---VIMI01
| |
| |---VIMI03
| |---VIMI08
| |---VIOB40
| |---VIOB10
| |---VIMI38
| |---VIKOKO
| | |
| | |---VZZKOPO
| | |
| | |---RBEZFLART
| |
| |---VIMIMV
| | |
| | |---VIBEPP
| | |---VIMI54
| | |---VIMI55
| | |---VIMI07
| | |---VIMI23
| | |---VIMI24
| | |---VIMI25
| | |---VIMI28
| | |---VIMI16
| | |---VIMI18
| | |---VIMI56
| | |---VIMI26
| | | As long as at time point GET VIMIMV
| | |---JEST VIGETTAB-JJEST = 'X'
| | |---VZGPO VIGETTAB-JVZGPO = 'X'
| | | |
| | | |---BP000
| | | |
| | | |---BPADR
| | | |---BP030
| | |
| | |---VZSORT VIGETTAB-JVZSORT = 'X'
| | |---VIKOKO VIGETTAB-JVIKOKO = 'X'
| | | |
| | | |---VZZZKOPO
| | |
| | |---VIMI38
| | As long as at time point GET VIMI01:
| |---JEST VIGETTAB-JJEST = 'X'
| |---VZGPO VIGETTAB-JVZGPO = 'X'
| | |
| | |---BP000
| | |
| | |---BPADR
| | |---BP030
| |
| |---VIEIGE VIGETTAB-JVIEIGE = 'X'
| |---VIOB38 VIGETTAB-JVIOB38 = 'X'
| |---VIOB39 VIGETTAB-JVIOB39 = 'X'
| |---VZSORT VIGETTAB-JVZSORT = 'X'
| |---SANO1 VIGETTAB-JSANO1 = 'X'
| |
| |---SANS1
|
|---VIAK03
| |
| |---VIAK05
| | |
| | |---VIAK23_DB
| | |
| | |---VIAK23
| | |
| | |---VIAK24
| | |
| | |---VIAKME
| |
| |---VIAK04
| | |
| | |---VIAK21
| |
| |---VIAK25
|
| --VIVW01
|
|---VIVW02
| |
| |---VIVW03_P
|
|---VIVW06
| |
| |---VIVW03_E
|
|---VIVW05
| |
| |---VIVW07
|
|---VIVW08
|---VIVW09 As long as at time point GET VIVW01
|---VZGPO VIGETTAB-JVZGPO = 'X'
|---BP000
|
|---BPADR
|---BP030