SAP TFC_CREATE_TASKLISTS Function Module for









TFC_CREATE_TASKLISTS is a standard tfc create tasklists 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 tfc create tasklists FM, simply by entering the name TFC_CREATE_TASKLISTS into the relevant SAP transaction such as SE37 or SE38.

Function Group: TFC_HDR_EDIT
Program Name: SAPLTFC_HDR_EDIT
Main Program: SAPLTFC_HDR_EDIT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function TFC_CREATE_TASKLISTS 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 'TFC_CREATE_TASKLISTS'"
EXPORTING
ID_PROFILE = "
ID_CLOSING_TYPE = "
* ID_YEAR = "
ID_PERIV = "
* ID_START_DATE = "
* ID_INSTANCE_NUM = "
* ID_DAY_GAP = "
.



IMPORTING Parameters details for TFC_CREATE_TASKLISTS

ID_PROFILE -

Data type: TFC_PROFILE_SELECT
Optional: No
Call by Reference: No ( called with pass by value option)

ID_CLOSING_TYPE -

Data type: TFC_CLOSING_TYPE_DYNPRO
Optional: No
Call by Reference: No ( called with pass by value option)

ID_YEAR -

Data type: GJAHR
Optional: Yes
Call by Reference: No ( called with pass by value option)

ID_PERIV -

Data type: PERIV
Optional: No
Call by Reference: No ( called with pass by value option)

ID_START_DATE -

Data type: TFC_START_DATE2
Optional: Yes
Call by Reference: No ( called with pass by value option)

ID_INSTANCE_NUM -

Data type: TFC_NUM_INSTANCES
Optional: Yes
Call by Reference: No ( called with pass by value option)

ID_DAY_GAP -

Data type: TFC_ABSTAND_TAGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for TFC_CREATE_TASKLISTS 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_id_profile  TYPE TFC_PROFILE_SELECT, "   
lv_id_closing_type  TYPE TFC_CLOSING_TYPE_DYNPRO, "   
lv_id_year  TYPE GJAHR, "   
lv_id_periv  TYPE PERIV, "   
lv_id_start_date  TYPE TFC_START_DATE2, "   
lv_id_instance_num  TYPE TFC_NUM_INSTANCES, "   
lv_id_day_gap  TYPE TFC_ABSTAND_TAGE. "   

  CALL FUNCTION 'TFC_CREATE_TASKLISTS'  "
    EXPORTING
         ID_PROFILE = lv_id_profile
         ID_CLOSING_TYPE = lv_id_closing_type
         ID_YEAR = lv_id_year
         ID_PERIV = lv_id_periv
         ID_START_DATE = lv_id_start_date
         ID_INSTANCE_NUM = lv_id_instance_num
         ID_DAY_GAP = lv_id_day_gap
. " TFC_CREATE_TASKLISTS




ABAP code using 7.40 inline data declarations to call FM TFC_CREATE_TASKLISTS

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.

 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!