<?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: status message looping in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019508#M80802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey venkat.&lt;/P&gt;&lt;P&gt;Your reply worked out for me.&lt;/P&gt;&lt;P&gt;Thanks a lot..i am back from this headache.&lt;/P&gt;&lt;P&gt;you people are like doctors for us(we are really patients) for consultantion.really i can see big competitions in replying the messages in this forum..&lt;/P&gt;&lt;P&gt;Thanks a lot from my side. Anyway i will close the thread&lt;/P&gt;&lt;P&gt;before that i thaught of asking two question here..can i?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-After modify &amp;lt;tablecontrol&amp;gt;,&lt;/P&gt;&lt;P&gt;   Message S001.&lt;/P&gt;&lt;P&gt; if i use&lt;/P&gt;&lt;P&gt;   Message type 'S', i can see error text displayed&lt;/P&gt;&lt;P&gt;   in STATUS field at table control also.&lt;/P&gt;&lt;P&gt; if we use Messate type E or W.&lt;/P&gt;&lt;P&gt;  STATUS field does not update error value, but compels the user to enter the missed data.&lt;/P&gt;&lt;P&gt; Is it possible that in E or W message type. STATUS field&lt;/P&gt;&lt;P&gt;also get updated simultaneously?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2-Next question is, i am using STATUS field passing text error(as constant), now i want to retrieve from message class and assign it to STATUS Field..&lt;/P&gt;&lt;P&gt;How to retrieve message class and assign with LTAB-STATUS.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will surely close this thread rewarding points..&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;Ambichan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2005 07:25:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-30T07:25:57Z</dc:date>
    <item>
      <title>status message looping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019506#M80800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey i have fields in table control&lt;/P&gt;&lt;P&gt;custno,custname,matno,matname,itemno,itemname,status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN PBO&lt;/P&gt;&lt;P&gt;I have checked condition whether status = ERROR,&lt;/P&gt;&lt;P&gt;if so it will highlight the record line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN PAI.&lt;/P&gt;&lt;P&gt;I used &lt;/P&gt;&lt;P&gt;LOOP at itab.&lt;/P&gt;&lt;P&gt;FIELD CUSTNO module custcheck.&lt;/P&gt;&lt;P&gt;FIELD MATNO module matnocheck.&lt;/P&gt;&lt;P&gt;FIELD ITEMNO module ITEMcheck.&lt;/P&gt;&lt;P&gt;...........&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;my requirement.&lt;/P&gt;&lt;P&gt;Initially i have error status record hightliged using (LOOP AT SCREEN..INSTENSIFIED) in tablecontrol saying that "change material no." in STATUS FIeld.&lt;/P&gt;&lt;P&gt;but if user changes custno or item no, the corresponding check has to be checked and if error at STATUS field,then same highlight in records should appear with message display as "Material not found' or 'Item not found' at table control.&lt;/P&gt;&lt;P&gt;Again if he enters correct input at material no or item no, Normally it should say 'pls change material no' in status&lt;/P&gt;&lt;P&gt;as this is the first error appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this..&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 05:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019506#M80800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T05:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: status message looping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019507#M80801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;     FIELD CUSTNO.&lt;/P&gt;&lt;P&gt;     FIELD MATNO.&lt;/P&gt;&lt;P&gt;     FIELD ITEMNO.&lt;/P&gt;&lt;P&gt;     MODULE CHECK ON CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;   ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in MODULE CHECK please do ur check one by one as u did in &lt;/P&gt;&lt;P&gt;module custcheck,module matnocheck,module ITEMcheck.&lt;/P&gt;&lt;P&gt;if your through error message inside this then the message diplayed first will get diplayed in status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 05:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019507#M80801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T05:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: status message looping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019508#M80802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey venkat.&lt;/P&gt;&lt;P&gt;Your reply worked out for me.&lt;/P&gt;&lt;P&gt;Thanks a lot..i am back from this headache.&lt;/P&gt;&lt;P&gt;you people are like doctors for us(we are really patients) for consultantion.really i can see big competitions in replying the messages in this forum..&lt;/P&gt;&lt;P&gt;Thanks a lot from my side. Anyway i will close the thread&lt;/P&gt;&lt;P&gt;before that i thaught of asking two question here..can i?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-After modify &amp;lt;tablecontrol&amp;gt;,&lt;/P&gt;&lt;P&gt;   Message S001.&lt;/P&gt;&lt;P&gt; if i use&lt;/P&gt;&lt;P&gt;   Message type 'S', i can see error text displayed&lt;/P&gt;&lt;P&gt;   in STATUS field at table control also.&lt;/P&gt;&lt;P&gt; if we use Messate type E or W.&lt;/P&gt;&lt;P&gt;  STATUS field does not update error value, but compels the user to enter the missed data.&lt;/P&gt;&lt;P&gt; Is it possible that in E or W message type. STATUS field&lt;/P&gt;&lt;P&gt;also get updated simultaneously?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2-Next question is, i am using STATUS field passing text error(as constant), now i want to retrieve from message class and assign it to STATUS Field..&lt;/P&gt;&lt;P&gt;How to retrieve message class and assign with LTAB-STATUS.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will surely close this thread rewarding points..&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;Ambichan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 07:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019508#M80802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T07:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: status message looping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019509#M80803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;B4 displaying error message u update the table control itab with status field&lt;/P&gt;&lt;P&gt;modify &amp;lt;table control itab &amp;gt; tranporting status index &amp;lt;table control&amp;gt;-currentline&lt;/P&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;message e...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd question&lt;/P&gt;&lt;P&gt;message exxx into LTAB-STATUS.&lt;/P&gt;&lt;P&gt;" this will write the message text into LTAB-STATUS &amp;amp; will not display message in status bar.&lt;/P&gt;&lt;P&gt;then modify LTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 07:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019509#M80803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T07:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: status message looping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019510#M80804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) The type message E and W stop the programm at the point where you call them, so if you want to update something you have to do it before, in the same module (PAI) where you check fields value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt; FIELD  FIELD-1,&lt;/P&gt;&lt;P&gt;        FIELD-2,&lt;/P&gt;&lt;P&gt;        FIELD-3,&lt;/P&gt;&lt;P&gt;        .......  MODULE CHECK.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CHECK.&lt;/P&gt;&lt;P&gt;IF FIELD = 'ERROR'.&lt;/P&gt;&lt;P&gt;  STATUS = ERROR.&lt;/P&gt;&lt;P&gt;  MESSAGE E.....&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You should know class and number message (you call it in your programm), so you can retrieve text message by fm WRITE_MESSAGE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 07:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019510#M80804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T07:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: status message looping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019511#M80805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey venkat,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I have done&lt;/P&gt;&lt;P&gt;MODIFY MYTAB FROM LTAB index ZTABCTL_CURRENTLINE&lt;/P&gt;&lt;P&gt;transporting KBN STATUS.&lt;/P&gt;&lt;P&gt;and then.&lt;/P&gt;&lt;P&gt;MESSAGE E010.&lt;/P&gt;&lt;P&gt;But what happend is..i cant see status updated in tabcontrol.but if i use MESSAGE S010 Status gets updated&lt;/P&gt;&lt;P&gt;in table control.&lt;/P&gt;&lt;P&gt;I want to do below two things.&lt;/P&gt;&lt;P&gt;1.I want to update status in table control before display error.&lt;/P&gt;&lt;P&gt;2.While displaying the E010,cursor should place at&lt;/P&gt;&lt;P&gt;field3.&lt;/P&gt;&lt;P&gt; if i use SET CURSOR FIELD 'LTAB-KUNNR' before message statement also not working..&lt;/P&gt;&lt;P&gt;what could be reason?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just thinkng...&lt;/P&gt;&lt;P&gt;ambichan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 13:15:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-message-looping/m-p/1019511#M80805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T13:15:45Z</dc:date>
    </item>
  </channel>
</rss>

