<?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: AVL ERROR. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568943#M256852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santhosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will be great if you can share your knowledge on how to resolve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jan 2007 07:51:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-25T07:51:03Z</dc:date>
    <item>
      <title>AVL ERROR.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568936#M256845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a ALV report with a Button with a Function Code.&lt;/P&gt;&lt;P&gt;I select a record and click on the button to get another ALV report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It goes fine till then , but when i want to come back using BACK code it dumps stating&lt;/P&gt;&lt;P&gt;The program tried to assign a new value to a field even though&lt;/P&gt;&lt;P&gt;it is protected against changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following objects are protected:&lt;/P&gt;&lt;P&gt;- Character or numeric literals,&lt;/P&gt;&lt;P&gt;- Constants (CONSTANTS),&lt;/P&gt;&lt;P&gt;- Function module and method parameters with the type IMPORTING&lt;/P&gt;&lt;P&gt;REFERENCE,&lt;/P&gt;&lt;P&gt;- Untyped field symbols to which a field has not yet been assigned&lt;/P&gt;&lt;P&gt;using ASSIGN,&lt;/P&gt;&lt;P&gt;- TABLES parameters, if the corresponding actual parameter is protected&lt;/P&gt;&lt;P&gt;against changes,&lt;/P&gt;&lt;P&gt;- USING reference parameters and CHANGING parameters in subroutines, if&lt;/P&gt;&lt;P&gt;the&lt;/P&gt;&lt;P&gt;actual parameter is protected against changes,&lt;/P&gt;&lt;P&gt;- Field symbols, if the field assigned using ASSIGN is protected against&lt;/P&gt;&lt;P&gt;changes,&lt;/P&gt;&lt;P&gt;- External write access to attributes with the READ-ONLY property,&lt;/P&gt;&lt;P&gt;- Key components of lines of internal tables with the type HASHED or&lt;/P&gt;&lt;P&gt;SORTED TABLE.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Here is teh Dumb analysis, Do i need to clear something before calling another ALV list fron One list ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;Error in ABAP application program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current ABAP program "SAPLSLVC_FULLSCREEN " had to be terminated beca&lt;/P&gt;&lt;P&gt;one of the&lt;/P&gt;&lt;P&gt;statements could not be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is probably due to an error in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field you want to overwrite is a parameter or a field symbol:&lt;/P&gt;&lt;P&gt;Declare the parameter as a VALUE parameter or pass an auxiliary field&lt;/P&gt;&lt;P&gt;to which you assigned the value from the constant before the call.&lt;/P&gt;&lt;P&gt;Alternatively, you can assign the auxiliary field to the field symbol&lt;/P&gt;&lt;P&gt;instead of the constant.&lt;/P&gt;&lt;P&gt;If the error occurred in one of your own programs or in an SAP program&lt;/P&gt;&lt;P&gt;that you modified, try to correct it yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may able to find an interim solution to the problem&lt;/P&gt;&lt;P&gt;in the SAP note system. If you have access to the note system yourself,&lt;/P&gt;&lt;P&gt;use the following search criteria:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"MOVE_TO_LIT_NOTALLOWED_NODATA" C&lt;/P&gt;&lt;P&gt;"SAPLSLVC_FULLSCREEN " or "LSLVC_FULLSCREENF02 "&lt;/P&gt;&lt;P&gt;"MARKS_SAVE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Information on where termination occurred&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The termination occurred in the ABAP program "SAPLSLVC_FULLSCREEN " in&lt;/P&gt;&lt;P&gt;"MARKS_SAVE".&lt;/P&gt;&lt;P&gt;The main program was "ZBOM_DIST ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The termination occurred in line 606 of the source code of the (Include)&lt;/P&gt;&lt;P&gt;program "LSLVC_FULLSCREENF02 "&lt;/P&gt;&lt;P&gt;of the source code of program "LSLVC_FULLSCREENF02 " (when calling the editor&lt;/P&gt;&lt;P&gt;6060).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2006 03:15:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568936#M256845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-09T03:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: AVL ERROR.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568937#M256846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like the program's trying to change one of the object attributes which is delcared in the Private Section of a Class. Can you post the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sougata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2006 04:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568937#M256846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-09T04:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: AVL ERROR.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568938#M256847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone reply to this?? As Iam also getting the same error at the same line and same program when i does the same thing as stated by the person posted this query...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Oct 2006 12:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568938#M256847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-28T12:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: AVL ERROR.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568939#M256848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the following sample report with two ALV list I do not get any short dumps. Perhaps I am missing some settings that you have defined in your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZUS_SDN_REUSE_ALV_GRID_DISPLAY
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  zus_sdn_reuse_alv_grid_display.


