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

RBDQUEUEDELETE SAP ABAP Report - Delete IDoc Queue







RBDQUEUEDELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RBDQUEUEDELETE 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

WEQDEL - Delete Inbound IDoc Queue


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 RBDQUEUEDELETE. "Basic submit
SUBMIT RBDQUEUEDELETE AND RETURN. "Return to original report after report execution complete
SUBMIT RBDQUEUEDELETE 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: SHOW = Test Output
Selection Text: P_OUT = Outbound Queue
Selection Text: P_IN = Inbound Queue
Selection Text: P_68 = Error Status (68)
Selection Text: P_64 = Processing Status (64)
Selection Text: PO_TIM = Time
Selection Text: PO_RCVP = Receiver Port
Selection Text: PO_QUEUE = Outbound Queue
Selection Text: PO_MES = Message Type
Selection Text: PO_DOC = IDoc Number
Selection Text: PO_DAT = Date
Selection Text: PI_TIM = Time
Selection Text: PI_QUEUE = Inbound Queue
Selection Text: PI_MES = Message Type
Selection Text: PI_DOC = IDoc Number
Selection Text: PI_DAT = Date
Selection Text: PI_ABSEN = Sender
Title: Delete IDoc Queue
Text Symbol: T00 = Security Question
Text Symbol: L02 = Counter
Text Symbol: L01 = Queue Name
Text Symbol: F00 = Do you really want to delete the queue entries?
Text Symbol: E00 = Error while locking IDoc
Text Symbol: A03 = No entries deleted
Text Symbol: A02 = No authorization for deleting queue
Text Symbol: A01 = No authorization for displaying queue
Text Symbol: 010 = Outbox
Text Symbol: 009 = IDoc Status After Deletion from Queue
Text Symbol: 008 = IDoc Queue Selection
Text Symbol: 007 = Output Queue Selection
Text Symbol: 006 = Problem while deleting entries
Text Symbol: 005 = Entries Deleted
Text Symbol: 004 = No IDocs could be selected
Text Symbol: 003 = IDocs in Queue
Text Symbol: 002 = Options
Text Symbol: 001 = Selection


INCLUDES used within this REPORT RBDQUEUEDELETE

INCLUDE AUTH2TOP.


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:

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'QUEUENAME' dynpprog = 'RBDQUEUEDELETE ' dynpnr = '1000' dynprofield = 'PI_QUEUE' value_org = 'S' callback_program = 'RBDQUEUEDELETE' callback_form = 'F4CALLBACK' TABLES value_tab = value_tab EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'MESTYP' dynpprog = 'RBDQUEUEDELETE ' dynpnr = '1000' dynprofield = 'PI_MES' value_org = 'S' callback_program = 'RBDQUEUEDELETE' callback_form = 'F4CALLBACK' TABLES value_tab = value_tab EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'MESTYP' dynpprog = 'RBDQUEUEDELETE ' dynpnr = '1000' dynprofield = 'PO_MES' value_org = 'S' callback_program = 'RBDQUEUEDELETE' callback_form = 'F4CALLBACK' TABLES value_tab = value_tab EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'QNAME' dynpprog = 'RBDQUEUEDELETE ' dynpnr = '1000' dynprofield = 'PO_QUEUE' value_org = 'S' callback_program = 'RBDQUEUEDELETE' callback_form = 'F4CALLBACK' TABLES value_tab = value_tab EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'RCVPOR' dynpprog = 'RBDQUEUEDELETE ' dynpnr = '1000' dynprofield = 'PO_RCVP' value_org = 'S' callback_program = 'RBDQUEUEDELETE' callback_form = 'F4CALLBACK' " TABLES value_tab = value_tab EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'ABSNAME' dynpprog = 'RBDQUEUEDELETE' dynpnr = '1000' dynprofield = 'PI_ABSEN' value_org = 'S' callback_program = 'RBDQUEUEDELETE' callback_form = 'F4CALLBACK' TABLES value_tab = value_tab EXCEPTIONS OTHERS = 0.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'EDIQI' CHANGING ct_fieldcat = it_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_user_command = 'DISP_IDOC' i_structure_name = 'EDIQI' i_grid_title = i_grid_title is_layout = is_layout it_fieldcat = it_fieldcat TABLES t_outtab = i_ediqi EXCEPTIONS program_error = 1 OTHERS = 2.

ENQUEUE_ES_EDIQI CALL FUNCTION 'ENQUEUE_ES_EDIQI' EXPORTING mandt = sy-mandt queuename = dnum-queuename absender = dnum-absender counter = dnum-counter EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ES_EDIQI CALL FUNCTION 'DEQUEUE_ES_EDIQI' EXPORTING mandt = sy-mandt queuename = dnum-queuename absender = dnum-absender counter = dnum-counter.

EDI_DISPLAY_IDOCS CALL FUNCTION 'EDI_DISPLAY_IDOCS' TABLES in_docnums = in_docnums.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'EDIQO' CHANGING ct_fieldcat = it_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_user_command = 'DISP_IDOC' i_structure_name = 'EDIQO' i_grid_title = i_grid_title is_layout = is_layout it_fieldcat = it_fieldcat TABLES t_outtab = i_ediqo EXCEPTIONS program_error = 1 OTHERS = 2.

ENQUEUE_ES_EDIQO CALL FUNCTION 'ENQUEUE_ES_EDIQO' EXPORTING mandt = sy-mandt qname = dnum-qname counter = dnum-counter EXCEPTIONS foreign_lock = 1 system_failure = 2.

DEQUEUE_ES_EDIQO CALL FUNCTION 'DEQUEUE_ES_EDIQO' EXPORTING mandt = sy-mandt qname = dnum-qname counter = dnum-counter.

RS_SELECTIONSCREEN_READ CALL FUNCTION 'RS_SELECTIONSCREEN_READ' EXPORTING program = sy-repid dynnr = '300' TABLES fieldvalues = fieldvalues.

RS_SELECTIONSCREEN_READ CALL FUNCTION 'RS_SELECTIONSCREEN_READ' EXPORTING program = sy-repid dynnr = '400' TABLES fieldvalues = fieldvalues.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-t00 text_question = text-f00 default_button = '2' display_cancel_button = ' ' IMPORTING answer = p_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

RSLG_WRITE_SYSLOG_ENTRY





CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING data_word1 = quename data_word2 = p_dir sl_message_area = 'BD' sl_message_subid = '1' EXCEPTIONS OTHERS = 5.

EDI_DOCUMENT_OPEN_FOR_PROCESS CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_PROCESS' EXPORTING db_read_option = 'N' document_number = docnum IMPORTING idoc_control = edidc EXCEPTIONS OTHERS = 5.

EDI_DOCUMENT_STATUS_SET CALL FUNCTION 'EDI_DOCUMENT_STATUS_SET' EXPORTING document_number = docnum idoc_status = edi_ds.

EDI_DOCUMENT_CLOSE_PROCESS CALL FUNCTION 'EDI_DOCUMENT_CLOSE_PROCESS' EXPORTING document_number = docnum no_dequeue = 'X' qrfc_state = 'Q' EXCEPTIONS OTHERS = 5.



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