Show TOC

Procedure documentationSetting Up Labor Tracking for Clock-In at and Before Logon Locate this document in the navigation structure

Procedure

Setting Up Labor Tracking for Clock In During Logon

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 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.

End of the note.
Setting Up Labor Tracking for Clock In Before Logon

To require all users to clock in before logging on to the system, proceed as follows:

  1. 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.

  2. Set up a card reader where users can clock in.

Setting Up a Card Reader

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.

  1. Set up your card reader to send an HTTP request each time a user swipes a badge or other card when entering the plant.

  2. 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.

  3. In the message= parameter, enter the following XML. All tags are required.

    Syntax Syntax

    1. <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>
    End of the code.

    Response when a failure occurs:

    Syntax Syntax

    1. <CLOCKINOUT_ERROR>
      	<MESSAGE>Error message for display. In locale of the server.
      	</MESSAGE>
      </CLOCKINOUT_ERROR>
    End of the code.

    Response upon success:

    Syntax Syntax

    1. <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>
    End of the code.

    Note 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   http://service.sap.com/instguides   SAP Business Suite   SAP Manufacturing   SAP Manufacturing Execution   SAP Manufacturing Execution 6.0  .

    End of the note.