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

RPR_CORRECT_TRIPS_AUTOM_TAX SAP ABAP Report - Correction of Trips with Errors with Automatic Taxation (183-Day Rule)







RPR_CORRECT_TRIPS_AUTOM_TAX is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program checks all trips that were automatically taxed according to the 183-day rule for country version Austria...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 RPR_CORRECT_TRIPS_AUTOM_TAX 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 RPR_CORRECT_TRIPS_AUTOM_TAX. "Basic submit
SUBMIT RPR_CORRECT_TRIPS_AUTOM_TAX AND RETURN. "Return to original report after report execution complete
SUBMIT RPR_CORRECT_TRIPS_AUTOM_TAX 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: TEST = Test Run
Selection Text: S_REINR = Trip Number
Selection Text: S_PERNR = Personnel Number
Selection Text: S_BUKRS = Company Code
Selection Text: PROT = Log
Title: Correction of Trips with Errors with Automatic Taxation (183-Day Rule)
Text Symbol: Z10 = All Taxation Dates Correct
Text Symbol: Z09 = Incorrect Taxation of Accommodations Fee:
Text Symbol: Z08 = Incorrect Taxation of Meals Fee:
Text Symbol: Z07 = Taxation without Automatic Taxation Selected:
Text Symbol: Z06 = Of these, the following cases exist per destination (multiple cases per dest. poss.):
Text Symbol: Z05 = Number of Locked Personnel Numbers:
Text Symbol: Z04 = Number of Destinations (Main+Stopover):
Text Symbol: Z03 = Number of Trips:
Text Symbol: Z02 = Number of personnel numbers:
Text Symbol: Z01 = Personnel Number/Trips/Destinations with Wrong Taxation Date:
Text Symbol: Y02 = Settlement Params
Text Symbol: Y01 = Selection of Master Company Code of the Personnel Numbers to be Selected
Text Symbol: Y00 = Selection of Indiv. Personnel Numbers/Trips
Text Symbol: T02 = Upd. Run
Text Symbol: T01 = Test Run
Text Symbol: D04 = TripNo.:
Text Symbol: D03 = Persno:
Text Symbol: D02 = Dest.
Text Symbol: D01 = Main Dest


INCLUDES used within this REPORT RPR_CORRECT_TRIPS_AUTOM_TAX

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_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = t_trip_chain-pernr infty = '0001' begda = sy-datum endda = sy-datum IMPORTING subrc = subrc TABLES infty_tab = p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

ENQUEUE_EPTRV * CALL FUNCTION 'ENQUEUE_EPTRV' * EXPORTING * pernr = pernr ** reinr = reinr YEKL9CK009503 * reinr = reinr_init "YEKL9CK009503 * _scope = '1' "YEKALNK022058 * EXCEPTIONS * foreign_lock = 1 * system_failure = 2 * OTHERS = 3.

PTRM_WEB_CE_ENQUEUE_EPTRV CALL FUNCTION 'PTRM_WEB_CE_ENQUEUE_EPTRV' EXPORTING pernr = pernr reinr = reinr_init _scope = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 error_occurred = 3 OTHERS = 4.

DEQUEUE_EPTRV * call function 'DEQUEUE_EPTRV' * exporting * pernr = pernr ** reinr = reinr YEKL9CK009503 * reinr = reinr_init. "YEKL9CK009503

PTRM_WEB_CE_DEQUEUE_EPTRV CALL FUNCTION 'PTRM_WEB_CE_DEQUEUE_EPTRV' EXPORTING pernr = pernr reinr = reinr_init.



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