Show TOC

 Sending Control Instructions Locate this document in the navigation structure

Use

When control instructions have been created, they are passed on to the destination specified in the execution step. This section describes:

  • How the sending of control instructions can be triggered

  • How the control instructions are passed on to the destination

Features

Trigger Send Function

The function for sending control instructions can be triggered in two different ways:

  • Automatically with the aid of a background job defined in Customizing

    The background job selects all control instructions that, according to their status, have not yet been sent. Depending on the settings you have made in Customizing, the job runs either:

    • At regular time intervals, or

    • Whenever a new set of control instructions is created

      All control instructions that can be processed without errors are sent via this function as soon as they are created.

      You define the background job in Customizing under   Production   Shop Floor Control   Integration   Process Integration   Control Instructions/Work Instructions   Send Control Instructions/Recipes.  

  • Manually in the monitor for control instructions/recipes

    You need this function:

    • If you have not defined the background job for sending in Customizing

    • If an error occurs during the sending of control instructions and there are no new control instructions to trigger the background job

      You have the following options for sending control instructions manually:

    • To send all control instructions with the status Created , choose the menu options   Utilities   Start Send Job   on the overview screen of the monitor for control instructions/recipes.

      The system sends all control instructions with the status Created including those that are not included in the current list.

      Note Note

      End of the note.

      This is possible only if the background job is triggered by the event SAP_NEW_CONTROL_RECIPE (new control recipe).

    • Another possibility is to choose individual sets of control instructions and send them online.

      1. On the overview screen of the control instruction monitor, select the control instructions that you want to send.

        To select all control instructions with a certain status, choose Selection by Status .

        A dialog box appears, in which you specify the desired status. Confirm your entries.

      2. Choose Send .

        The system sends the selected control instructions.

        If a set of control instructions cannot be downloaded due to its status, a corresponding error message appears.

Data Transfer

The transfer of the control instructions to external systems is carried out via transactional remote function call (tRFC) as program-to-program communication. The tRFC ensures that each call is carried once only. The sequence of the calls does not change. If the target system is not active when the call takes place, the tRFC is repeated according to a repetition rate and duration that can be defined by the user.

The execution of a tRFC is documented in a log which you can access from the control instruction monitor (see Display Log for Transactional RFC ).

For technical details on the transfer of control instruction data and tRFCs, refer to the documents PI-PCS Interface and BC Remote Communications .