cancel
Showing results for 
Search instead for 
Did you mean: 

Status field For Training and Events

Former Member
0 Kudos

Hello

I am currently writing a programme that will allow users to see their training records and the managers to see their employees training records on ESS/MSS

I have manged to pull through the fields of the courses they have attended start date end date price Etc via a BAPi but cannot find anywhere where the status of the event.

Eg Wether the course/training/event has been completed by the employee

If someone could shed some light on this or give me some idea of how i could get this information would be much apriciated.

Shaun

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi shaun,

Based on the start and end dates of he courses,you can decide the status of the course.

Display the status through the image source property of the button

if start date gt sy-datum -


> display as red icon...that is not yet started the course.

if sy-datun bt start date and end date---->diaplay as yellow icon that is middle of the course.

if end date Lt sy-datum----->display image as gren icon that is course is completed.

To do so....add one column to your table and set the cell editor as button and bind the image source of the button with attribute of type string....and before displaying the data ,based on the above conditions..set the attribute value as

"ICON_RED_LIGHT"---->red image

"ICON_YELLOW_LIGHT"---->yellow image

"ICON_GREEN_LIGHT"---->green image

I hope this helps you,

Thanks,

krishna