SAPDBVC2 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 SAPDBVC2 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_VTWEG = D .
Selection Text: S_VKORG = D .
Selection Text: S_SPART = D .
Selection Text: S_PARNR = D .
Selection Text: S_VRTNR = Sales employee
Selection Text: S_KUNNR = Customer/sales prospect
Selection Text: POTKUNDE = Sales Prospect
Selection Text: PADRESSE = Home address
Selection Text: KUNDE = Customer
Selection Text: KADRESSE = Customer address
Selection Text: DADRESSE = Business address
Title: Standard address selection report
Text Symbol: T01 = Sort fied selection
Text Symbol: P12 = Exception
Text Symbol: P11 = Log. database
Text Symbol: P10 = Dept to be written to
Text Symbol: P09 = Business address
Text Symbol: P08 = Third sort field
Text Symbol: P07 = Second sort field
Text Symbol: P06 = First sort field
Text Symbol: P05 = Home address
Text Symbol: P04 = Sales Prospect
Text Symbol: P03 = Other business address
Text Symbol: P02 = Customer
Text Symbol: P01 = Classes
Text Symbol: LU1 = List Lev.
Text Symbol: F02 = Settings
Text Symbol: F01 = Sort order
Text Symbol: C03 = @0H@ Cust./Sls prosp.
Text Symbol: C02 = @0H@ Contact person
Text Symbol: C01 = @3F@
Text Symbol: A04 = Sort order
Text Symbol: A03 = Organization
Text Symbol: A02 = Selection range of addresses
Text Symbol: A01 = Customer/Sales prospect/Sales personnel
INCLUDE DBVC2TOP.
INCLUDE DBVC2MACROS.
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_ADRSEL CALL FUNCTION 'SD_CAS_SELECTION_SCREEN_ADRSEL' CHANGING FC_VBELN = PC_VBELN FC_LISTNR = PC_LISTNR FC_VERSION = PC_VERSI FC_VTEXT = PC_VTEXT FC_BLKSIZE = PC_BLKSZE EXCEPTIONS OTHERS = 0.
SDCAS_ADDRESS_LIST_CREATE CALL FUNCTION 'SDCAS_ADDRESS_LIST_CREATE' EXPORTING FI_VBELN = P_VBELN FI_OBJTYPE = P_OBJTYP FI_LISTNR = P_LISTNR FI_ERNAM = P_UNAME FI_VERSION = P_VERSI FI_SELREPORT = SY-CPROG FI_SELVARIANT = P_VARI FI_ADDRESS_VTEXT = P_VTEXT FI_ADDRESS_CUSTOMER = KADRESSE FI_ADDRESS_PARTNER_PRIVAT = PADRESSE FI_ADDRESS_PARTNER_OFFICE = DADRESSE FI_SORTFIELD1 = P_SORTF1 FI_SORTORDER1 = P_SORTD1 FI_SORTFIELD2 = P_SORTF2 FI_SORTORDER2 = P_SORTD2 FI_SORTFIELD3 = P_SORTF3 FI_SORTORDER3 = P_SORTD3 FI_BLOCKSIZE = P_BLKSZE TABLES * FT_PARNR = * FT_KUNNR = FT_KNA1 = GT_KNA1 FT_KNVK = GT_KNVK EXCEPTIONS NO_DOCUMENT_NUMBER = 1 NO_PERSONS = 2 NO_ADDRESSTYPE = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.