Общий шаблон для SAP 720, SAP 740 Алгоритм заполнения: input emulation Описание: Реализованы обработка формы логона и форма смены пароля для SAP 720. В шаблоне добавлены два кастомных поля - Client и Language.
<indeedIDSSOData>
<applications>
<application>
<matchingDetails>
<paths>
<path>%ProgramFiles%\SAP\FrontEnd\sapgui\saplogon.exe</path>
</paths>
<fileDescription>SAP Logon for Windows</fileDescription>
</matchingDetails>
<userDescription>SAP Logon (v720,v740)</userDescription>
<ssoPermissions>spSsoOnly</ssoPermissions>
<forceReauthentication>1</forceReauthentication>
<opLogon>
<forms>
<formData>
<id>{88ED503C-9E28-484F-913D-E0CBB8606C0B}</id>
<matching>
<matchingType>CFormData::mtWin32</matchingType>
<matchingWin32>
<caption>SAP R/3</caption>
<ctrls>
<ctrl>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>AfxWnd90</className>
<ctrlId>700</ctrlId>
<enabled>0</enabled>
<visible>0</visible>
</ctrl>
<ctrl>
<className>AfxWnd90</className>
<ctrlId>700</ctrlId>
<enabled>0</enabled>
<visible>0</visible>
</ctrl>
<ctrl>
<className>AfxWnd90</className>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>AfxWnd90</className>
<ctrlId>500</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<ctrlId>400</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<ctrlId>100</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>ComboBox</className>
<ctrlId>200</ctrlId>
<depth>1</depth>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>Button</className>
<ctrlId>116</ctrlId>
<depth>1</depth>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>Edit</className>
<ctrlId>1001</ctrlId>
<depth>2</depth>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
</ctrls>
<className>SAP_FRONTEND_SESSION</className>
</matchingWin32>
</matching>
<fillingAlgorithm>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctPosition</type>
<description>Перейти на контрол ввода данных для логина</description>
<dataPosition>
<ctrl>
<ctrlId>100</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<waitIntervalMs>50</waitIntervalMs>
</dataPosition>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на первый контрол</description>
<dataControl>
<type>cctUp</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести строку Client</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffCustom</field>
<customFieldId>Client</customFieldId>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести имя пользователя</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffUserName</field>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести пароль</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffPassword</field>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести язык</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffCustom</field>
<customFieldId>Language</customFieldId>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Нажать на OK</description>
<dataControl>
<type>cctEnter</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
</fillingAlgorithm>
<filledWndMarkDeletionTime>fwmdtOnFillingFinished</filledWndMarkDeletionTime>
</formData>
<formData id="{C44483A0-8270-4DAB-BB9F-91E1010D5D2A}" filledWndMarkDeletionTime="fwmdtOnFillingFinished">
<matching matchingType="CFormData::mtWin32">
<matchingWin32 className="SAP_FRONTEND_SESSION">
<caption>SAP</caption>
<ctrls>
<ctrl>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>AfxWnd110</className>
<ctrlId>700</ctrlId>
<enabled>0</enabled>
<visible>0</visible>
</ctrl>
<ctrl>
<className>AfxWnd110</className>
<ctrlId>700</ctrlId>
<enabled>0</enabled>
<visible>0</visible>
</ctrl>
<ctrl>
<className>AfxWnd110</className>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>AfxWnd110</className>
<ctrlId>500</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<ctrlId>400</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<ctrlId>100</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>ComboBox</className>
<ctrlId>200</ctrlId>
<depth>1</depth>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>Button</className>
<ctrlId>116</ctrlId>
<depth>1</depth>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>Edit</className>
<ctrlId>1001</ctrlId>
<depth>2</depth>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
</ctrls>
<className>SAP_FRONTEND_SESSION</className>
</matchingWin32>
</matching>
<fillingAlgorithm>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctPosition</type>
<description>Перейти на контрол ввода данных для логина</description>
<dataPosition>
<ctrl>
<ctrlId>100</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<waitIntervalMs>50</waitIntervalMs>
</dataPosition>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на первый контрол</description>
<dataControl>
<type>cctUp</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести строку Client</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffCustom</field>
<customFieldId>Client</customFieldId>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести имя пользователя</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffUserName</field>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести пароль</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffPassword</field>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести язык</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffCustom</field>
<customFieldId>Language</customFieldId>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Нажать на OK</description>
<dataControl>
<type>cctEnter</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
</fillingAlgorithm>
<filledWndMarkDeletionTime>fwmdtOnFillingFinished</filledWndMarkDeletionTime>
</formData>
</forms>
<failureReaction>frTerminateApplication</failureReaction>
<rematchAttemptsLimit>2</rematchAttemptsLimit>
<failureReactionAskingDetails>
<disabledOptions>
<failureReaction>frNone</failureReaction>
</disabledOptions>
<isDefaultOptionDisabled>1</isDefaultOptionDisabled>
</failureReactionAskingDetails>
</opLogon>
<opPasswordChange>
<forms>
<formData>
<id>{5494C9FC-9872-4105-B5D0-05A541E4B36F}</id>
<matching>
<matchingType>CFormData::mtWin32</matchingType>
<matchingWin32>
<caption>
<value>SAP R/3</value>
</caption>
<ctrls>
<ctrl>
<className>Button</className>
<ctrlId>1</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<ctrlId>400</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>AfxWnd90</className>
<ctrlId>700</ctrlId>
<enabled>0</enabled>
<visible>0</visible>
</ctrl>
<ctrl>
<className>AfxWnd90</className>
<ctrlId>701</ctrlId>
<enabled>0</enabled>
<visible>0</visible>
</ctrl>
<ctrl>
<ctrlId>101</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>Button</className>
<ctrlId>111</ctrlId>
<depth>1</depth>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>Button</className>
<ctrlId>123</ctrlId>
<depth>1</depth>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
</ctrls>
<className>#32770</className>
</matchingWin32>
</matching>
<fillingAlgorithm>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctPosition</type>
<description>Перейти на </description>
<dataPosition>
<ctrl>
<ctrlId>101</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<waitIntervalMs>50</waitIntervalMs>
</dataPosition>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести имя пользователя</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffNewPassword</field>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести пароль</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffNewPassword</field>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Нажать на OK</description>
<dataControl>
<type>cctEnter</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
</fillingAlgorithm>
<filledWndMarkDeletionTime>fwmdtOnFillingFinished</filledWndMarkDeletionTime>
</formData>
<formData>
<id>{FEAD6B3F-342C-4D70-A59C-8C122E6E6C31}</id>
<matching>
<matchingType>CFormData::mtWin32</matchingType>
<matchingWin32>
<caption>
<value>SAP</value>
</caption>
<ctrls>
<ctrl>
<className>Button</className>
<ctrlId>1</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<ctrlId>400</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>AfxWnd110</className>
<ctrlId>700</ctrlId>
<enabled>0</enabled>
<visible>0</visible>
</ctrl>
<ctrl>
<className>AfxWnd110</className>
<ctrlId>701</ctrlId>
<enabled>0</enabled>
<visible>0</visible>
</ctrl>
<ctrl>
<ctrlId>101</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>Button</className>
<ctrlId>111</ctrlId>
<depth>1</depth>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<ctrl>
<className>Button</className>
<ctrlId>123</ctrlId>
<depth>1</depth>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
</ctrls>
<className>#32770</className>
</matchingWin32>
</matching>
<fillingAlgorithm>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctPosition</type>
<description>Перейти на </description>
<dataPosition>
<ctrl>
<ctrlId>101</ctrlId>
<enabled>1</enabled>
<visible>1</visible>
</ctrl>
<waitIntervalMs>50</waitIntervalMs>
</dataPosition>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести имя пользователя</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffNewPassword</field>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctFillCurrentCtrl</type>
<description>Ввести пароль</description>
<dataFillCurrentCtrl>
<fieldValueInfo>
<field>ffNewPassword</field>
</fieldValueInfo>
</dataFillCurrentCtrl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Перейти на сдедующий контрол</description>
<dataControl>
<type>cctTab</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
<command>
<type>ctWait</type>
<description>Подождать</description>
<dataWait>
<periodMs>50</periodMs>
</dataWait>
</command>
<command>
<type>ctControl</type>
<description>Нажать на OK</description>
<dataControl>
<type>cctEnter</type>
<waitIntervalMs>50</waitIntervalMs>
</dataControl>
</command>
</fillingAlgorithm>
<filledWndMarkDeletionTime>fwmdtOnFillingFinished</filledWndMarkDeletionTime>
</formData>
</forms>
<failureReaction>frAskUser</failureReaction>
</opPasswordChange>
<passwordRestrictions>
<length>8</length>
</passwordRestrictions>
<customFields>
<customField>
<id>Client</id>
<field>
<displayedName>Client</displayedName>
<editLengthSymbols>3</editLengthSymbols>
<emptyStringValueForbidden>1</emptyStringValueForbidden>
<value>
<type>vtString</type>
<str></str>
</value>
</field>
</customField>
<customField>
<id>Language</id>
<field>
<displayedName>Language</displayedName>
<editLengthSymbols>2</editLengthSymbols>
<emptyStringValueForbidden>1</emptyStringValueForbidden>
<value>
<type>vtString</type>
<str></str>
</value>
</field>
</customField>
</customFields>
<customFieldsSelfEnrollmentOrder>
<fieldId>ffClient</fieldId>
<fieldId>ffLanguage</fieldId>
</customFieldsSelfEnrollmentOrder>
<launcherDetails>
<cmdLine>C:\Program Files\SAP\FrontEnd\sapgui\saplogon.exe</cmdLine>
</launcherDetails>
<id>{75778534-FA75-4906-9990-C5ABCEA6AD87}</id>
</application>
</applications>
</indeedIDSSOData>
|