<?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: Adding Selection Screen in Screen - URGENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-screen-in-screen-urgent/m-p/3171331#M754649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first define a field in your screen painter through the transcation se51 the field i have created u named it as zg8_ekko-ebeln. now you can use this field as selection screen and if you want ranges there is also an option provided in the screen painter itself and the validation for this field can be done as in the code provided below you can define any number of fields in the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single ebeln into zg8_ekko from zg8_ekko  where&lt;/P&gt;&lt;P&gt;      ebeln = zg8_ekko-ebeln.&lt;/P&gt;&lt;P&gt;      if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        message 'the purchase order no: already exists' type 'E'.&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;        leave to screen 200.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2007 07:14:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-21T07:14:51Z</dc:date>
    <item>
      <title>Adding Selection Screen in Screen - URGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-screen-in-screen-urgent/m-p/3171328#M754646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me define a select option field in my screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 06:54:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-screen-in-screen-urgent/m-p/3171328#M754646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T06:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Selection Screen in Screen - URGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-screen-in-screen-urgent/m-p/3171329#M754647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi tin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; the following code 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-t01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;             s_vkorg  FOR  vbak-vkorg OBLIGATORY,  " Sales Org.&lt;/P&gt;&lt;P&gt;             s_auart  FOR  vbak-auart,             " Sales order Type&lt;/P&gt;&lt;P&gt;             s_vbeln  FOR  vbak-vbeln,             " Sales Order Number&lt;/P&gt;&lt;P&gt;             s_erdat  FOR  vbak-erdat NO-EXTENSION," Order create Date&lt;/P&gt;&lt;P&gt;             s_ernam  FOR vbak-ernam matchcode object&lt;/P&gt;&lt;P&gt;                                      user_addr.   " Created by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_run TYPE BAPIVBRKTESTRUN-TESTRUN.   " Test mode&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;reward points if found helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 06:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-screen-in-screen-urgent/m-p/3171329#M754647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T06:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Selection Screen in Screen - URGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-screen-in-screen-urgent/m-p/3171330#M754648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi that would be useful if i am just using the selection screen. but i need to define it inside my screen painter..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 07:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-screen-in-screen-urgent/m-p/3171330#M754648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T07:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Selection Screen in Screen - URGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-screen-in-screen-urgent/m-p/3171331#M754649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first define a field in your screen painter through the transcation se51 the field i have created u named it as zg8_ekko-ebeln. now you can use this field as selection screen and if you want ranges there is also an option provided in the screen painter itself and the validation for this field can be done as in the code provided below you can define any number of fields in the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single ebeln into zg8_ekko from zg8_ekko  where&lt;/P&gt;&lt;P&gt;      ebeln = zg8_ekko-ebeln.&lt;/P&gt;&lt;P&gt;      if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        message 'the purchase order no: already exists' type 'E'.&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;        leave to screen 200.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 07:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-screen-in-screen-urgent/m-p/3171331#M754649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T07:14:51Z</dc:date>
    </item>
  </channel>
</rss>

