<?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>topic Re: Connect Weighbridge using SAP batch command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/connect-weighbridge-using-sap-batch-command/m-p/12263578#M1987250</link>
    <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;abhipadwal4u&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;There is a powerful tool - report RSBDCOS0. It basically provides terminal windows to the OS.  Multiple OS commands can be entered into the report in a similar way it would be done in real OS terminal. &lt;/P&gt;&lt;P&gt;All commands executed from the report are logged into files on OS level by C command: C_WRITE_SYSLOG_ENTRY. &lt;/P&gt;&lt;P&gt;If you want to run some OS commands on automated basis then there is an option to create custom ABAP report. Such a report will run these OS commands via FM SXPG_COMMAND_EXECUTE. &lt;/P&gt;&lt;P&gt;
In case you have an issue to run OS commands in the RSBDCOS0. E.g. the report returns nothing just error code = 1. As very basic check is it is advisable to look whether an environment variable "ComSpec" is set. In case of WIN OS it should be set to value: ComSpec=C:\WINDOWS\system32\cmd.exe &lt;/P&gt;&lt;P&gt;This is a powerful tool, and it is not something to play with. Every user who uses it must be very well aware of what it actually doing.&lt;/P&gt;&lt;P&gt;Should this help to address your topic, please kindly accept the answer.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Luis &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 01 Nov 2020 07:12:44 GMT</pubDate>
    <dc:creator>Private_Member_467521</dc:creator>
    <dc:date>2020-11-01T07:12:44Z</dc:date>
    <item>
      <title>Connect Weighbridge using SAP batch command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connect-weighbridge-using-sap-batch-command/m-p/12263576#M1987248</link>
      <description>&lt;P&gt;I can connect to weigh bridge through command prompt&lt;/P&gt;
  &lt;P&gt;Syntaxt: TELNET &amp;lt;ip address&amp;gt; &amp;lt;port number&amp;gt;&lt;/P&gt;
  &lt;P&gt;But I have to connect weigh bridge through SAP batch command using SAP.&lt;/P&gt;
  &lt;P&gt;My question is what to write in batch file to connect weigh bridge.&lt;/P&gt;
  &lt;P&gt;How to create command using SM49 or SM69?&lt;/P&gt;
  &lt;P&gt;How to call that batch file using command in ABAP program?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 19:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connect-weighbridge-using-sap-batch-command/m-p/12263576#M1987248</guid>
      <dc:creator>former_member906834</dc:creator>
      <dc:date>2020-10-30T19:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Weighbridge using SAP batch command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connect-weighbridge-using-sap-batch-command/m-p/12263577#M1987249</link>
      <description>&lt;P&gt;Thank
you for visiting SAP Community to get answers to your questions. Since you're
new in asking questions here, I recommend that you familiarize yourself with &lt;A href="https://community.sap.com/resources/questions-and-answers"&gt;https://community.sap.com/resources/questions-and-answers&lt;/A&gt;
(if you haven't already), as it provides tips for preparing questions that draw
responses from our members.&lt;/P&gt;&lt;P&gt;Should
you wish, you can revise your question now by selecting Actions, then Edit.&lt;/P&gt;&lt;P&gt;Finally,
if you're hoping to connect with readers, please consider adding a picture to
your profile. Here's how you do it: &lt;A href="https://www.youtube.com/watch?v=F5JdUbyjfMA&amp;amp;list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS"&gt;https://www.youtube.com/watch?v=F5JdUbyjfMA&amp;amp;list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS&lt;/A&gt;
. By personalizing your profile with a photo of you, you encourage readers to
respond.&lt;/P&gt;&lt;P&gt;Best
regards&lt;/P&gt;&lt;P&gt;Jennifer&lt;/P&gt;&lt;P&gt;SAP
Community moderator&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 19:22:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connect-weighbridge-using-sap-batch-command/m-p/12263577#M1987249</guid>
      <dc:creator>former_member34</dc:creator>
      <dc:date>2020-10-30T19:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Weighbridge using SAP batch command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connect-weighbridge-using-sap-batch-command/m-p/12263578#M1987250</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;abhipadwal4u&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;There is a powerful tool - report RSBDCOS0. It basically provides terminal windows to the OS.  Multiple OS commands can be entered into the report in a similar way it would be done in real OS terminal. &lt;/P&gt;&lt;P&gt;All commands executed from the report are logged into files on OS level by C command: C_WRITE_SYSLOG_ENTRY. &lt;/P&gt;&lt;P&gt;If you want to run some OS commands on automated basis then there is an option to create custom ABAP report. Such a report will run these OS commands via FM SXPG_COMMAND_EXECUTE. &lt;/P&gt;&lt;P&gt;
In case you have an issue to run OS commands in the RSBDCOS0. E.g. the report returns nothing just error code = 1. As very basic check is it is advisable to look whether an environment variable "ComSpec" is set. In case of WIN OS it should be set to value: ComSpec=C:\WINDOWS\system32\cmd.exe &lt;/P&gt;&lt;P&gt;This is a powerful tool, and it is not something to play with. Every user who uses it must be very well aware of what it actually doing.&lt;/P&gt;&lt;P&gt;Should this help to address your topic, please kindly accept the answer.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Luis &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 07:12:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connect-weighbridge-using-sap-batch-command/m-p/12263578#M1987250</guid>
      <dc:creator>Private_Member_467521</dc:creator>
      <dc:date>2020-11-01T07:12:44Z</dc:date>
    </item>
  </channel>
</rss>

