RHXCOMP0 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 RHXCOMP0 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: INLOCCUR = Currency
Selection Text: IN_BOOK = Bookings
Selection Text: IN_STOR = Cancellations
Selection Text: KMACO = Business event type
Selection Text: PCHOBEG = Object selection period: from
Selection Text: PCHOBJID = Attendee
Selection Text: PCHOEND = Object selection period: to
Selection Text: PCHSEARK = Search term
Selection Text: PCHZTR_A = All
Selection Text: PCHZTR_D = Today
Selection Text: PCHZTR_F = Future
Selection Text: PCHZTR_M = Current month
Selection Text: PCHZTR_P = Past
Selection Text: PCHZTR_Y = Current year
Selection Text: PCHZTR_Z = Other period
Selection Text: SEL_BOX = Standard selection screen
Title: Training costs
Text Symbol: 001 = Booking or cancellation
Text Symbol: RB2 = Selection Options
Text Symbol: T01 = Attendee data
INCLUDE: RHSCMDAT,
RHSCMPAR,
RHXMACRO,
RHXF4GET,
RHREPVAL.
No SAP DATABASE tables are accessed within this REPORT code!
RHVM_USET_GET_REPORTING CALL FUNCTION 'RHVM_USET_GET_REPORTING' "YMO 28.12.99
RHVM_USET_SET_REPORTING CALL FUNCTION 'RHVM_USET_SET_REPORTING' EXPORTING with_initial_waers = 'X' waers = INLOCCUR stdsel = sel_box EXCEPTIONS internal_error = 0 invalid_currency = 1 currency_is_initial = 0 OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.