<?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 for BOM fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578573#M1272364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;STKO -  BOM Header table -- Fetch BOM Value from this table&lt;/P&gt;&lt;P&gt;STPO -Item table  --Pass the BOM value here and retreive all the item details&lt;/P&gt;&lt;P&gt;STPU BOM Sub Items (designators) &lt;/P&gt;&lt;P&gt;MAST BOM Group to Material&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2009 05:05:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-14T05:05:32Z</dc:date>
    <item>
      <title>Tables for BOM fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578569#M1272360</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 tables should i fetch the following fields for a particular material in BOM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KTEXT - Component Description&lt;/P&gt;&lt;P&gt;STLKZ - Indicator: Assembly&lt;/P&gt;&lt;P&gt;UPSKZ - Indicator: sub-item exist&lt;/P&gt;&lt;P&gt;DATUB - Valid to Date&lt;/P&gt;&lt;P&gt;DUMPS - Phantom item Indicator&lt;/P&gt;&lt;P&gt;FMENG - Fixed Quantity&lt;/P&gt;&lt;P&gt;LTXPO - Indicator: Long text exist for item&lt;/P&gt;&lt;P&gt;AENRA - Change Number To&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Darpana.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 13:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578569#M1272360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-13T13:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Tables for BOM fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578570#M1272361</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;STKO is the BOM header Table.&lt;/P&gt;&lt;P&gt;STPO is the BOM Items Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get these fields from these tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If required you can link above tables with MARA with help of MAST table.&lt;/P&gt;&lt;P&gt;MARA-MATNR &lt;DEL&gt;&amp;gt; MAST&lt;/DEL&gt;&amp;gt;STLNR &lt;DEL&gt;&amp;gt; STKO&lt;/DEL&gt;&amp;gt;STLNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 14:05:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578570#M1272361</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2009-05-13T14:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tables for BOM fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578571#M1272362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darpana ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the table - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RESB                             Reservation/dependent requirements
 STPO                             BOM item
 VSRESB_CN                        Version: Reservation/Dependent requirements&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You require to use  MAST , MARA , STKO , MAKT table also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 15:17:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578571#M1272362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-13T15:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Tables for BOM fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578572#M1272363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darpana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check My sample program, you will get all the details you need. everything available in STPO &amp;amp; STKO &amp;amp; MAST,, if you need extra fields, you modify accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES : BEGIN OF TY_MAST,
MATNR TYPE MAST-MATNR, "Main Material (Parent)
WERKS TYPE MAST-WERKS,
STLAN TYPE MAST-STLAN,
STLNR TYPE MAST-STLNR,
STLAL TYPE MAST-STLAL,
END OF TY_MAST.
 
TYPES : BEGIN OF TY_STKO,
STLNR TYPE STKO-STLNR,
STLAL TYPE STKO-STLAL,
DATUV TYPE STKO-DATUV,
BMEIN TYPE STKO-BMEIN,
BMENG TYPE STKO-BMENG,
END OF TY_STKO.
 
TYPES : BEGIN OF TY_STPO,
STLNR TYPE STPO-STLNR,
DATUV TYPE STPO-DATUV,
IDNRK TYPE STPO-IDNRK, "Material Component (Child)
POSNR TYPE STPO-POSNR,
MEINS TYPE STPO-MEINS,
MENGE TYPE STPO-MENGE, "Bom Material Req Qty.
END OF TY_STPO.
 
TYPES : BEGIN OF TY_MAKT,
MATNR TYPE MAKT-MATNR,
MAKTX TYPE MAKT-MAKTX,
END OF TY_MAKT.
 
 
DATA : IT_MAST TYPE TABLE OF TY_MAST, WA_MAST LIKE LINE OF IT_MAST.
DATA : IT_MAKT TYPE TABLE OF TY_MAKT, WA_MAKT LIKE LINE OF IT_MAKT.
DATA : IT_STKO TYPE TABLE OF TY_STKO, WA_STKO LIKE LINE OF IT_STKO.
DATA : IT_STPO TYPE TABLE OF TY_STPO, WA_STPO LIKE LINE OF IT_STPO.
 
PARAMETERS : P_MATNR TYPE MARA-MATNR,
P_WERKS TYPE MSEG-WERKS.
 
