SAP TT_GET_PICKLIST Function Module for NOTRANSL: Offline-Picklist für Reisekosten und CATS
TT_GET_PICKLIST is a standard tt get picklist 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: Offline-Picklist für Reisekosten und CATS 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 get picklist FM, simply by entering the name TT_GET_PICKLIST 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_GET_PICKLIST 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_GET_PICKLIST'"NOTRANSL: Offline-Picklist für Reisekosten und CATS.
EXPORTING
IM_APPLICATION_AND_TIME_STAMP = "Offline Application and Time Stamp
IM_PERNR = "Personnel Number
* IM_PROFILE = "Data Entry Profile
* IM_LANGU = "Language According to ISO 639
IMPORTING
EX_METAPARAMETER = "Metadata for Generic Transfer
EX_METADETAIL = "Metadetail Data for Generic Transfer
EX_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_GET_PICKLIST
IM_APPLICATION_AND_TIME_STAMP - Offline Application and Time Stamp
Data type: BASICS_APPLICATION_TS_TABLEOptional: No
Call by Reference: Yes
IM_PERNR - Personnel Number
Data type: PERNR_DOptional: No
Call by Reference: Yes
IM_PROFILE - Data Entry Profile
Data type: TCATS-VARIANTOptional: Yes
Call by Reference: Yes
IM_LANGU - Language According to ISO 639
Data type: LAISOOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for TT_GET_PICKLIST
EX_METAPARAMETER - Metadata for Generic Transfer
Data type: CATS_MY_TABLE_METAPARAMETEROptional: No
Call by Reference: Yes
EX_METADETAIL - Metadetail Data for Generic Transfer
Data type: CATS_MY_TABLE_METADETAILOptional: No
Call by Reference: Yes
EX_GENERICRECORD - Generic Table for Transfer
Data type: CATS_MY_TABLE_GENERICRECORDOptional: No
Call by Reference: Yes
TABLES Parameters details for TT_GET_PICKLIST
RETURN - Return Parameter
Data type: BAPIRET2Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for TT_GET_PICKLIST 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_ex_metaparameter | TYPE CATS_MY_TABLE_METAPARAMETER, " | |||
| lv_im_application_and_time_stamp | TYPE BASICS_APPLICATION_TS_TABLE, " | |||
| lv_im_pernr | TYPE PERNR_D, " | |||
| lv_ex_metadetail | TYPE CATS_MY_TABLE_METADETAIL, " | |||
| lv_im_profile | TYPE TCATS-VARIANT, " | |||
| lv_ex_genericrecord | TYPE CATS_MY_TABLE_GENERICRECORD, " | |||
| lv_im_langu | TYPE LAISO. " |
|   CALL FUNCTION 'TT_GET_PICKLIST' "NOTRANSL: Offline-Picklist für Reisekosten und CATS |
| EXPORTING | ||
| IM_APPLICATION_AND_TIME_STAMP | = lv_im_application_and_time_stamp | |
| IM_PERNR | = lv_im_pernr | |
| IM_PROFILE | = lv_im_profile | |
| IM_LANGU | = lv_im_langu | |
| IMPORTING | ||
| EX_METAPARAMETER | = lv_ex_metaparameter | |
| EX_METADETAIL | = lv_ex_metadetail | |
| EX_GENERICRECORD | = lv_ex_genericrecord | |
| TABLES | ||
| RETURN | = lt_return | |
| . " TT_GET_PICKLIST | ||
ABAP code using 7.40 inline data declarations to call FM TT_GET_PICKLIST
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_im_profile). | ||||
Search for further information about these or an SAP related objects