A sliding-pivoting mechanism of a shelf of a piece of furniture or domestic appliance for pulling out and lifting the shelf from a body of the piece of furniture or a useful space of the domestic appliance, especially a dishwasher, comprising - a first pivot arm which is rotatably fixed to at least one of the side walls of the furniture body or the useful space with a first end parallel to the plane of the side walls, - a second pivot arm which is rotatably fixed to at least one of the side walls of the furniture body or the useful space with a first end parallel to the plane of the side walls, - wherein the pivot arms (15, 16) are arranged in parallel and at a distance from each other, - wherein a guide rail is pivotably fastened to the respective second ends of the pivot arms (15, 16) parallel to the plane of the side walls in such a way that the guide rail can be pivoted from a bottom position within the furniture body or the useful space to a lifted, upper position at least partly outside of the furniture body or the useful space, - at least one running rail which is linearly displaceable in the guide rail and on which the shelf is fixed, - wherein the sliding-pivoting mechanism comprises a locking mechanism, which is arranged on the guide rail and on one of the pivot arms (15, 16) and can be actuated by an activator fixed to the running rail, for preventing a pivoting movement of the sliding-pivoting mechanism in a lifted and a lowered end position, - wherein the locking mechanism comprises a web, which is resiliently and pivotably held on the first pivot arm (15, 16), with a pin protruding in the direction of the guide rail, which pin can be guided along a guide element fixed to the guide rail from the locking position securing the lowered end position at least to the locking position securing the lifted end position, - the activator fixed to the running rail comprises a curve guide, with which the pin, during the lifting and lowering of the shelf, can be guided from the locking position securing the lowered end position to the locking position securing the lifted end position and vice versa characterized in that that the curve guide is formed in such a way that the locking mechanism can be unlocked by a push-in movement against the pull-out direction. - a first pivot arm which is rotatably fixed to at least one of the side walls of the furniture body or the useful space with a first end parallel to the plane of the side walls, - a second pivot arm which is rotatably fixed to at least one of the side walls of the furniture body or the useful space with a first end parallel to the plane of the side walls, - wherein the pivot arms (15, 16) are arranged in parallel and at a distance from each other, - wherein a guide rail is pivotably fastened to the respective second ends of the pivot arms (15, 16) parallel to the plane of the side walls in such a way that the guide rail can be pivoted from a bottom position within the furniture body or the useful space to a lifted, upper position at least partly outside of the furniture body or the useful space, - at least one running rail which is linearly displaceable in the guide rail and on which the shelf is fixed, - wherein the sliding-pivoting mechanism comprises a locking mechanism, which is arranged on the guide rail and on one of the pivot arms (15, 16) and can be actuated by an activator fixed to the running rail, for preventing a pivoting movement of the sliding-pivoting mechanism in a lifted and a lowered end position, - wherein the locking mechanism comprises a web, which is resiliently and pivotably held on the first pivot arm (15, 16), with a pin protruding in the direction of the guide rail, which pin can be guided along a guide element fixed to the guide rail from the locking position securing the lowered end position at least to the locking position securing the lifted end position, - the activator fixed to the running rail comprises a curve guide, with which the pin, during the lifting and lowering of the shelf, can be guided from the locking position securing the lowered end position to the locking position securing the lifted end position and vice versa