SAP Reports / Programs

DIWPS_REV_PRE SAP ABAP Report - Report DIWPS_REV_PRE







DIWPS_REV_PRE 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 DIWPS_REV_PRE into the relevant SAP transactions such as SE38 or SE80


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 DIWPS_REV_PRE. "Basic submit
SUBMIT DIWPS_REV_PRE AND RETURN. "Return to original report after report execution complete
SUBMIT DIWPS_REV_PRE 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: G_AUFNR = D .
Selection Text: G_EQUNR = D .
Selection Text: G_IWERK = D .
Selection Text: G_PSPEL = D .
Selection Text: G_REVBD = D .
Selection Text: G_REVBZ = D .
Selection Text: G_REVED = D .
Selection Text: G_REVEZ = D .
Selection Text: G_REVNR = D .
Selection Text: G_REVTY = D .
Selection Text: G_TPLNR = D .
Selection Text: G_VAPLZ = D .
Selection Text: G_VAWRK = D .
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Title: Report DIWPS_REV_PRE


INCLUDES used within this REPORT DIWPS_REV_PRE

INCLUDE ARCH_WRITE_PRG_STANDARD2.


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:

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = g_revnr-low IMPORTING output = g_revnr-low.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = g_revnr-high IMPORTING output = g_revnr-high.

ENQUEUE_ESREVISION CALL FUNCTION 'ENQUEUE_ESREVISION' EXPORTING mode_t352r = 'E' mandt = sy-mandt iwerk = gt_t352r-iwerk revnr = gt_t352r-revnr _wait = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = i_check_only objnr = gt_t352r-objnr vrgng = 'ARRE' EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 OTHERS = 7.

DEQUEUE_ESREVISION CALL FUNCTION 'DEQUEUE_ESREVISION' EXPORTING iwerk = gt_t352r-iwerk revnr = gt_t352r-revnr.

ARCHIVE_PROTOCOL_INIT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT_APPL' EXPORTING i_detailprotocol = p_prot.

ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = revnr_text i_msgtype = 2 i_msgid = mess_tab-arbgb i_msgno = ld_msgno i_msgv1 = mess_tab-msgv1 i_msgv2 = mess_tab-msgv2 i_msgv3 = mess_tab-msgv3 i_msgv4 = mess_tab-msgv4.

ARCHIVE_PROTOCOL_WRITE_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE_APPL'.



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