TYPE-POOLS: slis.

DATA:
  gt_t001        TYPE STANDARD TABLE OF t001,
  gt_knb1        TYPE STANDARD TABLE OF knb1.

DATA:
  gs_fcat        TYPE slis_fieldcat_alv,
  gt_fcat_t001   TYPE slis_t_fieldcat_alv,
  gt_fcat_knb1   TYPE slis_t_fieldcat_alv.



START-OF-SELECTION.



  SELECT * FROM  t001 INTO TABLE gt_t001.

  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
*     I_PROGRAM_NAME               =
*     I_INTERNAL_TABNAME           =
      i_structure_name             = 'T001'
*     I_CLIENT_NEVER_DISPLAY       = 'X'
*     I_INCLNAME                   =
*     I_BYPASSING_BUFFER           =
*     I_BUFFER_ACTIVE              =
    CHANGING
      ct_fieldcat                  = gt_fcat_t001
    EXCEPTIONS
      inconsistent_interface       = 1
      program_error                = 2
      OTHERS                       = 3
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.





  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
*     I_INTERFACE_CHECK                 = ' '
*     I_BYPASSING_BUFFER                = ' '
*     I_BUFFER_ACTIVE                   = ' '
      i_callback_program                = syst-cprog
      i_callback_pf_status_set          = 'ALV_SET_PF_STATUS'
      i_callback_user_command           = 'ALV_USER_COMMAND'
*     I_CALLBACK_TOP_OF_PAGE            = ' '
*     I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
*     I_CALLBACK_HTML_END_OF_LIST       = ' '
*     I_STRUCTURE_NAME                  = ' '
*     I_BACKGROUND_ID                   = ' '
*     I_GRID_TITLE                      =
*     I_GRID_SETTINGS                   =
*     IS_LAYOUT                         =
      it_fieldcat                       = gt_fcat_t001
*   IMPORTING
*     E_EXIT_CAUSED_BY_CALLER           =
*     ES_EXIT_CAUSED_BY_USER            =
    TABLES
      t_outtab                          = gt_t001
*   EXCEPTIONS
*     PROGRAM_ERROR                     = 1
*     OTHERS                            = 2
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.





END-OF-SELECTION.




*&amp;amp;--------------------------------------------------------------------*
*&amp;amp;      Form  set_pf_status
*&amp;amp;--------------------------------------------------------------------*
*       text
*---------------------------------------------------------------------*
*      --&amp;gt;RT_EXTAB   text
*---------------------------------------------------------------------*
FORM alv_set_pf_status USING rt_extab TYPE slis_t_extab.

&amp;lt;b&amp;gt;* NOTE: identical to STANDARD_FULLSCREEN with additional button for detail list ('DETAILLIST')&amp;lt;/b&amp;gt;
  SET PF-STATUS 'STANDARD_FULLSCREEN'.
ENDFORM.                    "set_pf_status



