cancel
Showing results for 
Search instead for 
Did you mean: 

Set characteristics values for a document while creation

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Roland,

why don't you use dependencies to set the default value of your characteristics ?

Iring

Former Member
0 Kudos

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

Answers (0)