A method of generating a device-to-device, D2D, signal, which is generated by a user equipment in a wireless communication system, comprising the steps of: grouping a plurality of modulation symbols generated by applying channel coding to one transport block into a first modulation symbol group and a second modulation symbol group, mapping the first modulation symbol group to a first resource block, RB, group and the second modulation symbol group to a second RB group; and transmitting a first signal for the first RB group and a second signal for the second RB group, characterized in that: wherein a localized single carrier frequency division multiple access, LFDMA, signal is generated for each of the first modulation symbol group and the second modulation symbol group, wherein the first signal and the second signal is transmitted using a separate antenna from each other, wherein a first beam vector is applied to the first signal, and a second beam vector different from the first beam vector is applied to the second signal, wherein when the size of the first RB group and the size of the second RB group is the same, a frequency resource of the second RB group is determined by positions of a start frequency resource and an end frequency resource of the first RB group and a preset offset value, and wherein when the preset offset value is 0, the first signal and the second signal are distinguished by orthogonal cover code, OCC, and cyclic shift, CS, of a Demodulation Reference Signal, DMRS. grouping a plurality of modulation symbols generated by applying channel coding to one transport block into a first modulation symbol group and a second modulation symbol group, mapping the first modulation symbol group to a first resource block, RB, group and the second modulation symbol group to a second RB group; and transmitting a first signal for the first RB group and a second signal for the second RB group, characterized in that: wherein a localized single carrier frequency division multiple access, LFDMA, signal is generated for each of the first modulation symbol group and the second modulation symbol group, wherein the first signal and the second signal is transmitted using a separate antenna from each other, wherein a first beam vector is applied to the first signal, and a second beam vector different from the first beam vector is applied to the second signal, wherein when the size of the first RB group and the size of the second RB group is the same, a frequency resource of the second RB group is determined by positions of a start frequency resource and an end frequency resource of the first RB group and a preset offset value, and wherein when the preset offset value is 0, the first signal and the second signal are distinguished by orthogonal cover code, OCC, and cyclic shift, CS, of a Demodulation Reference Signal, DMRS. wherein a localized single carrier frequency division multiple access, LFDMA, signal is generated for each of the first modulation symbol group and the second modulation symbol group, wherein the first signal and the second signal is transmitted using a separate antenna from each other, wherein a first beam vector is applied to the first signal, and a second beam vector different from the first beam vector is applied to the second signal, wherein when the size of the first RB group and the size of the second RB group is the same, a frequency resource of the second RB group is determined by positions of a start frequency resource and an end frequency resource of the first RB group and a preset offset value, and wherein when the preset offset value is 0, the first signal and the second signal are distinguished by orthogonal cover code, OCC, and cyclic shift, CS, of a Demodulation Reference Signal, DMRS.