SDCONT01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report generates a list of open contracts that are valid until the selection date you have entered...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SDCONT01 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SDV1 - Expiring Contracts
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.
Expired contracts
Selection Text: S_VTWEG = Distribution channel
Selection Text: S_VKORG = Sales organization
Selection Text: S_SPART = Division
Selection Text: S_PARVW = Partner function
Selection Text: S_MATNR = Material number
Selection Text: S_KUNDE = Partners
Selection Text: S_ERNAM = Created by
Selection Text: S_DATBI = Expired by
Selection Text: S_BLART = Document type
Title: Expiring contracts
Text Symbol: 005 = SP
Text Symbol: 004 = Organizat. Data
Text Symbol: 003 = Addit. data
Text Symbol: 002 = Item data
Text Symbol: 001 = Doc. data
INCLUDE RVREUSE_GLOBAL_DATA.
INCLUDE SD_REPO_DATA.
INCLUDE SD_REPO_F00P.
INCLUDE SD_REPO_F00V.
No SAP DATABASE tables are accessed within this REPORT code!
SD_LDB_DATA_GET call function 'SD_LDB_DATA_GET' exporting ldbname = 'SD_SALES_DOCUMENT' tables callback = callback selections = seltab exceptions ldb_not_reentrant = 1 ldb_incorrect = 2 ldb_already_running = 3 ldb_error = 4 ldb_selections_error = 5 ldb_selections_not_accepted = 6 variant_not_existent = 7 variant_obsolete = 8 variant_error = 9 free_selections_error = 10 callback_no_event = 11 callback_node_duplicate = 12 others = 13.
SD_VEDA_PROCESS_SELECT call function 'SD_VEDA_PROCESS_SELECT' tables postab = postab exceptions no_data_to_process = 01.
SD_ALV_LIST call function 'SD_ALV_LIST' exporting view = viewname trvog = trvog importing zuart = vbcom-zuart name_dazu = vbcom-name_dazu stat_dazu = vbcom-stat_dazu nachlesen = nachl.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.