when creating vendor in sap EWM it is redirecting to transaction BP, as transaction XK01 is absolute. Please tell me what to do in order to stop redirecting.
There is nothing you can do about that. Start using the BP transaction. It can do all what XK01 does, plus much more.
Notice, that redirection to BP happens in online mode. You can still use XK01 in batch inputs.
The redirection is due to introduction of business partner management by SAP - see the note 2832092 - Central Note for Business Partner Customer and Supplier Master Data in S/4 HANA
If you don't like the message, you can suppress it as described in the note 2402872 - Status Message During Redirection to BP Transaction from obsolete transactions That doesn't disable the redirection itself.