SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer(SRM-EBP) SAP SRM

BBP_GET_STATUS_2 SAP ABAP Report - Update Status Information







BBP_GET_STATUS_2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for After the documents (purchase requisition, purchase order, reservation) have been created in the backend system for a requirement coverage request, the following references are stored in the requirement coverage request: The name of the backend system in which the documents exist...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 BBP_GET_STATUS_2 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 BBP_GET_STATUS_2. "Basic submit
SUBMIT BBP_GET_STATUS_2 AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_GET_STATUS_2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Batch program for updating status information for SCs as of Rel. 3.0
Selection Text: ACT_VAL = Delivered Value = 0
Selection Text: BASKET = Shopping Carts
Selection Text: BE_DEL = Deletion Indic. not set in BE
Selection Text: DAYS = SCs Older than... and ...Days
Selection Text: DEL = Deletion indicator not set
Selection Text: END_DELV = Delvry Completed Ind. not set
Selection Text: FF_QUANT = Delivered Quantity = 0
Selection Text: GRPDAYS = Blocks for Every ... Days
Selection Text: ITEM_FI = Read Item Data First
Selection Text: IV_ID = Memory ID for Export Memory
Selection Text: IV_QUANT = Invoiced Quantity = 0
Selection Text: IV_VAL = Invoiced Value = 0
Selection Text: TIMESPAN = SC Timeframe
Selection Text: LOG_SYS = D .
Title: Update Status Information
Text Symbol: 303 = Object ID
Text Symbol: 302 = Name of EBP Document
Text Symbol: 301 = Header
Text Symbol: 300 = GUID
Text Symbol: 200 = '
Text Symbol: 035 = Enter a valid 'period'
Text Symbol: 034 = Data records processed
Text Symbol: 033 = Data records updated (sourcing)
Text Symbol: 032 = Enter a valid 'period'
Text Symbol: 000 = No Shopping Cart (REQUIREMENTS) Found with Status = Transferred
Text Symbol: 001 = Selection Restrictions
Text Symbol: 002 = Technical Settings/Search Criteria
Text Symbol: 003 = Memory
Text Symbol: 011 = Update Successful
Text Symbol: 012 = Data Records Updated (SC Rows)
Text Symbol: 013 = Data Records Created (References)
Text Symbol: 014 = These requirements were blocked during update by other users:
Text Symbol: 015 = On the basis of the data, no changes possible
Text Symbol: 016 = The following RFC destinations were called:
Text Symbol: 018 = RFC Destination:
Text Symbol: 019 = Call result:
Text Symbol: 020 = OK





Text Symbol: 021 = ...
Text Symbol: 022 = and
Text Symbol: 023 = No Destination
Text Symbol: 024 = Unprocessable Items
Text Symbol: 025 = No Values
Text Symbol: 026 = Error during currency conversion
Text Symbol: 027 = Error during quantity conversion
Text Symbol: 028 = Message:
Text Symbol: 029 = Inconsistencies Exist
Text Symbol: 030 = SoCo determination not carried out (due to ext. PO status)
Text Symbol: 031 = Shopping cart items excluded (due to ext. PO status)
001 LOG. SYS. |FODOBJ ID |FODOBJ IT |PACK NO |INTROW LI |log. sys. |fodobj id |fodobj it |pack no |intow li


INCLUDES used within this REPORT BBP_GET_STATUS_2

INCLUDE BBP_GET_STATUS_2_TOP.


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:

BBP_PD_SC_REF_GETLIST CALL FUNCTION 'BBP_PD_SC_REF_GETLIST' EXPORTING i_item_without_final_entry = end_delv i_item_not_deleted = del i_item_no_cf_quantity = ff_quant i_item_no_cf_value = act_val i_item_no_iv_quantity = iv_quant i_item_no_iv_value = iv_val i_item_create_date = lv_oldest_date i_item_create_date_from = lv_newest_date i_with_deleted = c_on i_read_item_first = item_fi i_lock_sc = c_on TABLES it_header_guids = gt_guid_tab et_refdata = gt_sc_refdata it_object_id = lt_obj_list it_logical_systems = log_sys et_guid_ignore = lt_guid_ignore et_enq_failed = gt_enq_refupdate et_locked_sc = lt_locked_sc EXCEPTIONS nothing_found = 1 OTHERS = 2.