SELECT MATNR WERKS STLAN STLNR STLAL
FROM MAST INTO TABLE IT_MAST
WHERE MATNR = P_MATNR AND
WERKS = P_WERKS AND
STLAN = '1'.
 
 
IF NOT IT_MAST IS INITIAL.
SELECT STLNR STLAL DATUV BMEIN BMENG
FROM STKO INTO TABLE IT_STKO
FOR ALL ENTRIES IN IT_MAST
WHERE STLNR = IT_MAST-STLNR AND
STLAL = IT_MAST-STLAL .
ENDIF.
 
IF NOT IT_STKO IS INITIAL.
SELECT STLNR DATUV IDNRK POSNR MEINS MENGE
FROM STPO INTO TABLE IT_STPO
FOR ALL ENTRIES IN IT_MAST
WHERE STLNR = IT_MAST-STLNR.
ENDIF.
 
IF NOT IT_STPO IS INITIAL.
SELECT MATNR MAKTX
FROM MAKT INTO TABLE IT_MAKT
FOR ALL ENTRIES IN IT_STPO
WHERE MATNR = IT_STPO-IDNRK AND
SPRAS = 'EN'.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dileep .C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 15:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578572#M1272363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-13T15:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tables for BOM fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578573#M1272364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;STKO -  BOM Header table -- Fetch BOM Value from this table&lt;/P&gt;&lt;P&gt;STPO -Item table  --Pass the BOM value here and retreive all the item details&lt;/P&gt;&lt;P&gt;STPU BOM Sub Items (designators) &lt;/P&gt;&lt;P&gt;MAST BOM Group to Material&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 05:05:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578573#M1272364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T05:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Tables for BOM fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578574#M1272365</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following Tcodes for BOM Creation.&lt;/P&gt;&lt;P&gt;- CS01 : BOM create &lt;/P&gt;&lt;P&gt;- CS02: BOM Change &lt;/P&gt;&lt;P&gt;- CS03: BOM display  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check which type of BOM.&lt;/P&gt;&lt;P&gt;1.Material BOM (or)       &lt;/P&gt;&lt;P&gt;2.Equipment BOM (or).  (Tcode : IE01,IE02,IE03)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pre requisites are material master record for the materials. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you have to keep in mind is: &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;1. BOM creation is through CS01 only. &lt;/P&gt;&lt;P&gt;2. When you have to create multilevel BOM, you have to carry craetion of BOM level by level. &lt;/P&gt;&lt;P&gt;3. First create BOM for assemblies (means materials which are produced inhouse, means materials with procurement type "E" in the material master MRP 2 view). &lt;/P&gt;&lt;P&gt;4. Finally create BOM for the finished product using these assemblies as components. &lt;/P&gt;&lt;P&gt;5. When you see the BOM of finished part after creation through CS03, you can find these assemblies with a tick mark in the field "Assembly".  When you double click you can see the susequent BOM of these  assemblies. &lt;/P&gt;&lt;P&gt;6. Example would be for a vehicle suppose engine, front wheel, back wheel are the "E"parts.  Create BOM first for these engine, front wheel and backwheel with respective material components. &lt;/P&gt;&lt;P&gt;Then create BOM for vehicle with these three "E". &lt;/P&gt;&lt;P&gt;When you see the BOM of vehicle after creation, you can see a tick mark against these E parts which shows that they have BOM furtehr down and you can double click and see the components of these &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables form BOM :&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;STKO    -  BOM header Table.&lt;/P&gt;&lt;P&gt;STPO    - BOM Items Table.&lt;/P&gt;&lt;P&gt;MAST    -  BOM Group to Material&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MARA-MATNR &lt;DEL&gt;&amp;gt; MAST&lt;/DEL&gt;&amp;gt;STLNR &lt;DEL&gt;&amp;gt; STKO&lt;/DEL&gt;&amp;gt;STLNR&lt;/P&gt;&lt;P&gt;EQUI-EQUNR ---&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pugazhenthi.P&lt;/P&gt;&lt;P&gt;Satyam Computer Services Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 07:27:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-for-bom-fields/m-p/5578574#M1272365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T07:27:33Z</dc:date>
    </item>
  </channel>
</rss>

