<?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: !!urgent - BAPI ..... pls help!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921116#M382689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This isn't a bapi, but it does create a material BOM(Simple) CSAP_MAT_BOM_CREATE.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2007 13:07:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-06T13:07:38Z</dc:date>
    <item>
      <title>!!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921111#M382684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I really need help to be able to save materials made up of several parts with BAPI.&lt;/P&gt;&lt;P&gt;Let me show you the idea by using the example of car (finished product):&lt;/P&gt;&lt;P&gt;Car is built from a lot of components, for instance:&lt;/P&gt;&lt;P&gt;- 1 engine&lt;/P&gt;&lt;P&gt;- 4 tires&lt;/P&gt;&lt;P&gt;- 2 front lights&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My task is to implement a method responsible for creating a finished product and all necessary semi-finished products which are connected with ready prod and save them in SAP. Furthermore I've got to create a bill of materials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has somebody faced similar problem? How have you solved it? How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below I show what I've found out:&lt;/P&gt;&lt;P&gt;I've got to create material master record for trading goods(type: HAWA in Headdata) and create Semifinished products (type: HALB) by using BAPI_MATERIAL_SAVEDATA (hopefully I'm right, otherwise pls correct me), but I still don't know how to connect them with each other and then use to create BOM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to my best knowledge there is no BAPI to create BOM...i tried to find without any result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Rafal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 12:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921111#M382684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T12:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921112#M382685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rafal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right with ur steps. u need to call a z bapi to create a BOM. check if any f/n mod is available for that. by debuggin u can trace this out. i remember that when i debugged while creating a bom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 13:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921112#M382685</guid>
      <dc:creator>prabhu_s2</dc:creator>
      <dc:date>2007-02-06T13:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921113#M382686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rafal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out BAPI_MATERIAL_BOM_GROUP_CREAT.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 13:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921113#M382686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T13:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921114#M382687</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;&amp;lt;b&amp;gt;BAPI_MATERIAL_BOM_GROUP_CREATE&amp;lt;/b&amp;gt; Creation of a material BOM group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 13:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921114#M382687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T13:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921115#M382688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I heard about this BAPI_MATERIAL_BOM_GROUP_CREAT, but I cannot find it in documentation. Do u know where to look for it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 13:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921115#M382688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T13:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921116#M382689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This isn't a bapi, but it does create a material BOM(Simple) CSAP_MAT_BOM_CREATE.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 13:07:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921116#M382689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T13:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921117#M382690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing an application in Java, so every operation is handled by JCO. I've got to check whether it is possible to use it in my case. Perhaps u may tell me where to find documentation? Do you know what is the difference between CSAP_MAT_BOM_CREATE and BAPI_MATERIAL_BOM_GROUP_CREATE, except that the first one is not Bapi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 13:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921117#M382690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T13:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921118#M382691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use transaction SE37 and check the documentation of the BAPI. First part of the docu:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This method enables you to create a material BOM with all its assigned objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In extreme case, the entire BOM group can be transferred, that means&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All variants of a variant BOM or alternatives of a multiple BOM&lt;/P&gt;&lt;P&gt;The entire history&lt;/P&gt;&lt;P&gt;All material assignments&lt;/P&gt;&lt;P&gt;All items&lt;/P&gt;&lt;P&gt;All subitems&lt;/P&gt;&lt;P&gt;This enables the the data to be transferred from the non-SAP system in one step.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;john.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 13:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921118#M382691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T13:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921119#M382692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm extremely grateful for ur answer.&lt;/P&gt;&lt;P&gt;Perhaps it seems to be ridiculous for you, but since I'm completely new with SAP, "transaction SE37" doesn't tell me anything. Could you write a little bit more, please? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In which group in the hierarchy in Bapi Browser did u find BAPI_MATERIAL_BOM_GROUP_CREATE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ur answer will be warmly appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Rafal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 13:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921119#M382692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T13:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921120#M382693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use the BAPI browser don't use the hierarchy but the Alphabetical tab. You will the find the BAPI with object MaterialBOM.&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;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 14:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921120#M382693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T14:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921121#M382694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for an answer.&lt;/P&gt;&lt;P&gt;It seems that I have some old or strange version of Sap Easy Access, because the is no MaterialBOM in my documentation. Perhaps that was the reason why I cannot find anything and I was forced to ask.&lt;/P&gt;&lt;P&gt;Any suggestion will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Rafal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 14:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921121#M382694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T14:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921122#M382695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This BAPI has been released in SAP R/3 4.6C which is quiet an old release. Perhaps you are using a system before 4.6.C?&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 14:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921122#M382695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T14:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921123#M382696</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;Both the function modules are BAPIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase you read the Documentation of both the function modules, you will get the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read this documenation in my next response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 14:37:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921123#M382696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T14:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921124#M382697</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;&amp;lt;b&amp;gt;This is the documentation for Function module -&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------" /&gt;&lt;P&gt; BAPI_MATERIAL_BOM_GROUP_CREATE&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Short Text&lt;/P&gt;&lt;P&gt;Creation of a material BOM group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This method enables you to create a material BOM with all its assigned objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In extreme case, the entire BOM group can be transferred, that means&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All variants of a variant BOM or alternatives of a multiple BOM&lt;/P&gt;&lt;P&gt;The entire history&lt;/P&gt;&lt;P&gt;All material assignments&lt;/P&gt;&lt;P&gt;All items&lt;/P&gt;&lt;P&gt;All subitems&lt;/P&gt;&lt;P&gt;This enables the the data to be transferred from the non-SAP system in one step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that a BOM can not be transferred several times. That also means that you can not first transfer a part of the BOM group, such as part of the variants or items (particularly with regard to history) and then in a second run, transfer the rest (additional variants, assignments, other historical statuses and so on).&lt;/P&gt;&lt;P&gt;A prerequisite for the successful transfer of a BOM, is that all business objects, to which a BOM refer have first been transferred into the SAP System. These are&lt;/P&gt;&lt;P&gt;Material masters&lt;/P&gt;&lt;P&gt;Document info records, provided document items exist in the BOM &lt;/P&gt;&lt;P&gt;Classes, provided class items are to be transferred&lt;/P&gt;&lt;P&gt;Change numbers tha control the change status of the BOMs &lt;/P&gt;&lt;P&gt;Standard texts, provided they are to be included in the long text of the BOM group, variants or items &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to transfer several (entire) BOM groups with complete history.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, the variants (in the case of variant BOMs) or alternatives (in the case of multiple BOMs) with their history and assigned long texts.&lt;/P&gt;&lt;P&gt;The assignment of assembly materials - possibly from different plants - to BOMs.&lt;/P&gt;&lt;P&gt;The corresponding items with their historical statuses and their long texts.&lt;/P&gt;&lt;P&gt;The sub items of these items&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you generate entries in the following tables, which are organized into three categories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables that define objects&lt;/P&gt;&lt;P&gt;BOMGROUP - Basic data for the entire BOM group&lt;/P&gt;&lt;P&gt;VARIANTS - Variant or alternative data&lt;/P&gt;&lt;P&gt;ITEMS - Items&lt;/P&gt;&lt;P&gt;SUBITEMS - Subitems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables that define the relationship between objects&lt;/P&gt;&lt;P&gt;MATERIALRELATIONS - Assignment of the header materials to the BOM groups, with the relevant requirements&lt;/P&gt;&lt;P&gt;ITEMASSIGNMENTS - Assignment requirements of the components to the variants or alternatives&lt;/P&gt;&lt;P&gt;SUBITEMASSIGNMENTS - Assignments of subitems to items&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables with other assigned attributes&lt;/P&gt;&lt;P&gt;TEXTS - Long texts for individual objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BOM groups are cumulated within the running transfer with a unique group definition of up to 32 characters (BOM_GROUP_IDENTIFICATION). This is entered in all table entries. Provided an external (unique) BOM group is to be placed in the SAP System, this can be used for identification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each object can be uniquely identified within a BOM group in the field OBJECT_ID.  In order to be able to easily recognize the object in the data stream of the import, the field OBJECT_TYPE is also filled with the value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOM in the table VARIANTS&lt;/P&gt;&lt;P&gt;BGR in the table BOMGROUP&lt;/P&gt;&lt;P&gt;ITM in the table ITEMS&lt;/P&gt;&lt;P&gt;SUI in the table SUBITEMS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to this general data, the tables are individually created as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOMGROUP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contains the essential basic characteristics of a BOM group such as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOM usage (BOM_USAGE)&lt;/P&gt;&lt;P&gt;Authorization group (AUTH_GROUP)&lt;/P&gt;&lt;P&gt;Description (BOM_TEXT)&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VARIANTS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contain the variant specific data such as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laboratory (LAB_DESIGN)&lt;/P&gt;&lt;P&gt;Base quantity to which the component quantities refer (BASE_QTY)&lt;/P&gt;&lt;P&gt;Validity entries such as change number (CHANGE_NO) and/or key date (VALID_FROM_DATE)&lt;/P&gt;&lt;P&gt;In the field FUNCTION you place the value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEW if the variant runs in on a specified key date&lt;/P&gt;&lt;P&gt;DEL if the variant runs out on a specified key date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITEMS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contains the component attributes. Competing attributes that refer to primary objects, such as component material (COMPONENT), document number (DOCUMENT_NUMBER), class number (CLASS_NUM) are determined by the item category (ITEM_CAT). Read the information in SAP Customizing about the relevant item types and about the other attributes related to the specified primary objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBITEMS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contains the sub item data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quantity (SUBITEM_QTY)&lt;/P&gt;&lt;P&gt;Installation location (INSTALLATION_POINT)&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MATERIAL RELATIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contains - by entering the variant BOM number - the assignments of the assembly materials to the BOM with the requirements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plant&lt;/P&gt;&lt;P&gt;Lot size area for multiple BOMs (LOT_SIZE_FROM, LOT_SIZE_TO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITEMASSIGNMENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assigns the components of the individual variants/alternatives to BOM groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the fields SUB_OBJECT_TYPE, SUB_OBJECT_ID you enter the BOM components and in the fields SUPER_OBJECT_TYPE, SUPER_OBJECT_ID you enter the variants/alternatives. This means, you deposit the values from the fields OBJECT_TYPE and OBJECT_ID from the table ITEMS in the field SUB_OBJECT_TYPE, SUB_OBJECT_ID and the values from the fields OBJECT_TYPE and OBJECT_ID from the table VARIANTS in the fields SUPER_OBJECT_TYPE, SUPER_OBJECT_ID .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The validity of the assignments is determined by the valid-from date (VALID_FROM_DATE) or change number (CHANGE_NO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field FUNCTION has to be scheduled with a value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEW component created with this validity&lt;/P&gt;&lt;P&gt;DEL component deleted with this validity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBITEM ASSIGNMENTS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assigns the sub items to the components&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You enter the subitem in the fields SUB_OBJECT_TYPE,  SUB_OBJECT_ID the components in the fields SUPER_OBJECT_TYPE, SUPER_OBJECT_ID. That means, you deposit the values from the fields OBJECT_TYPE and OBJECT_ID of table SUBITEMS into the fields SUB_OBJECT_TYPE, SUB_OBJECT_ID and the values from the fields OBJECT_TYPE and OBJECT_ID from table ITEMS into the fields SUPER_OBJECT_TYPE, SUPER_OBJECT_ID .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXTS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table TEXTS contains the individual long text lines for all the objects whose long texts can be assigned. The assignment to the relevant objects is produced in the fields OBJECT_TYP and OBJECT_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;To secure the data in the database, you have to carry out a COMMIT WORK for each BOM group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All errors that occur are logged in the export parameter RETURN. In the case of inconsistencies, the entire BOM group to be generated is rejected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The messages specified in the export parameter RETURN, are arranged as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messages with the message Id BAPI provide information about the general results when processing the input.&lt;/P&gt;&lt;P&gt;000 Processing was successful&lt;/P&gt;&lt;P&gt;001 Processing failed&lt;/P&gt;&lt;P&gt;Messages with the message Id BAPI1080 provide detailed information about the processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The detail messages fall into two groups:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message 028 highlights errors or warnings that result from the analysis of the structure of the transferred BOM data. In the case that only warnings are given then the processing has been continued and finished successfully provided no other error messages occur. Still, in this case, the warning should be followed.&lt;/P&gt;&lt;P&gt;Message 029 highlights errors in the data of the individual imported objects (variants, items and so on). The process is cancelled.&lt;/P&gt;&lt;P&gt;In addition to messages 028 and 029, other (error) messages are given, which better describe the affected sub-objects (variants, items and so on) or their relationship with each other. The identification of the object takes place using the message variable BOM_GROUP_IDENTIFICATION to identify the addected BOM group, and OBJECT_TYP and OBJECT_ID to identify the objects (variants, items and so on) within a group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also (if available) the application log and/or the relevant internal message last set in the API are given in the export parameter RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;TESTRUN&lt;/P&gt;&lt;P&gt;ALL_ERROR&lt;/P&gt;&lt;P&gt;BOMGROUP&lt;/P&gt;&lt;P&gt;VARIANTS&lt;/P&gt;&lt;P&gt;ITEMS&lt;/P&gt;&lt;P&gt;SUBITEMS&lt;/P&gt;&lt;P&gt;MATERIALRELATIONS&lt;/P&gt;&lt;P&gt;ITEMASSIGNMENTS&lt;/P&gt;&lt;P&gt;SUBITEMASSIGNMENTS&lt;/P&gt;&lt;P&gt;TEXTS&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;Function Group&lt;/P&gt;&lt;P&gt;CPCC_BUS1080&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 14:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921124#M382697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T14:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921125#M382698</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;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;This is the documentation for Function module - CSAP_MAT_BOM_CREATE&lt;/P&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;You can use this function module to create simple material BOMs.&lt;/P&gt;&lt;P&gt;You cannot add alternatives or variants to a BOM, as in transaction CS01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current restrictions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot create long texts.&lt;/P&gt;&lt;P&gt;You cannot create sub-items.&lt;/P&gt;&lt;P&gt;You cannot classify BOM items for batches.&lt;/P&gt;&lt;P&gt;You can only save your BOM if no errors occur, because it is not yet possible to change a BOM. Both header data and all item data must be correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields where no entry can be made because they were not selected are initialized. The log does not contain information on initialized fields.&lt;/P&gt;&lt;P&gt;The BOM default values defined in the control data and any user-specific defaults are handled in the same way as in the online transaction.&lt;/P&gt;&lt;P&gt;Default values that are dependent on BOM usage (for example, indicators for relevancy to production, costing, and so on) are not processed.&lt;/P&gt;&lt;P&gt;If you create items with object dependencies, the dependency must have basic data, a description, and source code entered.&lt;/P&gt;&lt;P&gt;The fields OBJECT_ID and IDENTIFIER identify the object to which a dependency belongs.&lt;/P&gt;&lt;P&gt;(OBJECT_ID = '2'  =&amp;gt; BOM item)&lt;/P&gt;&lt;P&gt;Dependencies are identified by internal or external names. When you create a dependency, you must enter an external name, because an internal name is not assigned until you save.&lt;/P&gt;&lt;P&gt;Recursiveness in class items is recognized, but no information is available on which objects in the class caused the recursiveness. You cannot define recursiveness as allowed for these objects.&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*---- Feldleiste Stücklistenkopfdaten&lt;/P&gt;&lt;P&gt;data: begin of tstko.&lt;/P&gt;&lt;P&gt;          include structure stko_api01.&lt;/P&gt;&lt;P&gt;data: end of tstko.&lt;/P&gt;&lt;P&gt;*---- Tabelle Stücklistenpositionen&lt;/P&gt;&lt;P&gt;data: begin of tstpo occurs 0.&lt;/P&gt;&lt;P&gt;          include structure stpo_api01.&lt;/P&gt;&lt;P&gt;data: end of tstpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*---- Tabellen für Beziehungswissen:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Basisdaten&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data: begin of tdep_data occurs 0.&lt;/P&gt;&lt;P&gt;         include structure csdep_dat.&lt;/P&gt;&lt;P&gt;data: end of tdep_data.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Beschreibung&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data: begin of tdep_descr occurs 0.&lt;/P&gt;&lt;P&gt;         include structure csdep_desc.&lt;/P&gt;&lt;P&gt;data: end of tdep_descr.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Source&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data: begin of tdep_source occurs 0.&lt;/P&gt;&lt;P&gt;         include structure csdep_sorc.&lt;/P&gt;&lt;P&gt;data: end of tdep_source.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Reihenfolge&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data: begin of tdep_order occurs 0.&lt;/P&gt;&lt;P&gt;         include structure csdep_ord.&lt;/P&gt;&lt;P&gt;data: end of tdep_order.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Dokumentation&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data: begin of tdep_doc occurs 0.&lt;/P&gt;&lt;P&gt;         include structure csdep_doc.&lt;/P&gt;&lt;P&gt;data: end of tdep_doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: flg_warning like capiflag-flwarning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*- Datenbankprotokoll eröffnen&lt;/P&gt;&lt;P&gt;   call function 'CALO_INIT_API'&lt;/P&gt;&lt;P&gt;        exceptions&lt;/P&gt;&lt;P&gt;             log_object_not_found     = 1&lt;/P&gt;&lt;P&gt;             log_sub_object_not_found = 2&lt;/P&gt;&lt;P&gt;                                                                   other_error              = 3&lt;/P&gt;&lt;P&gt;                                                                   others                   = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*- Kopfdaten füllen&lt;/P&gt;&lt;P&gt;   tstko-base_quan = '1.000'.&lt;/P&gt;&lt;P&gt;   tstko-bom_text = 'Stücklistentext'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*- Positionsdaten füllen&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; 1. Position (Lagerteil)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   clear tstpo.&lt;/P&gt;&lt;P&gt;   tstpo-item_no    = '0010'.&lt;/P&gt;&lt;P&gt;                                                                                tstpo-item_categ = 'L'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-component  =                                                                                'MAT200'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-comp_qty                                                                                = '1.000'.                                "Mußeingabe&lt;/P&gt;&lt;P&gt;   tstpo-comp_unit  = 'ST'.&lt;/P&gt;&lt;P&gt;   append tstpo.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; 2. Position (Rohmaßposition)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   2 Stück a 4 m X 3 m =&amp;gt; 2 St a 12 m2&lt;/P&gt;&lt;P&gt;   clear tstpo.&lt;/P&gt;&lt;P&gt;   tstpo-item_no    = '0020'.&lt;/P&gt;&lt;P&gt;                                                                                tstpo-item_categ = 'R'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-component  =                                                                                'MAT300'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-comp_qty                                                                                = '2.000'.                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-vsi_size1  =                                                                                '4.000'.                                  "Mußeingabe&lt;/P&gt;&lt;P&gt;   tstpo-vsi_size2  = '3.000'.&lt;/P&gt;&lt;P&gt;   tstpo-vsi_szunit = 'M'.&lt;/P&gt;&lt;P&gt;   tstpo-comp_unit  = 'M2'.&lt;/P&gt;&lt;P&gt;   append tstpo.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; 3. Position (Textposition)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   clear tstpo.&lt;/P&gt;&lt;P&gt;   tstpo-item_no    = '0030'.&lt;/P&gt;&lt;P&gt;                                                                                tstpo-item_categ = 'T'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;   tstpo-item_text1 = 'Positionstext'.           "Mußeingabe&lt;/P&gt;&lt;P&gt;   append tstpo.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; 4. Position (Dokumentposition)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   clear tstpo.&lt;/P&gt;&lt;P&gt;   tstpo-item_no    = '0040'.&lt;/P&gt;&lt;P&gt;                                                                                tstpo-item_categ = 'D'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-document   = 'DOK1'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-doc_type   =                                                                                'DRW'.                          "Mußeingabe&lt;/P&gt;&lt;P&gt;   tstpo-comp_qty   = '1.000'.&lt;/P&gt;&lt;P&gt;   tstpo-comp_unit  = 'ST'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; 5. Position (Klassenposition)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   clear tstpo.&lt;/P&gt;&lt;P&gt;   tstpo-item_no    = '0050'.&lt;/P&gt;&lt;P&gt;                                                                                tstpo-item_categ = 'K'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;   tstpo-res_itm_ct = 'L'.&lt;/P&gt;&lt;P&gt;                                                                                tstpo-class      = 'CLS1'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-class_type =                                                                                '200'.                          "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-comp_qty                                                                                = '1.000'.                                "Mußeingabe&lt;/P&gt;&lt;P&gt;   tstpo-comp_unit  = 'ST'.&lt;/P&gt;&lt;P&gt;6. Position (Lagerteil) mit Beziehungswissen&lt;/P&gt;&lt;P&gt;   clear tstpo.&lt;/P&gt;&lt;P&gt;   tstpo-item_no    = '0060'.&lt;/P&gt;&lt;P&gt;                                                                                tstpo-item_categ = 'L'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-component  =                                                                                'MAT200'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-comp_qty                                                                                = '1.000'.                                "Mußeingabe&lt;/P&gt;&lt;P&gt;   tstpo-comp_unit  = 'ST'.&lt;/P&gt;&lt;P&gt;   tstpo-identifier = 'P1'.      "Mußeingabe beim Anlegen von BezWissen&lt;/P&gt;&lt;P&gt;   append tstpo.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Beziehungswissen zu Position 0060&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   clear tdep_data.&lt;/P&gt;&lt;P&gt;   tdep_data-object_id  =  '2'.&lt;/P&gt;&lt;P&gt;   tdep_data-identifier = 'P1'.&lt;/P&gt;&lt;P&gt;   tdep_data-dep_extern = 'B1'.&lt;/P&gt;&lt;P&gt;   tdep_data-dep_type   = '5'.&lt;/P&gt;&lt;P&gt;   tdep_data-status     = '1'.&lt;/P&gt;&lt;P&gt;   append tdep_data.&lt;/P&gt;&lt;P&gt;   clear tdep_source.&lt;/P&gt;&lt;P&gt;   tdep_source-object_id  = '2'.&lt;/P&gt;&lt;P&gt;   tdep_source-identifier = 'P1'.&lt;/P&gt;&lt;P&gt;   tdep_source-dep_extern = 'B1'.&lt;/P&gt;&lt;P&gt;   tdep_source-line_no    = '1'.&lt;/P&gt;&lt;P&gt;   tdep_source-line       = 'Farbe = ''rot'''.&lt;/P&gt;&lt;P&gt;   append tdep_source.&lt;/P&gt;&lt;P&gt;   clear tdep_descr.&lt;/P&gt;&lt;P&gt;   tdep_descr-object_id  = '2'.&lt;/P&gt;&lt;P&gt;   tdep_descr-identifier = 'P1'.&lt;/P&gt;&lt;P&gt;   tdep_descr-dep_extern = 'B1'.&lt;/P&gt;&lt;P&gt;   tdep_descr-language   = 'D'.&lt;/P&gt;&lt;P&gt;   tdep_descr-descript   = 'Beziehung B1 zu Position P1'.&lt;/P&gt;&lt;P&gt;   append tdep_descr.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; 7. Position (Lagerteil) mit Beziehungswissen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   clear tstpo.&lt;/P&gt;&lt;P&gt;   tstpo-item_no    = '0070'.&lt;/P&gt;&lt;P&gt;                                                                                tstpo-item_categ = 'L'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-component  =                                                                                'MAT400'.                                                                                "Mußeingabe&lt;/P&gt;&lt;P&gt;                                                                                tstpo-comp_qty                                                                                = '1.000'.                                "Mußeingabe&lt;/P&gt;&lt;P&gt;   tstpo-comp_unit  = 'ST'.&lt;/P&gt;&lt;P&gt;   tstpo-identifier = 'P2'.      "Mußeingabe beim Anlegen von BezWissen&lt;/P&gt;&lt;P&gt;   append tstpo.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Beziehungswissen zu Position 0070&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   clear tdep_data.&lt;/P&gt;&lt;P&gt;   tdep_data-object_id  =  '2'.&lt;/P&gt;&lt;P&gt;   tdep_data-identifier = 'P2'.&lt;/P&gt;&lt;P&gt;   tdep_data-dep_extern = 'B2'.&lt;/P&gt;&lt;P&gt;   tdep_data-dep_type   = '5'.&lt;/P&gt;&lt;P&gt;   tdep_data-status     = '1'.&lt;/P&gt;&lt;P&gt;   append tdep_data.&lt;/P&gt;&lt;P&gt;   clear tdep_source.&lt;/P&gt;&lt;P&gt;   tdep_source-object_id  = '2'.&lt;/P&gt;&lt;P&gt;   tdep_source-identifier = 'P2'.&lt;/P&gt;&lt;P&gt;   tdep_source-dep_extern = 'B2'.&lt;/P&gt;&lt;P&gt;   tdep_source-line_no    = '1'.&lt;/P&gt;&lt;P&gt;   tdep_source-line       = 'Farbe = ''rot'''.&lt;/P&gt;&lt;P&gt;   append tdep_source.&lt;/P&gt;&lt;P&gt;   clear tdep_descr.&lt;/P&gt;&lt;P&gt;   tdep_descr-object_id  = '2'.&lt;/P&gt;&lt;P&gt;   tdep_descr-identifier = 'P2'.&lt;/P&gt;&lt;P&gt;   tdep_descr-dep_extern = 'B2'.&lt;/P&gt;&lt;P&gt;   tdep_descr-language   = 'D'.&lt;/P&gt;&lt;P&gt;   tdep_descr-descript   = 'Beziehung B1 zu Position P1'.&lt;/P&gt;&lt;P&gt;   append tdep_descr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*- Materialstückliste anlegen&lt;/P&gt;&lt;P&gt;   call function 'CSAP_MAT_BOM_CREATE'&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;             material   = 'MAT100'&lt;/P&gt;&lt;P&gt;                                                                   plant      = '0001'&lt;/P&gt;&lt;P&gt;             bom_usage  = '1'&lt;/P&gt;&lt;P&gt;             valid_from = '01.01.1995'&lt;/P&gt;&lt;P&gt;             i_stko  = tstko&lt;/P&gt;&lt;P&gt;        importing&lt;/P&gt;&lt;P&gt;             fl_warning = flg_warning&lt;/P&gt;&lt;P&gt;        tables&lt;/P&gt;&lt;P&gt;                                                                   t_stpo       = tstpo&lt;/P&gt;&lt;P&gt;             t_dep_data   = tdep_data&lt;/P&gt;&lt;P&gt;             t_dep_descr  = tdep_descr&lt;/P&gt;&lt;P&gt;             t_dep_source = tdep_source&lt;/P&gt;&lt;P&gt;             t_dep_order  = tdep_order&lt;/P&gt;&lt;P&gt;             t_dep_doc    = tdep_doc&lt;/P&gt;&lt;P&gt;        exceptions&lt;/P&gt;&lt;P&gt;             error   = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if sy-subrc eq 1.&lt;/P&gt;&lt;P&gt;*---- Fehler aufgetreten (Stückliste kann nicht angelegt werden)&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Bitte Protokoll auswerten&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;   if flg_warning eq 'X'.&lt;/P&gt;&lt;P&gt;*---- Bitte Protokoll auswerten. Dieses enthält Informationen, War-&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    nungen und Erfolgsmeldungen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;MATERIAL&lt;/P&gt;&lt;P&gt;PLANT&lt;/P&gt;&lt;P&gt;BOM_USAGE&lt;/P&gt;&lt;P&gt;VALID_FROM&lt;/P&gt;&lt;P&gt;CHANGE_NO&lt;/P&gt;&lt;P&gt;REVISION_LEVEL&lt;/P&gt;&lt;P&gt;I_STKO&lt;/P&gt;&lt;P&gt;FL_NO_CHANGE_DOC&lt;/P&gt;&lt;P&gt;FL_COMMIT_AND_WAIT&lt;/P&gt;&lt;P&gt;FL_CAD&lt;/P&gt;&lt;P&gt;FL_DEFAULT_VALUES&lt;/P&gt;&lt;P&gt;FL_WARNING&lt;/P&gt;&lt;P&gt;BOM_NO&lt;/P&gt;&lt;P&gt;T_STPO&lt;/P&gt;&lt;P&gt;T_DEP_DATA&lt;/P&gt;&lt;P&gt;T_DEP_DESCR&lt;/P&gt;&lt;P&gt;T_DEP_ORDER&lt;/P&gt;&lt;P&gt;T_DEP_SOURCE&lt;/P&gt;&lt;P&gt;T_DEP_DOC&lt;/P&gt;&lt;P&gt;T_LTX_LINE&lt;/P&gt;&lt;P&gt;T_STPU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;ERROR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Group&lt;/P&gt;&lt;P&gt;CSAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&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;- Atul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 14:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921125#M382698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T14:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921126#M382699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The server which I use is not in my company, but at University, so I'm not sure about version. I checked attributes of my connection and I show it below:&lt;/P&gt;&lt;P&gt;PARTNER_REL:           46B &lt;/P&gt;&lt;P&gt;PARTNER_TYPE:          3&lt;/P&gt;&lt;P&gt;KERNEL_REL:            46D &lt;/P&gt;&lt;P&gt;TRACE:                  &lt;/P&gt;&lt;P&gt;RFC_ROLE:              C&lt;/P&gt;&lt;P&gt;OWN_TYPE:              E&lt;/P&gt;&lt;P&gt;CPIC_CONVID:           72696078&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that the version is either 46B or 46D. I am not sure which number describes version of the system. I've tried to create BAPI_MATERIAL_BOM_GROUP_CREATE in my Java application, but it cannot. So i guess that the version is 46B, am I right?&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Rafal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 14:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921126#M382699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T14:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921127#M382700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are... 46B is quiet an old version; the BAPI I have mentioned is not available in this system.&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;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 14:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921127#M382700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T14:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921128#M382701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am very grateful for ur answer. In this case I will try to solve it by using CSAP_MAT_BOM_CREATE....hope it is possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 15:00:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921128#M382701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T15:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921129#M382702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur help.&lt;/P&gt;&lt;P&gt;I can't use BAPI_MATERIAL_BOM_GROUP_CREATE since the version of my sap is 46B. I hope i can use Using CSAP_MAT_BOM_CREATE. Can I?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 15:03:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921129#M382702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T15:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: !!urgent - BAPI ..... pls help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921130#M382703</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;Yes.. Pls go ahead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for your reference, Any of the BAPIs can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since they have the ability to support both up-ward and down-ward versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward suitable points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 15:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-bapi-pls-help/m-p/1921130#M382703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T15:06:32Z</dc:date>
    </item>
  </channel>
</rss>

