ERPSLS_COMPDOC 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 ERPSLS_COMPDOC into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
VCOMP - Completed SD Documents
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: PZPAVW = Partner Functions Responsible
Selection Text: SAUART = D Sales Document Type
Selection Text: SERDAT = D Created on
Selection Text: SERNAM = Document Created by
Selection Text: SKUNNR = D Sold-to Party
Selection Text: SSPART = D Division
Selection Text: STRVOG = Transaction
Selection Text: SVALID = Valid from
Selection Text: SVKBUR = D Sales Office
Selection Text: SVKGRP = D Sales Group
Selection Text: SVKORG = D Sales Organization
Selection Text: SVTWEG = D Distribution Channel
Selection Text: SZPERS = Personnel Number Responsible
Title: Completed Sales Documents (Inquiries, Quotations Contracts)
Text Symbol: DAT = Validity
Text Symbol: DOC = Docum.Data
Text Symbol: ORG = Organizat. data
Text Symbol: PAR = Persons Responsible
Text Symbol: VAL = Validity Range
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ERPSLS_COMPDOC call function 'ERPSLS_COMPDOC' exporting it_rg_trvog = strvog[] it_rg_auart = sauart[] it_rg_kunnr = skunnr[] it_rg_erdat = serdat[] iv_zpavw = pzpavw it_rg_zpers = szpers[] it_rg_ernam = sernam[] it_rg_vkorg = svkorg[] it_rg_vtweg = svtweg[] it_rg_spart = sspart[] it_rg_vkbur = svkbur[] it_rg_vkgrp = svkgrp[] iv_datab = lv_datab iv_datbi = lv_datbi importing et_doc = lrt_doc.
RV_CALL_DISPLAY_TRANSACTION call function 'RV_CALL_DISPLAY_TRANSACTION' exporting vbeln = lrs_doc-vbeln.
RV_CALL_CHANGE_TRANSACTION call function 'RV_CALL_CHANGE_TRANSACTION' exporting vbeln = lrs_doc-vbeln.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = 'SERPSLS_VALDOC' changing ct_fieldcat = lrt_fieldcat.
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = lrv_repid i_callback_pf_status_set = lrv_status i_callback_user_command = lrv_user_command is_layout = lrs_layout it_fieldcat = lrt_fieldcat i_save = 'A' tables t_outtab = lrt_doc exceptions program_error = 1 others = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ERPSLS_COMPDOC - Completed Sales Documents (Inquiries, Quotations Contracts) ERPSLS_COMPDOC - Completed Sales Documents (Inquiries, Quotations Contracts) ERPSLS_CHECK_VBAK - ERPSLSCHECKVBAK ERPSLS_BILLDOC_VIEW_REUSE_AF01 - ERPSLSBILLDOCVIEWREUSEAF01 ERPSLS_BILLDOC_VIEW_FILL_FIF01 - ERPSLSBILLDOCVIEWFILLFIF01 ERPSLS_BILLDOC_VIEW_DATA_SEF01 - ERPSLSBILLDOCVIEWDATASEF01