SAP Reports / Programs

ERPSLS_COMPDOC SAP ABAP Report - Completed Sales Documents (Inquiries, Quotations Contracts)







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

VCOMP - Completed SD Documents


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 ERPSLS_COMPDOC. "Basic submit
SUBMIT ERPSLS_COMPDOC AND RETURN. "Return to original report after report execution complete
SUBMIT ERPSLS_COMPDOC 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: 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


INCLUDES used within this REPORT ERPSLS_COMPDOC

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:

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.



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