SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Disconnection document status at a certain date

Former Member
0 Kudos

Hello,

I need to know the status of a disconnection document at a certain date (actually, to check if the disconnection document had status '21' - disconnection carried out - during a certain period).

Is there a function or an easy way to find this out? If not, could you suggest me how to do this (check if the disconnection document had status '21' during a certain period)?

Thank you.

2 REPLIES 2

Former Member
0 Kudos

Hello,

you can make a join with tables EDISCDOC and EDISCACT.

In Table EDISCDOC you have the actual status but in the EDISCACT (Disconnection Activities) you have the historical. You just need to find out which Activity type (EDISCACT-DISCACTTYP) is related to the status '21' that you are looking for (EDISCDOC-STATUS).

I think that when you have the activity type '02' in table EDISCACT that is the time frame where your Disconnection document had the status '21' in table EDISCDOC.

Carlos Ponce

oliviawalsh
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

The following may be of some help for you:

Transaction SE37:

Function Module ISU_O_DISCDOC_OPEN in function group ES34.

Transaction SWO1:

Object type DISACTION Diconnection document activity

Method --> DisconnactionAction.ExistenceCheck

Object type DISCONNECT Disconnection

Method --> Disconnection.ExistenceCheck

Regards

Olivia