<?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: regarding background processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-processing/m-p/2621563#M602096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to these sample programs&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/rep_submit.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/rep_submit.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.kabai.com/abaps/z05.htm" target="test_blank"&gt;http://www.kabai.com/abaps/z05.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2007 05:24:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-30T05:24:07Z</dc:date>
    <item>
      <title>regarding background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-processing/m-p/2621562#M602095</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;i have developed a report in which huge amount of data is involved so i decided to execute in the background,,,for this i created the variant and for back ground i wrote this code but when i execute this it gives an error plz help me to solve this problem sud i change something in the variant or in the function module....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report given here::::&lt;/P&gt;&lt;P&gt;REPORT  ZBACKGROUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:job(32) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:count like btcevtjob-JOBCOUNT,&lt;/P&gt;&lt;P&gt;     teamit like TBTCJOB-AUTHCKNAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DELANFREP              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOBGROUP               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    JOBNAME                = JOB&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SDLSTRTDT              = NO_DATE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SDLSTRTTM              = NO_TIME&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOBCLASS               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   JOBCOUNT               = COUNT&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'JOB_SUBMIT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCPARAMS                         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    AUTHCKNAM                         = TEAMIT&lt;/P&gt;&lt;P&gt;    JOBCOUNT                          = COUNT&lt;/P&gt;&lt;P&gt;    JOBNAME                           = JOB&lt;/P&gt;&lt;P&gt;   REPORT                            = 'ZRAW_PRODUCTION_REPORT'&lt;/P&gt;&lt;P&gt;   VARIANT                           = 'ZRAW'&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    JOBCOUNT                          = COUNT&lt;/P&gt;&lt;P&gt;    JOBNAME                           = JOB.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error:::ShrtText&lt;/P&gt;&lt;P&gt;    Exception condition "INVALID_JOBDATA" raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    The current ABAP/4 program encountered an unexpected&lt;/P&gt;&lt;P&gt;    situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    A RAISE statement in the program "SAPLBTCH" raised the exception&lt;/P&gt;&lt;P&gt;    condition "INVALID_JOBDATA".&lt;/P&gt;&lt;P&gt;    Since the exception was not intercepted by a superior program&lt;/P&gt;&lt;P&gt;    in the hierarchy, processing was terminated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Short description of exception condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Error in Job Data, See SYSLOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    For detailed documentation of the exception condition, use&lt;/P&gt;&lt;P&gt;    Transaction SE37 (Function Library). You can take the called&lt;/P&gt;&lt;P&gt;    function module from the display of active calls.&lt;/P&gt;&lt;P&gt;    -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trigger Location of Runtime Error&lt;/P&gt;&lt;P&gt;    Program                                 SAPLBTCH&lt;/P&gt;&lt;P&gt;    Include                                 LBTCHU24&lt;/P&gt;&lt;P&gt;    Row                                     308&lt;/P&gt;&lt;P&gt;   Module type                             (FUNCTION)&lt;/P&gt;&lt;P&gt;   Module Name                             JOB_SUBMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ource Code Extract&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ine  SourceCde&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 278   GLOBAL_STEP_TBL-AUTHCKNAM = AUTHCKNAM.&lt;/P&gt;&lt;P&gt; 279   GLOBAL_STEP_TBL-STATUS    = BTC_SCHEDULED.&lt;/P&gt;&lt;P&gt; 280   MOVE-CORRESPONDING PRINT_PARAMS TO GLOBAL_STEP_TBL.&lt;/P&gt;&lt;P&gt; 281   MOVE-CORRESPONDING ARC_PARAMS TO GLOBAL_STEP_TBL.&lt;/P&gt;&lt;P&gt; 282   APPEND GLOBAL_STEP_TBL.&lt;/P&gt;&lt;P&gt; 283&lt;/P&gt;&lt;P&gt; 284   CALL FUNCTION 'BP_JOB_MODIFY'&lt;/P&gt;&lt;P&gt; 285     EXPORTING&lt;/P&gt;&lt;P&gt; 286       DIALOG              = DIALOG_FLAG&lt;/P&gt;&lt;P&gt; 287       JOBCOUNT            = GLOBAL_JOB-JOBCOUNT&lt;/P&gt;&lt;P&gt; 288       JOBNAME             = GLOBAL_JOB-JOBNAME&lt;/P&gt;&lt;P&gt; 289       NEW_JOBHEAD         = GLOBAL_JOB&lt;/P&gt;&lt;P&gt; 290       OPCODE              = BTC_MODIFY_WHOLE_JOB&lt;/P&gt;&lt;P&gt; 291     TABLES&lt;/P&gt;&lt;P&gt; 292       NEW_STEPLIST        = GLOBAL_STEP_TBL&lt;/P&gt;&lt;P&gt; 293     EXCEPTIONS&lt;/P&gt;&lt;P&gt; 294       CANT_ENQ_JOB        = 02&lt;/P&gt;&lt;P&gt; 295       INVALID_NEW_JOBDATA = 09&lt;/P&gt;&lt;P&gt; 296       OTHERS              = 99.&lt;/P&gt;&lt;P&gt; 297&lt;/P&gt;&lt;P&gt; 298   CASE SY-SUBRC.&lt;/P&gt;&lt;P&gt; 299     WHEN 0.&lt;/P&gt;&lt;P&gt;  300 *&lt;/P&gt;&lt;P&gt;  301 *     Stepnummer ermitteln&lt;/P&gt;&lt;P&gt;  302 *&lt;/P&gt;&lt;P&gt;  303       DESCRIBE TABLE GLOBAL_STEP_TBL LINES STEP_NUMBER.&lt;/P&gt;&lt;P&gt;  304&lt;/P&gt;&lt;P&gt;  305     WHEN 02.&lt;/P&gt;&lt;P&gt;  306       RAISE LOCK_FAILED.&lt;/P&gt;&lt;P&gt;  307     WHEN 09.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       RAISE INVALID_JOBDATA.&lt;/P&gt;&lt;P&gt;  309     WHEN OTHERS.&lt;/P&gt;&lt;P&gt;  310       RAISE JOB_SUBMIT_FAILED.&lt;/P&gt;&lt;P&gt;  311   ENDCASE.&lt;/P&gt;&lt;P&gt;  312&lt;/P&gt;&lt;P&gt;  313 ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 05:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-processing/m-p/2621562#M602095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T05:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: regarding background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-processing/m-p/2621563#M602096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to these sample programs&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/rep_submit.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/rep_submit.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.kabai.com/abaps/z05.htm" target="test_blank"&gt;http://www.kabai.com/abaps/z05.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 05:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-processing/m-p/2621563#M602096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T05:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: regarding background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-processing/m-p/2621564#M602097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx for ur help santosh but instead of sending url better to solve it by own that wud b better for u this is my suggestion for learing purpose..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 05:33:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-processing/m-p/2621564#M602097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T05:33:08Z</dc:date>
    </item>
  </channel>
</rss>

