To automatically clock in all users when they log on to the system, select Automatic Clock-In at Logon in the Clock-In Control field in Labor Rule Maintenance (see Labor Rule Maintenance).
Note
You do not have to enter any identification value other than the user ID in User Maintenance. The system ignores any value in the ID for Clock In/Out field in Labor Rule Maintenance.
To require all users to clock in before logging on to the system, proceed as follows:
In Labor Rule Maintenance, do the following:
In the ID for Clock-In/Out field, select the value you want employees to use when clocking in.
In the Clock-In Control field, select Require Clock-In Before Logon.
Set up a card reader where users can clock in.
If you want your users to clock in and clock out at an electronic card reader, a developer or system integrator must set up the card reader. For more information, see your SAP ME consultant.
Set up your card reader to send an HTTP request each time a user swipes a badge or other card when entering the plant.
Send the HTTP request to the following application available at the /manufacturing-xml context:
com/sap/me/integration/xchange/client/ClockInOutInterface.jsp
This application does not have a GUI interface.
In the message= parameter, enter the following XML. All tags are required.
Syntax
<CLOCK_INOUT> <SITE>A site string </SITE> <CLOCK_ID>ID for clock in/out </CLOCK_ID> <CLOCK_WHEN>Date/time when to log this action, sent in a string form of long value, representing GMT. </CLOCK_WHEN> </CLOCK_INOUT>
Response when a failure occurs:
Syntax
<CLOCKINOUT_ERROR> <MESSAGE>Error message for display. In locale of the server. </MESSAGE> </CLOCKINOUT_ERROR>
Response upon success:
Syntax
<CLOCK_INOUT_RESPONSE> <USER_NAME>A string. First name space last name of user clocked in/out. </USER_NAME> <CLOCK_STATUS>A string.IN or OUT clock functionality performed. </CLOCK_STATUS> <CLOCK_DATETIME>A string form of long value, representing date and time of last clock in/out. </CLOCK_DATETIME> </CLOCK_INOUT_RESPONSE>
Note
You can also import this information using Data Xchange.
Users must have the same roles as for running Data Xchange and Production Interface.
For more information, see SAP ME 6.0 Security Guide available at
.