SAP BWOMT_GET_TIMESTAMP_OLDEST Function Module for
BWOMT_GET_TIMESTAMP_OLDEST is a standard bwomt get timestamp oldest 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 bwomt get timestamp oldest FM, simply by entering the name BWOMT_GET_TIMESTAMP_OLDEST into the relevant SAP transaction such as SE37 or SE38.
Function Group: BWOMT
Program Name: SAPLBWOMT
Main Program: SAPLBWOMT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BWOMT_GET_TIMESTAMP_OLDEST 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 'BWOMT_GET_TIMESTAMP_OLDEST'".
IMPORTING
E_OLTPSOURCE = "DataSource
E_UPDMODE = "Update Mode
E_TS_HIGH = "Seconds since 1.1.1990,0:00 GMT * 10000
E_TZONE = "Date and Time, Time Difference to UTC Reference Time
E_DAYST = "
E_NOTACTIVE = "General Indicator
EXPORTING Parameters details for BWOMT_GET_TIMESTAMP_OLDEST
E_OLTPSOURCE - DataSource
Data type: ROOSOURCE-OLTPSOURCEOptional: No
Call by Reference: No ( called with pass by value option)
E_UPDMODE - Update Mode
Data type: SBIWA_S_INTERFACE-UPDMODEOptional: No
Call by Reference: No ( called with pass by value option)
E_TS_HIGH - Seconds since 1.1.1990,0:00 GMT * 10000
Data type: BWOM2_TIMEST-TS_HIGHOptional: No
Call by Reference: No ( called with pass by value option)
E_TZONE - Date and Time, Time Difference to UTC Reference Time
Data type: SY-TZONEOptional: No
Call by Reference: No ( called with pass by value option)
E_DAYST -
Data type: SY-DAYSTOptional: No
Call by Reference: No ( called with pass by value option)
E_NOTACTIVE - General Indicator
Data type: FLAGOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BWOMT_GET_TIMESTAMP_OLDEST 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_oltpsource | TYPE ROOSOURCE-OLTPSOURCE, " | |||
| lv_e_updmode | TYPE SBIWA_S_INTERFACE-UPDMODE, " | |||
| lv_e_ts_high | TYPE BWOM2_TIMEST-TS_HIGH, " | |||
| lv_e_tzone | TYPE SY-TZONE, " | |||
| lv_e_dayst | TYPE SY-DAYST, " | |||
| lv_e_notactive | TYPE FLAG. " |
|   CALL FUNCTION 'BWOMT_GET_TIMESTAMP_OLDEST' " |
| IMPORTING | ||
| E_OLTPSOURCE | = lv_e_oltpsource | |
| E_UPDMODE | = lv_e_updmode | |
| E_TS_HIGH | = lv_e_ts_high | |
| E_TZONE | = lv_e_tzone | |
| E_DAYST | = lv_e_dayst | |
| E_NOTACTIVE | = lv_e_notactive | |
| . " BWOMT_GET_TIMESTAMP_OLDEST | ||
ABAP code using 7.40 inline data declarations to call FM BWOMT_GET_TIMESTAMP_OLDEST
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 OLTPSOURCE FROM ROOSOURCE INTO @DATA(ld_e_oltpsource). | ||||
| "SELECT single UPDMODE FROM SBIWA_S_INTERFACE INTO @DATA(ld_e_updmode). | ||||
| "SELECT single TS_HIGH FROM BWOM2_TIMEST INTO @DATA(ld_e_ts_high). | ||||
| "SELECT single TZONE FROM SY INTO @DATA(ld_e_tzone). | ||||
| "SELECT single DAYST FROM SY INTO @DATA(ld_e_dayst). | ||||
Search for further information about these or an SAP related objects