Request
Using this method, you request and transfer control recipes from the R/3 System. For example, you can call this method from a process control system toexport control recipes from the R/3 System to the control system. A control recipe is only transferred if:
The destination assigned to it is of type 3 (Download to external system, initiated by process control)It has not yet been processed, that is, the control recipe must have the status CreatedAfter the control recipe has been transferred, its status is set to Downloaded.
NotesAuthorizations You need the following authorization to carry out the method: Authorization object Field Value C_CREX_WRK Destination address RFC destination of the
control recipe destination Activity 90 (Request control recipe) Plant Plant of the control recipe When the method is carried out, the R/3 System does not check whether
the system calling the method and the control recipe destination arethe same. For this reason, make sure to define user authorizations insuch a way that users can only request control recipes created for their own destination address. Selection Criteria
In parameter ControlRecipe, you specify the control recipes tobe transferred. Before this, you can request the header data of the control recipes available using method ControlRecipe.GetList. Control Recipe Transfer
The data of the requested control recipes is returned in the parameters CntlRecHeader, CntlRecProcInstr, CntlRecCharac, and CntlRecTextlines. System Messages System messages issued during method processing are returned in parameter Return
. For information on possible system messages and their meaning, see the parameter documentation. Update When control recipes are transferred, R/3 data is changed (for example,the control recipe status). To update the R/3 System so that these
changes take effect, you have to carry out the standard method for thecommit work after the current method has been completed. You will findthis standard method and its documentation in the R/3 Business Object Repository, section Cross-Application Components
-> Business Framework Architecture. If the commit work terminates, re-call the method for transferringcontrol recipes using the same selection criteria as before. If thedata has not been updated in the previous call, the same control recipes are returned again.
If one or more control recipes are locked at the time of the second method call, call the method again at a later time. Further InformationFor more information on control recipe processing, see the R/3 Library, section PP Production Planning - Process Industries
-> Process Management -> Control Recipes.
|