cancel
Showing results for 
Search instead for 
Did you mean: 

Time manager workplace

Former Member
0 Kudos

Hi all,

An interesting question for the SAP guru's!

In Time Manager Workplace (trx PTMW) the user has to select the employees he wants to see in the time data area. Everytime he selects another date in the calendar he has to refresh or reload that list and again select the users he wants to see in the time data area.

Does anyone have an idea how to fix this?

It would be really nice if everytime the user selects another date in the calendar that the employee selection is updated and that the updated employee list is also loaded in the time data window (pe multiple employee view)

Any usefull suggestions will be rewarded

Kind regards,

Jonathan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

It is not a bug...the Time Manager`s Workplace is supposed to behave that way only.....However if you want to have something different you need to need to creat a Z transactio and then do the corresponding settings in the Authorisation profile....

wherein all the changes can be nade by the4 supervisor regarding org unit or EE group or ESG....

Let me know if this helps?

Former Member
0 Kudos

Hi Aniket,

We have customized the employee selection so that every supervisor has his crewmembers in the list. Supervisors can exchange members on a day to day basis to other supervisors. We get a message that the employee list needs to be refreshed when another date is selected...

So if the supervisor looks at another date all the refreshing should in our case be done automatically (update of employee list and loading the updated crew in his screen)

The supervisor does not have time to click too much When he selects a date in the calendar he wants to see his crewmembers for that day and start giving in time data.

Kind regards,

Jonathan

Answers (1)

Answers (1)

gangadharrao_tenneti
Active Contributor
0 Kudos

Buddy,

Time Manager’s Workplace, providing a user-friendly and task-oriented interface for maintaining time data and processing time evaluation messages. The new interface was specifically designed to meet the needs of time administrators in decentralized departments

VIEWS:

1. Multi day View

2. Multi person View

3. One day View

4. Team View (latest)

As per the standard SAP settings, if configured well it will display all the Views properly which I mentioned above.

Need not to go for any ZPrograms or ZTransaction codes.

1. Check, changing different views (all 4 Views)

2. Check the VIews settings you configured, It will work.

Cheers,

TG

Former Member
0 Kudos

Hi,

Maybe i was not clear enough. It works ok, we have configured it ok. The supervisor has his crewmembers. When a supervisor exchanges a member on a daily basis to another supervisor this works too...

...BUT...

Problem 1:

when the supervisor selects another date the employee selection is not always updated properly (function set in IMG is not always executed) sometimes we do get a standard message that the employee selection is not actual.

Problem 2:

the employee selection shows the employees in the list (left pane treeview) but standard only the first employee is loaded in the time data pane, we want to load the entire crewlist as default.

Any suggestions more than welcome

Kind regards,

Jonathan

Former Member
0 Kudos

I got ur problem alright...I am sorry I probably have no answer to that...May be something to with the USER ID and the Transactions that it has...or may be u can check the following:But I am not sure of this either..

Summary

Symptom

In the Time Manager's Workplace, users can choose the .Temporarily insert employees menu option to call up a dialog box and enter a personnel number directly. The personnel number is then added to the employee list included - regardless of whether it is already in the list.

If administrators use this function frequently, they may want to be able to use it more quickly. The disadvantage of the current approach of having the function in a menu button in the employee list is that the function cannot be accessed using a keyboard shortcut.

Two alternative approaches are conceivable:

1. An input field for the personnel number, or

2. A button in the menu or in the GUI status with corresponding keyboard shortcut.

The disadvantage of the first solution is that users must confirm their entries for the system to update data in the data entry area. There is therefore a risk that the personnel number entered does not correspond to the data displayed if the user has forgotten to confirm entry of the personnel number and the user could then enter data for the wrong employee. For this reason, the second, modal approach is favored.

This note describes how to add an entry to the MEN screen area of the Time Manager's Workplace for calling up the employee dialog box. The new functionality is therefore fully customizable. The new functionality is inactive and you must make it accessible to users by maintaining the field selections of the MEN screen area.

Additional key words

TMW, employee selection

Cause and prerequisites

Usability improvement

Solution

Call up transaction SE80 and edit the functional group PT_GUI_SAP_TMW.

In the GUI status CT_FACILITIES, add a new entry in the .Utilities context menu. Enter SELECT_EMP as the function code, .Temporarily insert employees as the function text and info text, ICON_EMPLOYEE as the icon name, and .I for the fastpath.

Add the SELECT_EMP entry to the GUI status CT_FIELD_SELECTION also.

In the GUI statuses PLAN and WORKLIST, add the SELECT_EMP entry to the Utilities menu bar. Afterwards, add the function to the application toolbar of both statuses. Finally, add the SELECT_EMP function to the UMSCH-F9 function key.

Make the changes documented in the 'Source code corrections' section to the program objects and generate the changes.

Source code corrections

As you can see it is a copy from a SAP note...hope this helps...

Message was edited by:

Aniket Chatterjee

Former Member
0 Kudos

Hi Aniket,

Thank you very much for the helpfull answer. This will come in nice for adding a menu button

I'm now also trying what i can achieve with some small repairs. I'll also post what i've tried and what works

Loading the default crew in the time data screen i did with a small repair in CL_PT_UIA_TMW_EE_NAVIG_TREE. In method PROCESS_SELECTED_EMPLOYEES you can do a small repair: make a new index corresponding with the employee pool in MY_EE_SELECTION and call IF_PT_UIA_TMW_NAVIGATION_TREE~ON_MULTIPLE_LINES_SELECTED( new_index )

This works nicely: when you start tmw the default crew selection in the left tree is loaded in the right pane.

Kind regards,

Jonathan

Former Member
0 Kudos

Hello there!

Concerning transaction PTMW, I have a requirement that the user should be allowed to click only on dates that correspond to the his current open time period and not on any dates he wants to.

I'd like to know of there's any BAdIs or exits that are called whenever the user clicks on a day on the calendar, so I could hook up to it and check if the date is valid to be clicked.

Thanks!

Lino