RBDMIDOC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates IDocs from the change pointers for the specified message type...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 RBDMIDOC into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
BD21 - Select change pointer
/ISDFPS/CALLRBDMIDOC - Start RBDMIDOC
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: MESTYP = Message type
Title: Creating IDoc Type from Change Pointers
INCLUDE MBDCONST.
INCLUDE RBDAUTHI.
INCLUDE RSECCCMS. "XLP031298
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_BDCPS call function 'ENQUEUE_E_BDCPS' exporting mode_bdcps = 'E' mandt = sy-mandt * cpident = mestype = mestyp exceptions foreign_lock = 1 system_failure = 2 others = 3.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING MODE = 'CURRENT' NO_DIALOG = 'X' IMPORTING OUT_PARAMETERS = pripars OUT_ARCHIVE_PARAMETERS = arcparams VALID = valid EXCEPTIONS OTHERS = 0.
DEQUEUE_ALL call function 'DEQUEUE_ALL'.
HELP_VALUES_GET_WITH_TABLE call function 'HELP_VALUES_GET_WITH_TABLE' importing select_value = mestyp tables fields = t_help_value valuetab = values.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.