SAP JBD_DETR_GET_LIST Function Module for Liefert Liste mit Geschäftsnummern
JBD_DETR_GET_LIST is a standard jbd detr 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 Liefert Liste mit Geschäftsnummern 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 jbd detr get list FM, simply by entering the name JBD_DETR_GET_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: JBD_DETR
Program Name: SAPLJBD_DETR
Main Program: SAPLJBD_DETR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function JBD_DETR_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 'JBD_DETR_GET_LIST'"Liefert Liste mit Geschäftsnummern.
EXPORTING
* I_RNG_COMP_CODE = "Generelle Range Tabelle für Buchungskreis
* I_RNG_TRANSACTION_CURRENCY = "Generelle Range Tabelle für Geschäftswährung
* I_RNG_ENTRY_USER = "Generelle Range Tabelle für Erfasser
* I_RNG_ENTRY_DATE = "Generelle Range Tabelle für Erfassungsdatum
* I_RNG_CHANGE_USER = "Generelle Range Tabelle für Änderer
* I_RNG_CHANGE_DATE = "Generelle Range Tabelle für Änderungsdatum
* I_RNG_ACTIVE_STATUS = "Generelle Range Tabelle für Aktivstatus
* I_MAX_ROWS = "Maximale Zeilenanzahl der Treffermenge
* I_RNG_TRANSACTION_NUMBER = "Generelle Range Tabelle für Geschäftsnummer
* I_RNG_PARTNER = "Generelle Range Tabelle für Parnternummer
* I_RNG_PARTNER_EXTERNAL = "Generelle Range Tabelle für externe Partnernummer
* I_RNG_SECURITY_ID = "Generelle Range Tabelle für WP-Kennnummer
* I_RNG_POSITION_ACCOUNT = "Generelle Range Tabelle für Positionskonto
* I_RNG_PRODUCT_TYPE = "Generelle Range Tabelle für Produtkart
* I_RNG_TRANSACTION_TYPE = "Generelle Range Tabelle für Geschäftsart
* I_RNG_STOCK_EXCHANGE = "Generelle Range Tabelle für Handelsplatz
IMPORTING
E_TAB_DETR_KEY = "externer Schlüssel des Finanzgeschäfts
E_OVERFLOW_FLAG = "Flag für Überschritt von maximal Anzahl von Geschäften
E_TAB_MESSAGES = "Fehlermeldungen
IMPORTING Parameters details for JBD_DETR_GET_LIST
I_RNG_COMP_CODE - Generelle Range Tabelle für Buchungskreis
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_TRANSACTION_CURRENCY - Generelle Range Tabelle für Geschäftswährung
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_ENTRY_USER - Generelle Range Tabelle für Erfasser
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_ENTRY_DATE - Generelle Range Tabelle für Erfassungsdatum
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_CHANGE_USER - Generelle Range Tabelle für Änderer
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_CHANGE_DATE - Generelle Range Tabelle für Änderungsdatum
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_ACTIVE_STATUS - Generelle Range Tabelle für Aktivstatus
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_MAX_ROWS - Maximale Zeilenanzahl der Treffermenge
Data type: BAPIMAXROWOptional: Yes
Call by Reference: Yes
I_RNG_TRANSACTION_NUMBER - Generelle Range Tabelle für Geschäftsnummer
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_PARTNER - Generelle Range Tabelle für Parnternummer
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_PARTNER_EXTERNAL - Generelle Range Tabelle für externe Partnernummer
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_SECURITY_ID - Generelle Range Tabelle für WP-Kennnummer
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_POSITION_ACCOUNT - Generelle Range Tabelle für Positionskonto
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_PRODUCT_TYPE - Generelle Range Tabelle für Produtkart
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_TRANSACTION_TYPE - Generelle Range Tabelle für Geschäftsart
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
I_RNG_STOCK_EXCHANGE - Generelle Range Tabelle für Handelsplatz
Data type: JBD_RNG_GENERALOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for JBD_DETR_GET_LIST
E_TAB_DETR_KEY - externer Schlüssel des Finanzgeschäfts
Data type: JBD_TAB_FTR_KEYOptional: No
Call by Reference: Yes
E_OVERFLOW_FLAG - Flag für Überschritt von maximal Anzahl von Geschäften
Data type: JBD_DTE_OVERFLOW_FLAGOptional: No
Call by Reference: Yes
E_TAB_MESSAGES - Fehlermeldungen
Data type: JBD_TAB_MSGOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for JBD_DETR_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_e_tab_detr_key | TYPE JBD_TAB_FTR_KEY, " | |||
| lv_i_rng_comp_code | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_transaction_currency | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_entry_user | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_entry_date | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_change_user | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_change_date | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_active_status | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_max_rows | TYPE BAPIMAXROW, " | |||
| lv_e_overflow_flag | TYPE JBD_DTE_OVERFLOW_FLAG, " | |||
| lv_i_rng_transaction_number | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_partner | TYPE JBD_RNG_GENERAL, " | |||
| lv_e_tab_messages | TYPE JBD_TAB_MSG, " | |||
| lv_i_rng_partner_external | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_security_id | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_position_account | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_product_type | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_transaction_type | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_rng_stock_exchange | TYPE JBD_RNG_GENERAL. " |
|   CALL FUNCTION 'JBD_DETR_GET_LIST' "Liefert Liste mit Geschäftsnummern |
| EXPORTING | ||
| I_RNG_COMP_CODE | = lv_i_rng_comp_code | |
| I_RNG_TRANSACTION_CURRENCY | = lv_i_rng_transaction_currency | |
| I_RNG_ENTRY_USER | = lv_i_rng_entry_user | |
| I_RNG_ENTRY_DATE | = lv_i_rng_entry_date | |
| I_RNG_CHANGE_USER | = lv_i_rng_change_user | |
| I_RNG_CHANGE_DATE | = lv_i_rng_change_date | |
| I_RNG_ACTIVE_STATUS | = lv_i_rng_active_status | |
| I_MAX_ROWS | = lv_i_max_rows | |
| I_RNG_TRANSACTION_NUMBER | = lv_i_rng_transaction_number | |
| I_RNG_PARTNER | = lv_i_rng_partner | |
| I_RNG_PARTNER_EXTERNAL | = lv_i_rng_partner_external | |
| I_RNG_SECURITY_ID | = lv_i_rng_security_id | |
| I_RNG_POSITION_ACCOUNT | = lv_i_rng_position_account | |
| I_RNG_PRODUCT_TYPE | = lv_i_rng_product_type | |
| I_RNG_TRANSACTION_TYPE | = lv_i_rng_transaction_type | |
| I_RNG_STOCK_EXCHANGE | = lv_i_rng_stock_exchange | |
| IMPORTING | ||
| E_TAB_DETR_KEY | = lv_e_tab_detr_key | |
| E_OVERFLOW_FLAG | = lv_e_overflow_flag | |
| E_TAB_MESSAGES | = lv_e_tab_messages | |
| . " JBD_DETR_GET_LIST | ||
ABAP code using 7.40 inline data declarations to call FM JBD_DETR_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