<?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: Query regarding SM58 execution in Background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-sm58-execution-in-background/m-p/6597339#M1436822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;               Please have a look on this thread thugh marked unanswered but the person found the solution himself.&lt;/P&gt;&lt;P&gt;Link:[SM58|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="682915"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;Hoping your query resolves soon.&lt;/P&gt;&lt;P&gt;Have a best day ahead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2010 05:19:06 GMT</pubDate>
    <dc:creator>gaursri</dc:creator>
    <dc:date>2010-02-11T05:19:06Z</dc:date>
    <item>
      <title>Query regarding SM58 execution in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-sm58-execution-in-background/m-p/6597338#M1436821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Please guide me whether SM58 can be scheduled in the background will automatically take care of LUW execution?&lt;/P&gt;&lt;P&gt;Or do i need to write a BDC for SM58 and execute the BDC in Background?&lt;/P&gt;&lt;P&gt;&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;Edited by: Sanjay_lnt on Feb 11, 2010 6:08 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sanjay_lnt on Feb 11, 2010 6:09 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 05:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-sm58-execution-in-background/m-p/6597338#M1436821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T05:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding SM58 execution in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-sm58-execution-in-background/m-p/6597339#M1436822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;               Please have a look on this thread thugh marked unanswered but the person found the solution himself.&lt;/P&gt;&lt;P&gt;Link:[SM58|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="682915"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;Hoping your query resolves soon.&lt;/P&gt;&lt;P&gt;Have a best day ahead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 05:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-sm58-execution-in-background/m-p/6597339#M1436822</guid>
      <dc:creator>gaursri</dc:creator>
      <dc:date>2010-02-11T05:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding SM58 execution in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-sm58-execution-in-background/m-p/6597340#M1436823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to submit RSARFCSE instead of writing bdc on sm58. If you check the code inside the SM58. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    when 'EXEC'.
      dbg = space.
      export dbg to memory  id '%_arfc_debug'.
      perform execute_line.
      perform redisplay.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;if you check the execute_line form&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
form execute_line.

  if acttid is initial.
    message e015.
  endif.
  %_reserv = arfcsstate-arfcreserv.    "Cast auf Struktur %_RESERV
  if %_reserv-mandt &amp;lt;&amp;gt; sy-mandt.
    message e040 with %_reserv-mandt.
  endif.

  if arfcsstate-arfcstate &amp;lt;&amp;gt; executed.
    if dbg &amp;lt;&amp;gt; space.
      select single * from rfcdes
        where rfcdest = arfcsstate-arfcdest.
      if ( sy-subrc = 0 and rfcdes-rfctype = 'T' ).
        message e361(sy) with rfcdes-rfctype.
      endif.
    endif.
    submit rsarfcse and return with tid = acttid
                               with forced = 'X'.
  elseif valid_line = space.
    message e015.
  else.
    message e016.
  endif.
endform.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 05:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-sm58-execution-in-background/m-p/6597340#M1436823</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2010-02-11T05:19:30Z</dc:date>
    </item>
  </channel>
</rss>

