<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Run Transaction Code from CMD in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513519#M4287975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chinni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand the question correctly, you wish to run a tcode by login in SAP from command prompt, then you can achieve this by calling sapshcut.exe with below parameters from cmd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sapshcut.exe -sysname=ABC -client=100 -command=tcode -user=usrName -pw=passwrd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can have this code written in a batch file and pass tcode as an argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can set a particular Tcode as initial tocde when logged in SAP. to do so from your inital screen (/n) go to Extras--&amp;gt; choose Set Start Transaction --&amp;gt; Tocde. Done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prithviraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2016 05:16:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-01-28T05:16:42Z</dc:date>
    <item>
      <title>Run Transaction Code from CMD</title>
      <link>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaq-p/11513518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give suggestions on, How can we execute transaction code with out interacting with SAP GUI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to execute transaction code from Command Prompt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Your inputs are highly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Chinni&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 04:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaq-p/11513518</guid>
      <dc:creator>chinni_adapa</dc:creator>
      <dc:date>2016-01-28T04:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Run Transaction Code from CMD</title>
      <link>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513519#M4287975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chinni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand the question correctly, you wish to run a tcode by login in SAP from command prompt, then you can achieve this by calling sapshcut.exe with below parameters from cmd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sapshcut.exe -sysname=ABC -client=100 -command=tcode -user=usrName -pw=passwrd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can have this code written in a batch file and pass tcode as an argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can set a particular Tcode as initial tocde when logged in SAP. to do so from your inital screen (/n) go to Extras--&amp;gt; choose Set Start Transaction --&amp;gt; Tocde. Done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prithviraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 05:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513519#M4287975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-28T05:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Run Transaction Code from CMD</title>
      <link>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513520#M4287976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chinni.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, It is possible to execute the transaction code from the Windows command prompt You can use the follow the command to start the SAPGUI along with user id credentials and SAP Transaction code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the more help from&amp;nbsp; " Start sapshcut / ? "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example - &lt;/P&gt;&lt;P&gt;start sapshcut&amp;nbsp; -system=SID -client=xxx -desc=(SAPGUI System desc) -user=(User ID) -pw=password -maxgui -command=( SAP Transaction code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 05:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513520#M4287976</guid>
      <dc:creator>S_Sriram</dc:creator>
      <dc:date>2016-01-28T05:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Run Transaction Code from CMD</title>
      <link>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513521#M4287977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Prithviraj and Sriram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By executing that command, we are successfully logged into SAP. I do not want to see that SAP Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My actual requirement is, We have PAT file in my system.By installing PAT file, we should navigate to SAINT transaction and follow some steps, it will installed in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question is can we install PAT file from command prompt with out seeing SAP Screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can we perform same operations which are done in SAINT transaction using Command Prompt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chinni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 06:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513521#M4287977</guid>
      <dc:creator>chinni_adapa</dc:creator>
      <dc:date>2016-01-28T06:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Run Transaction Code from CMD</title>
      <link>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513522#M4287978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chinni.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; For any SAP installation / upgrade you have to use either from SAPGUI or SUM tool. it is not advice /recommend to do the PAT file installation from the command prompt using the transaction SAINT /SPAM.&lt;/P&gt;&lt;P&gt;Could you share the requirement in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 07:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513522#M4287978</guid>
      <dc:creator>S_Sriram</dc:creator>
      <dc:date>2016-01-28T07:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Run Transaction Code from CMD</title>
      <link>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513523#M4287979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You might end up corrupting your system if you do anythin like that from your cmd or putty prompt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use SPAM for older releases or else use SUM for newer releases if you would like your installation to go fine without errors. There are many intermediate processes called in between to apply these packages. please use SUM or SPAM and save your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 07:09:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513523#M4287979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-28T07:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Run Transaction Code from CMD</title>
      <link>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513524#M4287980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are developing product, for that developed objects in SAP and packed into PAT file. Now this PAT file should automatically installed in client SAP server using my developed product. (client will provide Server name, user name, Instance number....). For that reason, we are searching through command prompt.could you clarify me, is it possible or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chinni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 07:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513524#M4287980</guid>
      <dc:creator>chinni_adapa</dc:creator>
      <dc:date>2016-01-28T07:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Run Transaction Code from CMD</title>
      <link>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513525#M4287981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chinni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Automating the process is good idea but something like implementing/installation should be done in a conventional way. As these are complex processes, includes user inputs, multiple screens, settings, and all that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would strongly suggest to go through the ideal process for implementing the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though you can try with SAP GUI scripting if that helps, haven't tried it, give try may be in sandbox system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prithviraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 07:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-transaction-code-from-cmd/qaa-p/11513525#M4287981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-28T07:42:03Z</dc:date>
    </item>
  </channel>
</rss>

