<?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: data selection on the selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832354#M354574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do not worry about to get the value from the search help, This is possible with the select statment also, just goto SE11 and give that search help name and see from which table the search help is picking the value, then in your program, just write the logic with a simple select statment to get the GJAHR based on the PRNAM from that table.this should be done in the AT SELECTION-SCREEN OUTPUT. so the value will come and be there in the field GJAHR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jan 2007 11:08:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-11T11:08:32Z</dc:date>
    <item>
      <title>data selection on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832351#M354571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I have got a requirement to insert  the data in the field-GJAHR on the selection screen as soon as the user selects PRNAM. The user has to select 'prnam' from the search list only.   The selection should be such that, the gjahr should be of the same row as on which the user has CLICKED ON THE SEARCH LIST for the corresponding prnam. These two field are from the table IMTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Chetan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 10:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832351#M354571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T10:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: data selection on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832352#M354572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the search list created by you...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 11:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832352#M354572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T11:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: data selection on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832353#M354573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;read database table at selection screen event using key value PRNAM and the assign the GJAHR field with the corresponding value.&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 11:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832353#M354573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T11:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: data selection on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832354#M354574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do not worry about to get the value from the search help, This is possible with the select statment also, just goto SE11 and give that search help name and see from which table the search help is picking the value, then in your program, just write the logic with a simple select statment to get the GJAHR based on the PRNAM from that table.this should be done in the AT SELECTION-SCREEN OUTPUT. so the value will come and be there in the field GJAHR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 11:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832354#M354574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T11:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: data selection on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832355#M354575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No sundeep,&lt;/P&gt;&lt;P&gt; The search list is the list which we get on the selection screen. the prnam field is defined as p_prnam type imtp-prnam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 11:08:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832355#M354575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T11:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: data selection on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832356#M354576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i had written the program as:&lt;/P&gt;&lt;P&gt;parameters: p_prnam like imtp-prnam,&lt;/P&gt;&lt;P&gt;p_gjahr like imtp-gjahr.&lt;/P&gt;&lt;P&gt;data: v_gjahr like p_gjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on p_prnam.&lt;/P&gt;&lt;P&gt;select gjahr from imtp into v_gjahr where prnam = p_prnam.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;p_gjahr = v_gjahr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this program fails since the prnam and gjahr combination will have unique value. or in other words, for each prnam we can have many gjahr values. &lt;/P&gt;&lt;P&gt;therefore we need to select prnam from the selection screen and the same corresponding gjahr values should be selected. &lt;/P&gt;&lt;P&gt;can i seek  more clarity on your solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 11:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832356#M354576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T11:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: data selection on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832357#M354577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont know if you are trying to say that if you click on the search help it will populate two values in two parameters or not ? if it is so then i cant give you any solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the user make the entry and press enter the gjahr value will automatically populate that i can do.&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;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;parameters : pbelnr like bkpf-belnr." user-command 'parm'.&lt;/P&gt;&lt;P&gt;parameters : pgjahr like bkpf-gjahr.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&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 pbelnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single gjahr into pgjahr from bkpf where belnr = pbelnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just check whether it is complete your requirement or not.&lt;/P&gt;&lt;P&gt;i didnt use selection-screen comment pleaase do that for field labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 11:17:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832357#M354577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T11:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: data selection on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832358#M354578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think ur question is , if we select PRNAM from the 3rd row of the search list  then GJAHR should also be present on the 3rd row of the search list. for this u have to create ur own search list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this is not ....then like said by others u have to use select option to get the GJAHR  for the given PRNAM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 11:18:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832358#M354578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T11:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: data selection on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832359#M354579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables zgill_main.&lt;/P&gt;&lt;P&gt;parameters pernr like zgill_main-pernr modif id ABC .&lt;/P&gt;&lt;P&gt;parameters org like zgill_main-org modif id ABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if pernr is not initial and screen-group1 = 'ABC'.&lt;/P&gt;&lt;P&gt;select single * from zgill_main where pernr = pernr.&lt;/P&gt;&lt;P&gt;org = zgill_main-org.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 11:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-on-the-selection-screen/m-p/1832359#M354579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T11:26:09Z</dc:date>
    </item>
  </channel>
</rss>

