SAP Reports / Programs

/SPE/CRM_MONITOR_QUOTATIONS SAP ABAP Report - Quotation Monitor







/SPE/CRM_MONITOR_QUOTATIONS 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 /SPE/CRM_MONITOR_QUOTATIONS 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

/SPE/CRM_QUOT - Report for monitoring quotations


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 /SPE/CRM_MONITOR_QUOTATIONS. "Basic submit
SUBMIT /SPE/CRM_MONITOR_QUOTATIONS AND RETURN. "Return to original report after report execution complete
SUBMIT /SPE/CRM_MONITOR_QUOTATIONS 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: PMES_TYP = Message Type
Selection Text: PREQ_NUM = D .
Title: Quotation Monitor
Text Symbol: 001 = RfQ Created
Text Symbol: 002 = RfQ Issued
Text Symbol: 003 = Quotation Received
Text Symbol: 004 = Quotation Accepted
Text Symbol: 005 = Quotation Rejected
Text Symbol: 006 = Purchase Requisition Data
Text Symbol: 007 = Quotation Data
Text Symbol: 008 = Req Del.Date
Text Symbol: 009 = Data loss
Text Symbol: 010 = Data changed. Save changes?
Text Symbol: 011 = Yes
Text Symbol: 012 = No
Text Symbol: 013 = RFQ Item


INCLUDES used within this REPORT /SPE/CRM_MONITOR_QUOTATIONS

No INCLUDES are used within this REPORT code!


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:

/SPE/CRM_PR_MAP_READ_WITH_PR CALL FUNCTION '/SPE/CRM_PR_MAP_READ_WITH_PR' EXPORTING it_pr_item = lt_preq_number IMPORTING et_pr_map = lt_pr_map.

FI_WT_READ_KNA1 CALL FUNCTION 'FI_WT_READ_KNA1' EXPORTING i_kunnr = ls_display_fields_preq-kunnr TABLES t_kna1 = t_kna1 EXCEPTIONS not_found = 1 OTHERS = 2.

ME_EKPO_ARRAY_READ CALL FUNCTION 'ME_EKPO_ARRAY_READ' TABLES pti_ekpo_key = lt_quot_item pto_ekpo = lt_ekpo EXCEPTIONS no_records_found = 1 OTHERS = 2.

ME_EKKO_ARRAY_READ CALL FUNCTION 'ME_EKKO_ARRAY_READ' TABLES pti_ekko_keytab = lt_ekko_keytab pto_ekko = lt_ekko EXCEPTIONS err_no_records_requested = 1 err_no_records_found = 2 OTHERS = 3.

VENDOR_READ CALL FUNCTION 'VENDOR_READ' EXPORTING i_bukrs = space i_lifnr = ls_display_fields-lifnr IMPORTING e_lfa1 = lfa1.

SUSR_SHOW_USER_DETAILS CALL FUNCTION 'SUSR_SHOW_USER_DETAILS' EXPORTING bname = ls_display_fields-ernam mandt = sy-mandt no_display = 'X' CHANGING user_usr03 = user_detail.

ME_EKET_ARRAY_READ_ITEM CALL FUNCTION 'ME_EKET_ARRAY_READ_ITEM' TABLES pti_eket_keytab = lt_quot_item pto_eket_tab = lt_eket_array EXCEPTIONS err_no_records_requested = 1 err_no_records_found = 2 OTHERS = 3.

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING objectclass = 'BANF' objectid = lv_cdhdr_objkey username = ' ' TABLES i_cdhdr = lt_cdhdr EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 time_zone_conversion_error = 3 OTHERS = 4.

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING changenumber = ls_cdhdr-changenr TABLES editpos = lt_changed_fields EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 OTHERS = 3.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gv_s_log IMPORTING e_log_handle = gv_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = gv_log_handle i_s_msg = lv_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = '/SPE/CRMT_R3_DISPLAY_QUOT' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-009 text_question = text-010 text_button_1 = text-011 text_button_2 = text-012 display_cancel_button = 'X' IMPORTING answer = answer.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = 'X' EXCEPTIONS OTHERS = 1.

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_t_log_handle = lt_log_handle IMPORTING e_t_msg_handle = lt_msg_handle EXCEPTIONS msg_not_found = 1 OTHERS = 2.

BAL_LOG_MSG_READ CALL FUNCTION 'BAL_LOG_MSG_READ' EXPORTING i_s_msg_handle = l_msg_handle IMPORTING e_s_msg = l_s_msg EXCEPTIONS log_not_found = 1 msg_not_found = 2 OTHERS = 3.

BAL_LOG_MSG_DELETE CALL FUNCTION 'BAL_LOG_MSG_DELETE' EXPORTING i_s_msg_handle = l_msg_handle EXCEPTIONS msg_not_found = 1 log_not_found = 2 OTHERS = 3.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = gv_log_handle i_s_msg = lv_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_LOG_MSG_ADD





CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = gv_log_handle i_s_msg = lv_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = gv_log_handle i_s_msg = lv_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = gv_log_handle i_s_msg = lv_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

/SPE/CRM_SEND_RESPONSE_QUOT * CALL FUNCTION '/SPE/CRM_SEND_RESPONSE_QUOT' * EXPORTING * it_quot = lt_response_quot.

ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING ebeln = ls_display-ebeln EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EMEKKOE CALL FUNCTION 'DEQUEUE_EMEKKOE' EXPORTING ebeln = ls_display-ebeln.

ME_EKPO_SINGLE_READ CALL FUNCTION 'ME_EKPO_SINGLE_READ' EXPORTING pi_ebeln = ls_display-ebeln pi_ebelp = ls_display-ebelp pi_bypassing_buffer = 'X' IMPORTING po_ekpo = l_ekpo EXCEPTIONS no_records_found = 1 OTHERS = 2.

/SPE/CRM_SEND_RESPONSE_QUOT CALL FUNCTION '/SPE/CRM_SEND_RESPONSE_QUOT' EXPORTING it_quot = lt_send_data.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = 'X' EXCEPTIONS OTHERS = 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 /SPE/CRM_MONITOR_QUOTATIONS or its description.