Start of Content Area

Storage Mode  Locate the document in its SAP Library structure

Text modules are related to an application object. They are created or edited together with the object. You can imagine them as a unit, even though they are stored in different tables. Therefore, the way in which a SAPscript text is written to the database should depend on the way the application object is stored. The following possibilities exist:

When calling the corresponding save function, the system immediately writes the text module to the text database.

All changes to the text modules of a transaction are stored intermediately in a buffer. Only when the application object is updated does the system write the texts to the log file and, in the update task, stores them in the text file.

You can use SAPscript to edit texts that are not stored in the text database. In this case, SAPscript only returns the changed text table to the application program, which is itself responsible for storing the text.

This text attribute is defined in the table TTXOB in field TDSAVEMODE. With some function modules, you can use the parameter SAVEMODE_DIRECT to temporarily switch from storage in update task to direct storage.