An agricultural sprayer, comprising - a sprayer boom having - a central boom section; - a plurality of boom sections provided in boom wings (3, 4) pivotably connected to the central boom section on opposite sides of the central boom section, and - a plurality of dispensing elements provided on the boom wings (3, 4) for dispensing a spraying material in operation; - an actuator (6a; 6b; 6c) comprising an actuator element which, for slope correction, can be moved between at least a retracted and an extended position, wherein an element length of the actuator element is changed when the actuator element is moved between the retracted and the extended position and wherein the actuator (6a; 6b; 6c) is configured, by adjusting the element length of the actuator element, to provide slope correction for the sprayer boom; - a length measurement device assigned to the actuator (6a; 6b; 6c) configured to provide measurement signals being indicative of the element length of the actuator element; and - an operation controller configured to - receive a first request for slope correction for the sprayer boom, comprising moving the sprayer boom to a first slope correction position; - assign the first slope correction position of the sprayer boom to a first element length of the actuator element; - provide first slope correction control signals assigned to the first element length of the actuator element; - apply the first slope correction control signals to the actuator element, thereby, adjusting the element length of the actuator element to the first element length for moving the sprayer boom to the first slope correction position; and - in response, receive the measurement signals from the length measurement device and check whether the element length of the actuator element has been adjusted correctly. - a sprayer boom having - a central boom section; - a plurality of boom sections provided in boom wings (3, 4) pivotably connected to the central boom section on opposite sides of the central boom section, and - a plurality of dispensing elements provided on the boom wings (3, 4) for dispensing a spraying material in operation; - a central boom section; - a plurality of boom sections provided in boom wings (3, 4) pivotably connected to the central boom section on opposite sides of the central boom section, and - a plurality of dispensing elements provided on the boom wings (3, 4) for dispensing a spraying material in operation; - an actuator (6a; 6b; 6c) comprising an actuator element which, for slope correction, can be moved between at least a retracted and an extended position, wherein an element length of the actuator element is changed when the actuator element is moved between the retracted and the extended position and wherein the actuator (6a; 6b; 6c) is configured, by adjusting the element length of the actuator element, to provide slope correction for the sprayer boom; - a length measurement device assigned to the actuator (6a; 6b; 6c) configured to provide measurement signals being indicative of the element length of the actuator element; and - an operation controller configured to - receive a first request for slope correction for the sprayer boom, comprising moving the sprayer boom to a first slope correction position; - assign the first slope correction position of the sprayer boom to a first element length of the actuator element; - provide first slope correction control signals assigned to the first element length of the actuator element; - apply the first slope correction control signals to the actuator element, thereby, adjusting the element length of the actuator element to the first element length for moving the sprayer boom to the first slope correction position; and - in response, receive the measurement signals from the length measurement device and check whether the element length of the actuator element has been adjusted correctly. - receive a first request for slope correction for the sprayer boom, comprising moving the sprayer boom to a first slope correction position; - assign the first slope correction position of the sprayer boom to a first element length of the actuator element; - provide first slope correction control signals assigned to the first element length of the actuator element; - apply the first slope correction control signals to the actuator element, thereby, adjusting the element length of the actuator element to the first element length for moving the sprayer boom to the first slope correction position; and - in response, receive the measurement signals from the length measurement device and check whether the element length of the actuator element has been adjusted correctly.