SAP LCRBEAN_LIST_BUSINESS_SYSTEMS Function Module for
LCRBEAN_LIST_BUSINESS_SYSTEMS is a standard lcrbean list business systems SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for lcrbean list business systems FM, simply by entering the name LCRBEAN_LIST_BUSINESS_SYSTEMS into the relevant SAP transaction such as SE37 or SE38.
Function Group: LCRBEANS
Program Name: SAPLLCRBEANS
Main Program: SAPLLCRBEANS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function LCRBEAN_LIST_BUSINESS_SYSTEMS pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'LCRBEAN_LIST_BUSINESS_SYSTEMS'".
EXPORTING
LCR_HOST = "
LCR_PORT = "
* GIVE_ROLES = ' ' "
* GIVE_PRODUCTS = ' ' "
IMPORTING
BUS_SYSTEMS = "
EXCEPTIONS
ILLEGAL_PROXY_CALL = 1 COMMUNICATION_ERROR = 2 LD_ERROR = 3
IMPORTING Parameters details for LCRBEAN_LIST_BUSINESS_SYSTEMS
LCR_HOST -
Data type: LCR_HOSTOptional: No
Call by Reference: No ( called with pass by value option)
LCR_PORT -
Data type: LCR_PORTOptional: No
Call by Reference: No ( called with pass by value option)
GIVE_ROLES -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
GIVE_PRODUCTS -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for LCRBEAN_LIST_BUSINESS_SYSTEMS
BUS_SYSTEMS -
Data type: LCR_T_BSYSPRODOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ILLEGAL_PROXY_CALL -
Data type:Optional: No
Call by Reference: Yes
COMMUNICATION_ERROR - Communication Error
Data type:Optional: No
Call by Reference: Yes
LD_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for LCRBEAN_LIST_BUSINESS_SYSTEMS Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_lcr_host | TYPE LCR_HOST, " | |||
| lv_bus_systems | TYPE LCR_T_BSYSPROD, " | |||
| lv_illegal_proxy_call | TYPE LCR_T_BSYSPROD, " | |||
| lv_lcr_port | TYPE LCR_PORT, " | |||
| lv_communication_error | TYPE LCR_PORT, " | |||
| lv_ld_error | TYPE LCR_PORT, " | |||
| lv_give_roles | TYPE CHAR1, " SPACE | |||
| lv_give_products | TYPE CHAR1. " SPACE |
|   CALL FUNCTION 'LCRBEAN_LIST_BUSINESS_SYSTEMS' " |
| EXPORTING | ||
| LCR_HOST | = lv_lcr_host | |
| LCR_PORT | = lv_lcr_port | |
| GIVE_ROLES | = lv_give_roles | |
| GIVE_PRODUCTS | = lv_give_products | |
| IMPORTING | ||
| BUS_SYSTEMS | = lv_bus_systems | |
| EXCEPTIONS | ||
| ILLEGAL_PROXY_CALL = 1 | ||
| COMMUNICATION_ERROR = 2 | ||
| LD_ERROR = 3 | ||
| . " LCRBEAN_LIST_BUSINESS_SYSTEMS | ||
ABAP code using 7.40 inline data declarations to call FM LCRBEAN_LIST_BUSINESS_SYSTEMS
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_give_roles) | = ' '. | |||
| DATA(ld_give_products) | = ' '. | |||
Search for further information about these or an SAP related objects