SAP TT_PICKLIST_TASKTYPE Function Module for NOTRANSL: Picklist für Tätigkeitstyp









TT_PICKLIST_TASKTYPE is a standard tt picklist tasktype 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: Picklist für Tätigkeitstyp 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 tt picklist tasktype FM, simply by entering the name TT_PICKLIST_TASKTYPE into the relevant SAP transaction such as SE37 or SE38.

Function Group: TT_BASICS
Program Name: SAPLTT_BASICS
Main Program: SAPLTT_BASICS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function TT_PICKLIST_TASKTYPE 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 'TT_PICKLIST_TASKTYPE'"NOTRANSL: Picklist für Tätigkeitstyp
EXPORTING
FIELDNAME = "Field Name
APPLICATION = "Offline Applications
* PROFILE = "Data Entry Profile
PERNR = "Personnel Number
LANGU = "Language Key

CHANGING
METAPARAMETER = "Metadata for Generic Transfer
METADETAIL = "Metadetail Data for Generic Transfer
GENERICRECORD = "Generic Table for Transfer

TABLES
RETURN = "Return Parameter
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLTT_BASICS_001 Enhancement of Picklists
EXIT_SAPLTT_BASICS_002 Create Any Tables for Offline Use

IMPORTING Parameters details for TT_PICKLIST_TASKTYPE

FIELDNAME - Field Name

Data type: FIELDNAME
Optional: No
Call by Reference: Yes

APPLICATION - Offline Applications

Data type: BASICS_APPLICATION_TABLE
Optional: No
Call by Reference: Yes

PROFILE - Data Entry Profile

Data type: TCATS-VARIANT
Optional: Yes
Call by Reference: Yes

PERNR - Personnel Number

Data type: PERNR_D
Optional: No
Call by Reference: Yes

LANGU - Language Key

Data type: LANGU
Optional: No
Call by Reference: Yes

CHANGING Parameters details for TT_PICKLIST_TASKTYPE

METAPARAMETER - Metadata for Generic Transfer

Data type: CATS_MY_TABLE_METAPARAMETER
Optional: No
Call by Reference: Yes

METADETAIL - Metadetail Data for Generic Transfer

Data type: CATS_MY_TABLE_METADETAIL
Optional: No
Call by Reference: Yes

GENERICRECORD - Generic Table for Transfer

Data type: CATS_MY_TABLE_GENERICRECORD
Optional: No
Call by Reference: Yes

TABLES Parameters details for TT_PICKLIST_TASKTYPE

RETURN - Return Parameter

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

Copy and paste ABAP code example for TT_PICKLIST_TASKTYPE 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_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_fieldname  TYPE FIELDNAME, "   
lv_metaparameter  TYPE CATS_MY_TABLE_METAPARAMETER, "   
lv_metadetail  TYPE CATS_MY_TABLE_METADETAIL, "   
lv_application  TYPE BASICS_APPLICATION_TABLE, "   
lv_profile  TYPE TCATS-VARIANT, "   
lv_genericrecord  TYPE CATS_MY_TABLE_GENERICRECORD, "   
lv_pernr  TYPE PERNR_D, "   
lv_langu  TYPE LANGU. "   

  CALL FUNCTION 'TT_PICKLIST_TASKTYPE'  "NOTRANSL: Picklist für Tätigkeitstyp
    EXPORTING
         FIELDNAME = lv_fieldname
         APPLICATION = lv_application
         PROFILE = lv_profile
         PERNR = lv_pernr
         LANGU = lv_langu
    CHANGING
         METAPARAMETER = lv_metaparameter
         METADETAIL = lv_metadetail
         GENERICRECORD = lv_genericrecord
    TABLES
         RETURN = lt_return
. " TT_PICKLIST_TASKTYPE




ABAP code using 7.40 inline data declarations to call FM TT_PICKLIST_TASKTYPE

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 VARIANT FROM TCATS INTO @DATA(ld_profile).
 
 
 
 


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!