<?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: KO03- system status in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ko03-system-status/m-p/4628602#M1090151</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 the relevant table for the value of the system status.... If that value is 'TECO', whatever values you are supposed to extract, dont do that...&lt;/P&gt;&lt;P&gt;Then display a message of type 'I' that the order is closed.. and exit from the program... you can also display a message of type 'E' , which will exist from further processing by itsel..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would have to find all the relevant  tables for this Tcode...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Madan..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2008 03:12:00 GMT</pubDate>
    <dc:creator>madan_ullasa</dc:creator>
    <dc:date>2008-10-13T03:12:00Z</dc:date>
    <item>
      <title>KO03- system status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ko03-system-status/m-p/4628600#M1090149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My report extracting all data in to text file and output to ALV. Internal order number is in Selection screen(Range).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If Order number is in selection screen, check the  &lt;/P&gt;&lt;P&gt;     system status filel in KO03 t.code.&lt;/P&gt;&lt;P&gt;2) if System status is TECO do not extract the data for this order.&lt;/P&gt;&lt;P&gt;3)Display the message the message(Order is already closed) in selection screen.&lt;/P&gt;&lt;P&gt;4) System status is not equal to TECO, extract data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 02:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ko03-system-status/m-p/4628600#M1090149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T02:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: KO03- system status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ko03-system-status/m-p/4628601#M1090150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;Below is the Logic to fetch the data regarding the status TECO.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Use the order number(AUFNR) and go to Table AUFK. Pass AUFNR and get the Object NUmber (OBJNR).
Now use that OBJNR and pass it inthe table JEST and check if JEST-STAT = 'I0045' and INACT &amp;lt;&amp;gt; 'X'. That means it is TECO. 
&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;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 03:10:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ko03-system-status/m-p/4628601#M1090150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T03:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: KO03- system status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ko03-system-status/m-p/4628602#M1090151</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 the relevant table for the value of the system status.... If that value is 'TECO', whatever values you are supposed to extract, dont do that...&lt;/P&gt;&lt;P&gt;Then display a message of type 'I' that the order is closed.. and exit from the program... you can also display a message of type 'E' , which will exist from further processing by itsel..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would have to find all the relevant  tables for this Tcode...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Madan..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 03:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ko03-system-status/m-p/4628602#M1090151</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2008-10-13T03:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: KO03- system status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ko03-system-status/m-p/4628603#M1090152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this standard report for KO03    SAPMKAUF. You can get tables and fields involved in it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 03:13:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ko03-system-status/m-p/4628603#M1090152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T03:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: KO03- system status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ko03-system-status/m-p/4628604#M1090153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;follow the steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Retrieve OBJNR of the document number from VBAP into I_VBAP table  selecting vbeln posnr objnr fields&lt;/P&gt;&lt;P&gt;2. LOOP AT i_vbap INTO wa_vbap and call the FM 'STATUS_READ' and get stsma = v_qstsma TABLES status           = i_qstatus&lt;/P&gt;&lt;P&gt;    passing objnr   = wa_vbap-objnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Now select istat txt04 txt30 FROM  tj02t INTO TABLE i_tj02t&lt;/P&gt;&lt;P&gt;       FOR ALL ENTRIES IN i_qstatus&lt;/P&gt;&lt;P&gt;      WHERE istat EQ i_qstatus-stat&lt;/P&gt;&lt;P&gt;        AND spras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allot points if this is usefull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 03:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ko03-system-status/m-p/4628604#M1090153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T03:16:59Z</dc:date>
    </item>
  </channel>
</rss>

