<?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: Function Module 'SXPG_CALL_SYSTEM' giving dump, please advice.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sxpg-call-system-giving-dump-please-advice/m-p/4677368#M1099998</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; You have not caught the exception. Change the FM as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'SXPG_CALL_SYSTEM'
EXPORTING
commandname = wl_remote_copy "RCP
additional_parameters = wf_parameters
IMPORTING
status = btcxp3-exitstat
TABLES
exec_protocol = int_return_code 
 EXCEPTIONS
   NO_PERMISSION                    = 1
   COMMAND_NOT_FOUND                = 2
   PARAMETERS_TOO_LONG              = 3
   SECURITY_RISK                    = 4
   WRONG_CHECK_CALL_INTERFACE       = 5
   PROGRAM_START_ERROR              = 6
   PROGRAM_TERMINATION_ERROR        = 7
   X_ERROR                          = 8
   PARAMETER_EXPECTED               = 9
   TOO_MANY_PARAMETERS              = 10
   ILLEGAL_COMMAND                  = 11
   OTHERS                           = 12
          .
IF sy-subrc &amp;lt;&amp;gt; 0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2008 14:10:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-13T14:10:42Z</dc:date>
    <item>
      <title>Function Module 'SXPG_CALL_SYSTEM' giving dump, please advice..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sxpg-call-system-giving-dump-please-advice/m-p/4677367#M1099997</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;FM 'SXPG_CALL_SYSTEM' is giving dump with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'SXPG_CALL_SYSTEM'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;             commandname           = wl_remote_copy  "RCP&lt;/P&gt;&lt;P&gt;             additional_parameters = wf_parameters&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;             status                = btcxp3-exitstat&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;             exec_protocol         = int_return_code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following EXPORT parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;commandname = ZRCP&lt;/P&gt;&lt;P&gt;additional_parameters = &lt;/P&gt;&lt;P&gt;          /comm/send/work/VPOB1001 ctaadm@ctamsgsv:/comm/edi/out/VPOB1001.20081013084808&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not giving any values for status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM is giving dump at the following part of the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;000610          IF OPERATINGSYSTEM = SPACE .&lt;/P&gt;&lt;P&gt;000620              LOOP AT COMMAND_LIST WHERE OPSYSTEM = ANYOS .&lt;/P&gt;&lt;P&gt;000630                  OPERATINGSYSTEM = ANYOS .&lt;/P&gt;&lt;P&gt;000640                  EXIT.&lt;/P&gt;&lt;P&gt;000650              ENDLOOP.&lt;/P&gt;&lt;P&gt;000660          ENDIF.&lt;/P&gt;&lt;P&gt;000670       ENDIF.&lt;/P&gt;&lt;P&gt;000680&lt;/P&gt;&lt;P&gt;000690       IF OPERATINGSYSTEM = SPACE .&lt;/P&gt;&lt;P&gt;     &amp;gt;          RAISE COMMAND_NOT_FOUND .&lt;/P&gt;&lt;P&gt;000710       ENDIF.&lt;/P&gt;&lt;P&gt;000720&lt;/P&gt;&lt;P&gt;000730&lt;/P&gt;&lt;P&gt;000740       CALL FUNCTION 'SXPG_COMMAND_EXECUTE'&lt;/P&gt;&lt;P&gt;000750            EXPORTING&lt;/P&gt;&lt;P&gt;000760                 COMMANDNAME                = COMMANDNAME&lt;/P&gt;&lt;P&gt;000770                 OPERATINGSYSTEM            = OPERATINGSYSTEM&lt;/P&gt;&lt;P&gt;000780                 ADDITIONAL_PARAMETERS      = ADDITIONAL_PARAMETERS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 14:00:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sxpg-call-system-giving-dump-please-advice/m-p/4677367#M1099997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T14:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module 'SXPG_CALL_SYSTEM' giving dump, please advice..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sxpg-call-system-giving-dump-please-advice/m-p/4677368#M1099998</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; You have not caught the exception. Change the FM as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'SXPG_CALL_SYSTEM'
EXPORTING
commandname = wl_remote_copy "RCP
additional_parameters = wf_parameters
IMPORTING
status = btcxp3-exitstat
TABLES
exec_protocol = int_return_code 
 EXCEPTIONS
   NO_PERMISSION                    = 1
   COMMAND_NOT_FOUND                = 2
   PARAMETERS_TOO_LONG              = 3
   SECURITY_RISK                    = 4
   WRONG_CHECK_CALL_INTERFACE       = 5
   PROGRAM_START_ERROR              = 6
   PROGRAM_TERMINATION_ERROR        = 7
   X_ERROR                          = 8
   PARAMETER_EXPECTED               = 9
   TOO_MANY_PARAMETERS              = 10
   ILLEGAL_COMMAND                  = 11
   OTHERS                           = 12
          .
IF sy-subrc &amp;lt;&amp;gt; 0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 14:10:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sxpg-call-system-giving-dump-please-advice/m-p/4677368#M1099998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T14:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module 'SXPG_CALL_SYSTEM' giving dump, please advice..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sxpg-call-system-giving-dump-please-advice/m-p/4677369#M1099999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to define this command ZRCP in transaction SM69 and then you have to execute the function module 'SXPG_CALL_SYSTEM'  with the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naresh Ganesan on Oct 13, 2008 10:12 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 14:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sxpg-call-system-giving-dump-please-advice/m-p/4677369#M1099999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T14:11:52Z</dc:date>
    </item>
  </channel>
</rss>

