HI Chris,
text of the document is presented as a standard text (transaction SO10) from which a note is automatically generated when saving the document. In the text there is some variable data specific to a document (i.e. the values of a certain Z fields of the CRMD_PARTNER).
The Smart Form has two "containers", one of which is the note text. FM LOAD_TEXT reads a note (NAME = document GUID, ID = ST, OBJECT = TEXT).