DTW-BOM

what is the procedure for uploading bom using DTW?

Hello SU Vijay,
To import BoM to Business One via DTW you need to use the 'Product Tree' and 'Product Tree Lines' from the  'oProduct Trees'  sub folder from the DTW templates folder. In the 'Product Tree' template the field of importance is the 'TreeType' field. This field will save the type of BOM i.e. production Sales etc. In this field enter one of :   iAssemblyTree, iSalesTree, iProductionTree, iTemplateTree, as required . This information can be found as a comment on the field 'TreeType' in the template itself.
More information on the various fields in this template can be found in the SDK help files at: u2018Contentsu2019 tab -> Developers Guide -> DI API -> Reference -> SAP Business One DI API 2007 u2013 Objects  u2013>  Over view  -> Objects - Product Trees Object/Product Tree Lines Object - in window on right click on 'ProdcutTrees Memebes/ProdcutTrees_Lines Members.
Also in the DTW Templates folder is a sub folder called Data preparation examples' in this folder open the '10. Testcase1_Test Data for Import function' and navigate to the 'oProduct Trees' folder for samples of how the template can be completed.
I hope this helps
Kind Regards
Noreen
Edited by: Noreen Armstrong  on Jul 15, 2008 4:55 PM

Similar Messages

  • DTW BOM Template - price list missing

    Hi All,
    I am working on SAP 2005 B PL 44. the ProductTrees.csv template (master) that comes with DTW does not show 'PriceList' Column, I want to insert the price list (i.e -1 for last purhcase price) at the time  of BOM header creation. how can I add it? I tried adding a column called 'PriceList' at the end in this template but while mapping it does not show it in the column's drop down.
    Thanks ,
    Binita Joshi

    Binita,
    Since you mentioned last purchase price, I thought you were talking about child item prices. Here are a few points for you to consider:
    1. The Price List field in the header pertains to the parent item and not to child items. A parent item in BOM may not have a last "purchase" price in most cases. It is not that you change it once in the header and all child item prices will change - no.
    2. If you want to change the price list for child items in existing BOMs, use the "update" templates for productTree lines with comment field "Update". I tried it now for an existing BOM and it works even for price list '-1'.
    3. If you to (manually) update the price list in header of BOM it will only display the parent price in the field at bottom as defined in the selected price list. If you want to update the price in that price list with DTW, U can use PriceLists.csv.
    Thanks,
    Ajay

  • Exporting BOM out of a company

    Forum,
    I am wondering how best can I export BOMs out of a company. I would like to get these into excel so i can import them into another company via DTW.
    Any help would be appreciated.
    Regards,
    Juan

    Hi Juan,
    Like anything else, you can keep your BOM open and click on Excel link in toolbar above and export to Excel, Right?
    But that form of layout may not be useful if you want to import again to another company. What you need is, take only those columns what you exported to excel and paste it into the DTW production BOM sample template. The DTW production BOM templates are available by default at - C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\Production\Bill of Materials and production orders at C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\Production\Production Orders.
    Try out a few times to ensure you mapped you BOM columsn to the DTW BOM import template. One time effort and after that it becomes pretty mechanical.
    Hope it helps.

  • Data Transfer Workbech - XML File

    Hi,
    I pretend use the Task Scheduler for importation data to the SAP Business One System. For this, I created a batch file with information:
    cd "C:\Program Files (x86)\SAP\Data Transfer Workbench"
    DTW -S C:\Temp\DTW_ScheduleItemImport.xml
    Also, I exported for xml file the data to import in the system through Data Transfer Workbench. The content of xml file is:
    <DTW><BOM><BO><AdmInfo><Object>13</Object><Version>2</Version></AdmInfo><Documents><row><CardCode>C1001</CardCode><DocDate>20050223</DocDate><DocDueDate>20050223</DocDueDate><Series>1000</Series><TaxDate>20050223</TaxDate></row></Documents><Document_Lines><row><ItemCode>A1008</ItemCode><Price>8</Price><Quantity>2</Quantity><WarehouseCode>01</WarehouseCode></row></Document_Lines></BO></BOM></DTW>
    When I schedule a task in Task Scheduler runs the same but the data are not imported.
    I believe that not import due to the fact that in the XML file will not be exported data on BD certified in Data Transfer Workbench.
    Anyone help me?
    Thanks.
    Sandra Pereira

    Hello Sandra,
    I trust you.
    >The objective this process is to schedule of importing data into the system using the mapping in xml, right?
    Yes, and all the login information, file information, etc. the filename should be the same each time to import the data.
    Maybe you are using older version of DTW than it knows.  You may try to upgrade to the latest DTW, or at least B1 2007 SP 01 version (i have DTW 2005.0.30)
    my xml file looks like
    <Transfer>
    - <Logon>
      <UserName>manager</UserName>
      <Password>tCmKcJvLfKqJ</Password>
      <Company>FRMARPSAPHU</Company>
      <Server>(local)sqlexpress</Server>
      <UserAuthentication>True</UserAuthentication>
      <Language></Language>
      <LicenseServer></LicenseServer>
      <ChooseDB>False</ChooseDB>
      <DBType>4</DBType>
      <DBUser></DBUser>
      <SybasePort></SybasePort>
      <DBPassword></DBPassword>
      </Logon>
      <ObjectCode>oItems</ObjectCode>
    - <FileExtractor>
    - <Extorlogin>
      <ExID></ExID>
      <ExDSN></ExDSN>
      </Extorlogin>
      <FilesTypes>2</FilesTypes>
    - <Files>
      <Items>C:SBOProjectsBio-RAD2010Service Implementationitems.txt</Items>
      </Files>
      </FileExtractor>
    etc
    Regards
    János

  • Updating BOMs via DTW

    Hello,
    I am trying to update my BOMs via DTW. There is a tick box called "Hide BOM Components on Printoutu201D on the SALES BOM that i would like to tick but it doesnt seem to have a mapping in the DTW template. I've tried adding a column called "HideComp" to the ProductTrees template but DTW does not recognize this or allow me to manually map the feild.
    What can i do? Any suggestions are much appreciated.
    Greeshma

    HI Joseph,
    If i tick what you suggested in the Document SEttings then the Component items of the Sales BOM can still be seen when you are adding the document in SAP but you just cannot see their indivdual prices. When you do a print preview of the document the component items still show. I do not want them to show on the physcial printout of the document-whether it is a SAles Order or Invoice.
    Kind regards,
    Greeshma

  • Load Bill of Material (BOM) using DTW?

    I had a question, I was wondering how do we load BOM using DTW?
    Which template to use
    Thanks in advance

    Hai------ Sorry for Confusion Ignore the earlier reply
    For DTW work of BOM you need 2 no. of templates
    1. Product trees which contain all the Parent item names
    Eg of template
    Record Key -
    Item Code----
    Tree Type
    1 -
    A001 -
    iProduction tree
    2 -
    B001 -
    iProduction tree
    2. Product tree lines which contain all the child items with correspoinding parent item record key no and line no individual
    Record Key -
    Line No-- Item Code--
    Parent Item Code -
    Quantity
    1-- 0 -X001 A001--
    10
    1 -
    1 -
    X002 -
    A001 -
    4
    1 -
    2 -
    X003-- A001--
    5
    2 -
    0 -
    Y001-- B001--
      7
    2 -
    1--Y002--
    B001 -
    4
    2 -
    2 -
    Y003-- B001--
    6
    Like this prepare your template and upload
    For any queries come back to here
    Regds

  • BOM DTW: No field to upload the receiving warehouse in BOM

    Hi,
    Can we consider in future release the receiving warehouse (header data) during uploading of BOM thru DTW? This is very tedious on the partners/ customer to change the receiving warehouses after the BOM has been uploaded.
    Thanks.

    Hi
    Note 1328706 unfortunately didn't solve my problem :(.
    I want to import (add) warehouses (codes: Cl_K and Sev_Adm1) to Item with RecordKey 3
    Here is an example
    File oItems
    RecordKey
    1
    2
    3
    File Itemwarehouseinfo
    RecordKey     LineNum    WarehouseCode
    3                          5               Cl_K
    3                          9               Sev_Adm1
    Results of Query select * from OWHS
      Код склада (Warehouse code)
    1   01
    5 Cl_K
    9  Sev_Adm1
    I've tried to put 4 and 8 in Linenum due to Note 1328706 - no effect.
    With regards
    Maxim

  • DTW for BOM

    Hi Experts,
    Do we have available template in DTW to export Bill of Materials?
    My SAP version is 2005A SP01.
    Thanks.

    Thanks Xiaodan,
    I'm now trying to use the template to import BOM to SAP however i am getting error message like this:
    " is not a valid value for field 'IssueMthd'. The valid values are: 'B' - 'Backflush', 'M' - 'Manual'Application-defined or object-defined error65171
    Though I tried using M or B in the issue method but still import is not successful.
    Any help?
    Thanks.

  • Erro no Login do DTW

    Bom dia a todos,
    Estou com um problema no login do DTW,
    o DTW consegue conectar com o banco de dados, ele carrega os bancos, mas quando clico no OK para fazer o login ele me da uma mensagem de Erro constando que não foi possivel conectar o servidor de licensa.
    Mensagem "CONNECTIO TO SERVIDOR-2003 HAS FAILED
                      ERROR CODE 100000001
                      CONNECTION WITH LICENSE SERVER FAILED"
    Estou usando o SAP B1 2005B PL 42
    Esta com a DI API instalada, já rodei um "Upgrader Common" para a atualização do PL, ressaltando que ele não deu nennhum tipo de erro na licensa quando atualizei o PL.
    Muito Obrigado.

    Eu já tentei colocar o IP, mas não funciona do mesmo jeito.
    Tentei fazer uma teste interno (não no Cliente) nao minha maquina local, ele tambem da o mesmo erro.
    Tentei tambem usar o DTW da minha maquina acessando o servidor da minha empresa, ai ele não consegue conectar com o Common.

  • DTW Atualização de contas controle do PN

    Srs. Bom Dia.
    Estou com um pequeno problema para atualizar algumas contas de PN em massa. As contas são as Seguintes:
    - Apresentação de Boleto
    - Boleto Descontado
    - Contas a Receber do Boleto
    Estou conseguindo atualizar a conta de contas a receber do boleto. Porém nas demais contas o DTW retorna o erro : Invalid control account error.
    Percebi que a única diferença entre a primeira conta e as outras que não consigo é que a primeira está marcada como conta controle e as demais não.
    Poderiam me ajudar ?
    Att
    Kleberson Lima

    Kleberson, bom dia,
    A conta contábil que você informar em:
    - Contas a Receber do Boleto
    Deve ser uma conta controle.
    A conta contábil que você informar em:
    - Apresentação de Boleto
    - Boleto Descontado
    NÃO podem ser contas controle

  • Scheduling in DTW 2004 ??

    Hello everyone,
    Can we do Scheduling in DTW 2004 ?
    I know that we can scheduling in DTW 2005 but i want scheduling to be done in DTW 2004 or is there any other alternative other than DTW 2004 which can import and update the database ??
    If there is any application or code available for importing and updating database using SAP B1 Business Objects then kindly let me know as i need it very urgently.
    Thanx in advance
    Pranay

    Hey Edward,
    Thanx for ur immediate reply but i cant use this 3rd party Software.
    well i think then i have to make my own application which can update the SQL Database using XML file.
    Actually I want an urgent help as I am facing a problem in SAP Business One 2004(SDK). The problem is that I am not able to update the Database(SQL 2000) through an XML file.
    I am using VB.NET 2003 as my frontend. Though i am able to insert the data in the database using xml file but unable to update that data.
    The tables i want to update are OITM,ITM1,OITW. While i was trying to update the Database i was getting an error ie " -1107 Object's key is not set".
    Now as scheduling is not there in DTW 2004then I  dont want to use DTW for importing or anything.
    Kindly help me out why i am facing this problem asap...
    Here's the code i am using..
    Dim sXmlFileName As String
    Dim iElementCount As Long
    Dim iCounter As Long
    sXmlFileName =
    IO.Directory.GetParent(System.Windows.Forms.Application.StartupPath).ToString & "\xml\Items.xml"
    iElementCount = oCompany.GetXMLelementCount(sXmlFileName)
    MsgBox(iElementCount & " Elemnts found in xml file" & vbNewLine & "Ready To Start Transaction")
    oCompany.StartTransaction()
    For iCounter = 0 To iElementCount - 1
    oCompany.XmlExportType = SAPbobsCOM.BoXmlExportTypes.xet_ExportImportMode
    Select Case oCompany.GetXMLobjectType(sXmlFileName, iCounter)
    Case SAPbobsCOM.BoObjectTypes.oItems
    oItem = oCompany.GetBusinessObjectFromXML(sXmlFileName, iCounter)
    oItem.Update()
    End Select
    oCompany.GetLastError(lErrCode, sErrMsg)
    If lErrCode <> 0 Then
    MsgBox("Error Message: " & sErrMsg & vbNewLine & "Transaction will be rolled back")
    Exit Sub
    End If
    Next iCounter
    oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
    MsgBox("Data updated successfully")
    End Sub
    xml format i am using ...
      <?xml version="1.0" encoding="UTF-16" ?>
    - <BOM>
    - <BO>
    - <AdmInfo>
      <Object>4</Object>
      <Version>2</Version>
      </AdmInfo>
    - <Items>
    - <row>
      <ItemCode>New6</ItemCode>
      <ItemName>7</ItemName>
      </row>
      </Items>
    - <Items_Prices>
    - <row>
      <Price>11.000000</Price>
      </row>
    - <row>
      <Price>21.000000</Price>
      </row>
      </Items_Prices>
    - <ItemWarehouseInfo>
    - <row>
      <WarehouseCode>01</WarehouseCode>
      <MinimalStock>3.000000</MinimalStock>
      <MaximalStock>10.000000</MaximalStock>
      <MinimalOrder>8.000000</MinimalOrder>
      <StandardAveragePrice>4.000000</StandardAveragePrice>
      <Locked>tNO</Locked>
      </row>
      </ItemWarehouseInfo>
    - <PriceLists>
    - <row>
      <List>20</List>
      </row>
      </PriceLists>
      </BO>
      </BOM>
    Please provide me with your valuable feedback on my source code and xml file as it will be highly appeciated. If possible then do send me some code with a right xml format so that i can update the database using SAP Business One Business Objects and xml file.
    Best Regards,
    Pranay

  • How do I duplicate BOM's as I add inventory items

    My company has hundreds of items, but most are just images transfered onto a substrate.  The BOMs for items are complex, but similar.  If I could create 20 standard BOM's and use them as a starting point as I created new items, we would save time and have more precision in our system.  Now we are subject to keystroke errors as we retype BOM's.  Thank you.  g

    Welcome you to the forum.
    If you are a SAP Business One user, you may use DTW to upload them.
    Thanks,
    Gordon

  • Sales BOM

    Hi All,
    When we update Sales BOM by replacing an item or quantity the corresponding item open sales quotation and open Sales order don't get updated.
    Is there a way to update all the open quotation or orders simultaneously when we update the sales BOM..?
    Note: DTW solution is considered, If there is an alternative solution it would be really helpful.
    Regards,
    Aditya

    Hi Aditya,
    DTW is probably the easiest solution for you. Otherwise, you need SDK to achieve your goal.
    Thanks,
    Gordon

  • DTW for Last Purchase Price

    Dear all,
    Can we import Last Pruchase Price to SBO using DTW ? so, I can see the historical of last purchase price when I open PO
    Best regards
    Wibisana

    Dear Wibisana,
    what is your pupose to update last purchase price list ?
    To update price list, you must have the explanation about how to update last purchase pricelist:
    Last Purchase Price List
    The prices in this price list are updated automatically by the system when the following transactions are performed:
    1.     When you enter an incoming invoice # see Purchasing
    1.     When you enter a goods receipt # see Goods Receipt
    1.     When you enter a positive opening balance for an item # see Inventory and Stock Postings
    1.     When you enter a positive inventory result that triggers a goods receipt # see Inventory and Stock Postings
    1.     When a product with a BOM is manufactured, where the price of the product is calculated from the last purchase prices of the components # see Production.
    1.     When data imports are performed
    If none of these transactions have been performed in the system for an item, the "Last Purchase Price" price list will not contain the item
    Only the list of the transactions mentioned above changes the price of an item in the "Last Purchase Price" price list.
    Even if you enter one of these transactions, but assign it the value 0, the price will not be included or updated in the "Last PurchasePrice" price list.
    You can refer other price lists to the "Last Purchase Price" price list with a defined factor. You cannot, however, change the prices in the "Last Purchase Price" price list manually.
    then you use the DTW template:
    1. item
    2. item_prices
    you can have both from this folder:
    C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\oItems
    then, in the DTW, you use object oItem.
    the DTW templates (item and item_prices) must contains the data where they will not act like import but update.
    in the item_prices, you must put :
    1. linenum : 0 for pricelist 1; 1 for pricelist 2; etc
    2. pricelist : 1 for pricelist 1; 2 for pricelist 2; etc
    actually, in the pricelist window, do you see that the pricelist last purchase price have base pricelist ? in the form, you will see that the 01 Purchase Price List have last purchase price as its base pricelist.
    So, in the template you must use it.
    After updating using DTW finished, you could try to use one of the item in the purchase order and see if the unit price changes or not.
    I will ask my friend to send the template if you need.
    Rgds,

  • Use of Alternate Components in BOM for Production

    Hi Experts,
    We implement for a customer who are manufacturers of Electronic Products.
    There are possibilities of producing a Finished Products with an Alternate Child Parts some times.
    Is it possible to automate this.
    More examplified below.
    XYZ is a Finished Product whose Components are A, B, C.
    To produce the same XYZ, the components used may be
    A1, B, C or
    A, B, C1 or
    A1, B, C1. So there are binary concept number of combinations.
    Since the components are more in number & there are chain alternates (i.e. if one changes other has to be changed), it is not practically possible to maintain many number of BOMs for a single Finished Product.
    Is there any way implement this scenario upfront.
    Advance Thanks & Regards
    Aru

    Hello Friend,
    SAP does not have such type of functionality we can make one bill of material for one finished Item.
    Manually:-
    You may try like make big bill of material ,which have all alternative materials ,raw material in single BOM.
    and whenever you make production order delete that materials which you are not going to use that production.
    Import from excel file:-
    If we want to make combination then goto excel and import it by Data transfer workbench(DTW)
    i am working in same industry , i m using same in excel make all combination and varified it engg. then import in Bill of materials as well production order.
    for import i have made .bat file AND  end user put the excel file in predefined location and click on .bat file it execute and all data import in SAP with using manually DTW.
    Thanks
    Manvendra Singh Niranjan

Maybe you are looking for

  • HT4847 Viewing camera roll on iCloud

    How do I view my camera roll on iCloud so I can delete part, but not all of it?

  • Named query question

    Hi Guys, I have the following problem - I know I did something wrong, but I cannot figure out how to correct it. Here is my question: I have a table tableA, with composite key (col1, col2, col3, col4). I mapped the table, and create a Toplink named q

  • Random black squres have started showing up on photos i'm editing in photoshop. anyone else have this problem?

    random black squres have started showing up on photos i'm editing in photoshop. anyone else have this problem?

  • Unable to install suse 11.0 in g430

    Hi guys yesterday i tried to install SuSe 11.0 in my laptop , installation was successfull but after rebooting GUI is not coming up properly it is saying "not able to find the graphical interface".... any one expirenced the same problem...? and i tri

  • How do I continue installation?

    While I was installing a trial version of Adobe Premiere Elements, the process "froze" and would not install. I therefore cancelled the installation --to hopefully restart it again, but I could not. Any solution?  See below.  Thank you.