<?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: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046680#M1501472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suhas gave a better answer, in my answer I didn't think to SE37 case checkbox (Yaniv told us since the beginning his question was about SE37). Well when he wrote the ABAP program, he should have seen that "Linux" worked while "LINUX" didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the point system has to point out the interesting answers so that to help people who seek for solutions about "COMMAND_NOT_FOUND SXPG_COMMAND_EXECUTE". Mine is interesting to see, and it's short to understand what the issue is &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; and Suhas's answer is about SE37 checkbox. Things are corrected now, thank you Yaniv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last thing, so many people don't understand what the point system is for, that I gave up telling them. And I don't help people anymore who don't respect the rules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jul 2010 07:45:37 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2010-07-07T07:45:37Z</dc:date>
    <item>
      <title>Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046657#M1501449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am testing FM:  SXPG_COMMAND_EXECUTE (using SE37) with a Customer OS Command that I created in SM69.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, the FM returns exception: COMMAND_NOT_FOUND. However, when I user T-code: SM69 to exexcute the OS command (with the same parameters) - everything is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some different way to use FM: SXPG_COMMAND_EXECUTE ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yaniv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jul 2010 08:44:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046657#M1501449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-04T08:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046658#M1501450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you programmed SXPG_COMMAND_EXECUTE incorrectly, but difficult to say without seeing your code!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this example: &lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Creation" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Creation&lt;/A&gt;&lt;EM&gt;of&lt;/EM&gt;External&lt;EM&gt;Commands&lt;/EM&gt;with&lt;EM&gt;the&lt;/EM&gt;help&lt;EM&gt;of&lt;/EM&gt;UNIX&lt;EM&gt;Coding&lt;/EM&gt;in+SAP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 13:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046658#M1501450</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-07-05T13:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046659#M1501451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I implemented the example program in the link that you attached but still - the Function Module doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I debug the program, the function module is not executed. Instead other function  module is executed (I don't know why) and ends up doing nothing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yaniv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 14:04:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046659#M1501451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-05T14:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046660#M1501452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you define the external command in SM69 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 14:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046660#M1501452</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-05T14:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046661#M1501453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I created it in SM69.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when I execute it in SM69 (or SM49) everything is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception COMMAND_NOT_FOUND occures only when I use the FM in SE37 (I also made sure that the parameters that I use with the FM in se37 are OK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yaniv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 14:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046661#M1501453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-05T14:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046662#M1501454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; but difficult to say without seeing your code&lt;/P&gt;&lt;P&gt;Same remark again...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 14:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046662#M1501454</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-07-05T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046663#M1501455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's my code: (sorry for the bad styling)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZBW_TEST_OS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: c_extcom    TYPE sxpgcolist-name VALUE 'ZBW_TEST_LS',&lt;/P&gt;&lt;P&gt;           c_oper      TYPE syopsys VALUE 'LINUX'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: v_dir_input      TYPE sxpgcolist-parameters.  " Input Directory&lt;/P&gt;&lt;P&gt;DATA: t_result         TYPE STANDARD TABLE OF btcxpm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_dir_input = '/scripts/'.&lt;/P&gt;&lt;P&gt;break yanivf.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SXPG_COMMAND_EXECUTE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    commandname                   = c_extcom&lt;/P&gt;&lt;P&gt;    additional_parameters         = v_dir_input&lt;/P&gt;&lt;P&gt;    operatingsystem               = c_oper&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    exec_protocol                 = t_result&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    no_permission                 = 1&lt;/P&gt;&lt;P&gt;    command_not_found             = 2&lt;/P&gt;&lt;P&gt;    parameters_too_long           = 3&lt;/P&gt;&lt;P&gt;    security_risk                 = 4&lt;/P&gt;&lt;P&gt;    wrong_check_call_interface    = 5&lt;/P&gt;&lt;P&gt;    program_start_error           = 6&lt;/P&gt;&lt;P&gt;    program_termination_error     = 7&lt;/P&gt;&lt;P&gt;    x_error                       = 8&lt;/P&gt;&lt;P&gt;    parameter_expected            = 9&lt;/P&gt;&lt;P&gt;    too_many_parameters           = 10&lt;/P&gt;&lt;P&gt;    illegal_command               = 11&lt;/P&gt;&lt;P&gt;    wrong_asynchronous_parameters = 12&lt;/P&gt;&lt;P&gt;    cant_enq_tbtco_entry          = 13&lt;/P&gt;&lt;P&gt;    jobcount_generation_error     = 14&lt;/P&gt;&lt;P&gt;    OTHERS                        = 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_result = t_result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 14:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046663#M1501455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-05T14:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046664#M1501456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I debugged &amp;amp; found the source of the exception to be a subroutine &lt;STRONG&gt;command_check_if_exists&lt;/STRONG&gt; in the include LSXPTF06.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the tables SXPGCOTABE &amp;amp; SXPGCOSTAB, your command has to be maintained in either one of them. Else you get this EXCEPTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Is the command 'ZBW_TEST_LS' maintained for the operating system 'LINUX' ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 14:43:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046664#M1501456</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-05T14:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046665#M1501457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked table SXPGCOSTAB (Customer OS commands) and it is maintained with my OS command for Operating system Linux.&lt;/P&gt;&lt;P&gt;(I would like to remind that when I execute the command from SM69 - everything is OK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yaniv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 14:48:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046665#M1501457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-05T14:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046666#M1501458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must enter "Linux" in lower case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 15:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046666#M1501458</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-07-05T15:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046667#M1501459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used 'SXPG_CALL_SYSTEM' function once to call a unix script&lt;/P&gt;&lt;P&gt;it was successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SM49 and the function 'SXPG_CALL_SYSTEM' works identically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you should try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bulent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bulent Balci on Jul 5, 2010 9:36 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 15:30:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046667#M1501459</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2010-07-05T15:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046668#M1501460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;execute them both in debug and try to detect a differerence in the behaviour between SM69 and SXPG_COMMAND_EXECUTE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 03:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046668#M1501460</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2010-07-06T03:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046669#M1501461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I debugged the function module in 2 different modes:&lt;/P&gt;&lt;P&gt;1. Executing the OS command using SM69&lt;/P&gt;&lt;P&gt;2. Executing the OS command using the FM in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference was in the execution of FM SXPG_COMMAND_GET:&lt;/P&gt;&lt;P&gt;1. In SM69 - it was executed OK (when I hit F5 in the debugger, I enter the FM)  with return code 0&lt;/P&gt;&lt;P&gt;2. In SE37 - It was not executed (when I hit F5 in the debugger, the FM was skipped... and return code 801.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone has an idea???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yaniv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 05:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046669#M1501461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-06T05:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046670#M1501462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check passing  the OS value as &lt;STRONG&gt;Linux&lt;/STRONG&gt; instead of &lt;STRONG&gt;LINUX&lt;/STRONG&gt; as suggested by Sandra Rossi .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 07:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046670#M1501462</guid>
      <dc:creator>vattekrishna</dc:creator>
      <dc:date>2010-07-06T07:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046671#M1501463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The domain SYOPSYS is case sensitive, so if you pass LINUX instead of 'Linux', the select from the tables SXPGCOTABE (and / or SXPGCOSTAB) will fail. You need to provide the Oper. Syst. name in correct case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;1. In SM69 - it was executed OK (when I hit F5 in the debugger, I enter the FM) with return code 0&lt;/P&gt;&lt;P&gt;2. In SE37 - It was not executed (when I hit F5 in the debugger, the FM was skipped... and return code 801.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In SE37 while executing the function module check the "Uppercase / Lowecase" checkbox &amp;amp; execute the FM. It should work fine &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now since we are discussing the topic. Can anyone tell why would SAP provide 2 similar FMs (SXPG_CALL_SYSTEM &amp;amp; SXPG_COMMAND_EXECUTE) doing the same job (&amp;amp; both are "Released" too) ? This is kind of redundant for me ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jul 6, 2010 1:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 07:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046671#M1501463</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-06T07:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046672#M1501464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please don't repeat, let him think and find by himself (he'll learn).&lt;/P&gt;&lt;P&gt;Note: I updated the wiki to warn about the case sensitivity of the operatingsystem field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 08:06:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046672#M1501464</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-07-06T08:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046673#M1501465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too don't like to spoonfeed. But to give an insight why the &lt;STRONG&gt;OP's test in SE37 was failing&lt;/STRONG&gt;, i had to give the insight &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 08:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046673#M1501465</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-06T08:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046674#M1501466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(as you could imagine by looking at my answers, I didn't even think to that little checkbox of SE37 test mode)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 08:23:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046674#M1501466</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-07-06T08:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046675#M1501467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I didn't even think to that little checkbox of SE37 test mode&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a matter of fact most of us don't &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 08:26:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046675#M1501467</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-06T08:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exception COMMAND_NOT_FOUND at SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046676#M1501468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The case sensitivity check-box worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everybody for the guiding tips ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaniv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 09:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-command-not-found-at-sxpg-command-execute/m-p/7046676#M1501468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-06T09:18:58Z</dc:date>
    </item>
  </channel>
</rss>

