<?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: Released Process Order in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-process-order/m-p/2244863#M484474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deekshitha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 scenarios  that i can see here :&lt;/P&gt;&lt;P&gt;1. I assume that you have a list of orders with you say in s_aufnr and you want to   &lt;/P&gt;&lt;P&gt;   check which one of those have a system status of REL i.e. Released.&lt;/P&gt;&lt;P&gt;   a. Goto table AUFK to get the list of object numbers(OBJNR)  for all the orders&lt;/P&gt;&lt;P&gt;   b. Use FM 'STATUS_READ_MULTI' for getting all the statuses for the orders. &lt;/P&gt;&lt;P&gt;       CALL FUNCTION 'STATUS_READ_MULTI'&lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CLIENT                           = SY-MANDT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;             ONLY_ACTIVE                = 'X'&lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ALL_IN_BUFFER              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GET_CHANGE_DOCUMENTS       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_BUFFER_FILL             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;             OBJNR_TAB                   = gt_objnr&lt;/P&gt;&lt;P&gt;                    status                      = gt_status&lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JSTO_TAB                      = &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JCDO_TAB                     =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JCDS_TAB                     =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    This is an unrealeased FM from SAP but can always be used to read data.&lt;/P&gt;&lt;P&gt;   c. Once you get the list of object numbers with statuses , for each object &lt;/P&gt;&lt;P&gt;       number read table gt_status to see if it has a STAT = 'I0002'. If yes then this &lt;/P&gt;&lt;P&gt;       order is  a released process order . We take I0002 value to compare    &lt;/P&gt;&lt;P&gt;       because if you see table TJ02 that has all system status values , you will see &lt;/P&gt;&lt;P&gt;       that I0002 stands for 'REL' which means released. &lt;/P&gt;&lt;P&gt;       In this way you will be able to get all the object numbers and corresponding &lt;/P&gt;&lt;P&gt;       orders which have a status 'REL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The second scenario is where I assume you do not have a list of orders with  &lt;/P&gt;&lt;P&gt;    you and you still want to find out the orders which have a status of 'REL'.&lt;/P&gt;&lt;P&gt;    In this case:&lt;/P&gt;&lt;P&gt;    a. Goto table JEST and get all the object numbers for which STAT = 'I0002' and &lt;/P&gt;&lt;P&gt;        INACT NE 'X'.&lt;/P&gt;&lt;P&gt;    b. Goto table AUFK and for the object numbers obtained above and you can get &lt;/P&gt;&lt;P&gt;        the  corresponding order numbers(AUFNR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps. If so please reward some points .&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;shivika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2007 00:01:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-21T00:01:08Z</dc:date>
    <item>
      <title>Released Process Order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-process-order/m-p/2244860#M484471</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;From Which table we can fetch the RELEASED Process Orders.&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;Deekshitha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 16:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-process-order/m-p/2244860#M484471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Released Process Order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-process-order/m-p/2244861#M484472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deekshitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just by joining the tables AUFK and JEST you will get all released process orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;AUFNR b&lt;/SUB&gt;status into table ITAB from AUFK as a join JEST as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;objnr = b&lt;/SUB&gt;objnr&lt;/P&gt;&lt;P&gt;where a~aufnr in s_aufnr and&lt;/P&gt;&lt;P&gt;b~status = 'REL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the field name in JEST table (status).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~from forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 16:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-process-order/m-p/2244861#M484472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T16:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Released Process Order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-process-order/m-p/2244862#M484473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just Use function module :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Status_read  by passing your aufnr value and you will get list of status from JEST Table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;main tables are : AUFK,JEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 18:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-process-order/m-p/2244862#M484473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T18:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Released Process Order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-process-order/m-p/2244863#M484474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deekshitha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 scenarios  that i can see here :&lt;/P&gt;&lt;P&gt;1. I assume that you have a list of orders with you say in s_aufnr and you want to   &lt;/P&gt;&lt;P&gt;   check which one of those have a system status of REL i.e. Released.&lt;/P&gt;&lt;P&gt;   a. Goto table AUFK to get the list of object numbers(OBJNR)  for all the orders&lt;/P&gt;&lt;P&gt;   b. Use FM 'STATUS_READ_MULTI' for getting all the statuses for the orders. &lt;/P&gt;&lt;P&gt;       CALL FUNCTION 'STATUS_READ_MULTI'&lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CLIENT                           = SY-MANDT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;             ONLY_ACTIVE                = 'X'&lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ALL_IN_BUFFER              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GET_CHANGE_DOCUMENTS       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_BUFFER_FILL             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;             OBJNR_TAB                   = gt_objnr&lt;/P&gt;&lt;P&gt;                    status                      = gt_status&lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JSTO_TAB                      = &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JCDO_TAB                     =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JCDS_TAB                     =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    This is an unrealeased FM from SAP but can always be used to read data.&lt;/P&gt;&lt;P&gt;   c. Once you get the list of object numbers with statuses , for each object &lt;/P&gt;&lt;P&gt;       number read table gt_status to see if it has a STAT = 'I0002'. If yes then this &lt;/P&gt;&lt;P&gt;       order is  a released process order . We take I0002 value to compare    &lt;/P&gt;&lt;P&gt;       because if you see table TJ02 that has all system status values , you will see &lt;/P&gt;&lt;P&gt;       that I0002 stands for 'REL' which means released. &lt;/P&gt;&lt;P&gt;       In this way you will be able to get all the object numbers and corresponding &lt;/P&gt;&lt;P&gt;       orders which have a status 'REL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The second scenario is where I assume you do not have a list of orders with  &lt;/P&gt;&lt;P&gt;    you and you still want to find out the orders which have a status of 'REL'.&lt;/P&gt;&lt;P&gt;    In this case:&lt;/P&gt;&lt;P&gt;    a. Goto table JEST and get all the object numbers for which STAT = 'I0002' and &lt;/P&gt;&lt;P&gt;        INACT NE 'X'.&lt;/P&gt;&lt;P&gt;    b. Goto table AUFK and for the object numbers obtained above and you can get &lt;/P&gt;&lt;P&gt;        the  corresponding order numbers(AUFNR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps. If so please reward some points .&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;shivika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 00:01:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-process-order/m-p/2244863#M484474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T00:01:08Z</dc:date>
    </item>
  </channel>
</rss>

