We propose a new method to generate Bessel-like beam using cross-phase modulation. The hot rubidium atomic sample is shown to have the ability to vary a Gaussian beam (probe beam) into a Bessel-like beam when the sample is illuminated with a counter-propagating Gaussian beam (pump beam) tuned close to the atomic resonances. It is demonstrated that the Bessel-like beam exhibits self-healing after encountering an obstruction on the beam path. The parameters of the Bessel-like beam are found to be easily adjusted by the pump beam power and sample temperature. Moreover, this method is even applicable to the probe beam of low power, having more practical value than the method using self-phase modulation which needs high input beam power. The merits of variable parameter, no requirement for input beam power, simple setup, and low cost would make this method of significance in a variety of applications, especially in those areas where Bessel beam power is needed to be low and parameter to be adjusted easily without changing the setup.