<?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: write command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577749#M589216</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;end-of-selection event after outputting basic list we ll go for at line-selection event.&lt;/P&gt;&lt;P&gt;in at line selection event we use two system variables sy-lsind and sy-lisel or [hide] based on our requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can use write st in at line-selection event as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;case sy-lisnd.&lt;/P&gt;&lt;P&gt;    when 'itab-matnr'.&lt;/P&gt;&lt;P&gt;                write :/10 itab-............&lt;/P&gt;&lt;P&gt;                ...................&lt;/P&gt;&lt;P&gt; ...................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; when 'itab-mtart'.&lt;/P&gt;&lt;P&gt;             ..........................&lt;/P&gt;&lt;P&gt;.     ........................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some  points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2007 14:19:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-01T14:19:07Z</dc:date>
    <item>
      <title>write command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577744#M589211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how i can use write in&lt;/P&gt;&lt;P&gt;event AT SELECTION-SCREEN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 15:13:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577744#M589211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T15:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: write command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577745#M589212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can't,  use SELECTION-SCREEN COMMENT&lt;/P&gt;&lt;P&gt;also goto se38, press CTRL+F8, type in SELECTION-SCREEN and read everything you can find about selection screens in the ABAP help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 11:18:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577745#M589212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T11:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: write command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577746#M589213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We can not use the WRITE command in this Event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The event AT SELECTION-SCREEN is the basic form of a whole series of events that occur while the selection screen is being processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard selection screen in an executable program or in the logical database linked to it is automatically called between the INITIALIZATION and START-OF-SELECTION events. When you call the selection screen, and when users interact with it, the ABAP runtime environment generates selection screen events, which occur between INITIALIZATION and START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define event blocks for these events in your program to change the selection screen or process user input. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the COMMENT to write the text in the selection screen ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To place comments on the selection screen, you use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT [/]pos(len) comm [FOR FIELD f]&lt;/P&gt;&lt;P&gt;                                          [MODIF ID key].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement writes the comm comment on the selection screen. For comm, you can specify a text symbol or a field name with a maximum length of eight characters. This character field must not be declared with the DATA statement, but is generated automatically with length len. The field must be filled before the selection screen is called. You must always specify the pos(len) addition. Only if there are several elements in one line can you omit pos. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text comm  will be displayed, starting in column pos, for a length of len. If you do not use a slash (/), the comment is written into the current line; otherwise a new line is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use FOR FIELD f to assign a field label to the comment. f can be the name of a parameter or a selection criterion. As a result, if the user requests help on the comment on the selection screen, the help text for the assigned field f is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MODIF ID keyaddition has the same function as for the PARAMETERS statement. You can use it to modify the comment before the selection screen is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the exampel Program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_sel_screen_select_comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT /2(50) text-001 MODIF ID sc1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP 2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT /10(30) comm1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: r1 RADIOBUTTON GROUP rad1,&lt;/P&gt;&lt;P&gt;            r2 RADIOBUTTON GROUP rad1,&lt;/P&gt;&lt;P&gt;            r3 RADIOBUTTON GROUP rad1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN ULINE /1(50).&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT /10(30) comm2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: s1 RADIOBUTTON GROUP rad2,&lt;/P&gt;&lt;P&gt;            s2 RADIOBUTTON GROUP rad2,&lt;/P&gt;&lt;P&gt;            s3 RADIOBUTTON GROUP rad2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN ULINE /1(50).&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;COMM1 ='Radio Button Group 1'.&lt;/P&gt;&lt;P&gt;COMM2 ='Radio Button Group 2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'SC1'.&lt;/P&gt;&lt;P&gt;      screen-intensified = '1'.&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;P&gt;&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 11:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577746#M589213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T11:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: write command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577747#M589214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u cant write any thing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 13:34:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577747#M589214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T13:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: write command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577748#M589215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use WRITE statement in AT SELECTION-SCREEN event..&lt;/P&gt;&lt;P&gt;because in this event nothing is written on the selection-screen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but u can use  &lt;/P&gt;&lt;P&gt;WRITE fld1 To fld2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 13:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577748#M589215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T13:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: write command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577749#M589216</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;end-of-selection event after outputting basic list we ll go for at line-selection event.&lt;/P&gt;&lt;P&gt;in at line selection event we use two system variables sy-lsind and sy-lisel or [hide] based on our requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can use write st in at line-selection event as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;case sy-lisnd.&lt;/P&gt;&lt;P&gt;    when 'itab-matnr'.&lt;/P&gt;&lt;P&gt;                write :/10 itab-............&lt;/P&gt;&lt;P&gt;                ...................&lt;/P&gt;&lt;P&gt; ...................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; when 'itab-mtart'.&lt;/P&gt;&lt;P&gt;             ..........................&lt;/P&gt;&lt;P&gt;.     ........................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some  points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 14:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-command/m-p/2577749#M589216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T14:19:07Z</dc:date>
    </item>
  </channel>
</rss>