BBP_PD_SC_UNLOCK CALL FUNCTION 'BBP_PD_SC_UNLOCK' EXPORTING i_header_guid = -guid.

BBP_PD_SC_RESET_BUFFER CALL FUNCTION 'BBP_PD_SC_RESET_BUFFER'.

META_STATUS_READ CALL FUNCTION 'META_STATUS_READ' EXPORTING logical_system = iv_logical_system TABLES req_ref = it_old_refdata " exp_tabel upd_line = lt_reqline " imp_tabel upd_ref = lt_reqref " imp_tabel return = lt_return " imp_tabel control_record = lt_cont_rec. " imp_tabel

BBP_PDH_PRODUCT_READ_BUFFER CALL FUNCTION 'BBP_PDH_PRODUCT_READ_BUFFER' EXPORTING i_product_guid = p_product TABLES et_product_purchase_data = lt_prod_data EXCEPTIONS not_found = 1 wrong_call = 2 OTHERS = 3.

COM_PRODUCT_UNIT_CONVERSION CALL FUNCTION 'COM_PRODUCT_UNIT_CONVERSION' EXPORTING iv_product_guid = p_product iv_input = quantity_in iv_unit = unit_in iv_base_unit = lt_prod_data-base_uom iv_flag_unit = 'X' IMPORTING ev_output = quantity_out EXCEPTIONS wrong_call = 1 no_units_found = 2 base_unit_not_found = 3 iv_unit_not_found = 4 conversion_not_found = 5 overflow = 6 OTHERS = 7.

COM_PRODUCT_UNIT_CONVERSION CALL FUNCTION 'COM_PRODUCT_UNIT_CONVERSION' EXPORTING iv_product_guid = p_product iv_input = quantity_in iv_unit = unit_out iv_base_unit = lt_prod_data-base_uom iv_flag_unit = '' IMPORTING ev_output = quantity_out EXCEPTIONS wrong_call = 1 no_units_found = 2 base_unit_not_found = 3 iv_unit_not_found = 4 conversion_not_found = 5 overflow = 6 OTHERS = 7.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = quantity_in2 unit_in = unit_in unit_out = unit_out IMPORTING output = quantity_out2 EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

BBP_PD_PO_GET_ADM_HEADER CALL FUNCTION 'BBP_PD_PO_GET_ADM_HEADER' EXPORTING iv_guid = gt_hlp_refdata-header IMPORTING es_header_adm = lt2_e_header.

BALW_BAPIRETURN_GET1 CALL FUNCTION 'BALW_BAPIRETURN_GET1' EXPORTING type = errtype cl = 'BBP_BATCH' number = errnum par1 = p1 par2 = p2 par3 = p3 IMPORTING bapireturn = ls_wa_bapiret.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = sy-datlo foreign_currency = p_curr_out local_amount = p_value local_currency = p_curr_in IMPORTING foreign_amount = p_value EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

BBP_PD_SC_ITEMS_UPD_FROM_REF CALL FUNCTION 'BBP_PD_SC_ITEMS_UPD_FROM_REF' TABLES * Daten aus Referenzen zu Einkaufswagenpositionen it_refupdate_data = lt_refupdate_data it_refupdate_ind = lt_refupdate_ind * Objektlink Shoppingcart: BE-RQ -> BE-PO it_refrelation = it_hlp_refrelation it_del_refrelation = it_hlp_del_refrelation EXCEPTIONS error_message = 1. " prevent 'MESSAGE' from causing popup






BBP_PD_SC_UNLOCK CALL FUNCTION 'BBP_PD_SC_UNLOCK' EXPORTING i_header_guid = -guid.

BBP_PD_PO_GET_ADM_HEADER CALL FUNCTION 'BBP_PD_PO_GET_ADM_HEADER' EXPORTING iv_guid = p_gt_enq_refupdate-header IMPORTING es_header_adm = lt_e_header.

BBP_PD_OBJTYPE_CONV_HTI CALL FUNCTION 'BBP_PD_OBJTYPE_CONV_HTI' EXPORTING i_objtype_hdr = cv_object_type IMPORTING e_objtype_itm = cv_object_type.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = ev_logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

BBP_PD_OBJTYPE_CONV_ITH CALL FUNCTION 'BBP_PD_OBJTYPE_CONV_ITH' EXPORTING i_objtype_itm = lv_ex_objtype_itm IMPORTING e_objtype_hdr = lv_im_objtype_hdr.



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