SAP BAPI_JBD_LM_GET_LIST Function Module for Limitvorgaben: GetList BAPI
BAPI_JBD_LM_GET_LIST is a standard bapi jbd lm get list SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Limitvorgaben: GetList BAPI processing and below is the pattern details for this FM, 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 bapi jbd lm get list FM, simply by entering the name BAPI_JBD_LM_GET_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: JBD_LM_BAPI
Program Name: SAPLJBD_LM_BAPI
Main Program: SAPLJBD_LM_BAPI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_JBD_LM_GET_LIST 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 'BAPI_JBD_LM_GET_LIST'"Limitvorgaben: GetList BAPI.
EXPORTING
* MAX_ROWS = "Structure with Maximum Number of Rows for Set of Hits
* PROCESSEXTENSION = "Flag
IMPORTING
OVERFLOW_FLAG = "Structure with Indicator Showing whether Max. No. of Trans is Exceeded
TABLES
* LIMIT_TYPE = "Selection for Limits SLA
* CURRENCY = "Selection for Currency
* CURRENCY_ISO = "ISO Currency Code
* MONITORING = "Selection for Monitoring Unit
* INTORG = "Selection for Internal Organization
* RCOUNTRY = "Selection: Country
* RCOUNTRY_ISO = "Selection for Country ISO Code
* COUNTRY = "Selection: Country
* COUNTRY_ISO = "Selection for Country ISO Code
* SECTOR = "Selection for Industry of Business Partner INDSECT
* RATING = "Selection for Rating Indicator
* RECORD_NUMBER = "Selection for Limit Record RLV
* CRATING = "Selection of Country Rating
* FREE_CHAR01 = "Selection of Free Characteristic
* FREE_CHAR02 = "Selection of Free Characteristic
* FREE_CHAR03 = "Selection of Free Characteristic
* FREE_CHAR04 = "Selection of Free Characteristic
* FREE_CHAR05 = "Selection of Free Characteristic
* FREE_CHAR06 = "Selection of Free Characteristic
* FREE_CHAR07 = "Selection of Free Characteristic
* FREE_CHAR08 = "Selection of Free Characteristic
* FREE_CHAR09 = "Selection of Free Characteristic
* HIERARCHY = "Selection for Hierarchy Level SLH
* FREE_CHAR10 = "Selection of Free Characteristic
* FREE_CHAR11 = "Selection of Free Characteristic
* FREE_CHAR12 = "Selection of Free Characteristic
* FREE_CHAR13 = "Selection of Free Characteristic
* FREE_CHAR14 = "Selection of Free Characteristic
* FREE_CHAR15 = "Selection of Free Characteristic
* LIMIT_LIST = "Key for Limits VTBLV for MAPI
* ILIMIT_LIST = "Key for Interim Limits for Limits VTBLVIL MAPI
* EXTENSIONIN = "Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
* EXTENSIONOUT = "Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
* VALID_FROM = "Selection for Valid-From Date DLVb
* RETURN = "Return Parameters
* COMP_CODE = "Selection for Company Code
* PARTNR = "Selection for Business Partners
* PROD_GROUP = "Selection for Limit Product Group SLPG
* PORTFOLIO = "Structure for Portfolio
* TRADER = "Selection for Trader RDEALER
IMPORTING Parameters details for BAPI_JBD_LM_GET_LIST
MAX_ROWS - Structure with Maximum Number of Rows for Set of Hits
Data type: BAPI_JBD_STR_MAX_ROWSOptional: Yes
Call by Reference: No ( called with pass by value option)
PROCESSEXTENSION - Flag
Data type: BAPIFLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_JBD_LM_GET_LIST
OVERFLOW_FLAG - Structure with Indicator Showing whether Max. No. of Trans is Exceeded
Data type: BAPI_JBD_STR_OVERFLOW_FLAGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_JBD_LM_GET_LIST
LIMIT_TYPE - Selection for Limits SLA
Data type: BAPI_JBD_STR_LM_SLA_SELOptional: Yes
Call by Reference: Yes
CURRENCY - Selection for Currency
Data type: BAPI_JBD_STR_CURR_SELOptional: Yes
Call by Reference: Yes
CURRENCY_ISO - ISO Currency Code
Data type: BAPI_JBD_STR_CURR_ISO_SELOptional: Yes
Call by Reference: Yes
MONITORING - Selection for Monitoring Unit
Data type: BAPI_JBD_STR_LM_CNTRL_SELOptional: Yes
Call by Reference: Yes
INTORG - Selection for Internal Organization
Data type: BAPI_JBD_STR_LM_INTORG_SELOptional: Yes
Call by Reference: Yes
RCOUNTRY - Selection: Country
Data type: BAPI_JBD_STR_LM_CTRY_SELOptional: Yes
Call by Reference: Yes
RCOUNTRY_ISO - Selection for Country ISO Code
Data type: BAPI_JBD_STR_LM_CTRY_ISO_SELOptional: Yes
Call by Reference: Yes
COUNTRY - Selection: Country
Data type: BAPI_JBD_STR_LM_CTRY_SELOptional: Yes
Call by Reference: Yes
COUNTRY_ISO - Selection for Country ISO Code
Data type: BAPI_JBD_STR_LM_CTRY_ISO_SELOptional: Yes
Call by Reference: Yes
SECTOR - Selection for Industry of Business Partner INDSECT
Data type: BAPI_JBD_STR_LM_INDSECT_SELOptional: Yes
Call by Reference: Yes
RATING - Selection for Rating Indicator
Data type: BAPI_JBD_STR_LM_RATING_SELOptional: Yes
Call by Reference: Yes
RECORD_NUMBER - Selection for Limit Record RLV
Data type: BAPI_JBD_STR_LM_RLV_SELOptional: Yes
Call by Reference: Yes
CRATING - Selection of Country Rating
Data type: BAPI_JBD_STR_LM_CRATING_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR01 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR02 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR03 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR04 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR05 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR06 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR07 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR08 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR09 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
HIERARCHY - Selection for Hierarchy Level SLH
Data type: BAPI_JBD_STR_LM_SLH_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR10 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR11 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR12 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR13 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR14 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
FREE_CHAR15 - Selection of Free Characteristic
Data type: BAPI_JBD_STR_LM_RCID_SELOptional: Yes
Call by Reference: Yes
LIMIT_LIST - Key for Limits VTBLV for MAPI
Data type: BAPI_JBD_STR_LM_KEY_MAPOptional: Yes
Call by Reference: Yes
ILIMIT_LIST - Key for Interim Limits for Limits VTBLVIL MAPI
Data type: BAPI_JBD_STR_IL_KEY_MAPOptional: Yes
Call by Reference: Yes
EXTENSIONIN - Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
Data type: BAPIPAREXOptional: Yes
Call by Reference: Yes
EXTENSIONOUT - Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
Data type: BAPIPAREXOptional: Yes
Call by Reference: Yes
VALID_FROM - Selection for Valid-From Date DLVb
Data type: BAPI_JBD_STR_LM_DLVB_SELOptional: Yes
Call by Reference: Yes
RETURN - Return Parameters
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
COMP_CODE - Selection for Company Code
Data type: BAPI_JBD_STR_COMP_CODE_SELOptional: Yes
Call by Reference: Yes
PARTNR - Selection for Business Partners
Data type: BAPI_JBD_STR_PARTNER_SELOptional: Yes
Call by Reference: Yes
PROD_GROUP - Selection for Limit Product Group SLPG
Data type: BAPI_JBD_STR_LM_SLPG_SELOptional: Yes
Call by Reference: Yes
PORTFOLIO - Structure for Portfolio
Data type: BAPI_JBD_STR_PORTFOLIO_SELOptional: Yes
Call by Reference: Yes
TRADER - Selection for Trader RDEALER
Data type: BAPI_JBD_STR_LM_TRADER_SELOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BAPI_JBD_LM_GET_LIST 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_max_rows | TYPE BAPI_JBD_STR_MAX_ROWS, " | |||
| lt_limit_type | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_SLA_SEL, " | |||
| lv_overflow_flag | TYPE BAPI_JBD_STR_OVERFLOW_FLAG, " | |||
| lt_currency | TYPE STANDARD TABLE OF BAPI_JBD_STR_CURR_SEL, " | |||
| lt_currency_iso | TYPE STANDARD TABLE OF BAPI_JBD_STR_CURR_ISO_SEL, " | |||
| lt_monitoring | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_CNTRL_SEL, " | |||
| lt_intorg | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_INTORG_SEL, " | |||
| lt_rcountry | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_CTRY_SEL, " | |||
| lt_rcountry_iso | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_CTRY_ISO_SEL, " | |||
| lt_country | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_CTRY_SEL, " | |||
| lt_country_iso | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_CTRY_ISO_SEL, " | |||
| lt_sector | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_INDSECT_SEL, " | |||
| lt_rating | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RATING_SEL, " | |||
| lt_record_number | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RLV_SEL, " | |||
| lv_processextension | TYPE BAPIFLAG, " | |||
| lt_crating | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_CRATING_SEL, " | |||
| lt_free_char01 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char02 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char03 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char04 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char05 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char06 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char07 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char08 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char09 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_hierarchy | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_SLH_SEL, " | |||
| lt_free_char10 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char11 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char12 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char13 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char14 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_free_char15 | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_RCID_SEL, " | |||
| lt_limit_list | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_KEY_MAP, " | |||
| lt_ilimit_list | TYPE STANDARD TABLE OF BAPI_JBD_STR_IL_KEY_MAP, " | |||
| lt_extensionin | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lt_extensionout | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lt_valid_from | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_DLVB_SEL, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lt_comp_code | TYPE STANDARD TABLE OF BAPI_JBD_STR_COMP_CODE_SEL, " | |||
| lt_partnr | TYPE STANDARD TABLE OF BAPI_JBD_STR_PARTNER_SEL, " | |||
| lt_prod_group | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_SLPG_SEL, " | |||
| lt_portfolio | TYPE STANDARD TABLE OF BAPI_JBD_STR_PORTFOLIO_SEL, " | |||
| lt_trader | TYPE STANDARD TABLE OF BAPI_JBD_STR_LM_TRADER_SEL. " |
|   CALL FUNCTION 'BAPI_JBD_LM_GET_LIST' "Limitvorgaben: GetList BAPI |
| EXPORTING | ||
| MAX_ROWS | = lv_max_rows | |
| PROCESSEXTENSION | = lv_processextension | |
| IMPORTING | ||
| OVERFLOW_FLAG | = lv_overflow_flag | |
| TABLES | ||
| LIMIT_TYPE | = lt_limit_type | |
| CURRENCY | = lt_currency | |
| CURRENCY_ISO | = lt_currency_iso | |
| MONITORING | = lt_monitoring | |
| INTORG | = lt_intorg | |
| RCOUNTRY | = lt_rcountry | |
| RCOUNTRY_ISO | = lt_rcountry_iso | |
| COUNTRY | = lt_country | |
| COUNTRY_ISO | = lt_country_iso | |
| SECTOR | = lt_sector | |
| RATING | = lt_rating | |
| RECORD_NUMBER | = lt_record_number | |
| CRATING | = lt_crating | |
| FREE_CHAR01 | = lt_free_char01 | |
| FREE_CHAR02 | = lt_free_char02 | |
| FREE_CHAR03 | = lt_free_char03 | |
| FREE_CHAR04 | = lt_free_char04 | |
| FREE_CHAR05 | = lt_free_char05 | |
| FREE_CHAR06 | = lt_free_char06 | |
| FREE_CHAR07 | = lt_free_char07 | |
| FREE_CHAR08 | = lt_free_char08 | |
| FREE_CHAR09 | = lt_free_char09 | |
| HIERARCHY | = lt_hierarchy | |
| FREE_CHAR10 | = lt_free_char10 | |
| FREE_CHAR11 | = lt_free_char11 | |
| FREE_CHAR12 | = lt_free_char12 | |
| FREE_CHAR13 | = lt_free_char13 | |
| FREE_CHAR14 | = lt_free_char14 | |
| FREE_CHAR15 | = lt_free_char15 | |
| LIMIT_LIST | = lt_limit_list | |
| ILIMIT_LIST | = lt_ilimit_list | |
| EXTENSIONIN | = lt_extensionin | |
| EXTENSIONOUT | = lt_extensionout | |
| VALID_FROM | = lt_valid_from | |
| RETURN | = lt_return | |
| COMP_CODE | = lt_comp_code | |
| PARTNR | = lt_partnr | |
| PROD_GROUP | = lt_prod_group | |
| PORTFOLIO | = lt_portfolio | |
| TRADER | = lt_trader | |
| . " BAPI_JBD_LM_GET_LIST | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_JBD_LM_GET_LIST
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.Search for further information about these or an SAP related objects