SAP Reports / Programs | Logistics - General | Logistics Basic Data | Plant Master(LO-MD-PL) SAP LO

ERASE_SITE SAP ABAP Report - Deletion program, plant master







ERASE_SITE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report allows you to delete plants according to the selection options entered...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 ERASE_SITE 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 ERASE_SITE. "Basic submit
SUBMIT ERASE_SITE AND RETURN. "Return to original report after report execution complete
SUBMIT ERASE_SITE 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: DETAIL = Detailed log
Selection Text: I_WERKS = Plants
Selection Text: TESTLAUF = Test run
Title: Deletion program, plant master
Text Symbol: 001 = THIS IS AN UPDATE RUN
Text Symbol: 002 = Continue?
Text Symbol: 003 = Delete plant
Text Symbol: E00 = No plants were selected
Text Symbol: E01 = You are not authorized to execute this report
Text Symbol: E02 = Please limit the selection


INCLUDES used within this REPORT ERASE_SITE

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_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'N' TEXTLINE1 = TEXT-001 "This is a Prod. run

ECOP_ORG_UNITS_IN_THE_DARK CALL FUNCTION 'ECOP_ORG_UNITS_IN_THE_DARK' EXPORTING ORG_UNIT = 'WERKS' ACTION = 'DELE' IMPORT_TR_REQUEST = SPACE IMPORT_TR_TASK = SPACE BUSINESS_OBJECT = SPACE * ENTITY_TAB = SOURCE_ORGUNIT = YT001W-WERKS * TARGET_ORGUNIT = * IMPORTING * RETURN_CODE = * DESCRIPTION = * ORG_UNIT = * TABLES * LIST_OF_TABLES_ERR = * LIST_OF_FORKEY_ERR = * LIST_OF_TRANSPORT_ERR = * exceptions * no_valid_orgunit = 1 * no_valid_action = 2 * no_tables = 3 * db_error_on_insert = 4 * db_error_on_delete = 5 * no_tr_request = 6 * transport_error = 7 * no_authorization = 8 * unallowed_user = 9 * locking_error = 10 * wrong_category = 11 * target_unit_exists = 12 * global_check_failed = 13 * invalid_orgtype = 14 * no_double_orgunit_type = 15 * no_modifications_allowed = 16 * no_transports_allowed = 17 * others = 18 .



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