I am unable to configure using predefined application definition. It is showing error of

SAPSystemwas not set !You may want to review using command line "Loginwatch.exe"
.

Therefore I have manually created(Through coding) for SAP but it is working correctly on some of the system and in some it is not working properly.

Can you guys please share application definition of SAP

SAP information

Component : SAP logon for Window
Release : 750 Final release
File Name: SAPLOGON.EXE
Build: 1817102
Patch level:4