<?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: Dump occuring in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384632#M1643191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you provide the final itab declarations, layout population , so that i can compare it with a sample program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in background its only display nothing else works. so you can simply call it like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if sy-batch = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_buffer_active = 'X'
i_callback_program = 'Z_SD_SALESDISP'
it_fieldcat = l_fieldcat "Populate the fieldcat with only the fields to be displayes avoiding the checkboxes
TABLES
t_outtab = it_back_data " A new internal table without the checkbox field
EXCEPTIONS
program_error = 1
OTHERS = 2.
else.
"Your previous function call
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2011 09:56:27 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2011-11-17T09:56:27Z</dc:date>
    <item>
      <title>Dump occuring in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384625#M1643184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;i am getting a dump while executing a custom program in background. I use "Reuse_alv_grid_display" and everything works fine in foreground . While executing the program in background, i get dump - GETWA_NOT_ASSIGNED. To the best of my knowledge, the dump is occuring because of some blank field catalog values. The fields in field cataog and table are different. Example. there are 20 fields in field catalog and 25 fields in the internal table structure. I am assuimg that this to be the reason for the dump. My concern is, if that is the reason for the dump then why is it not occuring in foreground and only in background.&lt;/P&gt;&lt;P&gt;Can someone help pls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 05:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384625#M1643184</guid>
      <dc:creator>former_member182337</dc:creator>
      <dc:date>2011-11-17T05:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dump occuring in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384626#M1643185</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;Please provide more details, Your itab structure and the layout properties used and how you call the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 06:11:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384626#M1643185</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-11-17T06:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dump occuring in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384627#M1643186</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 find below the layout properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; u_lf_layout-box_fieldname       = 'SELK'.  &lt;/P&gt;&lt;P&gt;  u_lf_layout-zebra               =  ' '.   &lt;/P&gt;&lt;P&gt;  u_lf_layout-zebra               =  ' '.   &lt;/P&gt;&lt;P&gt;  u_lf_layout-get_selinfos        = 'X'.&lt;/P&gt;&lt;P&gt;  u_lf_layout-f2code              =  'BEAN' .&lt;/P&gt;&lt;P&gt;  u_lf_layout-confirmation_prompt = 'X'. &lt;/P&gt;&lt;P&gt;  u_lf_layout-key_hotspot         = 'X'.      &lt;/P&gt;&lt;P&gt;  u_lf_layout-info_fieldname      = 'COL'.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not OOPS alv . I am using  REUSE_ALV_GRID_DISPLAY to display the output. I am filling the field catalog and then passing the internal table (T_DATA)to this FM.  The no. of fields is higher in the internal table when compared to the list of fields in field catalog but in foreground i do not receive this dump.Do you want me to share all the field details as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_buffer_active         = 'X'&lt;/P&gt;&lt;P&gt;      i_callback_program      = 'Z_SD_SALESDISP'&lt;/P&gt;&lt;P&gt;      i_callback_user_command = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;      i_background_id         = 'ALV_BACKGROUND'&lt;/P&gt;&lt;P&gt;      is_layout               = l_layout&lt;/P&gt;&lt;P&gt;      it_fieldcat             = l_fieldcat&lt;/P&gt;&lt;P&gt;      i_save                  = 'A'&lt;/P&gt;&lt;P&gt;      is_variant              = is_variant&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab                = t_data&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      program_error           = 1&lt;/P&gt;&lt;P&gt;      OTHERS                  = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 06:31:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384627#M1643186</guid>
      <dc:creator>former_member182337</dc:creator>
      <dc:date>2011-11-17T06:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dump occuring in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384628#M1643187</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;&lt;/P&gt;&lt;P&gt; Please check with all FIeld name  provided in fieldcat is correct (spelling)  and  in CAPITAL letters  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 06:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384628#M1643187</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-11-17T06:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dump occuring in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384629#M1643188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think its because of this u_lf_layout-box_fieldname = 'SELK'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if its executed in background using &lt;STRONG&gt;sy-batch&lt;/STRONG&gt; then don't pass anything to this field and also remove that field from your field catalouge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also dont see the &lt;STRONG&gt;repid&lt;/STRONG&gt; passed to the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 06:50:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384629#M1643188</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-11-17T06:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dump occuring in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384630#M1643189</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;what did you write code for 'ALV_BACKGROUND' in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check it or provide ur code. we will get some idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 07:28:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384630#M1643189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-17T07:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dump occuring in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384631#M1643190</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;All the field names are in caps. If they are not,won't it cause a dump in foreground as well? It works fine in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I commented the line u_lf_layout-box_fieldname       = 'SELK'.  I still get the dump in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no code logic written for 'ALV_BACKGROUND'. This program is actually created by someone else and it has come to me for bug correction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 09:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384631#M1643190</guid>
      <dc:creator>former_member182337</dc:creator>
      <dc:date>2011-11-17T09:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dump occuring in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384632#M1643191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you provide the final itab declarations, layout population , so that i can compare it with a sample program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in background its only display nothing else works. so you can simply call it like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if sy-batch = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_buffer_active = 'X'
i_callback_program = 'Z_SD_SALESDISP'
it_fieldcat = l_fieldcat "Populate the fieldcat with only the fields to be displayes avoiding the checkboxes
TABLES
t_outtab = it_back_data " A new internal table without the checkbox field
EXCEPTIONS
program_error = 1
OTHERS = 2.
else.
"Your previous function call
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 09:56:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384632#M1643191</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-11-17T09:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dump occuring in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384633#M1643192</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;You can't use ALV grid in background run.For background use ALV list display.&lt;/P&gt;&lt;P&gt;you can make a decision using sy-batch in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Alok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 12:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384633#M1643192</guid>
      <dc:creator>alok_patra</dc:creator>
      <dc:date>2011-11-17T12:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dump occuring in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384634#M1643193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works. The issue was due to incorrect field name in field catalog. Thanks all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 05:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384634#M1643193</guid>
      <dc:creator>former_member182337</dc:creator>
      <dc:date>2011-12-20T05:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dump occuring in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384635#M1643194</link>
      <description>&lt;P&gt;thank you sir. it's been solved&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 03:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-occuring-in-background/m-p/8384635#M1643194</guid>
      <dc:creator>former_member732290</dc:creator>
      <dc:date>2021-04-20T03:57:51Z</dc:date>
    </item>
  </channel>
</rss>

