2012 Jan 08 5:19 AM
How to check for disconnection document status for a particular Contract Account?
2012 Jan 09 10:12 AM
Hi,
Disconnection status can be determined at installation level. So, we need to fetch all installations for a given contract account to proceed further.
You can use function module ISU_DB_V_EDISCOBJ_SELECT_ANL by passing Installation (X_ANLAGE), Key Date (X_KEYDATE), Actual (x_actual) = 'X'. In export parameter - y_eanldiscst (Disconnection Status) will return 2 char value.
Following are possible values:
00 Installation Fully Operational
05 Disconnection Started
10 Installation Completely Disconnected
11 Installation Partially Disconnected
15 Reconnection Started
17 Devices Removed
18 Devices Removed and Disconnected
Hope this helps.
Regards,
Avinahs
2012 Jan 10 6:19 AM
Hi,
Disconnection document is maintained on installation level. Thus if a Contract Account has more than one contracts, there can be multiple disconnection documents for different installations.
You can find the status of a disconnection document from header table 'EDISCDOC'. Here pass REFOBJTYPE = 'INSTLN' and REFOBJKEY = installation number.
You can find all installations for a CA in table EVER. Just check if Contract is active i.e. Move-out date should be later than system date and Move-in date should be previous than system date.
Also, status of a disconnection document comes from standard domain 'EDCDOCSTAT' which has below given values:
00 New
01 New, release unnecessary
10 Released
20 Disconnection started
21 Disconnection carried out
22 Reconnection started
23 Device removal started
24 Device Removal Executed
25 Device installation started
26 Device installation carried out
27 All Devices Removed and Disconnected
30 Reconnection carried out completely
99 completed
Regards,
Ravi