Method SAVE
Function
Method IF_UKM_EASY~SAVE updates the buffered changes and enhancements to ID mappings. The update is either started immediately or placed in an update task for later execution (on commit).
Parameters of the Method
|
Type |
Name |
Description |
|
Import |
IV_SAVE_IN_UPDATE_TASK |
This parameter defines if the update should be performed immediately or placed in an update task. |
|
Import |
IV_CLEANUP_BUFFER |
This parameter defines if the buffer should be reset. |
|
Export |
ES_MESSAGE |
All the messages that occurred during processing are passed in export structure ES_MESSAGE. |
Notes
If you are not using the obsolete implementation, calling this method might also have an effect on unsaved changes that you made from another interface, for example from interface IF_UKM_ID_THESAURUS.
Example
A coding example is given below (continuation of the previous example):
DATA: ls_message LIKE ls_messages-general_message. * Save mapping CALL METHOD lp_ukm_easy->save EXPORTING iv_save_in_update_task = abap_true iv_cleanup_buffer = abap_true IMPORTING es_message = ls_message.