SAP CHANGE_POINTERS_READ_INFO_GET Function Module for
CHANGE_POINTERS_READ_INFO_GET is a standard change pointers read info get 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 change pointers read info get FM, simply by entering the name CHANGE_POINTERS_READ_INFO_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: BD01
Program Name: SAPLBD01
Main Program: SAPLBD01
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function CHANGE_POINTERS_READ_INFO_GET 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 'CHANGE_POINTERS_READ_INFO_GET'".
EXPORTING
MESSAGE_TYPE = "Message Type
IMPORTING
BOTTOM_CPID = "
BOTTOM_TIME = "
CURRENT_CPID = "
CURRENT_TIME = "
TOP_CPID = "
TOP_TIME = "
FLAG_DONE = "
EXCEPTIONS
BLOCK_SIZE_NOT_SET = 1
IMPORTING Parameters details for CHANGE_POINTERS_READ_INFO_GET
MESSAGE_TYPE - Message Type
Data type: EDMSG-MSGTYPOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CHANGE_POINTERS_READ_INFO_GET
BOTTOM_CPID -
Data type: BDCP-CPIDENTOptional: No
Call by Reference: No ( called with pass by value option)
BOTTOM_TIME -
Data type: BDCP-CRETIMEOptional: No
Call by Reference: No ( called with pass by value option)
CURRENT_CPID -
Data type: BDCP-CPIDENTOptional: No
Call by Reference: No ( called with pass by value option)
CURRENT_TIME -
Data type: BDCP-CRETIMEOptional: No
Call by Reference: No ( called with pass by value option)
TOP_CPID -
Data type: BDCP-CPIDENTOptional: No
Call by Reference: No ( called with pass by value option)
TOP_TIME -
Data type: BDCP-CRETIMEOptional: No
Call by Reference: No ( called with pass by value option)
FLAG_DONE -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
BLOCK_SIZE_NOT_SET -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CHANGE_POINTERS_READ_INFO_GET 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_bottom_cpid | TYPE BDCP-CPIDENT, " | |||
lv_message_type | TYPE EDMSG-MSGTYP, " | |||
lv_block_size_not_set | TYPE EDMSG, " | |||
lv_bottom_time | TYPE BDCP-CRETIME, " | |||
lv_current_cpid | TYPE BDCP-CPIDENT, " | |||
lv_current_time | TYPE BDCP-CRETIME, " | |||
lv_top_cpid | TYPE BDCP-CPIDENT, " | |||
lv_top_time | TYPE BDCP-CRETIME, " | |||
lv_flag_done | TYPE C. " |
  CALL FUNCTION 'CHANGE_POINTERS_READ_INFO_GET' " |
EXPORTING | ||
MESSAGE_TYPE | = lv_message_type | |
IMPORTING | ||
BOTTOM_CPID | = lv_bottom_cpid | |
BOTTOM_TIME | = lv_bottom_time | |
CURRENT_CPID | = lv_current_cpid | |
CURRENT_TIME | = lv_current_time | |
TOP_CPID | = lv_top_cpid | |
TOP_TIME | = lv_top_time | |
FLAG_DONE | = lv_flag_done | |
EXCEPTIONS | ||
BLOCK_SIZE_NOT_SET = 1 | ||
. " CHANGE_POINTERS_READ_INFO_GET |
ABAP code using 7.40 inline data declarations to call FM CHANGE_POINTERS_READ_INFO_GET
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 CPIDENT FROM BDCP INTO @DATA(ld_bottom_cpid). | ||||
"SELECT single MSGTYP FROM EDMSG INTO @DATA(ld_message_type). | ||||
"SELECT single CRETIME FROM BDCP INTO @DATA(ld_bottom_time). | ||||
"SELECT single CPIDENT FROM BDCP INTO @DATA(ld_current_cpid). | ||||
"SELECT single CRETIME FROM BDCP INTO @DATA(ld_current_time). | ||||
"SELECT single CPIDENT FROM BDCP INTO @DATA(ld_top_cpid). | ||||
"SELECT single CRETIME FROM BDCP INTO @DATA(ld_top_time). | ||||
Search for further information about these or an SAP related objects