<?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 Submit Report (Regarding Background Processing) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839765#M1317773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want help regarding Background Processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a program which is running fine in forground but in Background mode no values are comming.&lt;/P&gt;&lt;P&gt;All values are becomig Zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*--- Submit Report for 'COGI' (Postprocessing of Error Records from Automatic Goods Movements)
  SUBMIT coruaffw USING SELECTION-SCREEN '1000'
                  WITH  r_cumul = 'X'
                  EXPORTING LIST TO MEMORY
                AND RETURN.

*---- Get the List
  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = it_list_tab
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.

  IF sy-subrc = 0.

*--- Convert to Ascii
    CALL FUNCTION 'LIST_TO_ASCI'
      TABLES
        listobject         = it_list_tab
        listasci           = it_asci_tab
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.

    IF sy-subrc &amp;lt;&amp;gt; 0.
*      MESSAGE i000 WITH 'Problem in converting LIST to ASCII'.
    ENDIF.

    DESCRIBE TABLE it_asci_tab LINES w_cogi.

    w_cogi = w_cogi - 5.

  CALL FUNCTION 'LIST_FREE_MEMORY'
    TABLES
      listobject = it_list_tab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2009 04:44:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-06T04:44:24Z</dc:date>
    <item>
      <title>Submit Report (Regarding Background Processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839765#M1317773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want help regarding Background Processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a program which is running fine in forground but in Background mode no values are comming.&lt;/P&gt;&lt;P&gt;All values are becomig Zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*--- Submit Report for 'COGI' (Postprocessing of Error Records from Automatic Goods Movements)
  SUBMIT coruaffw USING SELECTION-SCREEN '1000'
                  WITH  r_cumul = 'X'
                  EXPORTING LIST TO MEMORY
                AND RETURN.

*---- Get the List
  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = it_list_tab
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.

  IF sy-subrc = 0.

*--- Convert to Ascii
    CALL FUNCTION 'LIST_TO_ASCI'
      TABLES
        listobject         = it_list_tab
        listasci           = it_asci_tab
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.

    IF sy-subrc &amp;lt;&amp;gt; 0.
*      MESSAGE i000 WITH 'Problem in converting LIST to ASCII'.
    ENDIF.

    DESCRIBE TABLE it_asci_tab LINES w_cogi.

    w_cogi = w_cogi - 5.

  CALL FUNCTION 'LIST_FREE_MEMORY'
    TABLES
      listobject = it_list_tab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 04:44:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839765#M1317773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T04:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report (Regarding Background Processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839766#M1317774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arbind,&lt;/P&gt;&lt;P&gt;               Try using follwing addition &lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;USING SELECTION-SCREEN DYNNR&lt;/P&gt;&lt;P&gt;VIA SELECTION -SCREEN&lt;/P&gt;&lt;P&gt;selscreen_parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extras: &lt;/P&gt;&lt;P&gt;1. ... USING SELECTION-SCREEN dynnr &lt;/P&gt;&lt;P&gt;2. ... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further more the background job selection has to be configured properly try using background job creation wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it provides you the desired output of the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a best day ahead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 05:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839766#M1317774</guid>
      <dc:creator>gaursri</dc:creator>
      <dc:date>2009-07-06T05:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report (Regarding Background Processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839767#M1317775</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;Actually in foregroung report is giving the correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my doubt is whether Sumbit Report with Export List to Memory will work in background processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 06:19:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839767#M1317775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T06:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report (Regarding Background Processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839768#M1317776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plz help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Arbind Prasad on Jul 6, 2009 6:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 06:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839768#M1317776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T06:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report (Regarding Background Processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839769#M1317777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyhow if I am Exporting List to Memory and the going FOr background Processing it's not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 12:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839769#M1317777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T12:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report (Regarding Background Processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839770#M1317778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arbind,&lt;/P&gt;&lt;P&gt;              You have used return you need to add the addition with.Try this way hope it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT zreport EXPORTING LIST TO MEMORY
                AND RETURN
                WITH P_1 = P_1
                WITH P_2 = P_2
                WITH P_3 = P_3
                WITH S_4  IN S_4
                WITH S_5 IN S_5
                WITH S_6 IN S_6.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 05:13:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839770#M1317778</guid>
      <dc:creator>gaursri</dc:creator>
      <dc:date>2009-07-08T05:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report (Regarding Background Processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839771#M1317779</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;Thanks but I have used with and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a lot and I  think Export to Memory will not be working during  background Processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u have any hint to submit a report and get the data and disply it using write list .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that goto SM36 and then try to execute from there then all values will become Zero .&lt;/P&gt;&lt;P&gt;Plz try it once what i have done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz let me know for some solutions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 06:24:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839771#M1317779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T06:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report (Regarding Background Processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839772#M1317780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to try the Export and Import Statements in your programs.  Say for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Export statement in your main program.&lt;/P&gt;&lt;P&gt;Export gt_txtedit to memory ID 'STE'. (Example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then in the submit program use the Import Statement.&lt;/P&gt;&lt;P&gt;Import gt_txtedit from memory ID 'STE'. (Example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;rama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 07:23:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839772#M1317780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T07:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report (Regarding Background Processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839773#M1317781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can assure you that SUBMIT ... EXPORTING LIST TO MEMORY ... and calling LIST_FROM_MEMORY works OK in background. In my case here I am not using LIST_TO_ASCI though but instead WRITE_LIST to display the list.&lt;/P&gt;&lt;P&gt;So maybe LIST_TO_ASCI has a problem in background, but I cannot imagine why. You would have to investigate further.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 07:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839773#M1317781</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-07-08T07:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report (Regarding Background Processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839774#M1317782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, List yo ASCI is having Probelm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the requirement is Submit a report get the Values in Internal Tables Just i have to count how many rows are there and &lt;/P&gt;&lt;P&gt;then I have to display the no.of Counts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose for VFX3 there are 3 no. of lines then I have to display only 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But the code has to be run in background .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 08:49:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-regarding-background-processing/m-p/5839774#M1317782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T08:49:18Z</dc:date>
    </item>
  </channel>
</rss>

