SAP Reports / Programs | Knowledge Management | Knowledge Warehouse(KM-KW) SAP KM

KW_CONTENT_DELETION_BG SAP ABAP Report - Deletion of KW Contents (Background)







KW_CONTENT_DELETION_BG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter KW_CONTENT_DELETION_BG into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT KW_CONTENT_DELETION_BG. "Basic submit
SUBMIT KW_CONTENT_DELETION_BG AND RETURN. "Return to original report after report execution complete
SUBMIT KW_CONTENT_DELETION_BG VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: LANGUAGE = D .
Selection Text: AREA = D .
Selection Text: STRUCT = Structures
Selection Text: STEP_OPT = Options
Selection Text: NUR_TRNS = Translations Only
Selection Text: FOLDER = Folders
Selection Text: EXC_FOLD = Exceptions
Selection Text: CONTEXT = Context
Selection Text: AMFOLDER = Quantity of Folders
Title: Deletion of KW Contents (Background)
Text Symbol: 037 = No further activities
Text Symbol: 038 = Exception List
Text Symbol: 039 = Specify the file name (file format is always ".txt")
Text Symbol: 040 = No path selected
Text Symbol: 041 = Process ended
Text Symbol: 042 = , because sy-subrc =
Text Symbol: 043 = Path and File Name
Text Symbol: 044 = Exception list written to following directory:
Text Symbol: 045 = Path
Text Symbol: 046 = With File Name:
Text Symbol: 047 = has EXPORTMODL relationhip
Text Symbol: 048 = Cannot be deleted -> sy-subrc =
Text Symbol: 049 = -> to be deleted
Text Symbol: 050 = Rel:
Text Symbol: 051 = No objects (LOIOs) with best PHIOs found
Text Symbol: 052 = Folder:
Text Symbol: 053 = Class
Text Symbol: 054 = P/L Class
Text Symbol: 055 = PHIO/LOIO Class
Text Symbol: 056 = P/L ID
Text Symbol: 057 = PHIO/LOIO ID
Text Symbol: 058 = LOIO/Folder Class
Text Symbol: 059 = LOIO/Folder ID
Text Symbol: 001 = Best PHIO
Text Symbol: 002 = Best PHIO
Text Symbol: 003 = L Class
Text Symbol: 004 = LOIO Class
Text Symbol: 005 = L ID





Text Symbol: 006 = LOIO ID
Text Symbol: 007 = Technical Name of the LOIO
Text Symbol: 008 = Enhancmnt
Text Symbol: 009 = Enhancement
Text Symbol: 010 = Release
Text Symbol: 011 = Folder
Text Symbol: 012 = Technical Name of Folder
Text Symbol: 013 = Technical Name of Folder
Text Symbol: 014 = Report already started by user;
Text Symbol: 015 = try again later
Text Symbol: 016 = PHIO collective process is ready
Text Symbol: 019 = cannot be deleted
Text Symbol: 020 = is checked out
Text Symbol: 021 = Relationship:
Text Symbol: 022 = for the
Text Symbol: 023 = and object too
Text Symbol: 024 = Error
Text Symbol: 025 = Error; see application log
Text Symbol: 026 = Language:
Text Symbol: 027 = Country:
Text Symbol: 028 = Results of Deletion Report for KW Contents
Text Symbol: 029 = Details
Text Symbol: 031 = is still reorganized
Text Symbol: 032 = Maintenance of Exceptions
Text Symbol: 033 = Do you want to include this LOIO in the exception list?
Text Symbol: 034 = Yes
Text Symbol: 035 = Continue
Text Symbol: 036 = Exception included in exception list


INCLUDES used within this REPORT KW_CONTENT_DELETION_BG

INCLUDE KW_CONTENT_DELETION_BG_TOP . " GLOBAL DATA
INCLUDE KW_CONTENT_DELETION_BG_F01 . " FORM-ROUTINES
INCLUDE FSIWBF03.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SDOK_LOIOS_PROPERTIES_GET CALL FUNCTION 'SDOK_LOIOS_PROPERTIES_GET' TABLES object_list = lt_folders properties_request = gt_req_properties_loio properties = lt_prop_fold.

IW__C_LOIO_CLASSES_GET CALL FUNCTION 'IW__C_LOIO_CLASSES_GET' EXPORTING area = area IMPORTING folder_class = lv_class_f struct_classes = lt_str_classes topic_classes = lt_top_classes.

SDOK_LOIOS_PROPERTIES_GET CALL FUNCTION 'SDOK_LOIOS_PROPERTIES_GET' TABLES object_list = lt_loio properties_request = gt_req_properties_loio properties = lt_prop_loio.






TH_REDISPATCH CALL FUNCTION 'TH_REDISPATCH'.

SDOK_FIND_BY_QUERY CALL FUNCTION 'SDOK_FIND_BY_QUERY' TABLES query = lt_query CLASSES = gt_info_classes RESULT_LOIOS = lt_loio PROPERTIES_REQUEST = gt_req_properties_loio PROPERTIES_RESULT = lt_prop_loio EXCEPTIONS BAD_CLASS = 1 BAD_QUERY = 2 NOT_AUTHORIZED = 3 OTHERS = 4.

TH_REDISPATCH CALL FUNCTION 'TH_REDISPATCH'.

TH_REDISPATCH CALL FUNCTION 'TH_REDISPATCH'.

IW_C_LO_CLASS_SRC_CLASS_GET CALL FUNCTION 'IW_C_LO_CLASS_SRC_CLASS_GET' EXPORTING class = lv_class_io IMPORTING src_class = lv_class_src.

IW_C_LO_CLASS_DEL_CLASS_GET CALL FUNCTION 'IW_C_LO_CLASS_DEL_CLASS_GET' EXPORTING class = lv_class_io IMPORTING del_class = lv_class_del.

TH_REDISPATCH CALL FUNCTION 'TH_REDISPATCH'.

TH_REDISPATCH CALL FUNCTION 'TH_REDISPATCH'.

TH_REDISPATCH CALL FUNCTION 'TH_REDISPATCH'.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name KW_CONTENT_DELETION_BG or its description.