RHAPQTRN 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 RHAPQTRN 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.
Title: Change Relationship AP ->Q to P ->Q
INCLUDE MPH5ATOP.
No SAP DATABASE tables are accessed within this REPORT code!
RH_NOTE_CATALOG_1001 CALL FUNCTION 'RH_NOTE_CATALOG_1001' EXPORTING plvar = $PLOGI * otype = otype * objid = old_pernr subty = subty * ITXNR = $SSCR_ITXNR SCLAS = $APPLK SOBID = l_appl * NOTES_IN_BUFFER = ' ' * NOTES_IN_DATABASE = 'X' * IMPORTING * ENTRIES = TABLES relat_table = found_notes EXCEPTIONS internal_error = 1 no_authority = 2 OTHERS = 3.
RH_NOTE_CATALOG_1001 CALL FUNCTION 'RH_NOTE_CATALOG_1001' EXPORTING plvar = $PLOGI * otype = otype * objid = old_pernr subty = invers_subty * ITXNR = $SSCR_ITXNR SCLAS = $APPLK SOBID = l_appl * NOTES_IN_BUFFER = ' ' * NOTES_IN_DATABASE = 'X' * IMPORTING * ENTRIES = TABLES relat_table = found_invers_notes EXCEPTIONS internal_error = 1 no_authority = 2 OTHERS = 3.
RH_NOTE_RENAME CALL FUNCTION 'RH_NOTE_RENAME' EXPORTING infotype_source = found_notes infotype_destination = new_note direct_db_change = 'X' no_authority_check = 'X'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.