cancel
Showing results for 
Search instead for 
Did you mean: 

Picklist for costum field - Mobile Time Sheet

Former Member
0 Kudos

Hello!

In Mobile Time Sheet I have a custom field "ZACT" and I need to have a picklist for this field. Can somebody give me some hints to solve this problem? Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Markus,

Good for you that I am the one who implemented this feature!

You will find in the WEB-INF folder a file named picklist.config:

#----


  1. This file contains the mapping of the

  2. picklist UI to the table and record

#

#----


#FieldName, TableTypeName, RecordTypeName

AWART, PICKLIST_AWART, PICKLIST_REC_AWART

Take AWART here as an example.

The first type is the Field Name for which the picklist will be displayed.

The second is the Table that will be used to provide the records to the picklist.

The last one is the record type that will be used to restrain the field from the picklist table.

So if your picklist table has 28 fields, but you really want to display only AWART, STARTDATE, ENDDATE. Then you provide PICKLIST_REC_AWART that will contain only those 3 fields and only those will be displayed in the picklist page.

All those types must be defined in the MTT repository to work.

Hope this helps,

Julien.

Former Member
0 Kudos

Hi!

Thanks for this. But how do i fill the picklist table with data from the backend? Do I need a Function Module?