Vous êtes sur la page 1sur 2

FS for Report before Bill Printing

Input Parameter:
Rate Category:Month Period:Logic:
1.
2.
3.
4.
5.
6.
7.

8.

9.
10.

11.
12.
13.
14.

15.

16.

Select ALL ANLAGE from EANLH Where TARIFTYP = Input Parameter (Ref. 1)
Select LOGIKNR from EASTL Where ANLAGE (Query 1)
Select EQUNR from EGERH Where LOGIKNR (Query 2)
Select LOGIKZW from ETDZ Where EQUNR (Query3)
Select SERNR, HERST from EQUI Where EQUNR = Result of (Query No. 3) (Ref. 2 & 11)
Select BILLING PERIOD, INTOPBEL=Space from ERDK Where VKONT = Input Parameter
(Ref. 3)
Select WERT1 from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
SLD, Use Function Module ISU_DB_ETTIFN_SELECT Pass AB = From Month Period date.
(Ref. 4)
Select WERT1 from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
CD, Use Function Module ISU_DB_ETTIFN_SELECT Pass AB = From Month Period date.
(Ref. 5)
Select WERT1 from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
LF%, BELNR not equal to space, Pass AB = From Month Period date. (Ref. 6)
Select ABRFAKT from EZUZ Where LOGIKZW (Query No. 4) & Sort internal table by BIS
descending. (Ref. 7) If we dont get any entry in EZUZ then its BF is 1 & Pass AB = From
Month Period date.
Select WERT1 from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
PF_INT, BELNR not equal to space, Pass AB = From Month Period date. (Ref. 8)
Select ADATSOLL Less than schedule date from EABL Where EQUNR (Query No. 3) & sort
ADATSOLL column Descending Order choose previous latest date. (Ref. 9)
Select ADATSOLL from EABL Where EQUNR (Query No. 3) & sort ADATSOLL column
Descending Order choose latest date. (Ref. 10)
Select (V_ZWSTAND, N_ZWSTAND - Values of both fields should be attach) from EABL
Where EQUNR (Query No. 3) and ZWNUMMER = 001, 002, 003, 004, 005, 006 &
Pass previous date (Query No. 12) (Ref. 12 & 26 & 29 & 31& 33 & 35).
Select (V_ZWSTAND, N_ZWSTAND - Values of both fields should be attach) from EABL
Where EQUNR (Query No. 3) and ZWNUMMER = 001, 002, 003, 004, 005, 006,
007, 008, 009, 010, & Pass current date (Query No. 13) (Ref. 13 & 27 & 30 & 32 & 34 &
36 & 37 & 38 & 39 & 40).
Select WERT1 from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
KWH_M, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 14)

17. Select BETRAG from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
ENG_CHG1, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 15)
18. Select BETRAG from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
DMD_AMT, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 16)
19. Select BETRAG from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
INT_FAC, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 17)
20. Select BETRAG from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 18)
21. Select BETRAG from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
OTHERAMT& EC_OTHER, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 19)
22. Select BETRAG from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 20)
23. Select BETRAG from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
AMT_ED, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 21)
24. Select BETRAG from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
PF_AMT, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 22)
25. Select BETRAG from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
TOSE, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 23)
26. Select WERT1 from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
KVAH, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 28)
27. Select WERT1 from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
HDMD, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 41)
28. Select WERT1 from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
HDMD, BELNR not equal to space, Pass AB = From Month Period date.
(Ref. 42)
29. Select WERT1 from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
KWH_M, BELNR not equal to space, Pass AB less than From Month Period date. Fetch
previous six months consumption average (Ref. 24)
30. Select WERT1 from ETTIFN Where ANLAGE = Installation No. (Query No. 1), OPERAND =
KWH_M, BELNR not equal to space, Pass AB less than From Month Period date. Fetch
previous twelve months consumption average (Ref. 25)

Vous aimerez peut-être aussi