HTRXML00 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 HTRXML00 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: Convert monthly declaration to XML file
Text Symbol: HDR =
INCLUDE PAPHSTRD.
INCLUDE PCFVPTR0.
No SAP DATABASE tables are accessed within this REPORT code!
STPU1_HEX_TO_CHAR * call function 'STPU1_HEX_TO_CHAR' * exporting * hex_string = tab * importing * char_string = c.
STPU1_HEX_TO_CHAR * call function 'STPU1_HEX_TO_CHAR' * exporting * hex_string = tab * importing * char_string = c.
STPU1_HEX_TO_CHAR * call function 'STPU1_HEX_TO_CHAR' * exporting * hex_string = tab * importing * char_string = c.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = '47' begda = h_begda IMPORTING waers = h_curr.
CURRENCY_CONVERTING_FACTOR CALL FUNCTION 'CURRENCY_CONVERTING_FACTOR' EXPORTING currency = h_curr IMPORTING factor = h_fact.
CLOI_PUT_SIGN_IN_FRONT CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT' CHANGING value = l_pekz.
DOWNLOAD CALL FUNCTION 'DOWNLOAD' EXPORTING filename = p_filen filetype = 'ASC' TABLES data_tab = xml_tab EXCEPTIONS invalid_filesize = 1 invalid_table_width = 2 invalid_type = 3 no_batch = 4 unknown_error = 5 gui_refuse_filetransfer = 6 OTHERS = 7.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.