SAP PSBE_UPDATE_DATESTAMPS Function Module for NOTRANSL: PSBW: Datumsintervall aktualisieren für Delta-Extraktion von Sta
PSBE_UPDATE_DATESTAMPS is a standard psbe update datestamps SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: PSBW: Datumsintervall aktualisieren für Delta-Extraktion von Sta 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 psbe update datestamps FM, simply by entering the name PSBE_UPDATE_DATESTAMPS into the relevant SAP transaction such as SE37 or SE38.
Function Group: PSBE
Program Name: SAPLPSBE
Main Program: SAPLPSBE
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PSBE_UPDATE_DATESTAMPS 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 'PSBE_UPDATE_DATESTAMPS'"NOTRANSL: PSBW: Datumsintervall aktualisieren für Delta-Extraktion von Sta.
EXPORTING
* I_RLOGSYS = ' ' "Source system of the receiver
I_OLTPSOURCE = "
I_UPDMODE = "
I_DATE_LOW = "Date on which object was last changed
I_DATE_HIGH = "Date on which object was last changed
* I_READ_ONLY = 'X' "
EXCEPTIONS
ERROR_AT_UPDATE = 1
IMPORTING Parameters details for PSBE_UPDATE_DATESTAMPS
I_RLOGSYS - Source system of the receiver
Data type: ROOSPRMSC-RLOGSYSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_OLTPSOURCE -
Data type: RSAOT_OLTPSOURCEOptional: No
Call by Reference: No ( called with pass by value option)
I_UPDMODE -
Data type: SBIWA_S_INTERFACE-UPDMODEOptional: No
Call by Reference: No ( called with pass by value option)
I_DATE_LOW - Date on which object was last changed
Data type: BIW_PS_DELTA-DATE_LOWOptional: No
Call by Reference: No ( called with pass by value option)
I_DATE_HIGH - Date on which object was last changed
Data type: BIW_PS_DELTA-DATE_HIGHOptional: No
Call by Reference: No ( called with pass by value option)
I_READ_ONLY -
Data type: SBIWA_FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_AT_UPDATE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PSBE_UPDATE_DATESTAMPS 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_i_rlogsys | TYPE ROOSPRMSC-RLOGSYS, " SPACE | |||
| lv_error_at_update | TYPE ROOSPRMSC, " | |||
| lv_i_oltpsource | TYPE RSAOT_OLTPSOURCE, " | |||
| lv_i_updmode | TYPE SBIWA_S_INTERFACE-UPDMODE, " | |||
| lv_i_date_low | TYPE BIW_PS_DELTA-DATE_LOW, " | |||
| lv_i_date_high | TYPE BIW_PS_DELTA-DATE_HIGH, " | |||
| lv_i_read_only | TYPE SBIWA_FLAG. " 'X' |
|   CALL FUNCTION 'PSBE_UPDATE_DATESTAMPS' "NOTRANSL: PSBW: Datumsintervall aktualisieren für Delta-Extraktion von Sta |
| EXPORTING | ||
| I_RLOGSYS | = lv_i_rlogsys | |
| I_OLTPSOURCE | = lv_i_oltpsource | |
| I_UPDMODE | = lv_i_updmode | |
| I_DATE_LOW | = lv_i_date_low | |
| I_DATE_HIGH | = lv_i_date_high | |
| I_READ_ONLY | = lv_i_read_only | |
| EXCEPTIONS | ||
| ERROR_AT_UPDATE = 1 | ||
| . " PSBE_UPDATE_DATESTAMPS | ||
ABAP code using 7.40 inline data declarations to call FM PSBE_UPDATE_DATESTAMPS
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 RLOGSYS FROM ROOSPRMSC INTO @DATA(ld_i_rlogsys). | ||||
| DATA(ld_i_rlogsys) | = ' '. | |||
| "SELECT single UPDMODE FROM SBIWA_S_INTERFACE INTO @DATA(ld_i_updmode). | ||||
| "SELECT single DATE_LOW FROM BIW_PS_DELTA INTO @DATA(ld_i_date_low). | ||||
| "SELECT single DATE_HIGH FROM BIW_PS_DELTA INTO @DATA(ld_i_date_high). | ||||
| DATA(ld_i_read_only) | = 'X'. | |||
Search for further information about these or an SAP related objects