<?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: ALV Run time error ! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078655#M1970653</link>
    <description>&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;Please share the dump details also before share to correct fieldcatlog values in capital letter ( ex. fieldname, tabname etc., )&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2020 07:53:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-01-02T07:53:54Z</dc:date>
    <item>
      <title>ALV Run time error !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078653#M1970651</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;
TABLES mara.

TYPE-POOLS:slis.



TYPES: BEGIN OF manoj,

         client    TYPE usr02-mandt,

         name      TYPE usr02-bname,

         validfrom TYPE usr02-gltgv,

         validto   TYPE usr02-gltgb,

         userlock  TYPE usr02-uflag,

       END OF manoj.





DATA : it      TYPE TABLE OF manoj,

       wa      TYPE manoj,

       it_fcat TYPE slis_t_fieldcat_alv,

       wa_fcat LIKE LINE OF it_fcat.





PARAMETERS name TYPE usr02-bname.



SELECT mandt bname gltgv gltgb uflag FROM usr02 INTO TABLE it WHERE bname = name.



wa_fcat-col_pos = '1' .

wa_fcat-fieldname = 'mandt' .

wa_fcat-tabname = 'it' .

wa_fcat-seltext_m = 'client' .

wa_fcat-key = 'X' .

wa_fcat-hotspot = 'X' .

APPEND wa_fcat TO it_fcat .

CLEAR wa_fcat .



wa_fcat-col_pos = '2' .

wa_fcat-fieldname = 'bname' .

wa_fcat-tabname = 'IT' .

wa_fcat-seltext_m = 'name' .

wa_fcat-hotspot = 'X' .

APPEND wa_fcat TO it_fcat .

CLEAR wa_fcat .



wa_fcat-col_pos = '3' .

wa_fcat-fieldname = 'gltgv' .

wa_fcat-tabname = 'IT' .

wa_fcat-seltext_m = 'validfrom' .

wa_fcat-hotspot = 'X' .

APPEND wa_fcat TO it_fcat .

CLEAR wa_fcat .







wa_fcat-col_pos = '4' .

wa_fcat-fieldname = 'gltgb' .

wa_fcat-tabname = 'IT' .

wa_fcat-seltext_m = 'validto' .

wa_fcat-hotspot = 'X' .

APPEND wa_fcat TO it_fcat .

CLEAR wa_fcat .



wa_fcat-col_pos = '5' .

wa_fcat-fieldname = 'uflag' .

wa_fcat-tabname = 'IT' .

wa_fcat-seltext_m = 'lock' .

wa_fcat-hotspot = 'X' .

APPEND wa_fcat TO it_fcat .

CLEAR wa_fcat .



CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

  EXPORTING

    i_callback_program = sy-repid

    it_fieldcat        = it_fcat

  TABLES

    t_outtab           = it.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jan 2020 07:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078653#M1970651</guid>
      <dc:creator>former_member622718</dc:creator>
      <dc:date>2020-01-02T07:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Run time error !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078654#M1970652</link>
      <description>&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;BR /&gt;
*&amp;amp; Report Z_TEST_1&lt;BR /&gt;
*&amp;amp;---------------------------------------------------------------------*&lt;BR /&gt;
*&amp;amp;&lt;BR /&gt;
*&amp;amp;---------------------------------------------------------------------*&lt;BR /&gt;
REPORT Z_TEST_VEDA1.&lt;BR /&gt;
&lt;BR /&gt;
TABLES mara.&lt;BR /&gt;
&lt;BR /&gt;
TYPE-POOLS:slis.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
TYPES: BEGIN OF manoj,&lt;BR /&gt;
&lt;BR /&gt;
 client TYPE usr02-mandt,&lt;BR /&gt;
&lt;BR /&gt;
 name TYPE usr02-bname,&lt;BR /&gt;
&lt;BR /&gt;
 validfrom TYPE usr02-gltgv,&lt;BR /&gt;
&lt;BR /&gt;
 validto TYPE usr02-gltgb,&lt;BR /&gt;
&lt;BR /&gt;
 userlock TYPE usr02-uflag,&lt;BR /&gt;
&lt;BR /&gt;
 END OF manoj.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
DATA : it TYPE TABLE OF manoj,&lt;BR /&gt;
&lt;BR /&gt;
 wa TYPE manoj,&lt;BR /&gt;
&lt;BR /&gt;
 it_fcat TYPE slis_t_fieldcat_alv,&lt;BR /&gt;
&lt;BR /&gt;
 wa_fcat LIKE LINE OF it_fcat.&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
