SAP Reports / Programs

RBDAPP01 SAP ABAP Report - Inbound Processing of IDocs Ready for Transfer







RBDAPP01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report for processing inbound IDocs not passed to the application immediately...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 RBDAPP01 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PU12_IDOC_PROCESS - Process IDocs
PC00_OTRL - Release IDocs
BD20 - IDoc passed to application
WC34 - Batch repeat terminated upload
/ISDFPS/CALLRBDAPP01 - Start RBDAPP01


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 RBDAPP01. "Basic submit
SUBMIT RBDAPP01 AND RETURN. "Return to original report after report execution complete
SUBMIT RBDAPP01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


IDoc no. Message type Variant Fnc Sender
Selection Text: TEST = D .
Selection Text: STATUS = D .
Selection Text: SNDPRT = D .
Selection Text: SNDPRN = D .
Selection Text: SNDPFC = D .
Selection Text: P_RFCGR = D .
Selection Text: P_PCKSIZ = D .
Selection Text: P_PARALL = D .
Selection Text: P_OUTPUT = D .
Selection Text: OBJ_TYPE = D .
Selection Text: MESTYP = D .
Selection Text: MESFCT = D .
Selection Text: MESCOD = D .
Selection Text: DOCNUM = D .
Selection Text: CRETIM = D .
Selection Text: CREDAT = D .
Selection Text: P_WAIT = Wait for End of Processing
Selection Text: P_BND = Maximum number of attempts
Title: Inbound Processing of IDocs Ready for Transfer
Text Symbol: TIT = Parallel Posting
Text Symbol: TI3 = Output Control
Text Symbol: TI2 = for active object channel serializ.
Text Symbol: TAS = Output Control
Text Symbol: SEP = Parallel Proc.
Text Symbol: SEI = IDoc selection
Text Symbol: PA2 = Process packet manually
Text Symbol: PA1 = Try start of packet
Text Symbol: O02 = Data is being selected
Text Symbol: O01 = (& of &) IDoc & currently being processed
Text Symbol: 016 = Serialinfo
Text Symbol: 006 = IDoc is still being processed
Text Symbol: 005 = Description
Text Symbol: 004 = St
Text Symbol: 003 = Message Type
Text Symbol: 002 = IDoc
Text Symbol: 001 = The following IDocs have been sent to the application:


INCLUDES used within this REPORT RBDAPP01

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 = 'Daten werden gerade selektiert'(o02).

IDOC_READ_GLOBAL CALL FUNCTION 'IDOC_READ_GLOBAL' IMPORTING GLOBAL_DATA = edi_global EXCEPTIONS INTERNAL_ERROR = 0 OTHERS = 0.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = p_rfcgr EXCEPTIONS invalid_group_name = 1 internal_error = 2 pbt_env_already_initialized = 3 currently_no_resources_avail = 4 no_pbt_resources_found = 5 OTHERS = 6.

SPBT_GET_CURR_RESOURCE_INFO CALL FUNCTION 'SPBT_GET_CURR_RESOURCE_INFO' exceptions others = 04.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP p_rfcgr TABLES idoc_control = t_idoc_control_tmp idoc_data = t_idoc_data EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 others = 4.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP p_rfcgr PERFORMING end_of_idoc_posting ON END OF TASK * exporting * post_immediately = c_true TABLES idoc_control = t_idoc_control_tmp idoc_data = t_idoc_data EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 others = 4.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP DEFAULT TABLES idoc_control = t_idoc_control_tmp idoc_data = t_idoc_data EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 others = 4.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP DEFAULT PERFORMING end_of_idoc_posting ON END OF TASK TABLES idoc_control = t_idoc_control_tmp idoc_data = t_idoc_data EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 others = 4.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' * exporting * post_immediately = c_true TABLES idoc_control = t_idoc_control_tmp idoc_data = t_idoc_data EXCEPTIONS error_message = 1.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' * exporting * post_immediately = c_true TABLES idoc_control = t_idoc_control_tmp idoc_data = t_idoc_data EXCEPTIONS error_message = 1.

IDOC_OUTPUT_LIST CALL FUNCTION 'IDOC_OUTPUT_LIST' EXPORTING headertxt = TEXT-001 tables output = T_UPDATE
.

ALE_FTCH_DATA_SEGMENTS_OF_IDOC CALL FUNCTION 'ALE_FTCH_DATA_SEGMENTS_OF_IDOC' TABLES t_idoc_control = t_idoc_control t_idoc_data = t_idoc_data.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = p_proz text = output_text.

