RSADRLSM01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Delete all postal codes, cities, districts, streets and PO Boxes for a country This program removes old or test data for a country from the database...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RSADRLSM01 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: COUNTRY = D .
Title: Delete all postal code, city, streets
Text Symbol: 001 = Specify country
Text Symbol: 002 = Links to regional structure deleted in address management:
Text Symbol: 003 = Invalid country key:
Text Symbol: 004 = Regional structure table update error; processing canceled
Text Symbol: 005 = Internal program error; processing canceled
Text Symbol: 006 = Regional structure successfully updated
Text Symbol: 456 = Delete all regional structure data of a country
Text Symbol: 457 = Delete All Difference Data for Quarterly Adjustment
Text Symbol: COM = Delete?
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM *CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * titlebar = text-456 ** DIAGNOSE_OBJECT = ' ' * text_question = text-com ** TEXT_BUTTON_1 = 'Ja'(001) ** ICON_BUTTON_1 = ' ' ** TEXT_BUTTON_2 = 'Nein'(002) ** ICON_BUTTON_2 = ' ' * default_button = '2' ** DISPLAY_CANCEL_BUTTON = 'X' ** USERDEFINED_F1_HELP = ' ' ** START_COLUMN = 25 ** START_ROW = 6 ** POPUP_TYPE = * IMPORTING * answer = answer ** TABLES ** PARAMETER = * EXCEPTIONS * text_not_found = 1 * OTHERS = 2 * .
SZRS_DB_DELETE_ALL CALL FUNCTION 'SZRS_DB_DELETE_ALL' EXPORTING x_country = country EXCEPTIONS country_not_valid = 1 update_not_complete = 2 OTHERS = 3.
ADDR_DELETE_REGSTRUC_LINKS CALL FUNCTION 'ADDR_DELETE_REGSTRUC_LINKS' EXPORTING country = country IMPORTING lines_updated = lines_upd_adrc EXCEPTIONS country_not_valid = 1 OTHERS = 2.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' EXPORTING _synchron = ' ' EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.