<?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 PROBLEM IN SXPG_COMMAND_EXECUTE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-sxpg-command-execute/m-p/2473788#M556589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can anyone solve my problem I m using function module to zip three excel sheet which were present in the application file and shell script is written accordingly.&lt;/P&gt;&lt;P&gt;But my query is this is working fine in Production and in development but it is failing in Quality with SU 53 screen shot showing auth. object S_RZL_ADM Object class BC_A with acticvity 01 is highlighted in red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does these are in correspondence with each other?&lt;/P&gt;&lt;P&gt; &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_zcompressall&lt;/P&gt;&lt;P&gt;      additional_parameters         = w_missingtargz&lt;/P&gt;&lt;P&gt;      stdout                                = c_x&lt;/P&gt;&lt;P&gt;      stderr                                 = c_x&lt;/P&gt;&lt;P&gt;      terminationwait                   = c_x&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      exec_protocol                 = w_protocol&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;&lt;/P&gt;&lt;P&gt;Here after executing the w_protocol is giving me two values &lt;/P&gt;&lt;P&gt; 1.Can't exec external program (No such file or directory)  &lt;/P&gt;&lt;P&gt; 2.External program terminated with exit code 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would please suggest me why it is happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;M jacks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2007 12:24:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-04T12:24:41Z</dc:date>
    <item>
      <title>PROBLEM IN SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-sxpg-command-execute/m-p/2473788#M556589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can anyone solve my problem I m using function module to zip three excel sheet which were present in the application file and shell script is written accordingly.&lt;/P&gt;&lt;P&gt;But my query is this is working fine in Production and in development but it is failing in Quality with SU 53 screen shot showing auth. object S_RZL_ADM Object class BC_A with acticvity 01 is highlighted in red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does these are in correspondence with each other?&lt;/P&gt;&lt;P&gt; &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_zcompressall&lt;/P&gt;&lt;P&gt;      additional_parameters         = w_missingtargz&lt;/P&gt;&lt;P&gt;      stdout                                = c_x&lt;/P&gt;&lt;P&gt;      stderr                                 = c_x&lt;/P&gt;&lt;P&gt;      terminationwait                   = c_x&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      exec_protocol                 = w_protocol&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;&lt;/P&gt;&lt;P&gt;Here after executing the w_protocol is giving me two values &lt;/P&gt;&lt;P&gt; 1.Can't exec external program (No such file or directory)  &lt;/P&gt;&lt;P&gt; 2.External program terminated with exit code 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would please suggest me why it is happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;M jacks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 12:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-sxpg-command-execute/m-p/2473788#M556589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T12:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN SXPG_COMMAND_EXECUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-sxpg-command-execute/m-p/2473789#M556590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;There is a Quality refresh happened which means the Production data overwrites the Quality In such case the path that is defined in SM69 of the external command Zcompressall got overwrite with the production path which is the reason for failing of the external command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;/P&gt;&lt;P&gt;Jacks M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 09:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-sxpg-command-execute/m-p/2473789#M556590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T09:07:24Z</dc:date>
    </item>
  </channel>
</rss>