BDEOIO_CHECK_ACTIVE_IN CALL FUNCTION 'BDEOIO_CHECK_ACTIVE_IN' EXPORTING control = t_idoc_control_r IMPORTING active = l_eoio_active.

BDEOIO_GET_ID_DETAILS CALL FUNCTION 'BDEOIO_GET_ID_DETAILS' EXPORTING id = t_idoc_control_r-arckey IMPORTING queue_name = t_idoc_control_eoio-queue_name queue_counter = t_idoc_control_eoio-queue_counter EXCEPTIONS OTHERS = 0.

ALE_SERIAL_PROCESS CALL FUNCTION 'ALE_SERIAL_PROCESS' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP p_rfcgr EXPORTING ext_prot = c_false TABLES t_idoc_cntrl = t_idoc_proc EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 others = 4.

ALE_SERIAL_PROCESS CALL FUNCTION 'ALE_SERIAL_PROCESS' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP p_rfcgr PERFORMING end_of_serial_posting ON END OF TASK EXPORTING ext_prot = c_false TABLES t_idoc_cntrl = t_idoc_proc EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 others = 4.

ALE_SERIAL_PROCESS





CALL FUNCTION 'ALE_SERIAL_PROCESS' EXPORTING ext_prot = c_false TABLES t_idoc_cntrl = t_idoc_proc.

ALE_SERIAL_PROCESS CALL FUNCTION 'ALE_SERIAL_PROCESS' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP p_rfcgr EXPORTING ext_prot = c_false TABLES t_idoc_cntrl = t_idoc_proc EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 others = 4.

ALE_SERIAL_PROCESS CALL FUNCTION 'ALE_SERIAL_PROCESS' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP p_rfcgr PERFORMING end_of_serial_posting ON END OF TASK EXPORTING ext_prot = c_false TABLES t_idoc_cntrl = t_idoc_proc EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 others = 4.

ALE_SERIAL_PROCESS CALL FUNCTION 'ALE_SERIAL_PROCESS' EXPORTING ext_prot = c_false TABLES t_idoc_cntrl = t_idoc_pack.

ALE_SERIAL_PROCESS CALL FUNCTION 'ALE_SERIAL_PROCESS' EXPORTING ext_prot = c_false TABLES t_idoc_cntrl = t_idoc_pack.

ALE_SER_PROTOCOLL CALL FUNCTION 'ALE_SER_PROTOCOLL' EXPORTING p_parfl = p_parfl p_ext_prot = c_false TABLES p_t_idoc_control = p_t_idoc_control.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = p_rfcgr EXCEPTIONS invalid_group_name = 1 internal_error = 2 pbt_env_already_initialized = 3 currently_no_resources_avail = 4 no_pbt_resources_found = 5 OTHERS = 6.

ALE_SERIAL_PROCESS CALL FUNCTION 'ALE_SERIAL_PROCESS' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP p_rfcgr EXPORTING ext_prot = c_false TABLES t_idoc_cntrl = t_idoc_bundle EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 others = 4.

ALE_SERIAL_PROCESS CALL FUNCTION 'ALE_SERIAL_PROCESS' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP p_rfcgr PERFORMING end_of_serial_posting ON END OF TASK EXPORTING ext_prot = c_false TABLES t_idoc_cntrl = t_idoc_bundle EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 others = 4.

ALE_SERIAL_PROCESS CALL FUNCTION 'ALE_SERIAL_PROCESS' EXPORTING ext_prot = c_false TABLES t_idoc_cntrl = t_idoc_bundle.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ALE_SERIAL_PROCESS CALL FUNCTION 'ALE_SERIAL_PROCESS' EXPORTING ext_prot = c_false TABLES t_idoc_cntrl = t_idoc_bundle.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP p_rfcgr TABLES idoc_control = t_idoc_control_tmp idoc_data = t_idoc_data EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 OTHERS = 4.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' STARTING NEW TASK gd_task-task_name DESTINATION IN GROUP p_rfcgr PERFORMING end_of_idoc_posting ON END OF TASK TABLES idoc_control = t_idoc_control_tmp idoc_data = t_idoc_data EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 OTHERS = 4.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' TABLES idoc_control = t_idoc_control_tmp idoc_data = t_idoc_data EXCEPTIONS error_message = 1.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' TABLES idoc_control = t_idoc_control_tmp idoc_data = t_idoc_data EXCEPTIONS error_message = 1.



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 RBDAPP01 or its description.