SAP FTR_GDPDU_CHECK_DATE Function Module for Check Transferred Period or Fill It if Necessary
FTR_GDPDU_CHECK_DATE is a standard ftr gdpdu check date SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check Transferred Period or Fill It if Necessary 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 ftr gdpdu check date FM, simply by entering the name FTR_GDPDU_CHECK_DATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FTR_GDPDU_CHECKS
Program Name: SAPLFTR_GDPDU_CHECKS
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FTR_GDPDU_CHECK_DATE 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 'FTR_GDPDU_CHECK_DATE'"Check Transferred Period or Fill It if Necessary.
EXPORTING
* IM_APPLICATION = 'TR-TM' "Application indicator for BTE
IM_COMPANY_CODE = "Company Code
* IM_USER = SY-UNAME "User Name
* IM_PROGRAM = SY-CPROG "ABAP Program Name
CHANGING
* CH_START_DATE = "Start Date
* CH_END_DATE = "End Date
EXCEPTIONS
NO_AUTHORITY = 1 WRONG_INPUT = 2
IMPORTING Parameters details for FTR_GDPDU_CHECK_DATE
IM_APPLICATION - Application indicator for BTE
Data type: APPLK_BFDefault: 'TR-TM'
Optional: Yes
Call by Reference: Yes
IM_COMPANY_CODE - Company Code
Data type: BUKRSOptional: No
Call by Reference: Yes
IM_USER - User Name
Data type: USNAMDefault: SY-UNAME
Optional: Yes
Call by Reference: Yes
IM_PROGRAM - ABAP Program Name
Data type: PROGNAMEDefault: SY-CPROG
Optional: Yes
Call by Reference: Yes
CHANGING Parameters details for FTR_GDPDU_CHECK_DATE
CH_START_DATE - Start Date
Data type: FTR_GDPDU_START_DATEOptional: Yes
Call by Reference: Yes
CH_END_DATE - End Date
Data type: FTR_GDPDU_END_DATEOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_AUTHORITY - Unauthorized
Data type:Optional: No
Call by Reference: Yes
WRONG_INPUT - Incorrect Entry
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FTR_GDPDU_CHECK_DATE 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_no_authority | TYPE STRING, " | |||
| lv_ch_start_date | TYPE FTR_GDPDU_START_DATE, " | |||
| lv_im_application | TYPE APPLK_BF, " 'TR-TM' | |||
| lv_ch_end_date | TYPE FTR_GDPDU_END_DATE, " | |||
| lv_wrong_input | TYPE FTR_GDPDU_END_DATE, " | |||
| lv_im_company_code | TYPE BUKRS, " | |||
| lv_im_user | TYPE USNAM, " SY-UNAME | |||
| lv_im_program | TYPE PROGNAME. " SY-CPROG |
|   CALL FUNCTION 'FTR_GDPDU_CHECK_DATE' "Check Transferred Period or Fill It if Necessary |
| EXPORTING | ||
| IM_APPLICATION | = lv_im_application | |
| IM_COMPANY_CODE | = lv_im_company_code | |
| IM_USER | = lv_im_user | |
| IM_PROGRAM | = lv_im_program | |
| CHANGING | ||
| CH_START_DATE | = lv_ch_start_date | |
| CH_END_DATE | = lv_ch_end_date | |
| EXCEPTIONS | ||
| NO_AUTHORITY = 1 | ||
| WRONG_INPUT = 2 | ||
| . " FTR_GDPDU_CHECK_DATE | ||
ABAP code using 7.40 inline data declarations to call FM FTR_GDPDU_CHECK_DATE
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.| DATA(ld_im_application) | = 'TR-TM'. | |||
| DATA(ld_im_user) | = SY-UNAME. | |||
| DATA(ld_im_program) | = SY-CPROG. | |||
Search for further information about these or an SAP related objects