<?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 Interface Run in the Background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-run-in-the-background/m-p/6077486#M1356412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requriement where the Interface has the ALV output where the user is allowed the user activity for validating and posting the records through buttons on the ALV after selecting the records through the checkboxes , Now I want to execute the interface in the background, is that possible with the current scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Jatender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2009 05:36:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-25T05:36:44Z</dc:date>
    <item>
      <title>Interface Run in the Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-run-in-the-background/m-p/6077486#M1356412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requriement where the Interface has the ALV output where the user is allowed the user activity for validating and posting the records through buttons on the ALV after selecting the records through the checkboxes , Now I want to execute the interface in the background, is that possible with the current scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Jatender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 05:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-run-in-the-background/m-p/6077486#M1356412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T05:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Interface Run in the Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-run-in-the-background/m-p/6077487#M1356413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;you can use this code for the baground&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


DATA: JOBNAME LIKE TBTCJOB-JOBNAME VALUE
                             'ORDER_REPORT'.
DATA: JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
      HOST LIKE MSXXLIST-HOST.
DATA: BEGIN OF STARTTIME.
        INCLUDE STRUCTURE TBTCSTRT.
DATA: END OF STARTTIME.
DATA: STARTTIMEIMMEDIATE LIKE BTCH0000-CHAR1.

* Job open
  CALL FUNCTION 'JOB_OPEN'
       EXPORTING
            DELANFREP        = ' '
            JOBGROUP         = ' '
            JOBNAME          = JOBNAME
            SDLSTRTDT        = SY-DATUM
            SDLSTRTTM        = SY-UZEIT
       IMPORTING
            JOBCOUNT         = JOBCOUNT
       EXCEPTIONS
            CANT_CREATE_JOB  = 01
            INVALID_JOB_DATA = 02
            JOBNAME_MISSING  = 03.
  IF SY-SUBRC NE 0.
                                       "error processing
  ENDIF.


SUBMIT ZPRODREC02 AND RETURN  VIA SELECTION-SCREEN
                   USER SY-UNAME
                   VIA JOB JOBNAME
                   NUMBER JOBCOUNT.
  IF SY-SUBRC &amp;gt; 0.
                                       "error processing
  ENDIF.

 DATA: JOB_RELEASED LIKE BTCH0000-CHAR1.

 CALL FUNCTION 'JOB_CLOSE'
       EXPORTING
            JOBCOUNT         = JOBCOUNT
            JOBNAME          = JOBNAME
            STRTIMMED        = 'X'
       IMPORTING
            JOB_WAS_RELEASED = JOB_RELEASED
       EXCEPTIONS
            OTHERS           = 99.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;nawa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 05:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-run-in-the-background/m-p/6077487#M1356413</guid>
      <dc:creator>Nawanandana</dc:creator>
      <dc:date>2009-08-25T05:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Interface Run in the Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-run-in-the-background/m-p/6077488#M1356414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jatender,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use CALL FUNCTION 'JOB_SUBMIT' to submit the interface in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 05:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-run-in-the-background/m-p/6077488#M1356414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T05:51:27Z</dc:date>
    </item>
  </channel>
</rss>

