KAPOW

Welcome to the Kapow forum. Here you can get help, use your skills to help others and enjoy hanging out in the company of other Kapow Robot Developers.


DAS stops automatically

Share

Chaitra

Posts : 6
Points : 132
Join date : 2018-04-20

DAS stops automatically

Post by Chaitra on Wed Aug 01, 2018 1:33 pm

Hi,

I am trying to open SAP logon pad using batch file. 
As soon as it opens,DAS stops automatically.
Please see the below .bat command which I used to automate SAP.

start cmd.exe /k "cd C:\Program Files (x86)\SAP\FrontEnd\SAPgui"
start sapshcut -system=*** -client=*** -user={user_name} -pw={Password} -command="va01" -type=Transaction

Help me to resolve this issue.

Thanks in advance Very Happy
Chaitra
avatar
pavel.vraj

Posts : 58
Points : 710
Join date : 2016-11-04
Location : Prague, Czech Republic

Re: DAS stops automatically

Post by pavel.vraj on Wed Aug 01, 2018 2:10 pm

Hi,
In most cases the problem is not in the batch. Tell me, what version are you using? Is it also possible in your case more people are connected to the desktop (like more user sessions are running at once)?
Best regards,
Pavel Vraj

Chaitra

Posts : 6
Points : 132
Join date : 2018-04-20

Re: DAS stops automatically

Post by Chaitra on Wed Aug 01, 2018 7:11 pm

Hi,

We are using 10.3.0.1. version of Kapow.
Only single user logged in through Kapow but multiple logins are also possible

Thank you,
Chaitra
avatar
pavel.vraj

Posts : 58
Points : 710
Join date : 2016-11-04
Location : Prague, Czech Republic

Re: DAS stops automatically

Post by pavel.vraj on Wed Aug 01, 2018 9:29 pm

Hi, I would suggest to update to the latest release 10.3.0.4. Another thing is, are you sure, sapshcut uses for password "-pwd"? Shouldn't it be "-password" ? Another thing, why do you use "start" at each of the lines?

I would add the path to the application to System Variables, the file call .cmd instead of .bat, then type the file like this:
Code:
@echo off
sapshcut -system=*** -client=*** -user={user_name} -pw={Password} -command="va01" -type=Transaction

I don't have real experience with sapshcut, but these are general recommendations.
BR, Pavel

Sponsored content

Re: DAS stops automatically

Post by Sponsored content


    Current date/time is Sat Aug 18, 2018 3:52 pm