How can we handle 401 unauth error on homepage for SAP netweaver 740 web portal in vugen scripting

Need help where I am trying to create a script on load runner for SAP Netweaver web application where i am unable to by pass 401 un authorization error on landing page itself here one intresting observation is next step i would enter my login credetial's but observed 401 unauth error from browser dev tools. Script fails saying 401 Unauthorized error when i replay