<?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: Screen Prob in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933052#M941526</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;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN  BEGIN OF SCREEN 99.
PARAMETERS par2(40) TYPE c.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN     PUSHBUTTON 15(25) pubu USER-COMMAND us01.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN  END OF SCREEN 99.


START-OF-SELECTION.

  CALL SCREEN 99 STARTING AT 20 10 ENDING AT 80 20.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jun 2008 12:44:24 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2008-06-06T12:44:24Z</dc:date>
    <item>
      <title>Screen Prob</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933051#M941525</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; I have written program which will display the Screen in the form of dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I execute this, I will get an error&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;Error when generating the selection screen "0099" of report&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can any one tell me what is the problem? And y I am getting this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls refer below program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PARAMETERS     PAR2(40) TYPE c.&lt;/P&gt;&lt;P&gt;    SELECTION-SCREEN PUSHBUTTON 15(25) PUBU&lt;/P&gt;&lt;P&gt;                   USER-COMMAND US01.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call screen 99 starting at 20 10 ending at 80 20.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 12:29:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933051#M941525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T12:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Prob</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933052#M941526</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;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN  BEGIN OF SCREEN 99.
PARAMETERS par2(40) TYPE c.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN     PUSHBUTTON 15(25) pubu USER-COMMAND us01.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN  END OF SCREEN 99.


START-OF-SELECTION.

  CALL SCREEN 99 STARTING AT 20 10 ENDING AT 80 20.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 12:44:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933052#M941526</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-06-06T12:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Prob</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933053#M941527</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;Thnks for the support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have one more issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we Call the screen it also displays F8 (Execute Button).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me it should be disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achive this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 12:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933053#M941527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T12:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Prob</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933054#M941528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm tried two different ways to removed, neither worked.  I would suggest if you want that level of control, that you create a dynpro instead of trying to do this using a selection-screen definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 13:03:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933054#M941528</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-06-06T13:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Prob</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933055#M941529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why do you want that requirement ?? it means that a user can fill in some data but are not allowed to run the report ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or the other option is you have already filled in all the data necessary to run it ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that case you can also make a transaction variant with se93 which skips the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur de smidt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 06:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933055#M941529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T06:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Prob</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933056#M941530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  As I require only a dialog box should appear in the screen without F8 (Execute Button).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achive this?&lt;/P&gt;&lt;P&gt;Since I am using Selection-Screen for creating the Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to avoid this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 07:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933056#M941530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T07:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Prob</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933057#M941531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perhaps use a function like popup for this, I use it to get a dialog for text.&lt;/P&gt;&lt;P&gt;it also works with selection lists depending the fieldnames entered.&lt;/P&gt;&lt;P&gt;you can give more than 1 field for the dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

lt_rejecttable-tabname = 'CATSDB'.
lt_rejecttable-fieldname = 'LTXA1'.
append lt_rejecttable.


CALL FUNCTION 'POPUP_GET_VALUES'
  EXPORTING
*   NO_VALUE_CHECK        = ' '
    popup_title           = lf_title
*   START_COLUMN          = '5'
*   START_ROW             = '5'
* IMPORTING
*   RETURNCODE            =
  tables
    fields                = lt_rejecttable
* EXCEPTIONS
*   ERROR_IN_FIELDS       = 1
*   OTHERS                = 2
          .
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

read table lt_rejecttable with key fieldname = 'LTXA1'.

h_rejtxt = lt_rejecttable-value.


  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 08:02:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933057#M941531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T08:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Prob</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933058#M941532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  i did not what "lt_rejecttable" this internal table type is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it one we have to create or can refer to any standard table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what this internal table contains&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 09:48:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933058#M941532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T09:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Prob</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933059#M941533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you always create the variables with the type it has in the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in this case it was sval. look in the function with se37 at the table section and you see of which type you have to declare you're variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you can also test the function so you see how it works&lt;/P&gt;&lt;P&gt;fill in for tabname: aufk&lt;/P&gt;&lt;P&gt;and for fieldname : AUART&lt;/P&gt;&lt;P&gt;and give a title &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:     lt_rejecttable        TYPE STANDARD TABLE OF sval with header line,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: A. de Smidt on Jun 9, 2008 12:11 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 10:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933059#M941533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T10:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Prob</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933060#M941534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why define the screen in this program if it is just a push button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
START-OF-SELECTION.

   CALL SCREEN 99.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on the 99 and create your screen with a push button.  Define your own PF Status thru the PBO routine&lt;/P&gt;&lt;P&gt;and handle the function code(s) in the PAI routine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 10:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933060#M941534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T10:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Prob</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933061#M941535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you set your own PF-STATUS, in at selection-screen output&lt;/P&gt;&lt;P&gt;then the F8 button wont be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep REddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 14:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-prob/m-p/3933061#M941535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T14:20:07Z</dc:date>
    </item>
  </channel>
</rss>

