SAP Reports / Programs

RWRF_PRGRP_CHANGEDOC SAP ABAP Report - Display Change Documents







RWRF_PRGRP_CHANGEDOC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is called using transaction WRF_PRGRP04 and enables you to display the change documents for price level groups...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 RWRF_PRGRP_CHANGEDOC 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

WRF_PRGRP04 - Change Documents Price Level Groups


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 RWRF_PRGRP_CHANGEDOC. "Basic submit
SUBMIT RWRF_PRGRP_CHANGEDOC AND RETURN. "Return to original report after report execution complete
SUBMIT RWRF_PRGRP_CHANGEDOC 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: ZEIT_BIS = To Time (HH:MM:SS)
Selection Text: ZEIT = From Time (HH:MM:SS)
Selection Text: TABNAME = Table Name
Selection Text: TABKEYLO = Table Key > 70 Char
Selection Text: TABKEY = Table Key <= 70 Char
Selection Text: OBJEKTID = Object ID
Selection Text: OBJEKT = Object Class
Selection Text: NUMMER = Change Document Number
Selection Text: NEW_DISP = Display in List Viewer
Selection Text: KEY_EXP = Key with Column Headings
Selection Text: KEYGUID = KEYGUID from CDPOS_UID
Selection Text: DAT_BIS = To Date (DD.MM.YYYY)
Selection Text: DATUM = From Date (DD.MM.YYYY)
Selection Text: AENDERER = Last Changed By
Title: Display Change Documents
Text Symbol: 509 = Unable to Display Change
Text Symbol: 508 = Field No Longer Defined in Table
Text Symbol: 507 = Entry
Text Symbol: 506 = Text Entry
Text Symbol: 505 = Deletion
Text Symbol: 504 = Deletion
Text Symbol: 503 = Text Delet.
Text Symbol: 502 = Change
Text Symbol: 501 = Text Change
Text Symbol: 402 = New:
Text Symbol: 401 = Old:
Text Symbol: 206 = Object ID
Text Symbol: 205 = Chgd By
Text Symbol: 204 = Time
Text Symbol: 203 = Date
Text Symbol: 202 = Doc.No.
Text Symbol: 102 = Read Error
Text Symbol: 101 = No Items Found
Text Symbol: 010 = Selecting Data...


INCLUDES used within this REPORT RWRF_PRGRP_CHANGEDOC

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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' "B20K8A0GP1 EXPORTING text = 'Daten werden selektiert...'(010).

CHANGEDOCUMENT_READ CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING changenumber = nummer date_of_change = datum objectclass = objekt objectid = objektid tablekey = tabkey tablename = tabname time_of_change = zeit username = aenderer tablekey254 = tabkeylo keyguid = keyguid date_until = dat_bis time_until = zeit_bis TABLES editpos = editpos_with_header EXCEPTIONS no_position_found = 1 OTHERS = 2.

CHANGEDOCUMENT_DISPLAY CALL FUNCTION 'CHANGEDOCUMENT_DISPLAY' EXPORTING i_applicationid = applicationid flg_autocondense = 'X' i_objectclas = objekt TABLES i_cdred = editpos_with_header.

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING objectclass = objekt objectid = objektid username = aenderer time_of_change = zeit date_of_change = datum date_until = dat_bis time_until = zeit_bis TABLES i_cdhdr = icdhdr EXCEPTIONS no_position_found = 1 OTHERS = 2.

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING changenumber = nummer tablename = tabname tablekey = tabkey IMPORTING header = ls_cdhdr TABLES editpos = ausg EXCEPTIONS no_position_found = 1 OTHERS = 2.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' "B20K8A0OGR EXPORTING tabname = -tabname TABLES x031l_tab = ix301l dfies_tab = idfies EXCEPTIONS not_found = 1 OTHERS = 2 .

CHANGEDOCU_OUTPUTLENGTH_GET CALL FUNCTION 'CHANGEDOCU_OUTPUTLENGTH_GET' EXPORTING is_x031l = is_dfies = "B20K8A0QD0 IMPORTING ev_outputlength = lv_keylen_out.

CHANGEDOCU_OUTPUTLENGTH_GET CALL FUNCTION 'CHANGEDOCU_OUTPUTLENGTH_GET' EXPORTING is_x031l = ls_x031l is_dfies = "B20K8A0QD0 IMPORTING ev_outputlength = lv_keylen_out EXCEPTIONS no_datatype = 1 outputlength_is_initial = 2 OTHERS = 3.

CHANGEDOCU_CDPOS_READ CALL FUNCTION 'CHANGEDOCU_CDPOS_READ' EXPORTING iv_objectclas = -objectclas iv_objectid = -objectid iv_changenr = -changenr iv_tabname = tabname iv_tabkey = tabkey IMPORTING ev_count = lv_count EXCEPTIONS no_importparameter = 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 RWRF_PRGRP_CHANGEDOC or its description.