<?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: tables? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3411037#M819210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
That is probably the hardest information to piece together, I used 5 tables with multiple joins to get User Fields for operations in a production order. Maybe you can use something simular. 

AFKO - this is for your basic production header info - order number, basic finish date etc 

S022 - this is for your operation header details - operation number, Work centre etc if you are only after the header details such as setup time and execution time, you can probably stop here without going to AFVC or AUFV (you definitely need AUFK if you want order status) 

AUFK - this is for your order master data - Order released flag, order complete flag, technically complete date, you'll need this to filter out closed orders 

AFVC - this is to link to the detail table - however I used the control key field in it so I would know whether it was a MILE stone or GPP1 for confirmation's sake 

AUFV - this is the user field table - you may want to replace this with whatever detail you are after 

Delete all the automatic joins: 

AFKO -&amp;gt; AUFK on: 
AUFNR -&amp;gt; AUFNR 

AFKO -&amp;gt; S022 on: 
AUFNR -&amp;gt; AUFNR 
PLNBEZ -&amp;gt; MATNR 

AFKO -&amp;gt; AFVC on: 
AUFPL -&amp;gt; AUFPL 

S022 -&amp;gt; AFVC on: 
WERKS -&amp;gt; WERKS 
PLNFL -&amp;gt; PLNFL 
VORNR -&amp;gt; VORNR 

The join below is for user fields in operation detail, you will have to find your own relevant table, but I assume the two key fields will be the same?? 

AFVC -&amp;gt; AFVU on: 
AUFPL -&amp;gt; AUFPL - Routing number of operations in the order APLZL -&amp;gt; APLZL - General Counter for order 


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2008 10:54:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-11T10:54:40Z</dc:date>
    <item>
      <title>tables?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3411036#M819209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which tables have PM orders header &amp;amp; line item data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz guide.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 10:51:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3411036#M819209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T10:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: tables?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3411037#M819210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
That is probably the hardest information to piece together, I used 5 tables with multiple joins to get User Fields for operations in a production order. Maybe you can use something simular. 

AFKO - this is for your basic production header info - order number, basic finish date etc 

S022 - this is for your operation header details - operation number, Work centre etc if you are only after the header details such as setup time and execution time, you can probably stop here without going to AFVC or AUFV (you definitely need AUFK if you want order status) 

AUFK - this is for your order master data - Order released flag, order complete flag, technically complete date, you'll need this to filter out closed orders 

AFVC - this is to link to the detail table - however I used the control key field in it so I would know whether it was a MILE stone or GPP1 for confirmation's sake 

AUFV - this is the user field table - you may want to replace this with whatever detail you are after 

Delete all the automatic joins: 

AFKO -&amp;gt; AUFK on: 
AUFNR -&amp;gt; AUFNR 

AFKO -&amp;gt; S022 on: 
AUFNR -&amp;gt; AUFNR 
PLNBEZ -&amp;gt; MATNR 

AFKO -&amp;gt; AFVC on: 
AUFPL -&amp;gt; AUFPL 

S022 -&amp;gt; AFVC on: 
WERKS -&amp;gt; WERKS 
PLNFL -&amp;gt; PLNFL 
VORNR -&amp;gt; VORNR 

The join below is for user fields in operation detail, you will have to find your own relevant table, but I assume the two key fields will be the same?? 

AFVC -&amp;gt; AFVU on: 
AUFPL -&amp;gt; AUFPL - Routing number of operations in the order APLZL -&amp;gt; APLZL - General Counter for order 


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 10:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables/m-p/3411037#M819210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T10:54:40Z</dc:date>
    </item>
  </channel>
</rss>

