RBDCHSTA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report processes an IDoc with an inconsistent status, currently status 62...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 RBDCHSTA 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: CREDAT = Created On
Selection Text: CRETIM = Created At
Selection Text: DOCNUM = IDoc
Selection Text: MESCOD = Message Variant
Selection Text: MESFCT = Message Function
Selection Text: MESTYP = Logical Message Type
Selection Text: SNDPFC = Partner Function of Sender
Selection Text: SNDPRN = Partner Number of Sender
Selection Text: SNDPRT = Partner Type of Sender
Title: Reset IDoc Status for Specific Statuses (62)
Text Symbol: O01 = (& of &) IDoc & currently being processed
001 Following IDocs have been set to status:
003 IDoc No. Message Type Status
INCLUDE MBDCONST.
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = OUTPUT_TEXT.
EDI_DOCUMENT_OPEN_FOR_PROCESS CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_PROCESS' EXPORTING DOCUMENT_NUMBER = IDOC_NUMBER IMPORTING IDOC_CONTROL = F_IDOC_CONTROL.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
EDI_STATUS_ADD_BLOCK CALL FUNCTION 'EDI_STATUS_ADD_BLOCK' EXPORTING DOCUMENT_NUMBER = IDOC_NUMBER IMPORTING IDOC_CONTROL = F_IDOC_CONTROL TABLES IDOC_STATUS_RECORDS = T_EDI_DS.
EDI_DOCUMENT_CLOSE_PROCESS CALL FUNCTION 'EDI_DOCUMENT_CLOSE_PROCESS' EXPORTING DOCUMENT_NUMBER = IDOC_NUMBER IMPORTING IDOC_CONTROL = F_IDOC_CONTROL.
IDOC_INBOUND_PROCESS_DATA_GET CALL FUNCTION 'IDOC_INBOUND_PROCESS_DATA_GET' EXPORTING PI_CONTROL_RECORD = T_IDOC_CONTROL IMPORTING * PE_PARTNER_DATA = PE_INBOUND_PROCESS_DATA = TEDE2 * PE_PROCESS_IDOC_LATER = EXCEPTIONS PARTNER_NOT_USUABLE = 1 EVENT_CODE_MISSING = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.