<?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: selection screen program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3170000#M754313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT  YTEST33.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types : begin of ty_itab,&lt;/P&gt;&lt;P&gt;        p1 type i,&lt;/P&gt;&lt;P&gt;        p2 type i,&lt;/P&gt;&lt;P&gt;        end of ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type standard table of ty_itab initial size 0 with header line.&lt;/P&gt;&lt;P&gt;data : line_count type i,temp_p2 type i.&lt;/P&gt;&lt;P&gt;data : i1 type i value 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-p1 = 1.&lt;/P&gt;&lt;P&gt;itab-p2 = 2.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-p1 = 3.&lt;/P&gt;&lt;P&gt;itab-p2 = 4.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-p1 = 5.&lt;/P&gt;&lt;P&gt;itab-p2 = 6.&lt;/P&gt;&lt;P&gt;append itab.&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;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : /10 itab-p1 , itab-p2 input on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;describe table itab lines Line_count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at pf06.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while ( i1 &amp;lt;= line_count ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab index i1.&lt;/P&gt;&lt;P&gt;i1 = i1 + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read line i1 field value itab-p2 into temp_p2. "reading value changed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( temp_p2 &amp;lt;&amp;gt; itab-p2 ).&lt;/P&gt;&lt;P&gt;" write code for update in database&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endwhile.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Dec 2007 08:54:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-10T08:54:05Z</dc:date>
    <item>
      <title>selection screen program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169994#M754307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi frnds,&lt;/P&gt;&lt;P&gt;           i want to develop a program for testing purpose.&lt;/P&gt;&lt;P&gt;           on executing the code.&lt;/P&gt;&lt;P&gt;           a sceen opens in which i will enter material no(matnr) as parameter.&lt;/P&gt;&lt;P&gt;on pressing enter again a new screen will open which will show materials description (makt-maktx) along with mateial no(this field will grey out).&lt;/P&gt;&lt;P&gt;i will be able to change materials description and will save it and the data shuld be updated in database table.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;pls dont design the screen by going to scrrn painter (using module pool concept)&amp;lt;/b&amp;gt;         . how to achieve this&lt;/P&gt;&lt;P&gt;pls help&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 07:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169994#M754307</guid>
      <dc:creator>former_member841898</dc:creator>
      <dc:date>2007-12-10T07:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169995#M754308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pankaj   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On getting the data of material number and material description in the Internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the output as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write : itab-matnr, itab-matkx input on.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now change the value on screen .. on the event for pusbutton &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at user-command&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'submit'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use Read line statement to get the changed value . Compare the changed value with the value in the internal table . If any changes Update in the database&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 07:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169995#M754308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T07:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169996#M754309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could achieve that by "playing" with AT SELECTION-SCREEN OUTPUIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare two parameters maternial no and text.&lt;/P&gt;&lt;P&gt;Attach a group to parameter material no and another to text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN OUTPUT - LOOP AT SCREEN&lt;/P&gt;&lt;P&gt;First call &lt;/P&gt;&lt;P&gt;- set material input flag&lt;/P&gt;&lt;P&gt;- set text as inactive&lt;/P&gt;&lt;P&gt;Second call&lt;/P&gt;&lt;P&gt;- clear material input flag&lt;/P&gt;&lt;P&gt;- set text as active (and input)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When okay use a call transaction or a BAPI (BAPI_MATERIAL_SAVEDATA) to update material text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 07:57:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169996#M754309</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-12-10T07:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169997#M754310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   parameters:&lt;/P&gt;&lt;P&gt;        s_matnr type matnr.&lt;/P&gt;&lt;P&gt;   at selection-screen.&lt;/P&gt;&lt;P&gt;      select single matnr &lt;/P&gt;&lt;P&gt;               maktx&lt;/P&gt;&lt;P&gt;          into fs_tab-maktx&lt;/P&gt;&lt;P&gt;       where matnr = s_matnr.&lt;/P&gt;&lt;P&gt;    start-of-selection.&lt;/P&gt;&lt;P&gt;       write: /n  p_matnr, fs_tab-maktx.&lt;/P&gt;&lt;P&gt;       at line selection.&lt;/P&gt;&lt;P&gt;        write: /n  p_matnr, fs_tab-maktx as input.&lt;/P&gt;&lt;P&gt;       hide fs_tab-maktx.&lt;/P&gt;&lt;P&gt;     then use the update maktx from fs_tab.&lt;/P&gt;&lt;P&gt;i hope this will helpful for u.&lt;/P&gt;&lt;P&gt;   plzz reward points if it is useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 07:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169997#M754310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T07:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169998#M754311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mohit sir,&lt;/P&gt;&lt;P&gt;         can u give me the code after which i have to use after submit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 08:01:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169998#M754311</guid>
      <dc:creator>former_member841898</dc:creator>
      <dc:date>2007-12-10T08:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169999#M754312</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;&lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_pay1 RADIOBUTTON GROUP grp USER-COMMAND fc DEFAULT 'X',&lt;/P&gt;&lt;P&gt;             p_pay2 RADIOBUTTON GROUP grp.&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;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_pernr FOR  pa0000-pernr.            "Personnel Number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT (31) text-018.&lt;/P&gt;&lt;P&gt;PARAMETERS     : p_begda LIKE pa0000-begda OBLIGATORY. "Start Date&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 52(05) text-019.&lt;/P&gt;&lt;P&gt;PARAMETERS     : p_endda LIKE pa0000-endda OBLIGATORY. "End Date&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_stat2  FOR pa0000-stat2,               "Status&lt;/P&gt;&lt;P&gt;                 s_werks  FOR pa0001-werks,               "Personnel Area&lt;/P&gt;&lt;P&gt;                 s_raufnr FOR catsdb-raufnr MODIF ID md1. "Internal Order Number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                  AT SELECTION-SCREEN                                *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&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;&lt;/P&gt;&lt;P&gt;  IF p_pay1 EQ 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'MD1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        screen-active = '1'.&lt;/P&gt;&lt;P&gt;        screen-input  = '0'.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ELSEIF p_pay2 EQ 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'MD1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        screen-active = '1'.&lt;/P&gt;&lt;P&gt;        screen-input  = '1'.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&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;Regards,&lt;/P&gt;&lt;P&gt;PRashant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Prashant Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 08:08:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3169999#M754312</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-12-10T08:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3170000#M754313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT  YTEST33.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types : begin of ty_itab,&lt;/P&gt;&lt;P&gt;        p1 type i,&lt;/P&gt;&lt;P&gt;        p2 type i,&lt;/P&gt;&lt;P&gt;        end of ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type standard table of ty_itab initial size 0 with header line.&lt;/P&gt;&lt;P&gt;data : line_count type i,temp_p2 type i.&lt;/P&gt;&lt;P&gt;data : i1 type i value 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-p1 = 1.&lt;/P&gt;&lt;P&gt;itab-p2 = 2.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-p1 = 3.&lt;/P&gt;&lt;P&gt;itab-p2 = 4.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-p1 = 5.&lt;/P&gt;&lt;P&gt;itab-p2 = 6.&lt;/P&gt;&lt;P&gt;append itab.&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;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : /10 itab-p1 , itab-p2 input on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;describe table itab lines Line_count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at pf06.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while ( i1 &amp;lt;= line_count ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab index i1.&lt;/P&gt;&lt;P&gt;i1 = i1 + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read line i1 field value itab-p2 into temp_p2. "reading value changed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( temp_p2 &amp;lt;&amp;gt; itab-p2 ).&lt;/P&gt;&lt;P&gt;" write code for update in database&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endwhile.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 08:54:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-program/m-p/3170000#M754313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T08:54:05Z</dc:date>
    </item>
  </channel>
</rss>

