<?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: loop at screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311971#M162214</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;check this code..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZTEST_CHECK                             .


parameters: p_sale radiobutton group g1 user-command ABC default 'X',
            p_mate radiobutton group g1 .


parameters: p_vbeln like vbak-vbeln,
            p_matnr like mara-matnr.



at selection-screen output.

if p_sale = 'X'.

loop at screen.
if screen-name = 'P_MATNR'.
screen-input = 0.
endif.
modify screen.
endloop.
endif.
if p_mate = 'X'.
loop at screen.
if screen-name = 'P_VBELN'.
screen-input = 0.
endif.
modify screen.
endloop.
endif.&lt;/CODE&gt;&lt;/PRE&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;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 May 2006 12:38:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-22T12:38:15Z</dc:date>
    <item>
      <title>loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311969#M162212</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;           I want to know the basic concepts of Loop at screen and where I can use it.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;          Pls explain it to me by code I am not getting the concepts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          Please experts help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     With regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Abir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 12:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311969#M162212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T12:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311970#M162213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abir,&lt;/P&gt;&lt;P&gt; Please refrain from creating multiple posts on the same topic.&lt;/P&gt;&lt;P&gt;Close one of them.&lt;/P&gt;&lt;P&gt;Check the program DEMO_DYNPRO_MODIFY_SIMPLE for some inputs.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 12:35:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311970#M162213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T12:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311971#M162214</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;check this code..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZTEST_CHECK                             .


parameters: p_sale radiobutton group g1 user-command ABC default 'X',
            p_mate radiobutton group g1 .


parameters: p_vbeln like vbak-vbeln,
            p_matnr like mara-matnr.



at selection-screen output.

if p_sale = 'X'.

loop at screen.
if screen-name = 'P_MATNR'.
screen-input = 0.
endif.
modify screen.
endloop.
endif.
if p_mate = 'X'.
loop at screen.
if screen-name = 'P_VBELN'.
screen-input = 0.
endif.
modify screen.
endloop.
endif.&lt;/CODE&gt;&lt;/PRE&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;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 12:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311971#M162214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T12:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311972#M162215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;copy paste and execute this prog

REPORT ychatest.


DATA : flg TYPE i,
       flg1 TYPE i.

PARAMETERS : chk1 TYPE c AS CHECKBOX USER-COMMAND ch1 MODIF ID m1,
             chk2 TYPE c AS CHECKBOX USER-COMMAND ch2 MODIF ID m2.


INITIALIZATION.
  flg = 1.
  flg1 = 1.