PARAMETERS name TYPE usr02-bname.&lt;BR /&gt;&lt;BR /&gt;
SELECT mandt bname gltgv gltgb uflag FROM usr02 INTO TABLE it WHERE bname = name.&lt;BR /&gt;&lt;BR /&gt;
wa_fcat-col_pos = '1' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-fieldname = 'CLIENT' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-tabname = 'IT' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-seltext_m = 'CLIENT' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-key = 'X' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-hotspot = 'X' .&lt;BR /&gt;
&lt;BR /&gt;
APPEND wa_fcat TO it_fcat .&lt;BR /&gt;
&lt;BR /&gt;
CLEAR wa_fcat .&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-col_pos = '2' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-fieldname = 'NAME' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-tabname = 'IT' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-seltext_m = 'NAME' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-hotspot = 'X' .&lt;BR /&gt;
&lt;BR /&gt;
APPEND wa_fcat TO it_fcat .&lt;BR /&gt;
&lt;BR /&gt;
CLEAR wa_fcat .&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
wa_fcat-col_pos = '3' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-fieldname = 'VAlIDFROM' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-tabname = 'IT' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-seltext_m = 'VAlIDFROM' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-hotspot = 'X' .&lt;BR /&gt;
&lt;BR /&gt;
APPEND wa_fcat TO it_fcat .&lt;BR /&gt;
&lt;BR /&gt;
CLEAR wa_fcat .&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
wa_fcat-col_pos = '4' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-fieldname = 'VALIDTO' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-tabname = 'IT' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-seltext_m = 'VALIDTO' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-hotspot = 'X' .&lt;BR /&gt;
&lt;BR /&gt;
APPEND wa_fcat TO it_fcat .&lt;BR /&gt;
&lt;BR /&gt;
CLEAR wa_fcat .&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
wa_fcat-col_pos = '5' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-fieldname = 'LOCK' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-tabname = 'IT' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-seltext_m = 'LOCK' .&lt;BR /&gt;
&lt;BR /&gt;
wa_fcat-hotspot = 'X' .&lt;BR /&gt;
&lt;BR /&gt;
APPEND wa_fcat TO it_fcat .&lt;BR /&gt;
&lt;BR /&gt;
CLEAR wa_fcat .&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;BR /&gt;
&lt;BR /&gt;
 EXPORTING&lt;BR /&gt;
&lt;BR /&gt;
 i_callback_program = sy-repid&lt;BR /&gt;
&lt;BR /&gt;
 it_fieldcat = it_fcat&lt;BR /&gt;
&lt;BR /&gt;
 TABLES&lt;BR /&gt;
&lt;/P&gt;&lt;P&gt;t_outtab = it.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 07:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078654#M1970652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-01-02T07:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Run time error !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078655#M1970653</link>
      <description>&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;Please share the dump details also before share to correct fieldcatlog values in capital letter ( ex. fieldname, tabname etc., )&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 07:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078655#M1970653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-01-02T07:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Run time error !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078656#M1970654</link>
      <description>&lt;P&gt;@manoj16393 in the columns that you were filling for your ALV , you must use fieldnames of the structure.&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF manoj,&lt;BR /&gt;&lt;BR /&gt;client TYPE usr02-mandt,&lt;BR /&gt;&lt;BR /&gt;name TYPE usr02-bname,&lt;BR /&gt;&lt;BR /&gt;validfrom TYPE usr02-gltgv,&lt;BR /&gt;&lt;BR /&gt;validto TYPE usr02-gltgb,&lt;BR /&gt;&lt;BR /&gt;userlock TYPE usr02-uflag,&lt;BR /&gt;&lt;BR /&gt;END OF manoj.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 07:54:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078656#M1970654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-01-02T07:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Run time error !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078657#M1970655</link>
      <description>&lt;P&gt;CAN U SHOW SAME CODE&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 07:57:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078657#M1970655</guid>
      <dc:creator>former_member622718</dc:creator>
      <dc:date>2020-01-02T07:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Run time error !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078658#M1970656</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;
REPORT zmanoj6.

TABLES mara.

TYPE-POOLS:slis.



TYPES: BEGIN OF manoj,

         serverclient    TYPE usr02-mandt,

         name      TYPE usr02-bname,

         validfrom TYPE usr02-gltgv,

         validto   TYPE usr02-gltgb,

         userlock  TYPE usr02-uflag,

       END OF manoj.





DATA : it      TYPE TABLE OF manoj,

       wa      TYPE manoj,

       it_fcat TYPE slis_t_fieldcat_alv,

       wa_fcat LIKE LINE OF it_fcat.





PARAMETERS name TYPE usr02-bname.



SELECT mandt bname gltgv gltgb uflag FROM usr02 INTO TABLE it WHERE bname = name.



wa_fcat-col_pos = '1' .

wa_fcat-fieldname = 'MANDT' .

wa_fcat-tabname = 'IT' .

