SAP Reports / Programs | Financial Accounting | Travel Management | Travel Expenses(FI-TV-COS) SAP FI

RPRCANCL SAP ABAP Report - Reject posting run







RPRCANCL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program resets the trips in a posting run back to the status 'accounted'...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 RPRCANCL 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 RPRCANCL. "Basic submit
SUBMIT RPRCANCL AND RETURN. "Return to original report after report execution complete
SUBMIT RPRCANCL 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: P_RUNID = Posting run no.
Title: Reject posting run
Text Symbol: 001 = Posting run
Text Symbol: 002 = Reject
Text Symbol: 003 = Do you want to reject the posting run?
Text Symbol: 004 = (later posting is no longer possible then)


INCLUDES used within this REPORT RPRCANCL

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:

HR_EVAL_STATUS_GET CALL FUNCTION 'HR_EVAL_STATUS_GET' EXPORTING type = 'TR' runid = p_runid lock = 'X' IMPORTING status = actual_status simu = simulation EXCEPTIONS run_not_found = 1 run_locked = 2 OTHERS = 3.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-003 textline2 = text-004 titel = title_string IMPORTING answer = answer EXCEPTIONS OTHERS = 0.

HR_EVAL_STATUS_SET CALL FUNCTION 'HR_EVAL_STATUS_SET' EXPORTING type = 'TR' runid = p_runid status = '91' " verworfen lock = space unlock = 'X' EXCEPTIONS run_locked = 1 insert_failed = 4 OTHERS = 5.

HR_EVAL_STATUS_SET CALL FUNCTION 'HR_EVAL_STATUS_SET' EXPORTING type = 'TR' runid = p_runid status = actual_status lock = space unlock = 'X' EXCEPTIONS run_locked = 1 insert_failed = 4 OTHERS = 5.

DEQUEUE_EPEVST CALL FUNCTION 'DEQUEUE_EPEVST' EXPORTING mode_pevst = 'X' mandt = sy-mandt type = 'TR' runid = p_runid.

HR_EVAL_STATUS_SET CALL FUNCTION 'HR_EVAL_STATUS_SET' EXPORTING type = 'TR' runid = p_runid status = '90' " fehlerhaft EXCEPTIONS run_locked = 1 insert_failed = 4 OTHERS = 5.



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