on 08-18-2009 5:45 PM
Hi all,
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?
Thanks,
Roland
Hi Roland,
why don't you use dependencies to set the default value of your characteristics ?
Iring
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Iring,
thanks for your suggestion.
But - a user can set customizing value itself independent of document- and in dependence of this value, a characteristics value should be set for document creation.
I think, for your suggestion is needed, that the user sets one value within den document, and then the system sets other characteristics values.
Is there a possibility to set the characteristic values in memory?
To get the values for check while save the document, I use CVBAPI_DATA_GET and CLFM_GET_INTERNAL_TABLES. Are there corresponding functions to set this values?
Roland
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.