Download of a Specific Control Recipe

In this case, the function CONTROL_RECIPE_AVAILABLE informs the control system that a new control recipe has been created. From the point of view of PP-PI, the following data is transferred:

Export Parameters:

Name

Format

Length

Description

CLIENT

CHAR

03

SAP client

 

Tables:

Name

Description

CRHE

Control recipe header

 

By calling the function module CONTROL_RECIPE_PULL_SINGLE, the control system can request a specific control recipe to be downloaded by PP-PI. The download is carried out via tRFC using the function CONTROL_RECIPE_DOWNLOAD.

The interface of CONTROL_RECIPE_DOWNLOAD is described in Download of all Control Recipes Initiated by R/3 PP-PI.

The following table lists the data exchanged via the function module CONTROL_RECIPE_PULL_SINGLE from the point of view of PP-PI:

Import Parameters:

Name

Format

Length

Description

CR_ID

CHAR

18

Control recipe number

CR_ADRES

CHAR

32

RFC destination of the cntrl. system

 

For more detailed information on the interface parameters, see Explanation of the Interface Parameters.

The following exceptions can be triggered:

Exception:

Name

Description

CONTROL_RECIPE_NOT_FOUND

Control recipe does not exist

CONTROL_RECIPE_STATE_NOT_VALID

Control recipe status does not permit download

DESTINATION_NOT_VALID

Invalid address for this type of communication

DESTINATION_UNKNOWN

Address not known

SYSTEM_FAILURE

System error

TEXT_WORK_UP_FAILURE

Error when preparing control recipe texts