SAP Reports / Programs

SD_SALES_CONTRACTS_VIEW SAP ABAP Report - List of Contracts







SD_SALES_CONTRACTS_VIEW 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 SD_SALES_CONTRACTS_VIEW 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

VA45N - List of Contracts


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 SD_SALES_CONTRACTS_VIEW. "Basic submit
SUBMIT SD_SALES_CONTRACTS_VIEW AND RETURN. "Return to original report after report execution complete
SUBMIT SD_SALES_CONTRACTS_VIEW 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: SZPERS = Personnel Number Responsible
Selection Text: SVTWEG = Distribution Channel
Selection Text: SVKORG = Sales Organization
Selection Text: SVKGRP = Sales Group
Selection Text: SVKBUR = Sales Office
Selection Text: SVBELN = Document Number
Selection Text: SSPART = Division
Selection Text: SMATNR = Material
Selection Text: SKUNNR = Sold-To Party
Selection Text: SERNAM = Created By
Selection Text: SDATAB = Valid From
Selection Text: SAUART = Sales Document Type
Selection Text: PZPAVW = Partner Functions Responsible
Selection Text: PVBOFF = Open Contracts
Selection Text: PVBALL = All Contracts
Selection Text: PBSTKD = Purchase Order Number
Title: List of Contracts
Text Symbol: S04 = Persons Responsible
Text Symbol: S03 = Docum.Data
Text Symbol: S02 = Selection Crit.
Text Symbol: S01 = Organizat. data
Text Symbol: 003 = Standard
Text Symbol: 002 = Basic List
Text Symbol: 001 = List of Orders


INCLUDES used within this REPORT SD_SALES_CONTRACTS_VIEW

No INCLUDES are used within this REPORT code!


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:

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING * i_logo = 'ENJOYSAP_LOGO' it_list_commentary = er_list_top_of_page.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'SERPSLS_GENDOC' CHANGING ct_fieldcat = u_er_fieldcat[].

SD_SELECT_SALES_DOCUMENTS CALL FUNCTION 'SD_SELECT_SALES_DOCUMENTS' EXPORTING iv_trvog = lv_trvog iv_bstkd = pbstkd iv_zpavw = pzpavw iv_vboff = pvboff iv_vball = pvball TABLES t_vbmtv = postab i_vkorg_rt = svkorg i_vtweg_rt = svtweg i_spart_rt = sspart i_matnr_rt = smatnr i_kunnr1_rt = skunnr i_vkbur_rt = svkbur i_vkgrp_rt = svkgrp i_auart_rt = sauart i_ernam_rt = sernam i_vbeln_rt = svbeln i_zpers_rt = szpers i_datab_rt = sdatab.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = e_repid i_callback_pf_status_set = e_status I_CALLBACK_USER_COMMAND = e_user_command IS_LAYOUT = er_layout it_fieldcat = er_fieldcat[] TABLES t_outtab = postab EXCEPTIONS program_error = 1 OTHERS = 2 .

RV_CALL_DISPLAY_TRANSACTION call function 'RV_CALL_DISPLAY_TRANSACTION' exporting vbeln = postab-vbeln.

RV_CALL_CHANGE_TRANSACTION call function 'RV_CALL_CHANGE_TRANSACTION' exporting vbeln = postab-vbeln.



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