RBDSTATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report sends confirmations for the ALE Audit...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 RBDSTATE into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
BDM8 - ALE Audit: Sending the confirmations
/ISDFPS/CALLRBDSTATE - Start RBDSTATE
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.
IDocs created, message type ALEAUD
Selection Text: STATUS = Status
Selection Text: S_MESCOD = Message Variant
Selection Text: S_MESFCT = Message Function
Selection Text: S_MESTYP = Message Type
Selection Text: S_SNDSYS = Confirmation to System
Selection Text: S_UPDDAT = Date IDoc changed
Title: Send Audit Confirmations
Text Symbol: 001 = IDocs created, message type ALEAUD
Text Symbol: 200 = IDoc Number
001 IDoc Number
INCLUDE MBDCONST.
INCLUDE BDCSTAUD.
No SAP DATABASE tables are accessed within this REPORT code!
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING * eventid = * eventparm = * external_program_active = jobcount = job_count jobname = job_name.
BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = job_count job_read_jobname = job_name job_read_opcode = 19 IMPORTING job_read_jobhead = job_head.
ALE_MESTYPE_GET_RECEIVER CALL FUNCTION 'ALE_MESTYPE_GET_RECEIVER' EXPORTING message_type = c_mestyp_aleaud TABLES receiver_input = receiver_input receivers = receiver_output filterobject_values = filter_objects.
AUDIT_IDOC_CREATE CALL FUNCTION 'AUDIT_IDOC_CREATE' EXPORTING rcv_system = idoc_control-sndprn IMPORTING idoc_number = resulting_idocs-docnum CHANGING idoc_info_records = control_package.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_pf_status_set = g_status_set i_callback_user_command = g_user_command i_grid_title = header is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_excluding = gs_excluding[] TABLES t_outtab = resulting_idocs EXCEPTIONS program_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.