Hello Vilas,
During the STARs (or SIDs), if U wish not to fly the STAR's waypoints for any reason (radar vectors, weather) you can do so but do not clear the STAR's waypoints until you are on final intercept heading. After that either to perform DIR TO or clear the waypoints behind you.
This is applicable for RNAV APPs as per the PBN manual.
Thanks