SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Address Management/Business Address(BC-SRV-ADR) SAP BC

RSADRLSM01 SAP ABAP Report - Delete all postal code, city, streets







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


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 RSADRLSM01. "Basic submit
SUBMIT RSADRLSM01 AND RETURN. "Return to original report after report execution complete
SUBMIT RSADRLSM01 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: 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?


INCLUDES used within this REPORT RSADRLSM01

No INCLUDES are used within this REPORT code!


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:

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.



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 RSADRLSM01 or its description.