<?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: Valid values enter at selection screen input in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/valid-values-enter-at-selection-screen-input/m-p/2551775#M581138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validation i was done already.but when we are enter Account ID , automatically remaining fields (House Bank and Company code) should be updated in addintion to the Account ID. valid values of Company code and House bank updated at selection screen input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2007 06:22:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-16T06:22:36Z</dc:date>
    <item>
      <title>Valid values enter at selection screen input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/valid-values-enter-at-selection-screen-input/m-p/2551772#M581135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abapers ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Three input fields (Company Code,House Bank and Account ID) when I execute the report I need to enter valid input values.&lt;/P&gt;&lt;P&gt;1)For house bank the valid values are limited to only those relevent for the Company code,if provided.Additionally the matchcode may populate Company Code in addition to House Bank.&lt;/P&gt;&lt;P&gt;2).For Account Id the valid values should be limited to only those relevent for the Company code and House bank combination provided.The valid values are limited to only those relevent for the Company code and House bank.if provided.Additionally if the Company code and House Bank are blank and an Account id matchcode is use the company code and House bank should be updated in addition to the Account ID.&lt;/P&gt;&lt;P&gt;Please give me a sample code for this&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;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 06:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/valid-values-enter-at-selection-screen-input/m-p/2551772#M581135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T06:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Valid values enter at selection screen input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/valid-values-enter-at-selection-screen-input/m-p/2551773#M581136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Declare those 3 fields on selection screen&lt;/P&gt;&lt;P&gt;and validate them against their master tables:&lt;/P&gt;&lt;P&gt;BUKRS: company code validate it against T001&lt;/P&gt;&lt;P&gt;House Bank and Account ID : validate against T012 Table &lt;/P&gt;&lt;P&gt;so that all the 3 fields are validated since this table have Company code,Bankid and account id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the sample code and do similarly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:s_bukrs for t001-bukrs.&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validation for company code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear t001.&lt;/P&gt;&lt;P&gt;  if not s_bukrs-low is initial.&lt;/P&gt;&lt;P&gt;    select single bukrs from t001&lt;/P&gt;&lt;P&gt;         into t001-bukrs&lt;/P&gt;&lt;P&gt;         where bukrs in s_bukrs.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      message e007.   " Enter valid Company Code&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&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>Mon, 16 Jul 2007 06:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/valid-values-enter-at-selection-screen-input/m-p/2551773#M581136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T06:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Valid values enter at selection screen input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/valid-values-enter-at-selection-screen-input/m-p/2551774#M581137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This may help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SELECT-OPTIONS : s_blart FOR bkpf-blart OBLIGATORY NO INTERVALS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_blart FOR t003-blart MATCHCODE OBJECT zdoc_type OBLIGATORY NO INTERVALS NO-EXTENSION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_belnr LIKE bseg-belnr,&lt;/P&gt;&lt;P&gt;            b_bukrs LIKE bseg-bukrs OBLIGATORY DEFAULT '1000',&lt;/P&gt;&lt;P&gt;            g_gjahr LIKE bseg-gjahr.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&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;&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;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 06:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/valid-values-enter-at-selection-screen-input/m-p/2551774#M581137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T06:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Valid values enter at selection screen input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/valid-values-enter-at-selection-screen-input/m-p/2551775#M581138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validation i was done already.but when we are enter Account ID , automatically remaining fields (House Bank and Company code) should be updated in addintion to the Account ID. valid values of Company code and House bank updated at selection screen input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 06:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/valid-values-enter-at-selection-screen-input/m-p/2551775#M581138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T06:22:36Z</dc:date>
    </item>
  </channel>
</rss>

