SAP Reports / Programs | Sales and Distribution | Sales | Basic Functions(SD-SLS-GF) SAP SD

RVAUFSTA SAP ABAP Report - List of sales documents by object status







RVAUFSTA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RVAUFSTA selects sales documents with active system or user statuses on the basis of the selection criteria entered and displays on an overview screen the selected documents with their status as well as the customers and materials by item...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 RVAUFSTA 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

V.26 - Selection by Object Status


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 RVAUFSTA. "Basic submit
SUBMIT RVAUFSTA AND RETURN. "Return to original report after report execution complete
SUBMIT RVAUFSTA 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: VTWEG = Distribution Channel
Selection Text: VKORG = Sales Organization
Selection Text: VKGRP = Sales Group
Selection Text: VKBUR = Sales Office
Selection Text: VBELN = Document Number
Selection Text: STATUS = Object Status
Selection Text: SPART = Division
Selection Text: ERNAM = Created By
Selection Text: AUDAT = Document Date
Selection Text: AUART = Sales Document Type
Title: List of sales documents by object status
Text Symbol: W04 = next documents?
Text Symbol: W03 = Do you want to process the
Text Symbol: W01 = Process Documents
Text Symbol: S07 = Execute
Text Symbol: S06 = Control
Text Symbol: S05 = Processing Level
Text Symbol: S04 = List Display
Text Symbol: S03 = Sales Document Data
Text Symbol: S02 = Organizational Data
Text Symbol: S01 = Status Category
Text Symbol: P05 = Confirmation Prompt
Text Symbol: P04 = Document Item
Text Symbol: P03 = User Status
Text Symbol: P02 = Document Header
Text Symbol: P01 = System Status
Text Symbol: 006 = User Status
Text Symbol: 005 = List of Sales Documents by
Text Symbol: 004 = Sales Document
Text Symbol: 003 = Object Status
Text Symbol: 002 = Sales Document Item Status Customer Material
Text Symbol: 001 = Sales Document Status Customer


INCLUDES used within this REPORT RVAUFSTA

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:

HELPSCREEN_CREATE call function 'HELPSCREEN_CREATE' exporting "F1-Hilfe für das Eingabefeld doku_id = 'DE' "'System-/Anwenderstatus doku_objekt = 'J_STATUS' headertext = text-003 langu = sy-langu titel = sy-title.

OBJECT_KEY_GET call function 'OBJECT_KEY_GET' tables onr_tab = onr_tab.

SD_VBAP_SELECT call function 'SD_VBAP_SELECT' exporting i_document_number = onr_tab-vbeln i_item_number = onr_tab-posnr importing e_vbap = vbap exceptions item_not_found = 1 others = 2.

STATUS_TEXT_EDIT call function 'STATUS_TEXT_EDIT' "Bereitstellung der Statustexte exporting client = sy-mandt flg_user_stat = 'X' objnr = onr_tab-objnr only_active = 'X' spras = sy-langu importing anw_stat_existing = display-anw_stat_ex e_stsma = display-u_stsma line = display-istat_auf user_line = display-ustat_auf exceptions object_not_found = 01.

SD_VBAK_SELECT call function 'SD_VBAK_SELECT' exporting i_document_number = onr_tab-vbeln importing e_vbak = vbak exceptions document_not_found = 1 others = 2.

RV_DOMAIN_VALUE_TEXTS call function 'RV_DOMAIN_VALUE_TEXTS' "Beschaffung der exporting "Belegtyptexte domname = 'VBTYP ' domvalue = vbtyp single = ' ' importing ddtext = text.

RS_REFRESH_FROM_SELECTOPTIONS call function 'RS_REFRESH_FROM_SELECTOPTIONS' exporting curr_report = curr_report tables selection_table = selection_table exceptions not_found = 01 no_report = 02.

REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 0 importing et_events = p_st_events.

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = st_list_top_of_page.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_buffer_active = 'X' i_background_id = 'ALV_BACKGROUND' i_callback_program = s_repid i_callback_pf_status_set = s_status i_callback_user_command = s_user_command * I_STRUCTURE_NAME = '' is_layout = st_layout it_fieldcat = st_fieldcat[] * IT_EXCLUDING = it_special_groups = st_sp_group * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = s_save is_variant = s_variant it_events = st_events[] * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = tables t_outtab = display.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting titel = text-w01 textline1 = text-w03 textline2 = text-w04 importing answer = char(1).

RV_CALL_CHANGE_TRANSACTION call function 'RV_CALL_CHANGE_TRANSACTION' exporting vbeln = h_vbeln posnr = h_posnr vbtyp = h_vbtyp.



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