*&amp;amp;--------------------------------------------------------------------*
*&amp;amp;      Form  alv_user_command
*&amp;amp;--------------------------------------------------------------------*
*       text
*---------------------------------------------------------------------*
*      --&amp;gt;R_UCOMM    text
*      --&amp;gt;RS_SELFIELDtext
*---------------------------------------------------------------------*
FORM alv_user_command  USING r_ucomm LIKE sy-ucomm
                         rs_selfield TYPE slis_selfield.


&amp;lt;b&amp;gt;* Display detail list: all customers for selected company code&amp;lt;/b&amp;gt;
  check ( r_ucomm = 'DETAILLIST' ).
  IF ( rs_selfield-fieldname = 'BUKRS' ).
    SELECT        * FROM  knb1 INTO TABLE gt_knb1
           WHERE  bukrs  = rs_selfield-value.

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
*       I_INTERFACE_CHECK                 = ' '
*       I_BYPASSING_BUFFER                = ' '
*       I_BUFFER_ACTIVE                   = ' '
        i_callback_program                = syst-cprog
        i_callback_pf_status_set          = ' '
        i_callback_user_command           = ' '
*       I_CALLBACK_TOP_OF_PAGE            = ' '
*       I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
*       I_CALLBACK_HTML_END_OF_LIST       = ' '
        I_STRUCTURE_NAME                  = 'KNB1'
*     IMPORTING
*       E_EXIT_CAUSED_BY_CALLER           =
*       ES_EXIT_CAUSED_BY_USER            =
      TABLES
        t_outtab                          = gt_knb1
      EXCEPTIONS
        PROGRAM_ERROR                     = 1
        OTHERS                            = 2.
    IF sy-subrc &amp;lt;&amp;gt; 0.
*   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  ENDIF.




ENDFORM.                    "alv_user_command&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 10:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568939#M256848</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-10-29T10:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: AVL ERROR.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568940#M256849</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;This works fine in 4.6C version but in 4.7 it dumps because in 4.7 the control goes to the following line(&amp;lt;l_box&amp;gt; = ' '.) but in 4.6C the control dosent go to that line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a small piece of the code where its dumping:&lt;/P&gt;&lt;P&gt;if l_ucomm eq '&amp;amp;SAL' or l_ucomm eq '&amp;amp;ALL'. &lt;/P&gt;&lt;P&gt;if l_ucomm eq '&amp;amp;SAL'. &lt;/P&gt;&lt;P&gt;loop at t_outtab. &lt;/P&gt;&lt;P&gt;l_tabix = l_tabix + 1. &lt;/P&gt;&lt;P&gt;&amp;lt;l_box&amp;gt; = ' '. &lt;/P&gt;&lt;P&gt;modify t_outtab index l_tabix. &lt;/P&gt;&lt;P&gt;endloop. &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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 10:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568940#M256849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T10:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: AVL ERROR.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568941#M256850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everybody for spending time on this.&lt;/P&gt;&lt;P&gt;The problem is solved...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 17:00:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568941#M256850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T17:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: AVL ERROR.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568942#M256851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Santhosh,&lt;/P&gt;&lt;P&gt;Can you tell me please How do you solve the problem? I'm having the same dump (MOVE_TO_LIT_NOTALLOWED_NODATA).&lt;/P&gt;&lt;P&gt;I was looking for information but I'm still in the same point.&lt;/P&gt;&lt;P&gt;Thank so much in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 23:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568942#M256851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T23:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: AVL ERROR.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568943#M256852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santhosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will be great if you can share your knowledge on how to resolve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2007 07:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568943#M256852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-25T07:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: AVL ERROR.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568944#M256853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar problem.&lt;/P&gt;&lt;P&gt;My solution was to add the field "selkz", which is assigned to the structure is_layout-box... in my case, to the structure of the table t_outtab.&lt;/P&gt;&lt;P&gt;--&amp;gt; maybe you have something similar: the structure of your table t_outtab might need some extra fields....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 14:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avl-error/m-p/1568944#M256853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T14:57:16Z</dc:date>
    </item>
  </channel>
</rss>

