SAP Reports / Programs

SDVBKADL SAP ABAP Report - Delete Sales Activities







SDVBKADL 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 SDVBKADL 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 SDVBKADL. "Basic submit
SUBMIT SDVBKADL AND RETURN. "Return to original report after report execution complete
SUBMIT SDVBKADL 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: PRTEXT = Issue log texts
Selection Text: TESTLAUF = Test run
Title: Delete Sales Activities
Text Symbol: 001 = Selected for Deletion
Text Symbol: 002 = Identified for Deletion
Text Symbol: 003 = Test Run


INCLUDES used within this REPORT SDVBKADL

INCLUDE ARCHCOMO.
INCLUDE SDVBKATB.


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:

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = 'SD_VBKA' test_mode = testlauf IMPORTING archive_handle = archive_handle.

ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = 'SD_VBKA' IMPORTING commit_count_for_delete_prg = commcnt.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = archive_handle IMPORTING object_id = obj_id object_offset = obj_offset archive_name = arc_name EXCEPTIONS end_of_file = 01.

ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = archive_handle.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = archive_handle IMPORTING record = arc_buffer-segment record_flags = arc_buffer-flags record_structure = arc_buffer-rname EXCEPTIONS end_of_object = 01 wrong_access_to_archive = 02.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = archive_handle.

NAST_PROTOCOL_DELETE CALL FUNCTION 'NAST_PROTOCOL_DELETE' EXPORTING nr = lnast-cmfpnr.

RV_CAS_INDEX_UPDATE CALL FUNCTION 'RV_CAS_INDEX_UPDATE' EXPORTING xvbuk = xvbuk yvbuk = yvbuk xvbka = xvbka yvbka = yvbka db_error_handling = 'X' TABLES xvbpa = xvbpa yvbpa = yvbpa.

SDCAS_ADDRESS_LIST_DELETE CALL FUNCTION 'SDCAS_ADDRESS_LIST_DELETE' EXPORTING fi_listnr = xvbka-ktanr EXCEPTIONS OTHERS = 1.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = archive_handle TABLES table = arch_stat EXCEPTIONS internal_error = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure i_inclname = gv_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid i_structure_name = gc_structure i_grid_title = gv_title is_layout = gs_layout it_fieldcat = gt_fieldcat TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.



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