SAP Reports / Programs | Basis Components | Basis Components | Implementation Guide(BC-CUS-TOL-IMG) SAP BC

SPROJECT_DELETE_BACKGROUND SAP ABAP Report - Deletion of Solar projects in background (submited by sproject_delete)







SPROJECT_DELETE_BACKGROUND 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 SPROJECT_DELETE_BACKGROUND 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 SPROJECT_DELETE_BACKGROUND. "Basic submit
SUBMIT SPROJECT_DELETE_BACKGROUND AND RETURN. "Return to original report after report execution complete
SUBMIT SPROJECT_DELETE_BACKGROUND VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Deletion of Solar projects in background (submited by sproject_delete)
Text Symbol: 001 = Request & was created
Text Symbol: 002 = Deletion of project & is finished.
Text Symbol: 003 = Deletion of project & ended with errors.See details in job log
Text Symbol: 004 = Project deletion in background
Text Symbol: 005 = Deletion of project:
Text Symbol: 043 = Error creating transport request
Text Symbol: 044 = Message:


INCLUDES used within this REPORT SPROJECT_DELETE_BACKGROUND

INCLUDE: LPROJECT_ADMINISTRATIONCON.


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:

SPROJECT_DELETE CALL FUNCTION 'SPROJECT_DELETE' EXPORTING project_id = project_id no_message = true DELETE_NOTES = local_delete_notes transport_order = transport_order IMPORTING message = message project_deleted = l_deleted.

BM_EXPRESS_MESSAGE_SEND CALL FUNCTION 'BM_EXPRESS_MESSAGE_SEND' EXPORTING message = ls_message title = 'Project deletion in background'(004).

TR_INSERT_REQUEST_WITH_TASKS CALL FUNCTION 'TR_INSERT_REQUEST_WITH_TASKS' EXPORTING iv_type = l_type iv_text = l_text * IV_OWNER = SY-UNAME iv_target = l_target * IT_ATTRIBUTES = * IT_USERS = * IV_TARDEVCL = * IV_DEVCLASS = * IV_TARLAYER = IMPORTING es_request_header = l_header * ET_TASK_HEADERS = EXCEPTIONS insert_failed = 1 enqueue_failed = 2 OTHERS = 3.

TRINT_DELETE_COMM CALL FUNCTION 'TRINT_DELETE_COMM' EXPORTING wi_dialog = ' ' wi_trkorr = p_transport_order * IV_WITHOUT_ANY_CHECKS = ' ' * IV_WITHOUT_USER_CHECK = ' ' * IV_WITHOUT_CTSPROJECT_CHECK = ' ' * IV_TEST_MODE = ' ' IMPORTING et_deleted_tasks = l_deleted_task
EXCEPTIONS * FILE_ACCESS_ERROR = 1 * ORDER_ALREADY_RELEASED = 2 * ORDER_CONTAINS_C_MEMBER = 3 * ORDER_CONTAINS_LOCKED_ENTRIES = 4 * ORDER_IS_REFERED = 5 * REPAIR_ORDER = 6 * USER_NOT_OWNER = 7 * DELETE_WAS_CANCELLED = 8 * OBJECTS_FREE_BUT_STILL_LOCKS = 9 * ORDER_LOCK_FAILED = 10 * WRONG_CLIENT = 11 * PROJECT_STILL_REFERENCED = 12 * SUCCESSORS_ALREADY_RELEASED = 13 OTHERS = 1.

BM_ALOG_CREATE CALL FUNCTION 'BM_ALOG_CREATE' IMPORTING e_log_handle = l_log_handle TABLES i_messages = l_messages.

BM_ALOG_DISPLAY CALL FUNCTION 'BM_ALOG_DISPLAY' EXPORTING i_log_handle = l_log_handle i_popup = popup i_ext_push1 = space.



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