SAP Reports / Programs

CRM0_BUNDLE_AND_START_QUEUES SAP ABAP Report - CRM0BUNDLEANDSTARTQUEUES







CRM0_BUNDLE_AND_START_QUEUES 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 CRM0_BUNDLE_AND_START_QUEUES 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 CRM0_BUNDLE_AND_START_QUEUES. "Basic submit
SUBMIT CRM0_BUNDLE_AND_START_QUEUES AND RETURN. "Return to original report after report execution complete
SUBMIT CRM0_BUNDLE_AND_START_QUEUES 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: P_BLSIZ = Block Size
Selection Text: S_QUEUE = Queue Name
Text Symbol: 001 = Processed Queues
Text Symbol: 002 = Queue Name
Text Symbol: 003 = Destination
Text Symbol: 004 = Number of Entries
Text Symbol: 005 = Status
Text Symbol: 006 = Consumer
Text Symbol: 007 = Description
Text Symbol: 008 = Active Consumer
Text Symbol: 009 = Active Objects
Text Symbol: 010 = Specify the queue name
Text Symbol: 011 = There are stopped or invalid mass queues
Text Symbol: 012 = Processing stoppped


INCLUDES used within this REPORT CRM0_BUNDLE_AND_START_QUEUES

INCLUDE 0_BUNDLE_AND_START_QUEUES_SF01.


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:

CRM_GET_QUEUENAME CALL FUNCTION 'CRM_GET_QUEUENAME' EXPORTING i_objname = p_objnam i_dwnloadtype = 'D' i_consumer = p_consum IMPORTING o_q_out_qname_only_object_prt = l_q_out_qname_only_object_prt TABLES ti_bapimtcs = lt_bapimtcs "needed to get objparts! o_q_out_qname_only_obj_prt_tab = lt_qobjpart_out o_q_in_qname_only_obj_prt_tab = lt_qobjpart_in.

TRFC_QOUT_OVERVIEW CALL FUNCTION 'TRFC_QOUT_OVERVIEW' EXPORTING qname = l_queuename * DEST = '*' * CLIENT = SY-MANDT * DIST_GET_QUEUE = ' ' * QDTABNAME = ' ' TABLES qview = lt_queues2.

TRFC_QOUT_OVERVIEW CALL FUNCTION 'TRFC_QOUT_OVERVIEW' EXPORTING qname = l_queuename * DEST = '*' * CLIENT = SY-MANDT * DIST_GET_QUEUE = ' ' * QDTABNAME = ' ' TABLES qview = lt_queues.

TRFC_QOUT_OVERVIEW CALL FUNCTION 'TRFC_QOUT_OVERVIEW' EXPORTING qname = l_queuename * DEST = '*' * CLIENT = SY-MANDT * DIST_GET_QUEUE = ' ' * QDTABNAME = ' ' TABLES qview = lt_queues.

TRFC_QOUT_OVERVIEW CALL FUNCTION 'TRFC_QOUT_OVERVIEW' EXPORTING qname = l_queuename * DEST = '*' * CLIENT = SY-MANDT * DIST_GET_QUEUE = ' ' * QDTABNAME = ' ' TABLES qview = lt_queues.

TRFC_QOUT_OVERVIEW CALL FUNCTION 'TRFC_QOUT_OVERVIEW' EXPORTING qname = l_q_out_name_complete * DEST = '*' * CLIENT = SY-MANDT * DIST_GET_QUEUE = ' ' * QDTABNAME = ' ' TABLES qview = lt_queues2.

TRFC_QOUT_OVERVIEW CALL FUNCTION 'TRFC_QOUT_OVERVIEW' EXPORTING qname = l_q_out_name_complete dest = p_dest * CLIENT = SY-MANDT * DIST_GET_QUEUE = ' ' * QDTABNAME = ' ' TABLES qview = lt_queues2.

TRFC_QOUT_RESTART CALL FUNCTION 'TRFC_QOUT_RESTART' EXPORTING qname = ls_queues-qname dest = ls_queues-dest * FORCE = ' ' * NO_ACTIVATE = ' ' * NO_COMMIT = ' ' * LOCK_KEY = 0 * TILL_LOCK_KEY = ' ' * IMPORTING * EXELUW = * ASTATE = EXCEPTIONS invalid_parameter = 1 system_failed = 2 communication_failed = 3 OTHERS = 4 .

TRFC_QOUT_READ_NEXT CALL FUNCTION 'TRFC_QOUT_READ_NEXT' EXPORTING qname = ls_queues-qname dest = ls_queues-dest maxluw = l_blocksize last_read_tid = ls_last_tid * read_only = 'X' TABLES state = lt_state data = lt_data EXCEPTIONS invalid_parameter = 1 OTHERS = 2.

CRM_WRITE_BUFFER CALL FUNCTION 'CRM_WRITE_BUFFER' EXPORTING i_blocksize = lv_count.

CRM_WRITE_BUFFER CALL FUNCTION 'CRM_WRITE_BUFFER' EXPORTING i_blocksize = l_blocksize.

CRS_QUEUE_RESTART CALL FUNCTION 'CRS_QUEUE_RESTART' EXPORTING i_qname = 'R3AD*' i_objname = p_objnam i_consumer = p_consum i_rfcdest = p_dest.

CRM_WRITE_BUFFER CALL FUNCTION 'CRM_WRITE_BUFFER' EXPORTING i_blocksize = lv_count.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' * I_CALLBACK_PROGRAM = ' ' * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * i_structure_name = 'TRFCQVIEW' * I_BACKGROUND_ID = ' ' i_grid_title = 'Prozessierte Queues'(001) * I_GRID_SETTINGS = * IS_LAYOUT = it_fieldcat = lt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * IR_SALV_FULLSCREEN_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = lt_queues[] EXCEPTIONS program_error = 1 OTHERS = 2 .

TRFC_QOUT_GET_CURRENT_QUEUES CALL FUNCTION 'TRFC_QOUT_GET_CURRENT_QUEUES' EXPORTING qname = l_queuename * DEST = '*' * CLIENT = SY-MANDT * NOSEND = 'X' * NOLUWCNT = ' ' TABLES qview = lt_queues2.

CRS_QUEUE_RESTART CALL FUNCTION 'CRS_QUEUE_RESTART' EXPORTING i_qname = 'R3AD*' i_objname = p_objnam i_consumer = p_consum i_rfcdest = p_dest.

G_DISPLAY_SELECTION_DYNPRO CALL FUNCTION 'G_DISPLAY_SELECTION_DYNPRO' EXPORTING dynp_title = l_title key_columns = 1 number_of_rows = 10 sel_title1 = ls_consum width_of_titles = 'X' IMPORTING sel_index = sy-index TABLES sel_table = lt_consum EXCEPTIONS no_lines = 4 no_line_picked = 8.

G_DISPLAY_SELECTION_DYNPRO CALL FUNCTION 'G_DISPLAY_SELECTION_DYNPRO' EXPORTING dynp_title = l_title key_columns = 1 number_of_rows = 10 sel_title1 = ls_objnam width_of_titles = 'X' IMPORTING sel_index = sy-index TABLES sel_table = lt_objnam EXCEPTIONS no_lines = 4 no_line_picked = 8.



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