SAP PSBW_45B_GET_DATES_MILESTONE Function Module for NOTRANSL: Extraktor: Termine (vers.) Meilensteine PS -> BW
PSBW_45B_GET_DATES_MILESTONE is a standard psbw 45b get dates milestone 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: Extraktor: Termine (vers.) Meilensteine PS -> BW 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 psbw 45b get dates milestone FM, simply by entering the name PSBW_45B_GET_DATES_MILESTONE into the relevant SAP transaction such as SE37 or SE38.
Function Group: PSBD_45B
Program Name: SAPLPSBD_45B
Main Program:
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PSBW_45B_GET_DATES_MILESTONE 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 'PSBW_45B_GET_DATES_MILESTONE'"NOTRANSL: Extraktor: Termine (vers.) Meilensteine PS -> BW.
EXPORTING
I_MAX_SIZE = "
I_ISOURCE = "
CHANGING
C_COUNT_DATAPAK_ID = "
TABLES
IT_SELECT = "
IT_PSP_FIELDS = "
IT_VOR_FIELDS = "
ET_PSBWMLSDAT = "PSBW: Info Source for Milestone Dates
EXCEPTIONS
NO_MORE_DATA = 1 ERROR_PASSED_TO_MESS_HANDLER = 2
IMPORTING Parameters details for PSBW_45B_GET_DATES_MILESTONE
I_MAX_SIZE -
Data type: SBIWA_S_INTERFACE-MAXSIZEOptional: No
Call by Reference: No ( called with pass by value option)
I_ISOURCE -
Data type: SBIWA_S_INTERFACE-ISOURCEOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for PSBW_45B_GET_DATES_MILESTONE
C_COUNT_DATAPAK_ID -
Data type: SBIWA_S_INTERFACE-DATAPAKIDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for PSBW_45B_GET_DATES_MILESTONE
IT_SELECT -
Data type: SBIWA_T_SELECTOptional: No
Call by Reference: No ( called with pass by value option)
IT_PSP_FIELDS -
Data type: SBIWA_T_FIELDSOptional: No
Call by Reference: No ( called with pass by value option)
IT_VOR_FIELDS -
Data type: SBIWA_T_FIELDSOptional: No
Call by Reference: No ( called with pass by value option)
ET_PSBWMLSDAT - PSBW: Info Source for Milestone Dates
Data type: PSBWMLSDATOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_MORE_DATA -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_PASSED_TO_MESS_HANDLER -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PSBW_45B_GET_DATES_MILESTONE 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: | ||||
| lt_it_select | TYPE STANDARD TABLE OF SBIWA_T_SELECT, " | |||
| lv_i_max_size | TYPE SBIWA_S_INTERFACE-MAXSIZE, " | |||
| lv_no_more_data | TYPE SBIWA_S_INTERFACE, " | |||
| lv_c_count_datapak_id | TYPE SBIWA_S_INTERFACE-DATAPAKID, " | |||
| lv_i_isource | TYPE SBIWA_S_INTERFACE-ISOURCE, " | |||
| lt_it_psp_fields | TYPE STANDARD TABLE OF SBIWA_T_FIELDS, " | |||
| lv_error_passed_to_mess_handler | TYPE SBIWA_T_FIELDS, " | |||
| lt_it_vor_fields | TYPE STANDARD TABLE OF SBIWA_T_FIELDS, " | |||
| lt_et_psbwmlsdat | TYPE STANDARD TABLE OF PSBWMLSDAT. " |
|   CALL FUNCTION 'PSBW_45B_GET_DATES_MILESTONE' "NOTRANSL: Extraktor: Termine (vers.) Meilensteine PS -> BW |
| EXPORTING | ||
| I_MAX_SIZE | = lv_i_max_size | |
| I_ISOURCE | = lv_i_isource | |
| CHANGING | ||
| C_COUNT_DATAPAK_ID | = lv_c_count_datapak_id | |
| TABLES | ||
| IT_SELECT | = lt_it_select | |
| IT_PSP_FIELDS | = lt_it_psp_fields | |
| IT_VOR_FIELDS | = lt_it_vor_fields | |
| ET_PSBWMLSDAT | = lt_et_psbwmlsdat | |
| EXCEPTIONS | ||
| NO_MORE_DATA = 1 | ||
| ERROR_PASSED_TO_MESS_HANDLER = 2 | ||
| . " PSBW_45B_GET_DATES_MILESTONE | ||
ABAP code using 7.40 inline data declarations to call FM PSBW_45B_GET_DATES_MILESTONE
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 MAXSIZE FROM SBIWA_S_INTERFACE INTO @DATA(ld_i_max_size). | ||||
| "SELECT single DATAPAKID FROM SBIWA_S_INTERFACE INTO @DATA(ld_c_count_datapak_id). | ||||
| "SELECT single ISOURCE FROM SBIWA_S_INTERFACE INTO @DATA(ld_i_isource). | ||||
Search for further information about these or an SAP related objects