SaveEntityReplicas
Using this method, you can store the identifiers and texts of the(replicated) appropriation requests and measures, which are assigned toan investment program, in the summarization database of Investment Management. The function module can also be used to store the following in the summarization database of Investment Management:
identifiers and texts of the (replicated) profit centers, cost centers,plants or functional locations belonging to the investment program or to the appropriation requests or measures belonging to it. Caution: This method is obsolete as of Release 4.6A! From that point
on, use only the methods of the BUS1157 and BUS1158 business objects. ExampleThe identifier of the functional location is limited to 22 charactersin the summarization database of Investment Management. If a longeridentifier is transferred to the function module, an error message is issued!
A "normal master record" is not created for any of the entities listedabove. The entities are stored in special tables for the Information System of Investment Management. If texts already exist for an entity in the summarization database inthe given language, these texts are overwritten by the new texts.
CautionThe function module should be called at the most only once within a transaction, if possible. If an error occurs at any point during processing, there is no update,and the function module automatically carries out a ROLLBACK. The RETURNMESSAGES table parameter contains a list of the errors that
occurred. In the case of successful completion, the function module may automatically carry out a COMMIT for the database changes, undercertain circumstances. This may or may not have been explicitly transmitted by the calling program. The RETURNMESSAGES table parameter may contain another list of warning messages that were issued.
The RETURN parameter tells you if processing was completed successfully or if there were errors.
|