<?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 help- in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/2316085#M507891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my select options there is document number(BELNR) and document type(BLART). And I have also declared f4 help for document number(BELNR).&lt;/P&gt;&lt;P&gt;Now thing is that I have dcelared some document type like 'KG', 'DG', 'KZ' and 'DZ'. Suppose when I am selction one document type for example 'KG'&lt;/P&gt;&lt;P&gt; and pressing f4 help in Documrnt number, Then only the number should display which are corresponding to 'KG' only. But when I am pressing f4 button it shows all document number related to every document type. I dont want like this. How I will do that. where do I need to modify my code. Do I need to make some changes in F4 help. Plz show me the way. Hope u r getting my problem. It's a print program for the smart form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE it_hlp LINES wk_lines.&lt;/P&gt;&lt;P&gt;  IF wk_lines = 0.&lt;/P&gt;&lt;P&gt;    SELECT belnr gjahr bldat budat INTO CORRESPONDING FIELDS OF it_hlp&lt;/P&gt;&lt;P&gt;    FROM bkpf&lt;/P&gt;&lt;P&gt;           WHERE bukrs = b_bukrs AND&lt;/P&gt;&lt;P&gt;                 bstat = ' ' AND&lt;/P&gt;&lt;P&gt;                 blart IN s_blart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND it_hlp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      retfield    = 'BELNR'&lt;/P&gt;&lt;P&gt;      dynprofield = 'P_BELNR'&lt;/P&gt;&lt;P&gt;      dynpprog    = sy-cprog&lt;/P&gt;&lt;P&gt;      dynpnr      = sy-dynnr&lt;/P&gt;&lt;P&gt;      value_org   = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab   = it_hlp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2007 06:29:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-16T06:29:09Z</dc:date>
    <item>
      <title>help-</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/2316085#M507891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my select options there is document number(BELNR) and document type(BLART). And I have also declared f4 help for document number(BELNR).&lt;/P&gt;&lt;P&gt;Now thing is that I have dcelared some document type like 'KG', 'DG', 'KZ' and 'DZ'. Suppose when I am selction one document type for example 'KG'&lt;/P&gt;&lt;P&gt; and pressing f4 help in Documrnt number, Then only the number should display which are corresponding to 'KG' only. But when I am pressing f4 button it shows all document number related to every document type. I dont want like this. How I will do that. where do I need to modify my code. Do I need to make some changes in F4 help. Plz show me the way. Hope u r getting my problem. It's a print program for the smart form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE it_hlp LINES wk_lines.&lt;/P&gt;&lt;P&gt;  IF wk_lines = 0.&lt;/P&gt;&lt;P&gt;    SELECT belnr gjahr bldat budat INTO CORRESPONDING FIELDS OF it_hlp&lt;/P&gt;&lt;P&gt;    FROM bkpf&lt;/P&gt;&lt;P&gt;           WHERE bukrs = b_bukrs AND&lt;/P&gt;&lt;P&gt;                 bstat = ' ' AND&lt;/P&gt;&lt;P&gt;                 blart IN s_blart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND it_hlp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      retfield    = 'BELNR'&lt;/P&gt;&lt;P&gt;      dynprofield = 'P_BELNR'&lt;/P&gt;&lt;P&gt;      dynpprog    = sy-cprog&lt;/P&gt;&lt;P&gt;      dynpnr      = sy-dynnr&lt;/P&gt;&lt;P&gt;      value_org   = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab   = it_hlp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 06:29:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/2316085#M507891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T06:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: help-</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/2316086#M507892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhay,&lt;/P&gt;&lt;P&gt;Instead of selecting document type in AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_belnr.&lt;/P&gt;&lt;P&gt;do it in AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_blart.&lt;/P&gt;&lt;P&gt;It'll work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Younus&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward Helpful Answers!!!&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 06:46:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/2316086#M507892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T06:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: help-</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/2316087#M507893</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;Prepare a Z table with Doc type (BLART) and the BELNR fields &lt;/P&gt;&lt;P&gt;write small program such that, fetch the documents related to that particular Doc type along with belnrs into an internal table, and update the Z table with the data of internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noe create an elementary search help in Se11 using the above Z table and use that search help in the declaration of BELNR field on selection screen.&lt;/P&gt;&lt;P&gt;that will display only those values related to that particular type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 06:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/2316087#M507893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T06:57:06Z</dc:date>
    </item>
  </channel>
</rss>

