SAP Reports / Programs | Basis Components | Middleware | ALE Integration Technology(BC-MID-ALE) SAP BC

RBDCHSTA SAP ABAP Report - Reset IDoc Status for Specific Statuses (62)







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RBDCHSTA. "Basic submit
SUBMIT RBDCHSTA AND RETURN. "Return to original report after report execution complete
SUBMIT RBDCHSTA VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RBDCHSTA

INCLUDE MBDCONST.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RBDCHSTA or its description.