[{ALLOW view All}]
[{ALLOW edit Authenticated}]
!SAP uses also the name "SapOffice" and as shortcut "SO".

|SBWP|Start

|t.SOFD|SAPoffice: Objektdefinition
|t.SOOD|SAPoffice: Objektdefinition
|t.TSOTD|Zulässige Objekttypen
|t.TSOTT|Objekttyptexte

FB
|SO_FOLDER_LIST_READ
|SO_DOCUMENT_INSERT
|SO_DOCUMENT_INSERT_API1
|SO_FOLDER_INSERT_API1
|SO_USER_READ_API1

!Read folder
Use FB 
|SO_FOLDER_ID_GET|Liefert die ID einer Mappe
with the path (names of subfolders) to the destination folder in an internal table:
{{{
PATHWA-OBJNAM = 'PROJEKT CLIP'.
APPEND PATHWA TO PATH.

PATHWA-OBJNAM = 'CLIP-PROJEKT'.
APPEND PATHWA TO PATH.

PATHWA-OBJNAM = 'TEILPROJEKT'.
APPEND PATHWA TO PATH.

PATHWA-OBJNAM = 'DATENMIG'.
APPEND PATHWA TO PATH.

PATHWA-OBJNAM = 'PROTOKOLLE'.
APPEND PATHWA TO PATH.

PATHWA-OBJNAM = 'MIG_EXAMPLE'.
APPEND PATHWA TO PATH.
}}}
With the ID of the folder you can
|SO_FOLDER_READ_API1|Read
|SO_OBJECT_INSERT|Insert
(see r.ZP00ZI_SAPOFFICE)

!Check SAP Office
|SOY1|SAPoffice: Massenpflege Benutzer  
|SOY2|SAPoffice: Statistik-Datensammlung
|SOY3|SAPoffice: Statistik-Auswertung   
|SOY4|SAPoffice: Zugriffsübersicht      
|SOY5|SAPoffice: Eingangsübersicht      
|SOY6|SAPoffice: Dokumentübersicht      
|SOY7|SAPoffice: Mappenübersicht        
|SOY8|SAPoffice: Massenarchivierung     
|SOY9|SAPoffice: Eingangsreorg          
|SOYA|SAPoffice: Mappenbesitzer ändern  

!Verteilerlisten in SO und in Jobs

Hinweis [735379|https://service.sap.com/sap/support/notes/735379] - Nicht alle Spoollisten eines Job-Steps werden versendet (1)\\
Hinweis [1513987|https://service.sap.com/sap/support/notes/1513987] - Nicht alle Spoollisten eines Job-Steps werden versendet (2)\\
Hinweis [329537|https://service.sap.com/sap/support/notes/329537] - Spool beim Senden an Empfänger nach 1000 Zeilen abgeschnittn\\


|x.SO15 or t.SO23|Distribution lists 
|r.RSSO_DLI_CONSISTENT|Check the consistency of a distribution list (note 1176031)
|x.SO01|SAPoffice Eingang

The distribution list of a job is stored in\\
t.TBTCO\\
|RECOBJTYPE|Objekttyp
|RECOBJKEY|Objektschlüssel
|RECDESCRIB|Describe Kennzeichen

NOTE: Wenn eine Verteilerliste als "persönlich" (siehe V_SOID) angelegt ist, wird sie für andere User nicht in den Job-Details angezeigt.
Wenn die Steps im Job auch unter einem anderen User laufen, wird die Verteilerliste auch nicht gefunden und es wird nichts versendet!
Solche Verteilerlisten sollten als "allgemein" angelegt werden.

The key in RECOBJKEY is from business object "RECIPIENT" (x.SWO1)
|SOOS-RECTP	|3	|Recipient.IdType                 |Typ der Adreßkennung
|SOOS-RECYR	|2	|Recipient.IdYear                 |Jahr der Adreßkennung
|SOOS-RECNO	|12	|Recipient.IdNumber               |Nummer der Adreßkennung
|SOOS-SNDART	|8	|Recipient.SendType               |Kommunikationsart aus Adreßverwaltung
|SOES-LFDNR	|3	|Recipient.SequenceNumber         |laufende Nummer aus der Adreßverwaltung
|SOMG-OBJYR	|2	|Recipient.ExtIdYear              |Jahr aus erweiterter Id
|SOMG-OBJNO	|12	|Recipient.ExtIdNumber            |Nummer aus erweiterter Id
Example: {{{DLI37000000000033           38&00000000624}}}

Email addresses are stored in\\
|t.ADR6|E-Mail-Adressen (Business Address Services)
|t.USR21|Relation from User to ADR6

|t.SOOD|SAPoffice: Objektdefinition (SOOD-OBJTP=DLI =>Verteilerliste)
|t.SOMG|Tabelle für Persistenz der Objekte MESSAGE/RECIPIENT (SOMG-OBJNR=SOOD-OBJNR, SOMG-OBJTP=RCP)
|t.SOID|SAPoffice: Inverser Satz zu Verteilerliste
|t.SOOS|SAPoffice: Sendevorgang
|t.SOES|SAPoffice: externer Sendevorgang
|t.SOMG|Persistenz der Objekte MESSAGE/RECIPIENT
|v.V_SOID|SAPoffice: View auf inverse VL-Tab. und Feld objdes von SOOD

Distribution lists vanish / disappear:\\
A common issue with distribution lists is that they vanish/disappear from the SAP system. Usually when distribution lists disappear they have been deleted accidently by some User. The first step is to check if these distribution lists are still in the Trash Bin? Unfortunately once a distribution list has been deleted from the Trash Bin it cannot be recovered. There are no standard SAP programs or reports that will delete a distribution list. To prevent distribution list deletions in future you should change the authorizations of users as per note 124025.

What you should also do is activate the deletion log for of SAPoffice folders and documents under the 'Document Org' tab in transaction SO16 (more details in note 766112). Then in transaction SLG1 you can view the details of who, how and where SAPoffice folders and documents are deleted. However if the log was not in operation when the deletion occured you will not be able to find out which user deleted the distribution lists, only future deletions will be logged.