Reading Your Mail Trash

This function is identified by sub-process code WB.

The function allows you to read the contents of the Office trash belonging to the user you used to logon to the SAP System via the CAD interface.

The communication flow of function SMAIL WB is described in the table below.

Communication flow for function SMAIL WB

SP code


Data transferred








Data for each document in Office trash

as defined in table TCID


After you call the function, the SAP interface program sends a list of all documents in the Office trash. You can define which data fields are transferred for each document using the customizing functions for the CAD interface. Data field SOFOLENTI1-DOC_ID must always be transferred. This field contains the key of a document, which you always need to use when you want to process a document.