SAPDBVC1 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 SAPDBVC1 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: S_KTABG = D Start of Sales Activity
Selection Text: S_KTAAR = D Sales activity type
Selection Text: S_GBSTK = D Overall status
Selection Text: S_ERNAM = Created by
Selection Text: P_VBOFF = Only open sales activities
Selection Text: P_VBALL = All sales activities
Selection Text: P_ADRESS = Consider address list
Selection Text: S_VTWEG = D Distribution channel
Selection Text: S_VKORG = D Sales organization
Selection Text: S_VKGRP = D Sales group
Selection Text: S_VKBUR = D Sales office
Selection Text: S_SPART = D Division
Selection Text: S_PPERNR = Employee/sales employee
Selection Text: S_PPARNR = Contact Persons
Selection Text: S_PLIFNR = Vendor
Selection Text: S_PKUNNR = Customer/sales prospect
Selection Text: S_PERNR = Employee/sales employee
Selection Text: S_PARNR = D Contact Persons
Selection Text: S_LIFNR = Vendor
Selection Text: S_KUNNR = Customer/sales prospect
Selection Text: S_KTEXT = D Comment
Selection Text: S_KTAST = D Sales activ. status
Text Symbol: B00 = Sales activity partner
Text Symbol: B01 = Sales activity type/date
Text Symbol: B02 = Selection criteria
Text Symbol: B03 = Organization
Text Symbol: P01 = Roles
Text Symbol: P02 = Classes
Text Symbol: P03 = Status
Text Symbol: P04 = Time period
INCLUDE DBVC1TOP.
No SAP DATABASE tables are accessed within this REPORT code!
SD_CAS_LDB_SELECTION CALL FUNCTION 'SD_CAS_LDB_SELECTION' EXPORTING FI_FORM = P_FORM EXCEPTIONS OTHERS = 0.
SD_CAS_SELECTION_SCREEN_PARVW CALL FUNCTION 'SD_CAS_SELECTION_SCREEN_PARVW' TABLES FT_PARVW_KUNNR = S_PKUNNR FT_PARVW_PARNR = S_PPARNR FT_PARVW_PERNR = S_PPERNR FT_PARWV_LIFNR = S_PLIFNR EXCEPTIONS OTHERS = 0.
SD_CAS_SELECTION_SCREEN_STATUS CALL FUNCTION 'SD_CAS_SELECTION_SCREEN_STATUS' TABLES FT_VBAK_GBSTK = S_GBSTK FT_VBAK_KTAST = S_KTAST EXCEPTIONS OTHERS = 0.
HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING DOKCLASS = LC_REPORT_DOCU * DOKLANGU = SY-LANGU DOKNAME = 'SAPDBVC1' * DOKTITLE = ' ' * CALLED_BY_PROGRAM = ' ' * CALLED_BY_DYNP = ' ' * CALLED_FOR_TAB = ' ' * CALLED_FOR_FIELD = ' ' * CALLED_FOR_TAB_FLD_BTCH_INPUT = ' ' * MSG_VAR_1 = ' ' * MSG_VAR_2 = ' ' * MSG_VAR_3 = ' ' * MSG_VAR_4 = ' ' * CALLED_BY_CUAPROG = ' ' * CALLED_BY_CUASTAT = TABLES LINKS = LT_DUMMY EXCEPTIONS OBJECT_NOT_FOUND = 1 SAPSCRIPT_ERROR = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.