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

BBP_LOCATIONS_GET_FROM_SYSTEM SAP ABAP Report - Transfer all plants of a backend system as locations







BBP_LOCATIONS_GET_FROM_SYSTEM 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 BBP_LOCATIONS_GET_FROM_SYSTEM 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_LOCATIONS_GET_FROM_SYSTEM. "Basic submit
SUBMIT BBP_LOCATIONS_GET_FROM_SYSTEM AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_LOCATIONS_GET_FROM_SYSTEM 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: S_LOGSYS = Data Transfer from System
Selection Text: P_UPDFAV = Conversion of Locat. Favorites
Selection Text: P_UPDDOC = Conversion of Old Documents
Selection Text: P_UPDATR = Conversion of User Attributes
Selection Text: P_LOCAL = Stand-Alone System
Title: Transfer all plants of a backend system as locations
Text Symbol: 018 = No legacy data exists, transaction locks were removed
Text Symbol: 017 = Own logical system not defined
Text Symbol: 016 = Either select 'Stand-Along' or enter backend systems
Text Symbol: 015 = Stand-Alone System
Text Symbol: 014 = for Relevant Messages (Transaction SLG1)
Text Symbol: 013 = Check the Application Log BBP_LOCATIONS_GET
Text Symbol: 012 = Program Terminated with Errors
Text Symbol: 011 = Conversion of Old Documents
Text Symbol: 010 = Conversion of User Attributes
Text Symbol: 009 = Conversion of User Favorites
Text Symbol: 008 = Additional Actions
Text Symbol: 007 = Transfer Locations from Backend Systems
Text Symbol: 006 = Conversion of Old Documents
Text Symbol: 005 = User Attribute Matching
Text Symbol: 004 = Conversion of User Favorites
Text Symbol: 003 = Data Procurement from System
Text Symbol: 002 = Application Log: Locations from Selected Backends
Text Symbol: 001 = BBP_LOCATIONS_GET


INCLUDES used within this REPORT BBP_LOCATIONS_GET_FROM_SYSTEM

INCLUDE BBP_LOCATIONS_GET_ALL_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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = ls_restriction EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9.

BBP_F4_BACKEND_SYSTEM CALL FUNCTION 'BBP_F4_BACKEND_SYSTEM' IMPORTING ev_logsys = lv_backend EXCEPTIONS OTHERS = 0.

BBP_LOCATIONS_GET_LOCAL_SYSTEM CALL FUNCTION 'BBP_LOCATIONS_GET_LOCAL_SYSTEM' TABLES et_reference_data = lt_reference_data.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = lv_status.

BBP_LOCATIONS_GET_FROM_BACKEND CALL FUNCTION 'BBP_LOCATIONS_GET_FROM_BACKEND' EXPORTING iv_logsys = ls_backend-logsys IMPORTING ev_error_count = lv_error_count TABLES ct_reference_data = lt_reference_data et_messages = lt_messages EXCEPTIONS not_found = 1 backend_error = 2 OTHERS = 3.

BBP_LOCMAP_BUFFER_OLD CALL FUNCTION 'BBP_LOCMAP_BUFFER_OLD' IMPORTING et_locmap = lt_crm_locmap.

BBP_LOCATION_INSERT_SWITCH CALL FUNCTION 'BBP_LOCATION_INSERT_SWITCH'.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = ls_backend-logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = lv_status.

BBP_LOCATION_DB_UPDATE CALL FUNCTION 'BBP_LOCATION_DB_UPDATE' TABLES it_location_ins = lt_bbp_locmap.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = lv_status.

BBP_LOCATION_FAVOURITE_UPGRADE CALL FUNCTION 'BBP_LOCATION_FAVOURITE_UPGRADE' TABLES et_messages = lt_messages.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = lv_status.

BBP_LOC_ATTR_IT5502_UPDATE CALL FUNCTION 'BBP_LOC_ATTR_IT5502_UPDATE' EXPORTING iv_x_commit_internal = 'X' IMPORTING ev_error_count = lv_error_count TABLES et_messages = lt_messages.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = lv_status.

BBP_PDH_TRANSFORM_LOCATION CALL FUNCTION 'BBP_PDH_TRANSFORM_LOCATION' EXPORTING iv_testmode = space IMPORTING ev_failure = lv_doc_error TABLES et_messages = lt_prodoc_messages CHANGING ct_backend = lt_backends.

BBP_LOCATION_INSERT_SWITCH CALL FUNCTION 'BBP_LOCATION_INSERT_SWITCH'.



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