<?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 How to write the code in loop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350200#M1036006</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 have designed a screen using "screen exit" in Plant Maintenance for Notification,&lt;/P&gt;&lt;P&gt;in that i have an extra screen to give detail description for the "activity" done in the notification,&lt;/P&gt;&lt;P&gt;my requirement is  for single activity my screen "yy analysis" is working,.but when im giving selecting&lt;/P&gt;&lt;P&gt;second activity in the same notification and clicking on my screen its not working, wat ever 1st activity we r giving its working for only one activity.&lt;/P&gt;&lt;P&gt;here i have to use Loop Statement or any anything else you people suggest me please, how to correct it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Aug 2008 10:23:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-29T10:23:02Z</dc:date>
    <item>
      <title>How to write the code in loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350200#M1036006</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 have designed a screen using "screen exit" in Plant Maintenance for Notification,&lt;/P&gt;&lt;P&gt;in that i have an extra screen to give detail description for the "activity" done in the notification,&lt;/P&gt;&lt;P&gt;my requirement is  for single activity my screen "yy analysis" is working,.but when im giving selecting&lt;/P&gt;&lt;P&gt;second activity in the same notification and clicking on my screen its not working, wat ever 1st activity we r giving its working for only one activity.&lt;/P&gt;&lt;P&gt;here i have to use Loop Statement or any anything else you people suggest me please, how to correct it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 10:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350200#M1036006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T10:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code in loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350201#M1036007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which enhancement are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 10:46:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350201#M1036007</guid>
      <dc:creator>former_member226999</dc:creator>
      <dc:date>2008-08-29T10:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code in loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350202#M1036008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for this im using screen exit "SAPLXQQM"&lt;/P&gt;&lt;P&gt;AND USEREXITS as 1)EXIT_SAPLCOIH_009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)EXIT_SAPLCOIH_019&lt;/P&gt;&lt;P&gt;3)EXIT_SAPMIWO0_020&lt;/P&gt;&lt;P&gt;4)exit_sapmiwo0_008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;manly my requirment works in userexit  EXIT_SAPMIWO0_020&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: rajesh kumar kandagatla on Aug 29, 2008 4:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 10:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350202#M1036008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T10:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code in loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350203#M1036009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure how you are doing this. I will give some idea on how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use enhancement QQMA0001 (check this in SMOD and create project in CMOD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First design your own custom screen in SE51 named SAPLXQQM and screen number 0100 (as mentioned in the enhancement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When designing your screen you can use the values from structure VIQMEL for any reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the EXIT_SAPMIWO0_008 to transfer data to your subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the EXIT_SAPMIWO0_009 to transfer back any data to main program from your subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then finaly use the exit EXIT_SAPMIWO0_020 to store your custom screen values into any custom tables if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Franc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 11:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350203#M1036009</guid>
      <dc:creator>former_member226999</dc:creator>
      <dc:date>2008-08-29T11:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code in loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350204#M1036010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for reply&lt;/P&gt;&lt;P&gt;i have done all the things before you said sir,&lt;/P&gt;&lt;P&gt;but i want get the activity which i select activities  tab and should display in my screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 13:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350204#M1036010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T13:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code in loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350205#M1036011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select single * from qmma into viqmma&lt;/P&gt;&lt;P&gt;     where qmnum = viqmel-QMNUM and kzloesch = ''.&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;    loop at t_tc.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    select single kurztext from qpct into text_i_4&lt;/P&gt;&lt;P&gt;     where katalogart = 'A'&lt;/P&gt;&lt;P&gt;       and codegruppe = viqmma-mngrp&lt;/P&gt;&lt;P&gt;       and code = viqmma-mncod&lt;/P&gt;&lt;P&gt;       and sprache = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my code where exactly my requirement working for single activity,&lt;/P&gt;&lt;P&gt;when i select second activity in activities tab its showing the first activity only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 16:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350205#M1036011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T16:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code in loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350206#M1036012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajesh,&lt;/P&gt;&lt;P&gt;Please check in debug are the values for viqmel-QMNUM changing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think since viqmel-QMNUM is not changing, you will be getting same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx..&lt;/P&gt;&lt;P&gt;ags.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 16:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350206#M1036012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T16:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code in loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350207#M1036013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes its not changing&lt;/P&gt;&lt;P&gt;i want the that only it should change &lt;/P&gt;&lt;P&gt;can u help me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 17:47:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-the-code-in-loop/m-p/4350207#M1036013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T17:47:04Z</dc:date>
    </item>
  </channel>
</rss>

