<?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 search help returns two fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-returns-two-fields/m-p/2976294#M702541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;There is a table BNKA that holds the bank country key(BANKS) and bank key(BANKL). In my dialog program, I have two fields for country key and bank key. Now, I want that there will be a search help for bank key, when user select a bank, I also want to get the selected bank country key. I mean that when user select a bank, I want to output; bank key and bank country key. When these values return I want to assign these values to my dialog fiels. &lt;/P&gt;&lt;P&gt;Is it possible to do this via SE11 and assign search help? Or is it possible this using F4IF_INT_TABLE_VALUE_REQUEST or another ways?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Nov 2007 14:05:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-04T14:05:03Z</dc:date>
    <item>
      <title>search help returns two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-returns-two-fields/m-p/2976294#M702541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;There is a table BNKA that holds the bank country key(BANKS) and bank key(BANKL). In my dialog program, I have two fields for country key and bank key. Now, I want that there will be a search help for bank key, when user select a bank, I also want to get the selected bank country key. I mean that when user select a bank, I want to output; bank key and bank country key. When these values return I want to assign these values to my dialog fiels. &lt;/P&gt;&lt;P&gt;Is it possible to do this via SE11 and assign search help? Or is it possible this using F4IF_INT_TABLE_VALUE_REQUEST or another ways?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Nov 2007 14:05:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-returns-two-fields/m-p/2976294#M702541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-04T14:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: search help returns two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-returns-two-fields/m-p/2976295#M702542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nkara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at my sample report &amp;lt;b&amp;gt;ZUS_SDN_F4IF_INT_TAB_VAL_REQ&amp;lt;/b&amp;gt; which shows how to retrieve 2 fields from a search help. This technique can used to retrieve any number of fields from the search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="548810"&gt;&lt;/A&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Nov 2007 14:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-returns-two-fields/m-p/2976295#M702542</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-11-04T14:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: search help returns two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-returns-two-fields/m-p/2976296#M702543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;Now, my real purpose is returning the two values to dialog screen. &lt;/P&gt;&lt;P&gt;I have POV statement as;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS ON VALUE-REQUEST.

  FIELD : ITAB-BANKL
  MODULE TEST.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and my module is;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE TEST INPUT.
  ITAB-BANKS = 'US'.
  ITAB-BANKL = '123456'.
ENDMODULE&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As seen above I assign 'US' to BANKS although I am calling the POV module when pressing F4 for BANKL . But in result, only BANKL is assigned and BANKS is initial. &lt;/P&gt;&lt;P&gt;I want to assign BANKS field although pressing F4 for BANKL. But how can I do this?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 14:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-returns-two-fields/m-p/2976296#M702543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T14:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: search help returns two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-returns-two-fields/m-p/2976297#M702544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the FM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DYNP_VALUES_UPDATE to update the BANK .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA BEGIN OF LNA_DYNPF OCCURS 1.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE DYNPREAD.&lt;/P&gt;&lt;P&gt;  DATA END OF LNA_DYNPF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;   LNA_DYNPF-FIELDNAME  = 'ITAB-BANKS'.   " field name 
    LNA_DYNPF-FIELDVALUE = 'US'.   " value
    APPEND LNA_DYNPF.


    CALL FUNCTION 'DYNP_VALUES_UPDATE'
         EXPORTING
              DYNAME               = l_cporg        " your program
              DYNUMB               = SY-DYNNR  " your screen
         TABLES
              DYNPFIELDS           = LNA_DYNPF
         EXCEPTIONS
              INVALID_ABAPWORKAREA = 1
              INVALID_DYNPROFIELD  = 2
              INVALID_DYNPRONAME   = 3
              INVALID_DYNPRONUMMER = 4
              INVALID_REQUEST      = 5
              NO_FIELDDESCRIPTION  = 6
              UNDEFIND_ERROR       = 7
              OTHERS               = 8.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 14:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-returns-two-fields/m-p/2976297#M702544</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-05T14:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: search help returns two fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-returns-two-fields/m-p/2976298#M702545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;you are perfect thanks.&lt;/P&gt;&lt;P&gt;10 points &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 14:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-returns-two-fields/m-p/2976298#M702545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T14:59:09Z</dc:date>
    </item>
  </channel>
</rss>