AT SELECTION-SCREEN .
  IF sy-ucomm = 'CH1'.
    IF chk1 = 'X'.
      flg = 1.
      flg1 = 0.
    ELSE.
      flg = 1.
      flg1 = 1.
    ENDIF.
  ELSEIF sy-ucomm = 'CH2'.
    IF chk2 = 'X'.
      flg = 0.
      flg1 = 1.
    ELSE.
      flg = 1.
      flg1 = 1.

    ENDIF.
  ENDIF.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF screen-group1 = 'M1'.
      screen-input = flg.
      MODIFY SCREEN.
    ELSEIF screen-group1 = 'M2'.
      screen-input = flg1.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 12:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311972#M162215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T12:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311973#M162216</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;or look here: &lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba70535c111d1829f0000e829fbfe/frameset.htm"&amp;gt;Modifying Input Fields&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 12:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311973#M162216</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-05-22T12:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311974#M162217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement LOOP AT SCREEEN. is used for modifying the screeen elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement should be called in the PBO event to perform the required functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: suppose that you want to make a field invisible when a button is clicked, then in the PBO of the screen, write this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;if screen-name = 'INP1'.&lt;/P&gt;&lt;P&gt;screen-invisible = '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;In this example , the processing is like this.&lt;/P&gt;&lt;P&gt;The statement LOOP AT SCREEN. causes each screen element to be processed. Each time the loop statement is executed, screen-name will be filled with the name of the screen element . Depending on the name of the screen element , you can process using the above mentioned statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCREEN is a structure which has components like NAME,GROUP1,GROUP2,GROUP3 , GROUP4,INPUT,OUTPUT, INVISIBLE,ACTIVE etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details , just check this link in SAP Library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm&lt;/A&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;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 12:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311974#M162217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T12:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311975#M162218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the loop at screen is used whenever one wants to change the screen attributes.&lt;/P&gt;&lt;P&gt;what we can do is that we can group the screen elements(for which we want to change the attributes) into some group name in the screen layout, say, G1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop atscreen.&lt;/P&gt;&lt;P&gt;if screen-group = 'G1'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;we can change the screen attributes like :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;screen-invisible = 0.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;*etc.&lt;/P&gt;&lt;P&gt;modify screen. "this statement is very imp.&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;Regards,&lt;/P&gt;&lt;P&gt;Aswin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 12:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311975#M162218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T12:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311976#M162219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Abir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following Documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;All fields of the current screen are stored in the system table SCREEN with their attributes. &lt;/P&gt;&lt;P&gt;The " LOOP AT SCREEN " statement places this information in the header line of the system table. &lt;/P&gt;&lt;P&gt;If you want to change the attributes, you must put back the changed header line with MODIFY SCREEN . However, you can only do this in the PBO module of a screen . &lt;/P&gt;&lt;P&gt;If you use this statement for step loop processing, the information (and any changes) apply only to the current steploop line. Outside step loop processing, the information for a step loop field applies to the complete column. &lt;/P&gt;&lt;P&gt;Step loop fields should never be changed after the corresponding step loop processing has been performed. &lt;/P&gt;&lt;P&gt;You can use the CONTINUE statement to leave the current loop pass prematurely and continue with the next loop pass. &lt;/P&gt;&lt;P&gt;Overview of all SCREEN fields: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field Length Type Meaning &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCREEN-NAME 30 C Field name &lt;/P&gt;&lt;P&gt;SCREEN-GROUP1 3 C Evaluation of &lt;/P&gt;&lt;P&gt;modification group 1 &lt;/P&gt;&lt;P&gt;SCREEN-GROUP2 3 C Evaluation of &lt;/P&gt;&lt;P&gt;modification group 2 &lt;/P&gt;&lt;P&gt;SCREEN-GROUP3 3 C Evaluation of &lt;/P&gt;&lt;P&gt;modification group 3 &lt;/P&gt;&lt;P&gt;SCREEN-GROUP4 3 C Evaluation of &lt;/P&gt;&lt;P&gt;modification group 4 &lt;/P&gt;&lt;P&gt;SCREEN-REQUIRED 1 C Field input mandatory &lt;/P&gt;&lt;P&gt;SCREEN-INPUT 1 C Field ready to accept input &lt;/P&gt;&lt;P&gt;SCREEN-OUTPUT 1 C Field will be displayed &lt;/P&gt;&lt;P&gt;SCREEN-INTENSIFIED 1 C Field highlighted &lt;/P&gt;&lt;P&gt;SCREEN-INVISIBLE 1 C Field invisible &lt;/P&gt;&lt;P&gt;SCREEN-LENGTH 1 X Field length &lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE 1 C Field active &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Make all fields display only: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS OFF VALUE '0'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  SCREEN-INPUT = OFF.&lt;/P&gt;&lt;P&gt;  MODIFY SCREEN.&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;Check the following Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara,&lt;/P&gt;&lt;P&gt;         marc.&lt;/P&gt;&lt;P&gt;data : V_matnr like marc-matnr,&lt;/P&gt;&lt;P&gt;       V_werks like marc-werks.&lt;/P&gt;&lt;P&gt;data : RB1(1),&lt;/P&gt;&lt;P&gt;       RB2(1).&lt;/P&gt;&lt;P&gt;data : MARC_TXT(20).&lt;/P&gt;&lt;P&gt;data : okcode like sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&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;      text&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;module USER_COMMAND_0100 input.&lt;/P&gt;&lt;P&gt;if okcode = 'BACK'.&lt;/P&gt;&lt;P&gt;  leave program.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endmodule.                 " USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  STATUS_0100  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&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;      text&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;module STATUS_0100 output.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'SRI01'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET TITLEBAR 'xxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if RB1 = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt; if screen-name = 'V_MATNR'.&lt;/P&gt;&lt;P&gt;      screen-input = 1.&lt;/P&gt;&lt;P&gt;      screen-required = 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;    if screen-name = 'MTRN'.&lt;/P&gt;&lt;P&gt;      screen-invisible = 0.&lt;/P&gt;&lt;P&gt;      modify screen.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    if screen-name = 'V_WERKS'.&lt;/P&gt;&lt;P&gt;      screen-active = 0.&lt;/P&gt;&lt;P&gt;      modify screen.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    if screen-name = 'PLNT'.&lt;/P&gt;&lt;P&gt;      screen-invisible = 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; MARC_TXT = 'Data From Srinu'.&lt;/P&gt;&lt;P&gt;elseif RB2 = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt; if screen-name = 'V_MATNR'.&lt;/P&gt;&lt;P&gt;      screen-input = 1.&lt;/P&gt;&lt;P&gt;      screen-required = 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;    if screen-name = 'MTRN'.&lt;/P&gt;&lt;P&gt;      screen-invisible = 0.&lt;/P&gt;&lt;P&gt;      modify screen.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    if screen-name = 'V_WERKS'.&lt;/P&gt;&lt;P&gt;      screen-active = 1.&lt;/P&gt;&lt;P&gt;      screen-required = 1.&lt;/P&gt;&lt;P&gt;      modify screen.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    if screen-name = 'PLNT'.&lt;/P&gt;&lt;P&gt;      screen-invisible = 0.&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;  MARC_TXT = 'Data From Kiran'.&lt;/P&gt;&lt;P&gt;if V_matnr &amp;lt;&amp;gt; space and V_werks &amp;lt;&amp;gt; space.&lt;/P&gt;&lt;P&gt;  select single matnr werks from marc into (V_matnr,V_werks)&lt;/P&gt;&lt;P&gt;                     where matnr = V_matnr and&lt;/P&gt;&lt;P&gt;                           werks = V_werks.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message e003 with 'Input Does' 'Not Match' 'From MARC Table'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endmodule.                 " STATUS_0100  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 12:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311976#M162219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T12:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311977#M162220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abir,&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN is  mainly used for processing your screen elements,say you can use it modify the appearance of your screen elements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P1 TYPE I MODIF ID MOD1,&lt;/P&gt;&lt;P&gt;            P2 TYPE I MODIF ID MOD2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  IF SCREEN-GROUP1 = 'MOD1'.&lt;/P&gt;&lt;P&gt;   SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;   MODIFY SCREEN.&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;Cheers,&lt;/P&gt;&lt;P&gt;Abdul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Mark All useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 13:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311977#M162220</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-05-22T13:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311978#M162221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I change the text of a text field during runtime of the program? in module pool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jun 2006 11:46:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1311978#M162221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-10T11:46:38Z</dc:date>
    </item>
  </channel>
</rss>

