<?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 CALL_FUNCTION_REMOTE_ERROR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-remote-error/m-p/7754619#M1582976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a requirement where we need to scehule 1 program in APO and as soon as it is finished need to scehdule another job in ECC system for program 'RMMRP000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have done:&lt;/P&gt;&lt;P&gt;1. Create a RFC function module in ECC system which will create job for program 'RMMRP000'.&lt;/P&gt;&lt;P&gt;2. Call this RFC in APO system in a report and schedule the same as next step of the APO job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem: When RFC is getting called from APO in ECC i m getting error 'CALL_FUNCTION_REMOTE_ERROR' because of SYSTEM FAILURE exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Up on more analysis I could find that this happened as there was a warning message while program execution in ECC, which has caused the problem. As per the functional this warning message cannot be suppressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could some one please suggest if my approach is correct or there needs to be some logic implemented to override the warning message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arvind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2011 10:40:52 GMT</pubDate>
    <dc:creator>arvind_soni</dc:creator>
    <dc:date>2011-04-04T10:40:52Z</dc:date>
    <item>
      <title>CALL_FUNCTION_REMOTE_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-remote-error/m-p/7754619#M1582976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a requirement where we need to scehule 1 program in APO and as soon as it is finished need to scehdule another job in ECC system for program 'RMMRP000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have done:&lt;/P&gt;&lt;P&gt;1. Create a RFC function module in ECC system which will create job for program 'RMMRP000'.&lt;/P&gt;&lt;P&gt;2. Call this RFC in APO system in a report and schedule the same as next step of the APO job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem: When RFC is getting called from APO in ECC i m getting error 'CALL_FUNCTION_REMOTE_ERROR' because of SYSTEM FAILURE exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Up on more analysis I could find that this happened as there was a warning message while program execution in ECC, which has caused the problem. As per the functional this warning message cannot be suppressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could some one please suggest if my approach is correct or there needs to be some logic implemented to override the warning message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arvind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 10:40:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-remote-error/m-p/7754619#M1582976</guid>
      <dc:creator>arvind_soni</dc:creator>
      <dc:date>2011-04-04T10:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: CALL_FUNCTION_REMOTE_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-remote-error/m-p/7754620#M1582977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error occured for me because of Submit report used. Below code worked correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Open for background job&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;      jobname   = lv_jobname&lt;/P&gt;&lt;P&gt;      sdlstrtdt = sy-datum&lt;/P&gt;&lt;P&gt;      sdlstrttm = lv_time&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;      jobcount = lv_jobcount&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;      cant_create_job        = 1&lt;/P&gt;&lt;P&gt;      invalid_job_data       = 2&lt;/P&gt;&lt;P&gt;      jobname_missing        = 3&lt;/P&gt;&lt;P&gt;      OTHERS                 = 4.          .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'JOB_SUBMIT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    authcknam                         = sy-uname&lt;/P&gt;&lt;P&gt;    jobcount                          = lv_jobcount&lt;/P&gt;&lt;P&gt;    jobname                           = lv_jobname&lt;/P&gt;&lt;P&gt;    report                            = 'XXXXXXXX'&lt;/P&gt;&lt;P&gt;    variant                           = iv_variant&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   bad_priparams                     = 1&lt;/P&gt;&lt;P&gt;   bad_xpgflags                      = 2&lt;/P&gt;&lt;P&gt;   invalid_jobdata                   = 3&lt;/P&gt;&lt;P&gt;   jobname_missing                   = 4&lt;/P&gt;&lt;P&gt;   job_notex                         = 5&lt;/P&gt;&lt;P&gt;   job_submit_failed                 = 6&lt;/P&gt;&lt;P&gt;   lock_failed                       = 7&lt;/P&gt;&lt;P&gt;   program_missing                   = 8&lt;/P&gt;&lt;P&gt;   prog_abap_and_extpg_set           = 9&lt;/P&gt;&lt;P&gt;   OTHERS                            = 10&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Close Job&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL FUNCTION 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          jobname           = lv_jobname&lt;/P&gt;&lt;P&gt;          jobcount          = lv_jobcount&lt;/P&gt;&lt;P&gt;          strtimmed         = 'X'&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          invalid_startdate = 1&lt;/P&gt;&lt;P&gt;          jobname_missing   = 2&lt;/P&gt;&lt;P&gt;          job_close_failed  = 3&lt;/P&gt;&lt;P&gt;          job_nosteps       = 4&lt;/P&gt;&lt;P&gt;          job_notex         = 5&lt;/P&gt;&lt;P&gt;          lock_failed       = 6&lt;/P&gt;&lt;P&gt;          OTHERS            = 99.&lt;/P&gt;&lt;P&gt;        IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 18:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-remote-error/m-p/7754620#M1582977</guid>
      <dc:creator>arvind_soni</dc:creator>
      <dc:date>2011-04-04T18:45:14Z</dc:date>
    </item>
  </channel>
</rss>

