SAP Function Modules

BBP_LOGICAL_SYSTEM_GETDETAIL SAP Function module - Get Detailed Information from BBP_BACKEND_DEST







BBP_LOGICAL_SYSTEM_GETDETAIL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name BBP_LOGICAL_SYSTEM_GETDETAIL into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: BBP_BD_DISPATCHER
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM BBP_LOGICAL_SYSTEM_GETDETAIL - BBP LOGICAL SYSTEM GETDETAIL





CALL FUNCTION 'BBP_LOGICAL_SYSTEM_GETDETAIL' "Get Detailed Information from BBP_BACKEND_DEST
  EXPORTING
    logical_system =            " bbp_backend_dest-log_sys
  IMPORTING
    destination =               " bbp_backend_dest-dest
    system_type =               " bbp_backend_dest-sys_type
    rfc_possible =              " bbp_backend_dest-rfc_poss
    local_system =              " bbp_backend_dest-loc_sys
    financial_validation =      " bbp_backend_dest-fi_validation  Type of financial validation
    ci_connection =             " bbp_backend_dest-ci_connected  Angeschlossen an Content Integrator?
    sld_sys_name =              " bbp_backend_dest-sld_sys_name  Name des Systems im System Landscape Directory (SLD)
    dialog_destination =        " bbp_backend_dest-dest_dialog  destination with dialog user
    assigned_partner =          " bu_partner    Systemassigned Partner
  EXCEPTIONS
    NOT_FOUND = 1               "
    .  "  BBP_LOGICAL_SYSTEM_GETDETAIL

ABAP code example for Function Module BBP_LOGICAL_SYSTEM_GETDETAIL





The ABAP code below is a full code listing to execute function module BBP_LOGICAL_SYSTEM_GETDETAIL including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).

DATA:
ld_destination  TYPE BBP_BACKEND_DEST-DEST ,
ld_system_type  TYPE BBP_BACKEND_DEST-SYS_TYPE ,
ld_rfc_possible  TYPE BBP_BACKEND_DEST-RFC_POSS ,
ld_local_system  TYPE BBP_BACKEND_DEST-LOC_SYS ,
ld_financial_validation  TYPE BBP_BACKEND_DEST-FI_VALIDATION ,
ld_ci_connection  TYPE BBP_BACKEND_DEST-CI_CONNECTED ,
ld_sld_sys_name  TYPE BBP_BACKEND_DEST-SLD_SYS_NAME ,
ld_dialog_destination  TYPE BBP_BACKEND_DEST-DEST_DIALOG ,
ld_assigned_partner  TYPE BU_PARTNER .


SELECT single LOG_SYS
FROM BBP_BACKEND_DEST
INTO @DATA(ld_logical_system).
. CALL FUNCTION 'BBP_LOGICAL_SYSTEM_GETDETAIL' EXPORTING logical_system = ld_logical_system IMPORTING destination = ld_destination system_type = ld_system_type rfc_possible = ld_rfc_possible local_system = ld_local_system financial_validation = ld_financial_validation ci_connection = ld_ci_connection sld_sys_name = ld_sld_sys_name dialog_destination = ld_dialog_destination assigned_partner = ld_assigned_partner EXCEPTIONS NOT_FOUND = 1 . " BBP_LOGICAL_SYSTEM_GETDETAIL
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_destination  TYPE BBP_BACKEND_DEST-DEST ,
ld_logical_system  TYPE BBP_BACKEND_DEST-LOG_SYS ,
ld_system_type  TYPE BBP_BACKEND_DEST-SYS_TYPE ,
ld_rfc_possible  TYPE BBP_BACKEND_DEST-RFC_POSS ,
ld_local_system  TYPE BBP_BACKEND_DEST-LOC_SYS ,
ld_financial_validation  TYPE BBP_BACKEND_DEST-FI_VALIDATION ,
ld_ci_connection  TYPE BBP_BACKEND_DEST-CI_CONNECTED ,
ld_sld_sys_name  TYPE BBP_BACKEND_DEST-SLD_SYS_NAME ,
ld_dialog_destination  TYPE BBP_BACKEND_DEST-DEST_DIALOG ,
ld_assigned_partner  TYPE BU_PARTNER .


SELECT single LOG_SYS
FROM BBP_BACKEND_DEST
INTO ld_logical_system.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BBP_LOGICAL_SYSTEM_GETDETAIL or its description.