wa_fcat-seltext_m = 'SERVERCLIENT' .

wa_fcat-key = 'X' .

wa_fcat-hotspot = 'X' .

APPEND wa_fcat TO it_fcat .

CLEAR wa_fcat .



wa_fcat-col_pos = '2' .

wa_fcat-fieldname = 'BNAME' .

wa_fcat-tabname = 'IT' .

wa_fcat-seltext_m = 'NAME' .

wa_fcat-hotspot = 'X' .

APPEND wa_fcat TO it_fcat .

CLEAR wa_fcat .



wa_fcat-col_pos = '3' .

wa_fcat-fieldname = 'GLTGV' .

wa_fcat-tabname = 'IT' .

wa_fcat-seltext_m = 'VALIDFROM' .

wa_fcat-hotspot = 'X' .

APPEND wa_fcat TO it_fcat .

CLEAR wa_fcat .







wa_fcat-col_pos = '4' .

wa_fcat-fieldname = 'GLTGB' .

wa_fcat-tabname = 'IT' .

wa_fcat-seltext_m = 'VALIDTO' .

wa_fcat-hotspot = 'X' .

APPEND wa_fcat TO it_fcat .

CLEAR wa_fcat .



wa_fcat-col_pos = '5' .

wa_fcat-fieldname = 'UFLAG' .

wa_fcat-tabname = 'IT' .

wa_fcat-seltext_m = 'USERLOCK' .

wa_fcat-hotspot = 'X' .

APPEND wa_fcat TO it_fcat .

CLEAR wa_fcat .



CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

  EXPORTING

    i_callback_program = sy-repid

    it_fieldcat        = it_fcat

  TABLES

    t_outtab        &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jan 2020 07:59:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078658#M1970656</guid>
      <dc:creator>former_member622718</dc:creator>
      <dc:date>2020-01-02T07:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Run time error !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078659#M1970657</link>
      <description>&lt;P&gt;@manoj16393 use this code &lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 08:21:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078659#M1970657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-01-02T08:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Run time error !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078660#M1970658</link>
      <description>&lt;P&gt;Enter the values of fields FIELDNAME and TABNAME in UPPER CASE (*).&lt;/P&gt;&lt;P&gt;(by the way you don't need to use TABNAME, and COL_POS is useless because by default the order of lines of the field catalog corresponds by default to the order of columns... and REUSE_ALV_GRID_DISPLAY has been superseded by CL_SALV_TABLE fifteen years ago).&lt;/P&gt;&lt;P&gt;(*) probably you had a short dump GETWA_NOT_ASSIGNED (field symbol not assigned) during the execution of REUSE_ALV_GRID_DISPLAY, but next time you ask something, please share all relevant information, like the short dump itself! (as already asked by &lt;SPAN class="mention-scrubbed"&gt;karthikeyan.s4&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 08:29:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078660#M1970658</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-01-02T08:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Run time error !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078661#M1970659</link>
      <description>&lt;P&gt;Thank you i am getting output&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 09:36:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078661#M1970659</guid>
      <dc:creator>former_member622718</dc:creator>
      <dc:date>2020-01-02T09:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Run time error !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078662#M1970660</link>
      <description>&lt;P&gt;for above code i am not getting output.&lt;/P&gt;&lt;P&gt;i have used parameters if i enter value in parameters then i will get output.&lt;/P&gt;&lt;P&gt;after output displayes if i click on execute above output apperies&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1757908-123.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 10:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078662#M1970660</guid>
      <dc:creator>former_member622718</dc:creator>
      <dc:date>2020-01-02T10:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Run time error !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078663#M1970661</link>
      <description>&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;As you used parameters, you will not get any data if you don't enter any value in the selection screen. If you pass the parameters in the where condition it checks for the exact match and in your case as you didn't enter any value you didn't any output.&lt;/P&gt;&lt;P&gt;You can use select-options with no intervals and no-extensions.&lt;/P&gt;&lt;P&gt;Ex: select-options name for wa-name no intervals no-extensions.&lt;/P&gt;&lt;P&gt;And in your select query&lt;/P&gt;&lt;P&gt;SELECT mandt bname gltgv gltgb uflag FROM usr02 INTO TABLE it WHERE bname &lt;STRONG&gt;&lt;EM&gt;IN&lt;/EM&gt;&lt;/STRONG&gt; name.&lt;/P&gt;&lt;P&gt;Note: In this case, this select query will fetch complete table data of usr02 if you do not pass any value in the selection screen&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 02:56:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-run-time-error/m-p/12078663#M1970661</guid>
      <dc:creator>former_member39602</dc:creator>
      <dc:date>2020-01-03T02:56:01Z</dc:date>
    </item>
  </channel>
</rss>

