SXMS_PF_GET_AUDIT_DATA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report transfers XI auditing data from the source system to the target system...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 SXMS_PF_GET_AUDIT_DATA 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: TESTMODE = Test Mode (Without Persist)
Selection Text: DEST = RFC Destination Source System
Selection Text: BSIZE = Block Size
Title: Exchange Infrastructure: Transfer Audit Data
Text Symbol: 018 = Test mode without persist completed
Text Symbol: 017 = Continue Transfer of Audit Data
Text Symbol: 016 = Transferred Component
Text Symbol: 015 = Transfer Component Information
Text Symbol: 014 = Cannot load component information
Text Symbol: 013 = Memory bottleneck may occur
Text Symbol: 012 = Data transferred without packaging
Text Symbol: 011 = (0 = No Packaging)
Text Symbol: 010 = Completed
Text Symbol: 009 = Data Records Read
Text Symbol: 008 = Block Size
Text Symbol: 007 = Adjust Block Size
Text Symbol: 006 = Read Block
Text Symbol: 005 = Transfer Raw Data
Text Symbol: 004 = Transfer Aggregated Data
Text Symbol: 003 = Check RFC Destination
Text Symbol: 002 = Restart points determined
Text Symbol: 001 = Load Audit Data
INCLUDE GETAUDITDATATOP.
No SAP DATABASE tables are accessed within this REPORT code!
RFC_PING CALL FUNCTION 'RFC_PING' DESTINATION ip_destination TABLES rfctab40 = lt_rfctab EXCEPTIONS system_failure = 1 MESSAGE lv_failure communication_failure = 2 MESSAGE lv_failure OTHERS = 99.
RFCPING CALL FUNCTION 'RFCPING' DESTINATION ip_destination TABLES rfctab40 = lt_rfctab EXCEPTIONS system_failure = 1 MESSAGE lv_failure communication_failure = 2 MESSAGE lv_failure OTHERS = 99.
POPUP_TO_DECIDE_INFO CALL FUNCTION 'POPUP_TO_DECIDE_INFO' EXPORTING defaultoption = 'A' textline1 = text-012 textline2 = text-013 titel = text-001 start_column = 25 start_row = 6 IMPORTING answer = lv_answer.
SXMS_PF_GET_AUDIT_DATA_AGG CALL FUNCTION 'SXMS_PF_GET_AUDIT_DATA_AGG' DESTINATION dest EXPORTING blocksize = bsize last_key = ls_last_key_agg last_key_sender = ls_last_key_snd last_key_receiver = ls_last_key_rcv TABLES sxmspfagg = lt_sxmspfagg sxmspfaddress = lt_sxmspfaddress EXCEPTIONS communication_failure = 1 MESSAGE lv_failure system_failure = 2 MESSAGE lv_failure.
SXMS_PF_GET_AUDIT_DATA_RAW CALL FUNCTION 'SXMS_PF_GET_AUDIT_DATA_RAW' DESTINATION dest EXPORTING blocksize = bsize last_key = ls_last_key_raw last_key_sender = ls_last_key_snd last_key_receiver = ls_last_key_rcv TABLES sxmspfrawh = lt_sxmspfrawh sxmspfaddress = lt_sxmspfaddress EXCEPTIONS communication_failure = 1 MESSAGE lv_failure system_failure = 2 MESSAGE lv_failure.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = ip_text.
SXMS_PF_GET_AUDIT_PREFETCH CALL FUNCTION 'SXMS_PF_GET_AUDIT_PREFETCH' DESTINATION dest IMPORTING sxmspfcomponent = gs_component EXCEPTIONS communication_failure = 1 MESSAGE lv_failure system_failure = 2 MESSAGE lv_failure.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
SXMS_PF_GET_ADDRESSID CALL FUNCTION 'SXMS_PF_GET_ADDRESSID' EXPORTING address =
-sxi_fromorto create = cl_xms_main=>co_true IMPORTING addressid = lv_addressid_map.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.