SAP JBD_CHGPTR_GETLIST Function Module for Änderungszeiger selektieren
JBD_CHGPTR_GETLIST is a standard jbd chgptr getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Änderungszeiger selektieren 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 chgptr getlist FM, simply by entering the name JBD_CHGPTR_GETLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: JBD_CHGPTR
Program Name: SAPLJBD_CHGPTR
Main Program: SAPLJBD_CHGPTR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function JBD_CHGPTR_GETLIST 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_CHGPTR_GETLIST'"Änderungszeiger selektieren.
EXPORTING
I_EXPOBJTYPE = "Range: Exportobjekttyp
I_STATUS = "Range: Status
I_DATE = "Range: Date
* I_INITIAL_LOAD = ' ' "Initial Load Flag
* I_FOR_UPDATE = ' ' "neue Eingabewerte
IMPORTING
E_TAB_CHGPTR = "IDs der Änderungszeiger
E_COUNT = "Anzahl der Änderungszeiger
EXCEPTIONS
INTERNAL_ERROR = 1
IMPORTING Parameters details for JBD_CHGPTR_GETLIST
I_EXPOBJTYPE - Range: Exportobjekttyp
Data type: JBD_RNG_GENERALOptional: No
Call by Reference: Yes
I_STATUS - Range: Status
Data type: JBD_RNG_GENERALOptional: No
Call by Reference: Yes
I_DATE - Range: Date
Data type: JBD_RNG_GENERALOptional: No
Call by Reference: Yes
I_INITIAL_LOAD - Initial Load Flag
Data type: JBD_DTE_ILFLGDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_FOR_UPDATE - neue Eingabewerte
Data type: XFLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for JBD_CHGPTR_GETLIST
E_TAB_CHGPTR - IDs der Änderungszeiger
Data type: JBD_TAB_TABCHGPTRSOptional: No
Call by Reference: Yes
E_COUNT - Anzahl der Änderungszeiger
Data type: SY-DBCNTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for JBD_CHGPTR_GETLIST 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_chgptr | TYPE JBD_TAB_TABCHGPTRS, " | |||
| lv_i_expobjtype | TYPE JBD_RNG_GENERAL, " | |||
| lv_internal_error | TYPE JBD_RNG_GENERAL, " | |||
| lv_e_count | TYPE SY-DBCNT, " | |||
| lv_i_status | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_date | TYPE JBD_RNG_GENERAL, " | |||
| lv_i_initial_load | TYPE JBD_DTE_ILFLG, " SPACE | |||
| lv_i_for_update | TYPE XFLAG. " SPACE |
|   CALL FUNCTION 'JBD_CHGPTR_GETLIST' "Änderungszeiger selektieren |
| EXPORTING | ||
| I_EXPOBJTYPE | = lv_i_expobjtype | |
| I_STATUS | = lv_i_status | |
| I_DATE | = lv_i_date | |
| I_INITIAL_LOAD | = lv_i_initial_load | |
| I_FOR_UPDATE | = lv_i_for_update | |
| IMPORTING | ||
| E_TAB_CHGPTR | = lv_e_tab_chgptr | |
| E_COUNT | = lv_e_count | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| . " JBD_CHGPTR_GETLIST | ||
ABAP code using 7.40 inline data declarations to call FM JBD_CHGPTR_GETLIST
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.| "SELECT single DBCNT FROM SY INTO @DATA(ld_e_count). | ||||
| DATA(ld_i_initial_load) | = ' '. | |||
| DATA(ld_i_for_update) | = ' '. | |||
Search for further information about these or an SAP related objects