<?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 interactive programing in ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-programing-in-alv/m-p/3227400#M769788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created one trans. table in that material no. and month are two fields i have created one report to display that field now when user click on that material no he gets another screen in that again user have to enter the same material no and month and the quantity now how to get that material no and month on the next screen automatically so that user can entered only qantity go ahead. when user click on material number then automatically that material number and month can appered in the next screen of that same fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vishal Bhagwat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2008 04:40:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-09T04:40:47Z</dc:date>
    <item>
      <title>interactive programing in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-programing-in-alv/m-p/3227400#M769788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created one trans. table in that material no. and month are two fields i have created one report to display that field now when user click on that material no he gets another screen in that again user have to enter the same material no and month and the quantity now how to get that material no and month on the next screen automatically so that user can entered only qantity go ahead. when user click on material number then automatically that material number and month can appered in the next screen of that same fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vishal Bhagwat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 04:40:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-programing-in-alv/m-p/3227400#M769788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T04:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: interactive programing in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-programing-in-alv/m-p/3227401#M769789</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;hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward if help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report yh645_secndry_alv.&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;data: fieldcat type slis_t_fieldcat_alv,&lt;/P&gt;&lt;P&gt;fieldcat_ln like line of fieldcat,&lt;/P&gt;&lt;P&gt;fs_layout type slis_layout_alv,&lt;/P&gt;&lt;P&gt;t_layoout like standard table&lt;/P&gt;&lt;P&gt;of fs_layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of fs_spfli,&lt;/P&gt;&lt;P&gt;carrid type spfli-carrid,&lt;/P&gt;&lt;P&gt;connid type spfli-connid,&lt;/P&gt;&lt;P&gt;countryfr type spfli-countryfr,&lt;/P&gt;&lt;P&gt;cityfrom type spfli-cityfrom,&lt;/P&gt;&lt;P&gt;airpfrom type spfli-airpfrom,&lt;/P&gt;&lt;P&gt;countryto type spfli-countryto,&lt;/P&gt;&lt;P&gt;cityto type spfli-cityto,&lt;/P&gt;&lt;P&gt;airpto type spfli-airpto,&lt;/P&gt;&lt;P&gt;fltime type spfli-fltime,&lt;/P&gt;&lt;P&gt;deptime type spfli-deptime,&lt;/P&gt;&lt;P&gt;arrtime type spfli-arrtime,&lt;/P&gt;&lt;P&gt;distance type spfli-distance,&lt;/P&gt;&lt;P&gt;distid type spfli-distid,&lt;/P&gt;&lt;P&gt;fltype type spfli-fltype,&lt;/P&gt;&lt;P&gt;period type spfli-period,&lt;/P&gt;&lt;P&gt;checkbox,&lt;/P&gt;&lt;P&gt;color(3),&lt;/P&gt;&lt;P&gt;end of fs_spfli.&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;begin of fs_table,&lt;/P&gt;&lt;P&gt;carrid type spfli-carrid,&lt;/P&gt;&lt;P&gt;connid type spfli-connid,&lt;/P&gt;&lt;P&gt;end of fs_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of fs_sflight,&lt;/P&gt;&lt;P&gt;check,&lt;/P&gt;&lt;P&gt;color(3).&lt;/P&gt;&lt;P&gt;include type sflight.&lt;/P&gt;&lt;P&gt;data:end of fs_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;begin of fs_table1,&lt;/P&gt;&lt;P&gt;carrid type sflight-carrid,&lt;/P&gt;&lt;P&gt;connid type sflight-connid,&lt;/P&gt;&lt;P&gt;fldate type sflight-fldate,&lt;/P&gt;&lt;P&gt;end of fs_table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;t_spfli like standard table&lt;/P&gt;&lt;P&gt;of fs_spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;t_table like standard table&lt;/P&gt;&lt;P&gt;of fs_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;t_table1 like standard table&lt;/P&gt;&lt;P&gt;of fs_table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;t_sflight like standard table&lt;/P&gt;&lt;P&gt;of fs_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;t_sbook like standard table&lt;/P&gt;&lt;P&gt;of sbook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data t_layout type slis_layout_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;into corresponding fields of table t_spfli&lt;/P&gt;&lt;P&gt;from spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform start_list_viewer.&lt;/P&gt;&lt;P&gt;perform get_spfli_details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form SUB1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt;RT_EXTAB text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form sub1 using rt_extab type slis_t_extab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: flight type slis_extab.&lt;/P&gt;&lt;P&gt;flight-fcode = 'SFLIGHT'.&lt;/P&gt;&lt;P&gt;append flight to rt_extab.&lt;/P&gt;&lt;P&gt;set pf-status 'SFLIGHT'. " EXCLUDING RT_EXTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform. "SUB1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form START_LIST_VIEWER&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt; p1 text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&amp;lt;-- p2 text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form start_list_viewer .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: pgm like sy-repid.&lt;/P&gt;&lt;P&gt;pgm = sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fs_layout-box_fieldname = 'CHECKBOX'.&lt;/P&gt;&lt;P&gt;fs_layout-info_fieldname = 'COLOR'.&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;i_callback_program = pgm&lt;/P&gt;&lt;P&gt;i_callback_pf_status_set = 'SUB1'&lt;/P&gt;&lt;P&gt;i_callback_user_command = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;i_structure_name = 'SPFLI'&lt;/P&gt;&lt;P&gt;is_layout = fs_layout&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;t_outtab = t_spfli&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;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform. " START_LIST_VIEWER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******&lt;STRONG&gt;Process Call Back Events (Begin)&lt;/STRONG&gt;**************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form user_command using ucomm like sy-ucomm&lt;/P&gt;&lt;P&gt;selfield type slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case ucomm.&lt;/P&gt;&lt;P&gt;when 'SFLIGHT'.&lt;/P&gt;&lt;P&gt;selfield-refresh = 'X'.&lt;/P&gt;&lt;P&gt;perform get_spfli_details.&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from sflight&lt;/P&gt;&lt;P&gt;into corresponding fields of table t_sflight&lt;/P&gt;&lt;P&gt;for all entries in t_table&lt;/P&gt;&lt;P&gt;where carrid eq t_table-carrid&lt;/P&gt;&lt;P&gt;and connid eq t_table-connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform display_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'SBOOK'.&lt;/P&gt;&lt;P&gt;selfield-refresh = 'X'.&lt;/P&gt;&lt;P&gt;perform get_sflight_details.&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from sbook&lt;/P&gt;&lt;P&gt;into corresponding fields of table t_sbook&lt;/P&gt;&lt;P&gt;for all entries in t_table1&lt;/P&gt;&lt;P&gt;where carrid eq t_table1-carrid&lt;/P&gt;&lt;P&gt;and connid eq t_table1-connid&lt;/P&gt;&lt;P&gt;and fldate eq t_table1-fldate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform display_sbook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;endform. "USER_COMMAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form SUB2&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt;RT_EXTAB text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form sub2 using rt_extab type slis_t_extab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: flight type slis_extab.&lt;/P&gt;&lt;P&gt;flight-fcode = 'SBOOK'.&lt;/P&gt;&lt;P&gt;append flight to rt_extab.&lt;/P&gt;&lt;P&gt;set pf-status 'SBOOK'. " EXCLUDING RT_EXTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform. "SUB2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form DISPLAY_SFLIGHT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt; p1 text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&amp;lt;-- p2 text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form display_sflight .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: pgm like sy-repid.&lt;/P&gt;&lt;P&gt;pgm = sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear t_layout.&lt;/P&gt;&lt;P&gt;fs_layout-box_fieldname = 'CHECK'.&lt;/P&gt;&lt;P&gt;fs_layout-info_fieldname = 'COLOR'.&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;i_callback_program = pgm&lt;/P&gt;&lt;P&gt;i_callback_pf_status_set = 'SUB2'&lt;/P&gt;&lt;P&gt;i_callback_user_command = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;i_structure_name = 'SFLIGHT'&lt;/P&gt;&lt;P&gt;is_layout = fs_layout&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;t_outtab = t_sflight&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;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endform. " DISPLAY_SFLIGHT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form GET_SPFLI_DETAILS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt; p1 text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&amp;lt;-- p2 text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form get_spfli_details .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_spfli into fs_spfli.&lt;/P&gt;&lt;P&gt;if fs_spfli-checkbox = 'X'.&lt;/P&gt;&lt;P&gt;fs_spfli-color = 'C51'.&lt;/P&gt;&lt;P&gt;fs_spfli-checkbox = '1'.&lt;/P&gt;&lt;P&gt;fs_table-carrid = fs_spfli-carrid.&lt;/P&gt;&lt;P&gt;fs_table-connid = fs_spfli-connid.&lt;/P&gt;&lt;P&gt;append fs_table to t_table.&lt;/P&gt;&lt;P&gt;modify t_spfli from fs_spfli.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endform. " GET_SFLIGHT_DETAILS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form GET_SFLIGHT_DETAILS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt; p1 text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&amp;lt;-- p2 text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form get_sflight_details .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_sflight into fs_sflight.&lt;/P&gt;&lt;P&gt;if fs_sflight-check = 'X'.&lt;/P&gt;&lt;P&gt;fs_sflight-color = 'C71'.&lt;/P&gt;&lt;P&gt;fs_sflight-check = '1'.&lt;/P&gt;&lt;P&gt;fs_table1-carrid = fs_sflight-carrid.&lt;/P&gt;&lt;P&gt;fs_table1-connid = fs_sflight-connid.&lt;/P&gt;&lt;P&gt;fs_table1-fldate = fs_sflight-fldate.&lt;/P&gt;&lt;P&gt;append fs_table1 to t_table1.&lt;/P&gt;&lt;P&gt;modify t_sflight from fs_sflight.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform. " GET_SFLIGHT_DETAILS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form DISPLAY_SBOOK&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt; p1 text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&amp;lt;-- p2 text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form display_sbook .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: pgm like sy-repid.&lt;/P&gt;&lt;P&gt;pgm = sy-repid.&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;i_callback_program = pgm&lt;/P&gt;&lt;P&gt;i_structure_name = 'SBOOK'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;t_outtab = t_sbook&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;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform. " DISPLAY_SBOOK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 04:42:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-programing-in-alv/m-p/3227401#M769789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T04:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: interactive programing in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-programing-in-alv/m-p/3227402#M769790</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;Refer to the below given link for document on handling single and double clicks in ALV:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_sm32/helpdata/en/5e/ebeb40c4f8712ae10000000a155106/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_sm32/helpdata/en/5e/ebeb40c4f8712ae10000000a155106/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 07:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-programing-in-alv/m-p/3227402#M769790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T07:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: interactive programing in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-programing-in-alv/m-p/3227403#M769791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Double Click event in ALV using Function modules is captured with SY_UCOMM= '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to specify the "USER_COMMAND" parameter in the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subroutine fro User-command uses paramater of type SLIS_SELFIED. It is having INDEX field that will return the row-index of the row selected in the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the ALV table with this index and you get the desirred values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form user_command using ucomm like sy-ucomm&lt;/P&gt;&lt;P&gt;                                        selfield type slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;  read ALV table index selfield-index.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 08:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-programing-in-alv/m-p/3227403#M769791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T08:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: interactive programing in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-programing-in-alv/m-p/3227404#M769792</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;Try the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command USING ucomm TYPE sy-ucomm ind TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;  READ TABLE itab INTO wa_itab WITH KEY matnr = ind-value.&lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: You have specify the 'user_command' in previous list FM in exporting parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Billa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 08:10:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-programing-in-alv/m-p/3227404#M769792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T08:10:24Z</dc:date>
    </item>
  </channel>
</rss>

