Hi Sindhu,
Please check the SoD violations in your request are coming from the roles present in the request or are from existing assignment of user.
Note 1670504 provides 2 different risk owner agent ( lineitem level and request level ) . If your SoD violations are coming from existing assignment then you need to implement the second logic ( request level risk owner )
Best Regards,
Aman