05-31-2010 12:07 PM
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.
05-31-2010 12:30 PM
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
05-31-2010 1:14 PM
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