<?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: Dynamic Fields Manipulation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-manipulation/m-p/6272540#M1386839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;To achieve you can make use of LOOP AT SCREEN logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow the blow loigc as an example for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  z_sel_par.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : w_flag1 TYPE i,&lt;/P&gt;&lt;P&gt;       w_flag2 TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: mara,sscrfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: r1 RADIOBUTTON GROUP grp1 DEFAULT 'X',&lt;/P&gt;&lt;P&gt;            r2 RADIOBUTTON GROUP grp1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_matnr LIKE mara-matnr MODIF ID sc1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:s_matnr FOR mara-matnr MODIF ID sc2.&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;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'SC1' OR screen-group1 = 'SC2'.&lt;/P&gt;&lt;P&gt;      screen-active = '0'.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      CONTINUE.&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;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF R1 = 'X'.&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-active = '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;      CLEAR w_flag1.&lt;/P&gt;&lt;P&gt;   ELSEIF R2 = 'X'.&lt;/P&gt;&lt;P&gt;      LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;        IF screen-group1 = 'SC2'.&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;      ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Nov 2009 10:30:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-05T10:30:19Z</dc:date>
    <item>
      <title>Dynamic Fields Manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-manipulation/m-p/6272539#M1386838</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;I am working on module pool. I have requirement that i have 10 fields in the screen. Based on the Purchasing Organisation Field I need to manipulate some other fields in the same screen dynamically. If i click enter on the purchasing organsiation field some other fields to me manipulated . How to achieve this this. Please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 10:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-manipulation/m-p/6272539#M1386838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Fields Manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-manipulation/m-p/6272540#M1386839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;To achieve you can make use of LOOP AT SCREEN logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow the blow loigc as an example for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  z_sel_par.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : w_flag1 TYPE i,&lt;/P&gt;&lt;P&gt;       w_flag2 TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: mara,sscrfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: r1 RADIOBUTTON GROUP grp1 DEFAULT 'X',&lt;/P&gt;&lt;P&gt;            r2 RADIOBUTTON GROUP grp1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_matnr LIKE mara-matnr MODIF ID sc1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:s_matnr FOR mara-matnr MODIF ID sc2.&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;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'SC1' OR screen-group1 = 'SC2'.&lt;/P&gt;&lt;P&gt;      screen-active = '0'.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      CONTINUE.&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;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF R1 = 'X'.&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-active = '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;      CLEAR w_flag1.&lt;/P&gt;&lt;P&gt;   ELSEIF R2 = 'X'.&lt;/P&gt;&lt;P&gt;      LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;        IF screen-group1 = 'SC2'.&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;      ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 10:30:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-manipulation/m-p/6272540#M1386839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T10:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Fields Manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-manipulation/m-p/6272541#M1386840</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 want to manipulate some fields based on purchasing organization then you need to do this using loop at screen. endloop.&lt;/P&gt;&lt;P&gt;Suppose if you Porg is 'A123' and if you want to view some fields and change their data then it can be acheived through loop at screen. Based on porg you can display the fields u need and change the values to others based on your requirement.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 10:30:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-manipulation/m-p/6272541#M1386840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T10:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Fields Manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-manipulation/m-p/6272542#M1386841</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;If you need any more assistance on this, write the clear requirement. If you use the above code snippet which I have posted &amp;amp; debug, you can easily complete your requirement....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please set the question to resolved if you are satisfied with the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhii.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 10:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-manipulation/m-p/6272542#M1386841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T10:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Fields Manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-manipulation/m-p/6272543#M1386842</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;you have to write code in the &lt;STRONG&gt;PAI (Procees after input)&lt;/STRONG&gt; for that particular screen (or) you can put some push button in the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; menubar when you click on that particular push button write logic for manipution accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sateesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 10:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-manipulation/m-p/6272543#M1386842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T10:59:18Z</dc:date>
    </item>
  </channel>
</rss>

