<?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: Refresh Basic List after 2nd list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625270#M279409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    try using modify current line syntax for your   &lt;/P&gt;&lt;P&gt;    requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA I TYPE I VALUE 2.                                                                                &lt;/P&gt;&lt;P&gt;WRITE: / 'Intensified'     INTENSIFIED,                         &lt;/P&gt;&lt;P&gt;          'Input'           INPUT,                               &lt;/P&gt;&lt;P&gt;          'color 1'         COLOR 1,                             &lt;/P&gt;&lt;P&gt;          'intensified off' INTENSIFIED OFF.                                                                                &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Line selection                                                &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; AT LINE-SELECTION.                                              &lt;/P&gt;&lt;P&gt;   MODIFY CURRENT LINE                                           &lt;/P&gt;&lt;P&gt;     LINE FORMAT INVERSE                                         &lt;/P&gt;&lt;P&gt;                 INPUT OFF                                       &lt;/P&gt;&lt;P&gt;                 COLOR = I.                                                                                &lt;/P&gt;&lt;P&gt;When you have selected the output list line (by                 &lt;/P&gt;&lt;P&gt; double-clicking), the whole line is set to COLOR 2 and INVERSE  &lt;/P&gt;&lt;P&gt; and all INPUT fields are set to INPUT OFF. The fields with the  &lt;/P&gt;&lt;P&gt; attribute INTENSIFIED or INTENSIFIED OFF retain this because    &lt;/P&gt;&lt;P&gt; the attribute is not addressed here.                            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Oct 2006 14:54:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-03T14:54:13Z</dc:date>
    <item>
      <title>Refresh Basic List after 2nd list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625265#M279404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a detail basic list and a 2nd list that appears when the user selects a line on the basic list.  &lt;/P&gt;&lt;P&gt;When the user selects or maintains an entry on the 2nd list and exits the 2nd list I would like to refresh the basic list so I can display the fact that the line has been updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way to do this?  Sounds like I need to reexecute start-of-selection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Ken Murray&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 13:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625265#M279404</guid>
      <dc:creator>sap_cohort</dc:creator>
      <dc:date>2006-10-03T13:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Basic List after 2nd list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625266#M279405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cHECK THE PROGRAM:&lt;/P&gt;&lt;P&gt;demo_list_modify_field_value&lt;/P&gt;&lt;P&gt;rEGARDS,&lt;/P&gt;&lt;P&gt;rAVI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 14:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625266#M279405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T14:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Basic List after 2nd list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625267#M279406</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 have to call the same subroutine, which you are using to display the basic list after settiong SY-LSIND = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM GET_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM DISPLAY_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  PERFORM GET_DATAILED_DATA.&lt;/P&gt;&lt;P&gt;  PERFORM SHOW_DETAILED_DATA.&lt;/P&gt;&lt;P&gt;  PERFORM UPDATE_DATA_INBASIC_LIST.&lt;/P&gt;&lt;P&gt;*Now if you want show basic list with the update data, use this logic.&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;sy-lsind = 0.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  PERFORM DISPLAY_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 14:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625267#M279406</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-10-03T14:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Basic List after 2nd list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625268#M279407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kenneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. we have to make use of the &lt;/P&gt;&lt;P&gt;   selfield-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. just copy paste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. It will show all companies.&lt;/P&gt;&lt;P&gt;   Select any company by double-clicking&lt;/P&gt;&lt;P&gt;   It will again show secondary alv (just 1 record)&lt;/P&gt;&lt;P&gt;   When u go back, it will show 'ALREADY SELECTED'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS : slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt; Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : ITAB LIKE T001 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : PTAB LIKE T001 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : alvfc TYPE slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt; Select Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM t001 INTO TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*------- Field Catalogue&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_program_name         = sy-repid&lt;/P&gt;&lt;P&gt;    i_internal_tabname     = 'ITAB'&lt;/P&gt;&lt;P&gt;    i_inclname             = sy-repid&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    ct_fieldcat            = alvfc&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;    program_error          = 2&lt;/P&gt;&lt;P&gt;    OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;Display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    it_fieldcat             = alvfc&lt;/P&gt;&lt;P&gt;    i_callback_program      = sy-repid "&amp;lt;-------Important&lt;/P&gt;&lt;P&gt;    i_callback_user_command = 'ITAB_USER_COMMAND' "&amp;lt;------ Important&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    t_outtab                = itab&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL BACK FORM&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE&lt;/P&gt;&lt;P&gt;slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : TABINDEX.&lt;/P&gt;&lt;P&gt;  TABINDEX = whatrow-tabindex.&lt;/P&gt;&lt;P&gt;  READ TABLE itab INDEX TABINDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ITAB-BUTXT = 'ALREADY SELECTED'.&lt;/P&gt;&lt;P&gt;  MODIFY ITAB INDEX TABINDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM t001 INTO TABLE Ptab&lt;/P&gt;&lt;P&gt;  WHERE BUKRS = ITAB-BUKRS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR ALVFC.&lt;/P&gt;&lt;P&gt;  REFRESH ALVFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*------- Field Catalogue&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_program_name         = sy-repid&lt;/P&gt;&lt;P&gt;      i_internal_tabname     = 'PTAB'&lt;/P&gt;&lt;P&gt;      i_inclname             = sy-repid&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      ct_fieldcat            = alvfc&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;      program_error          = 2&lt;/P&gt;&lt;P&gt;      OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;Display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      it_fieldcat   = alvfc&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab      = Ptab&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;&lt;/P&gt;&lt;P&gt;WHATROW-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. "ITAB_user_command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 14:13:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625268#M279407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T14:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Basic List after 2nd list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625269#M279408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could have two buttons on the secondary list: REFRESH and APPLY. If the user presses the REFRESH button, execute from the START-OF-SELECTION. If the APPLY button is pressed, you could just apply the changes to the internal table used for the report and re-list the report only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second button would produe the list more quickly, while the first one would show any other changes in the base tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 14:18:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625269#M279408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T14:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Basic List after 2nd list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625270#M279409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    try using modify current line syntax for your   &lt;/P&gt;&lt;P&gt;    requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA I TYPE I VALUE 2.                                                                                &lt;/P&gt;&lt;P&gt;WRITE: / 'Intensified'     INTENSIFIED,                         &lt;/P&gt;&lt;P&gt;          'Input'           INPUT,                               &lt;/P&gt;&lt;P&gt;          'color 1'         COLOR 1,                             &lt;/P&gt;&lt;P&gt;          'intensified off' INTENSIFIED OFF.                                                                                &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Line selection                                                &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; AT LINE-SELECTION.                                              &lt;/P&gt;&lt;P&gt;   MODIFY CURRENT LINE                                           &lt;/P&gt;&lt;P&gt;     LINE FORMAT INVERSE                                         &lt;/P&gt;&lt;P&gt;                 INPUT OFF                                       &lt;/P&gt;&lt;P&gt;                 COLOR = I.                                                                                &lt;/P&gt;&lt;P&gt;When you have selected the output list line (by                 &lt;/P&gt;&lt;P&gt; double-clicking), the whole line is set to COLOR 2 and INVERSE  &lt;/P&gt;&lt;P&gt; and all INPUT fields are set to INPUT OFF. The fields with the  &lt;/P&gt;&lt;P&gt; attribute INTENSIFIED or INTENSIFIED OFF retain this because    &lt;/P&gt;&lt;P&gt; the attribute is not addressed here.                            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 14:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-after-2nd-list/m-p/1625270#M279409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T14:54:13Z</dc:date>
    </item>
  </channel>
</rss>

