Purpose This report deletes KW contents (structures / content objects) forspecified contexts from selected folders of an area or for the completearea. Prerequisites Important:>
- Before you run this report, create a separate backup of the SAP system
and the SAP content server of your Knowledge Warehouse system to avoidhaving to re-import the SAP standard contents in case you happen todelete other contents by mistake.
- If no backup is made before content is deleted, the relevant SAP content
transports would have to be re-imported into your SAP KW system in orderto restore the SAP contents. Transaction KW_IO_DEL_TR is used todetermine these transports. If for some reason (for example, SAP KWsystem has been renamed) the E07* tables are no longer correctly filled,the information about the transport requests can no longer bedetermined. Consequently all transports would have to be re-importedfrom the content updates DVD for the part in question. If you intend to use this report to delete versions of customer contentsfrom the system, then a backup of SAP backend and SAP content server ismandatory since normally no transport requests for re-import areavailable for these customer contents. Required Authorizations> To run the report correctly, activity 'ADMIN' is required forauthorization object S_IWB_ADM. If this is not available, report KW_CO NTENT_DELETION or transaction KW_IO_DEL can still be called and thecontext settings made, but the folders to delete can no longer beselected. In dialog mode instead of being able to run the report, youget the message: 'You do not have authorization for this function'. Context Resolution Settings> The enhanced context resolution must be activated in your SAP KW system(parameter 'NCONT_RES = 3' in table IWBSETTING). You can findinformation about enhanced context resolution in SAP note 1060417. Parallel Execution> While the KW content deletion report (KW_CONTENT_DELETION) is running,all other reports that process contents at folder level in the SAP KWsystem must be inactive (for example, reorganization (SI81 -> Goto ->Reorganization)). Also, there must be no other active instance of thedeletion report. Peculiarity with Folders in Reorganization> Folders with entries in the shadow tables of the reorganization report(SI81) are excluded from processing. One info object in reorganizationis sufficient to remove all info objects assigned to this folder fromfurther processing. If all selected folders are affected, the deletion report is cancelled.When folders are reorganized in SI81, the versions are first stored in"shadow" tables. Only when "final deletion" is called, are the shadowtables for the folders in question emptied and the versions deleted fromthe SAP content server. Info Objects with Checked-Out Versions> All info objects from contexts selected for deletion must not be checkedout for editing or translating (with offline translation package).Checked-out objects (plus their predecessors) are not included in theprocessing. Usage of Objects> Before selecting options for the deletion of content objects, all therequired options for structure analysis (or deletion) must have beenset. If they have not, the number of content objects deleted will besmall since they are still referenced by structures and therefore cannotbe removed. Objects with usages are retained.Features Folders / contents from the XML areas (XML documentation / XML training)are not included in this report. Only objects from "classic" areas (e.g.training / documentation) can be processed. If the report cannot be run because
- another instance of this report exists, or
- another report is processing the contents at folder level (e.g.
reorganization), the user is notified by a popup in dialog mode. If the report wasscheduled in the background, a new batch job is automatically scheduled60 minutes later. This procedure is repeated until the report can bestarted. Folders Not Processed> Some folders are always excluded from processing regardless of thesettings in the report.
- All folders with content templates that have an entry in table
IWBSETTING (parameter: TEMPLATE_FOLDER_xxxx) Examples: TEMPLATE_FOLDER_IWBTRAIN for templates from the area training/ TEMPLATE_FOLDER_IWBHELP for documentation
- Administration area (IWBMISC):
OEPPR3 (macros) Falls Makros in anderen Mappen liegen, dann sind diese nicht geschützt. STYLES (cover sheets / style templates) Folders whose objects are assigned from classes "language-dependentmiscellanaeous" or "language-independent miscellanaeous" IWB_ENTRY (entry structure / important for the IKS display) The folder to which the entry structure is assigned is excluded from theprocessing. Parameter ENTRY_STR from table IWBSETTING is checked.
- Documentation area (IWBHELP):
HELP.GLOSSARY (glossary) This deletion report will not process any info objects that are assignedto the folders listed above. The list of folders excluded fromprocessing appears in the application log (SLG1). If no folders at allare left for processing, the folders will appear directly in thedisplay. The "best PHIO" is the last available version (PHIO) in the specifieddeletion area if there are no other versions in higher releases. Inother words, it is the version displayed to the user when he or shecalls the structure preview. In this preview the context resolution isdeactivated for the content part. The deactivated context resolutionmeans that the last version is displayed independently of the status butwithout a language fallback. The deletion area covers all contexts with the same enhancement (orcountry code) as specified in the report. All releases are included thatare smaller or the same as the release specified in the report. Example:Release: 620 / enhancement: none. This setting means that all existingreleases from table IWRELEASE up to and including 620 are included, e.g.40B / 46C. The report will not process any info objects for which usages are stillfound. If referenced objects are already flagged for deletion, thetarget objects are also checked for deletable versions. If a "released" version of an info object is deleted, this version isflagged for deindexing. The next time the index report RSTIRIDX is run,the changes are made in the index itself. Background: In SAP KW onlyinfo objects with status "released" are flagged for indexing, providedthe appropriate settings for the area itself (made in SKPR06) and forthe object class are made too include them in the search index. If versions of an info object (or a complete info object) are deleted,the entries in the transport tables (E07*) are retained anyway. Theseentries may be needed to ascertain the transport requests that contentswere re-imported with. Contents would only be imported again if more SAPcontents than intended happen to get deleted from the SAP KW systembecause of incorrect settings in the deletion report. Depending on whether the report is run in dialog mode or in thebackground, there are different options to verify the results or to viewthe log.
- Application log (transaction SLG1)
Information is stored when the report is run in dialog mode and in thebackground.
- History tables
Information is stored in dialog mode or in the background when thereport is run. Tables used for storing the information: KWDEL_HEAD and KWDEL_RES_OBJ These tables are evaluated in transaction KW_IO_DEL_TR or in reportKW_FOLDER_REPORTS.
- Spool log
Only filled when the report is run in the background. Only applies tostructure objects, since the exception list can be generated from them.With content objects there is only the decision to be as to whether todelete or to save all versions flagged as "best PHIO". Selected contentobjects are not excluded.
- ALV list
Only filled when the report is run in dialog mode. This report does not delete folders. They are retained even if a folderno longer has any info object assigned to it. While the deletable versions are being ascertained only the source anddelete PHIOs (SRC and DEL PHIOs) are analyzed by this report. Theversions of the display formats (DST PHIOs) are determined by therelationship to the source object (SRC-PHIO) and not deleted until thedeletion process is actually running. Handling Delete PHIOs (DEL PHIOs)>
|