Hello Santosh,
Please, find the implementation guide for your scenario in this wiki page:
You have to make sure that the step 4 is performed properly:
"4. Change setting “Legacy Systems Support (Issue Logon Ticket)” to “On”
Having legacy system support setting set to “On” means that service provider will issue SAP Logon ticket which could be consumed later by the ABAP system."
I hope this will help you.
Best regards,
Donka Dimitrova