A method of a Random Access, RA, procedure performed by a User Equipment, UE, the method comprising: receiving a first Random Access Channel, RACH, configuration for a 4-step RA type from a Base Station, BS, the first RACH configuration including a first parameter indicating a first maximum number of RA preamble transmissions performed by the UE before the UE declares an RA problem; receiving a second RACH configuration for a 2-step RA type from the BS; initiating an RA procedure with an RA type set to the 2-step RA type; determining whether the second RACH configuration includes a second parameter indicating a second maximum number of RA preamble transmissions performed by the UE before the UE declares the RA problem; applying the second parameter to determine whether to declare the RA problem for the RA procedure in response to determining that the second parameter is included in the second RACH configuration; and applying the first parameter to determine whether to declare the RA problem for the RA procedure in response to determining that the second parameter is not included in the second RACH configuration, characterized by determining whether the second RACH configuration further includes a third parameter indicating a third maximum number of RA preamble transmissions performed by the UE before the UE switches the RA type of the RA procedure from the 2-step RA type to the 4-step RA type; and applying the third parameter for the RA procedure in a case of one or more conditions being satisfied, wherein the one or more conditions comprise a first condition that the third parameter is included in the second RACH configuration; and performing a Bandwidth Part, BWP, switching procedure to switch to a first BWP configured with a 4-step RA resource in a case that the third parameter is applied and a value of a preamble transmission counter reaches a third maximum number of RA preamble transmissions and a second BWP selected for the RA procedure is not configured with any 4-step RA resource. receiving a first Random Access Channel, RACH, configuration for a 4-step RA type from a Base Station, BS, the first RACH configuration including a first parameter indicating a first maximum number of RA preamble transmissions performed by the UE before the UE declares an RA problem; receiving a second RACH configuration for a 2-step RA type from the BS; initiating an RA procedure with an RA type set to the 2-step RA type; determining whether the second RACH configuration includes a second parameter indicating a second maximum number of RA preamble transmissions performed by the UE before the UE declares the RA problem; applying the second parameter to determine whether to declare the RA problem for the RA procedure in response to determining that the second parameter is included in the second RACH configuration; and applying the first parameter to determine whether to declare the RA problem for the RA procedure in response to determining that the second parameter is not included in the second RACH configuration, characterized by determining whether the second RACH configuration further includes a third parameter indicating a third maximum number of RA preamble transmissions performed by the UE before the UE switches the RA type of the RA procedure from the 2-step RA type to the 4-step RA type; and applying the third parameter for the RA procedure in a case of one or more conditions being satisfied, wherein the one or more conditions comprise a first condition that the third parameter is included in the second RACH configuration; and performing a Bandwidth Part, BWP, switching procedure to switch to a first BWP configured with a 4-step RA resource in a case that the third parameter is applied and a value of a preamble transmission counter reaches a third maximum number of RA preamble transmissions and a second BWP selected for the RA procedure is not configured with any 4-step RA resource.