<?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: search help in  output(using alvgrid function module) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-output-using-alvgrid-function-module/m-p/3309519#M792718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what you can try to do....first select the sales org and distribution channel for the value entered in the material in an 2 separate internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the FM 'F4IF_INT_TABLE_VALUE_REQUEST' for each internal table to get a search help for the sales org and distribution channel for any particular material number.&lt;/P&gt;&lt;P&gt;Please write the code at AT SELECTION-SCREEN ON VALUE-REQUEST event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_salesorg.&lt;/P&gt;&lt;P&gt;select salesorg from tablename into itab where matnr = p_matnr(selction screen value).&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;ENDPOS_COL =&lt;/P&gt;&lt;P&gt;ENDPOS_ROW =&lt;/P&gt;&lt;P&gt;STARTPOS_COL =&lt;/P&gt;&lt;P&gt;STARTPOS_ROW =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TITLETEXT =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TITLETEXT =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;CHOISE = W_LINEN0&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUETAB = itab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;BREAK_OFF = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;READ TABLE itab INDEX W_LINENO.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;P_salesorg = itab-salesorg.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;similarly for distribution channel pass sales org ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly reward if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2008 14:03:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-21T14:03:16Z</dc:date>
    <item>
      <title>search help in  output(using alvgrid function module)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-output-using-alvgrid-function-module/m-p/3309518#M792717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HEllo Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I hav developed report using ALV grid function module, now my req is I need to provide the search help for particular field in the output.&lt;/P&gt;&lt;P&gt;my output contains .MATNO, PLANT AND STORAGE LOCATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now based on mat and plant I need to provide the F4 help for storage location field in the out put.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could u pls anbody help me on the req asap. with details code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will give u Full point if it suits my req....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 13:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-output-using-alvgrid-function-module/m-p/3309518#M792717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T13:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: search help in  output(using alvgrid function module)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-output-using-alvgrid-function-module/m-p/3309519#M792718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what you can try to do....first select the sales org and distribution channel for the value entered in the material in an 2 separate internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the FM 'F4IF_INT_TABLE_VALUE_REQUEST' for each internal table to get a search help for the sales org and distribution channel for any particular material number.&lt;/P&gt;&lt;P&gt;Please write the code at AT SELECTION-SCREEN ON VALUE-REQUEST event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_salesorg.&lt;/P&gt;&lt;P&gt;select salesorg from tablename into itab where matnr = p_matnr(selction screen value).&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;ENDPOS_COL =&lt;/P&gt;&lt;P&gt;ENDPOS_ROW =&lt;/P&gt;&lt;P&gt;STARTPOS_COL =&lt;/P&gt;&lt;P&gt;STARTPOS_ROW =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TITLETEXT =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TITLETEXT =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;CHOISE = W_LINEN0&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUETAB = itab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;BREAK_OFF = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;READ TABLE itab INDEX W_LINENO.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;P_salesorg = itab-salesorg.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;similarly for distribution channel pass sales org ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly reward if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 14:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-output-using-alvgrid-function-module/m-p/3309519#M792718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T14:03:16Z</dc:date>
    </item>
  </channel>
</rss>

