Set characteristics values for a document while creation
I want to set some characteristics values from a customizing table when a user creates an document, BEFORE the new document is displayed in the SAPGUI.
Also the solution should work for BAPI-Calls to create a document.
And - additionally also when the user creates a document via EasyDMS.
I think, the best place would be, to use the BADI DOCUMENT_MAIN01 - and method BEFORE_READ_DATA or AFTER_READ_DATA.
But my problem is, where to set the characteristic values, so that they can be used by BAPI, SAPGUI, EasyDMS.
Does anyone have a suggestion for one part or all parts of the requirement?