A method similar to the aforementioned UCI/data transmission may also be applied to SRS transmission. However, SRS transmission may be omitted to give way resources to UCI or data transmission of a different CG. For example, if only SRS is transmitted through a UL resource of a first CG and if data and/or UCI are transmitted in a different CG, a UE may omit SRS transmission to transmit the different CG. When MAC is shared between the two CGs, even if there is no data and/or UCI transmission in the first CG, data and/or UCI may be transmitted in the first CG. That is, the SRS cannot be detoured via the different CG, and may be transmitted only as it is configured. On the other hand, if the MAC is shared, the data and/or the UCI may be detoured via the different CG. If the data and/or the UCI are detoured to deal with collision of UL transmission between the two CGs, this may be first attempted. If there is no collision after adjustment, UL transmission may be complete. In addition, if there is collision between the two CGs, the SRS may have a lower priority, and if UL transmission of the different CG can be complete by not transmitting the SRS, SRS transmission may be omitted for UL transmission of the different CG.