<?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: Problem in Selection Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898530#M375421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stanley , &lt;/P&gt;&lt;P&gt;  Why this statement MOVE PDATE(4) TO WK_YR1. in the selection screen.&lt;/P&gt;&lt;P&gt;  The reason why you can be getting an error when you use the comnment statement is that the screen space for two elemnt must be overlapping , so just change the coordinates of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to assign a value to WK_YR1 , you can use the event AT SELECTION-SCREEN or you can use the fm 'DYNP_VALUES_READ'TO read the value of pdate and the use the fm DYNP_VALUES_UPDATE to assign value to WK_YR1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Arun R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jan 2007 04:54:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-24T04:54:59Z</dc:date>
    <item>
      <title>Problem in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898529#M375420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to dispaly a variable in my selection screen.&lt;/P&gt;&lt;P&gt;If i use comment stmt its showing some error.&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;PARAMETERS:  PDATE LIKE PA0000-BEGDA DEFAULT SY-DATUM &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1 .&lt;/P&gt;&lt;P&gt;MOVE PDATE(4)   TO WK_YR1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP 2.&lt;/P&gt;&lt;P&gt;After this stmt i want to display WK_YR1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz solve this problem, its vry urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;stanley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 04:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898529#M375420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T04:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898530#M375421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stanley , &lt;/P&gt;&lt;P&gt;  Why this statement MOVE PDATE(4) TO WK_YR1. in the selection screen.&lt;/P&gt;&lt;P&gt;  The reason why you can be getting an error when you use the comnment statement is that the screen space for two elemnt must be overlapping , so just change the coordinates of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to assign a value to WK_YR1 , you can use the event AT SELECTION-SCREEN or you can use the fm 'DYNP_VALUES_READ'TO read the value of pdate and the use the fm DYNP_VALUES_UPDATE to assign value to WK_YR1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Arun R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 04:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898530#M375421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T04:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898531#M375422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&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;PARAMETERS: PDATE LIKE PA0000-BEGDA DEFAULT SY-DATUM &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1 .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN skip 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT /1(80) TEXT-002 .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 04:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898531#M375422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T04:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898532#M375423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare like this - &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;PARAMETERS: PDATE LIKE PA0000-BEGDA DEFAULT SY-DATUM.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1 .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP 2.&lt;/P&gt;&lt;P&gt;parameters: WK_YR1(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE PDATE(4) TO WK_YR1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 04:57:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898532#M375423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T04:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898533#M375424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry can not get your exact requirement but&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen comment WK_YR1 [for p_date1].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen  end of line.&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;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 04:58:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898533#M375424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T04:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898534#M375425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry can not get your exact requirement but&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen comment /1(10) WK_YR1 [for p_date1].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen  end of line.&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;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 04:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898534#M375425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T04:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898535#M375426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS: PDATE LIKE PA0000-BEGDA DEFAULT SY-DATUM 
parameters :WK_YR1(4).
SELECTION-SCREEN END OF BLOCK B1 .
SELECTION-SCREEN SKIP 2.


INITIALIZATION.
loop at screen.
  if screen-name = 'WK_YR1'.
     screen-input = 0
     modify screen.
  endif.
endloop.
MOVE PDATE(4) TO WK_YR1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 05:17:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898535#M375426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T05:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898536#M375427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stanley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check if this is what you are looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
  PARAMETERS: PDATE LIKE PA0000-BEGDA DEFAULT SY-DATUM.
SELECTION-SCREEN END OF BLOCK B1 .

SELECTION-SCREEN SKIP 2.

SELECTION-SCREEN BEGIN OF LINE.
  SELECTION-SCREEN COMMENT (4) WK_YR1.
SELECTION-SCREEN END OF LINE.

AT SELECTION-SCREEN OUTPUT.
  MOVE PDATE(4) TO WK_YR1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 05:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898536#M375427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T05:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898537#M375428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Eswar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for solving the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Stanley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 05:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898537#M375428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T05:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898538#M375429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad could help you Stanley.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 06:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-selection-screen/m-p/1898538#M375429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T06:05:26Z</dc:date>
    </item>
  </channel>
</rss>

