SAP Program RECOR_NOTES - Real Estate: Correcting Keys of Master Data Notes

Title
Real Estate: Correction of Keys of Master Data Notes

Purpose
Correction of the keys of Sapscript texts for master data notes in RealEstate Management.
The key for notes on master data (business entity, property, and so on)contains the client number. When the texts are copied using standardmethods of the client copy tool, this client number is not converted.In order for it to be possible to process the notes again in the newclient, the key has to be converted.

Integration
The program is part of the client copy tool, but it can also be used onits own.

Prerequisites
A mandatory prerequisite is that you are copying Sapscript texts fortext object 'R3VV', name 'VI..........' .
You can enter the update method in the program, and for optimizing theruntime, you can enter the package size of the database change. Adjustthe conversion program to meet your needs.
Update method: When used together with the client copy tool, this valueshould always be set to 'INSERT'. If you don't need the program untillater, you can decide here if you want to overwrite texts that werealready created in the new client. The default setting is 'INSERT'.
Package size: For this you estimate the average number of lines in yourmaster data notes. Then you use the method entered in the program tocalculate your 'portion size', and you enter this in the constant fieldin the program. The default setting is 5000 notes per 'Package'.

Features

Selection
It is not possible to enter any limitations.

Output
Any messages resulting from copying and deleting the texts aredisplayed on the screen when you run the report online. Otherwise themessages appear in the superordinate logs of the client copy tool.

Activities
The program selects all entries in Sapscript table STXH that haveobject type 'R3VV' and name identifier 'VI' in the first twocharacters. The program processes all entries with a different clientin the name part of the text than the client that is actually beingprocessed. The texts determined in this way are copied with the correctnaming, and the old texts are deleted.
Tables STXH (headers), STXL (SAP formats) and STXB (external formats)are involved.

Example
Client 333 is converted to client 444.
Before this program is executed, the note for property 22222222 inbusiness entity 11111111 in company code REAL cannot be displayed whenthe property is displayed in the new client, even though it alreadyexists with the key VIGRST333REAL1111111122222222.
The program is executed in the new client and copies the text under thekey VIGRST444REAL1111111122222222. It is now possible for the note tobe processed from the master data of the property.

457893Client copy:copy notes for Real Estate objects