SAP Reports / Programs | Sales and Distribution | Basic Functions(SD-BF) SAP SD

RVVBSKDL SAP ABAP Report - Delete Groups and Logs







RVVBSKDL 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 RVVBSKDL into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

VASK - Deleting Groups


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 RVVBSKDL. "Basic submit
SUBMIT RVVBSKDL AND RETURN. "Return to original report after report execution complete
SUBMIT RVVBSKDL 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: TESTLAUF = Test run
Selection Text: ONLY_PR = Only delete logs
Selection Text: INCL_ARC = Delete after archiving
Selection Text: GRUPPE = Group number
Selection Text: DATUM = Creation date of group
Selection Text: ART = Group type
Title: Delete Groups and Logs
Text Symbol: 010 = Not defined
Text Symbol: 009 = Status: Released
Text Symbol: 008 = Status: Transp. orders created
Text Symbol: 007 = ActiveStatus
Text Symbol: 006 = Status: Locked
Text Symbol: 005 = Locked by other program
Text Symbol: 004 = Cannot be del. in whse, reason:
Text Symbol: 003 = Live run, database changed
Text Symbol: 002 = Test run only, no database changes


INCLUDES used within this REPORT RVVBSKDL

INCLUDE RVDIREKT.


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:

L_REF_DELETE CALL FUNCTION 'L_REF_DELETE' EXPORTING i_lgnum = vbsk-lgnum i_refnr = lf_refnr "n_613929 i_no_status_check = charx "HP_206044 EXCEPTIONS refnr_blocked = 1 status_blocked = 2 status_activ = 3 status_to_created = 4 status_released = 5 refnr_does_not_exist = 6 T311A_DOES_NOT_EXIST = 8 "n_805496 OTHERS = 7.

L_REF_DELETE CALL FUNCTION 'L_REF_DELETE' EXPORTING i_lgnum = vbsk-lgnum i_refnr = vbsk-sammg EXCEPTIONS refnr_blocked = 1 status_blocked = 2 status_activ = 3 status_to_created = 4 status_released = 5 refnr_does_not_exist = 6 OTHERS = 7.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = gs_layout it_fieldcat = gt_fieldcat i_save = gc_a it_events = gt_events TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_sdrvvbkdl1 CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = gt_events.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_list_top_of_list.



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