<?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: Extraction/Loading depedencies in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-loading-depedencies/m-p/1375534#M184186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I mentioned in your other post,  you can get the dependencies from the DB in the following fashion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;You can make the link from your BOM items by linking STPO field KNOBJ to CUOB-KNOBJ.  You will use "STPO" for the KNTAB field.  Then go to CUKB to get the dependency name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a quick and dirty sample.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

 report zrich_0001.

 data: xmast type mast.
 data: xstpo type stpo.
 data: xcuob type cuob.
 data: xcukb type cukb.

 parameters: p_matnr type mast-matnr,
             p_werks type mast-werks,
             p_idnrk type stpo-idnrk.


 clear xmast.
 select single * from mast into xmast
           where matnr = p_matnr
             and werks = p_werks.


 clear xstpo.
 select single * from stpo into xstpo
        where stlty = 'M'
          and stlnr = xmast-stlnr
          and idnrk = p_idnrk.

 clear xcuob.
 select single * from cuob into xcuob
           where kntab = 'STPO'
             and knobj = xstpo-knobj.

 clear xcukb.
 select single * from cukb into xcukb
           where knnum = xcuob-knnum.


 write:/ xmast-matnr, xmast-werks, xstpo-idnrk, xcukb-knnam.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jun 2006 17:07:16 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-06-07T17:07:16Z</dc:date>
    <item>
      <title>Extraction/Loading depedencies</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-loading-depedencies/m-p/1375533#M184185</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;I need to laod object dependencies in to new system 5.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know from which tables object dependencies data/values should be taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how do we load these object dependencies..?can I load through LSMW..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any inputs would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 16:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-loading-depedencies/m-p/1375533#M184185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T16:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction/Loading depedencies</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-loading-depedencies/m-p/1375534#M184186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I mentioned in your other post,  you can get the dependencies from the DB in the following fashion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;You can make the link from your BOM items by linking STPO field KNOBJ to CUOB-KNOBJ.  You will use "STPO" for the KNTAB field.  Then go to CUKB to get the dependency name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a quick and dirty sample.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

 report zrich_0001.

 data: xmast type mast.
 data: xstpo type stpo.
 data: xcuob type cuob.
 data: xcukb type cukb.

 parameters: p_matnr type mast-matnr,
             p_werks type mast-werks,
             p_idnrk type stpo-idnrk.


 clear xmast.
 select single * from mast into xmast
           where matnr = p_matnr
             and werks = p_werks.


 clear xstpo.
 select single * from stpo into xstpo
        where stlty = 'M'
          and stlnr = xmast-stlnr
          and idnrk = p_idnrk.

 clear xcuob.
 select single * from cuob into xcuob
           where kntab = 'STPO'
             and knobj = xstpo-knobj.

 clear xcukb.
 select single * from cukb into xcukb
           where knnum = xcuob-knnum.


 write:/ xmast-matnr, xmast-werks, xstpo-idnrk, xcukb-knnam.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 17:07:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-loading-depedencies/m-p/1375534#M184186</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-07T17:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction/Loading depedencies</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-loading-depedencies/m-p/1375535#M184187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can do a BDC over tranaction CU01.  Not sure if it will work good or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 17:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-loading-depedencies/m-p/1375535#M184187</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-07T17:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction/Loading depedencies</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-loading-depedencies/m-p/1375536#M184188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you could get away with using the function module CUKD_API_DEP_MAINTAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 17:17:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-loading-depedencies/m-p/1375536#M184188</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-07T17:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction/Loading depedencies</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-loading-depedencies/m-p/1375537#M184189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can read existing dependencies using the function module CUKD_API_DEP_READ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 17:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-loading-depedencies/m-p/1375537#M184189</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-07T17:24:50Z</dc:date>
    </item>
  </channel>
</rss>

