Product trees- Lines

DTW
Product trees
ProductTrees_Lines1 template
what are the mandatory fields here? If possible, a sample data for each field
RecordKey
LineNum     
Comment     
Currency     
IssueMethod     
ItemCode     
ParentItem     
PriceList     
Price     
Quantity     
Warehouse
Edited by: SU Vijay on Sep 18, 2008 1:19 PM

hi,
here are the example template_lines you want :
1     1     1     1     2     2     2     2
0     1     2     3     0     1     2     3
item1     item2     item3     item4     item1     item2     item3     item4
EUR     EUR     EUR     EUR     EUR     EUR     EUR     EUR
im_Backflush     im_Backflush     im_Manual     im_Manual     im_Backflush     im_Backflush     im_Manual     im_Manual
item D3     item D4     item A1     item A2     item B     item B1     item B2     item B5
1     1     1     1     1     1     1     1
10     8     8     8     8     8     8     8
1     1     1     1     1     1     1     1
01     01     01     01     01     01     01     01
The sequence is as same as the template i.e. begin from record key and end with warehouse code
Rgds,

Similar Messages

  • DTW Production tree headers - price list

    I have 2000+ production Bom's headers that I would like to update via DTW. I want to change the price list on the header. The field on the OITT file is PriceList but the DTW template for production trees does not have this field on it. I know the DTW production tree lines template has price list & price fields on them to update ITT1 but not the header. Does anyone know the field name to use to update the price list number on the headers by DTW please?

    Hi Gordon,
    Thanks for the reply. It wasn't the answer I would have liked but that's the way it is sometimes.
    Regards,
    Stuart J.

  • Problem of Product Tree in Production Order

    Dear Experts,
    My query is related to product tree when i am trying to add production order then it will give me error that " Item already defined at a higher level in the Product Tree [ Production Order -Rows- Item No] [line : 1], ' Row no. 1]', [Message 3566 -12]".And where i can find the path of Product Tree.
    Thanks & Regards
    Amol

    Sorry some kind of missunderstanding.
    Ok i see your error message. This is often caused, when a item is already related to another BOM or production order.
    Example :
    Item 1 consists of Item B and Item C
    Item B could not consists of Item 1 cause Item B is a part of Item 1.
    Regards Steffen

  • Problem Adding BOM using Product Trees Object

    Hey I am having problems with the following code:
    qProductTree = (SAPbobsCOM.ProductTrees)this.m_SboAddon.SboCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductTrees);
    int RetVal = 0;
    qProductTree.TreeCode = "productTree1";
    qProductTree.TreeType = SAPbobsCOM.BoItemTreeTypes.iProductionTree;
    qProductTree.Quantity  = 5;
    qProductTree.Items.ItemCode = "test1";
    qProductTree.Items.Price = 20;
    qProductTree.Items.Quantity = 1;
    qProductTree.Items.Currency = "Eur";
    qProductTree.Items.Comment = "test comment";
    qProductTree.Items.IssueMethod = SAPbobsCOM.BoIssueMethod.im_Manual;
    RetVal = qProductTree.Add();
    string errMsg;
    int errCode;
    if (RetVal != 0 )
         this.m_SboAddon.SboCompany.GetLastError(out errCode, out errMsg);
         MessageBox.Show(errMsg);
    I get an error message with ID 2028 which when I look it up in the SDK it states DataSource - No Data found.
    Any ideas?

    Hi Laura!
    In DI reference you can find topic 'Add a Bill Of Material sample', hope it'll help you.
    Note, that there are some lines in that sample:
        Dim vItem As SAPbobsCOM.Items
        <b>Set vItem = vCmp.GetBusinessObject(oItems)</b>
        Dim vProdTree As SAPbobsCOM.ProductTrees
        Set vProdTree = vCmp.GetBusinessObject(oProductTrees)
               'Get the Item I want to create as Product Tree
        <b>RetVal = vItem.GetByKey("MyProdTree")</b>
        'Set Values to the fields
        vProdTree.TreeCode = <b>"MyProdTree"</b>
        vProdTree.TreeType = iProductionTree
    In my mind, you should find an existing Item (via GetByKey) before you create ProductTree.

  • Item already defined at a high level in the product tree

    Hi experts,
    when I add a BOM into the system, says A is consisted of B and C, I click the button to add this BOM, but system tell me an error "Item already defined at a high level in the product tree.  Row no. 2".
    Row no 2 is item C, I check all my BOM, C is not contained in any BOM, and B is in another BOM but that BOM didn't contain C or A.
    A is in a BOM, but in that BOM, there is no C. It's wreid why C already defined at a high level in the product tree. Thanks...

    Hi
    Please wite following the querry and check
    SELECT T0.[Code], T1.[Code] FROM OITT T0  INNER JOIN ITT1 T1 ON T0.Code = T1.Father WHERE T0.[Code] =[%0]
    Ashish Gupte

  • Update Opportunity Totals button on Opprtunity Product Revenue line items

    Hello,
    In our application, the sales process is managed at the product revenue level. Each product line item goes through various stages and could be in the intiall state or get cancelled as well. I need to exclude these product revenue line items while updating the Revenue amount at the Opprtunity Header. With the <Update Opportunity Totals> button, the total is updated at the header irespective of the product reveneue status. I think I need to build a custome webservice to do that.
    I need to find out if the <Update Opportunity Totals> button can be made read-only or removed based on roles and priveledges.
    Thanks

    Robin,
    You can't turn off the button, but OOTB functionality can help you manage this. In our case, we created a workflow for the Revenue Record Type. The workflow watches for changes to the status of any Opty Revenue record, via the "Before modifed record saved" trigger event. When a user changes the status of an Opportunity Product Line Item to a specified value, "Lost" in our case, the workflow automatically updates the Quantity value at the line item to 0, and the Revenue and Expected Revenue values at the Opty Product Line Item level are calculated to be zero accordingly. When the user updates the totals at the Opty level, the totals inlcude only the records that have revenue associated with them at the Opty Prod Line Item level.
    I assume your requirements are similar and the same approach could be used in your case.
    Good Luck,
    Thom

  • Another user-modified table 'Product Tree' (OITT) - Error message

    Hi
    Our B1 2005A SP01 PL48 sometimes shows the following error message when trying to change a BOM, even if this error is not possible.
    Another user-modified table 'Product Tree' (OITT) (ODBC -2039) [Message 131-183]
    What can I do, except for deleting and recreating the BOM?
    Thanks
    Franz

    Hi Franz,
    Please check these threads to find anything in common:
    Another user-modified table  'Items' (ODBC -2039)
    Another User modified Table (ODBC -2039) - Sales order
    In Purchase Order
    Re: Warehouse alerts not popping up.
    Thanks,
    Gordon

  • Another user-modified table  'Product Tree' (OITT)

    Hi
    I get the following message when I try to add an item to a certain BOM:
    - Another user-modified table  'Product Tree' (OITT) (ODBC -2039)  [Message 131-183]
    Do I have to log this problem with SAP or is there an 'easier' solution?
    Thanks
    Franz

    Hi Franz,
    It could be a possible Database correction issue. It would be better if the issue is opened to SAP Support for further help and investigation into the issue.
    Regards,
    Jitin

  • DIAPI for Product Tree

    Hi all,
    I found out that DI API doesn't provide property 'WareHouse' for Product Tree. It always gets the default WH from item master data. Using UI API, we can change the WH, whereas we cannot do that using DI API?
    Does SBO know about this? Are they going to add the properties? If I add a new productTree using DI API then update the record in the database, is it recommended? will it cause any problem?
    Advises and suggestions are appreciated. Thanks.
    regards,
    erwine

    I wouldn't write to the database.  It might not mess anything up, but it might, and you might not find it until it is too late. 
    I'd recommend - if the WH is taken from the Item, change the Item WH then change it back after you create the Product Tree.

  • How to round quantity with FMS for some items in Production order lines?

    Hello,
    How to round the quantity with FMS or SP for only some items in the composition of Production order (lines) and the bill of materials like a box or a stick that should not be with commas.
    Exemple  of Production Order
    P1
      M1 | 234,78
      M2 | 104,04 --> 104
      M3 | 60,7
      M4 | 512, 00
      M5 | 107,67 --> 108
    and others will not be rounded
    Thanks,
    Hafid

    Hi Gordon,
    you're always the first to respond, thank you.
    Its when adding the production order, before its creation or when entering the quantity of product in OWOR.
    Like :
    SELECT CASE WHEN ($[$37.4.0] = 'M2') OR ($[$37.4.0] = 'M5') THEN ROUND (T0.[PlannedQty],0)
    ELSE T0.[PlannedQty] END AS PlannedQty FROM WOR1 T0
    or
    SELECT ROUND (T0.[PlannedQty],0) FROM WOR1 T0 WHERE T0.[ItemCode] =$[$37.4.0] AND (T0.[ItemCode] = 'M2' OR  T0.[ItemCode] = 'M5)
    Thanks,
    Hafid

  • Bouton reset pour potentiomètre linéaire

    Bonjour,
    Nous sommes en Terminale SSI, nous devons réaliser un projet (un pont en treillis) pour notre bac.
    Notre programme consiste à mesurer la flèche d'un pont (en maquette, balsa et un en PVC) à l'aide d'un potentiomètre linéaire. Le pont (en maquette) ne revient pas forcément à sa position initiale après que l'on ai enlevé des poids.
    Le programme marche cependant nous n'arrivons pas à réaliser un bouton reset nous permettant de conserver la valeur de sortie et de réinitialiser la valeur d'entrée tout en sachant que le potentiomètre garde la même tension en fonction de la distance parcourue par la borne mobile.
    Merci d'avance pour votre aide
    Bonne journée

    -Le potard nous permet de mesurer la flèche d'inclinaison d'un pont lorsque l'on pose différents poids dessus. Notre but étant de tester la résistance de plusieurs matériaux.
    -Le potard est monté sur une carte d'acquisition NY-DAQ. Celui-ci est accroché au pont.
    -La potard est calibrer afin que la valeur de la tension soit comprise entre 0 et 5 Volts.
    -Méthodologie de capture: ?
    -Algorithme de calcul :
    if (t>0&& t<5)
    D=t*11,51;
    Il est dans une boîte de calcul
    Voici le fichier du programme en entier
    Attachments:
    LABVIEW2 PPE.vi ‏82 KB
    PROGRA-PPE - Copie.jpg ‏202 KB

  • A problem with updating a production tree through the DI

    Dear all,
    I'm trying to update 2 properties of a production tree through the DI - ToWH and PriceList.
    I'm using the next code:
    SAPbobsCOM.ProductTrees tree = (SAPbobsCOM.ProductTrees)mCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductTrees);
    Then, this tree object doesn't give me the option to update the pricelist and the target warehouse, although it is possible to do so through the UI.
    Any ideas?
    Thanks!

    Hi,
    If the DI API does not expose the properties then it may not be possible at the moment. However, I have sometimes found that if you use the XML interface in the DI API that you can update properties that aren't exposed through properties in the DI API objects.
    Try something like this:
    1) Use the GetByKey method of the production tree object to get the BOM you want to update.
    2) Use the GetAsXML method to generate an XML formatted string of the BOM
    3) Load the xml string in to an XML parser such as the XMLDocument object in the .NET Framework
    4) Use the XMLDocument object to update the header fields you want to change and save the xml string as a file to disk
    5) Use the GetBusinessObjectFromXML method of the DI API company object to load the XML file back in to your production tree object
    6) Call the Update method of the production tree object
    If that doesn't work then there is no way I know of to achieve what you want through the DI API.
    Kind Regards,
    Owen

  • To display Product tree hierarchy

    Hi
    Has anyone used webservices to display theproduct structure in a product tree hierarchy format using webservices.
    Kindly provide your inputs.
    Thanks

    Do you want to display the alt text on image?
    If so you can directly use alt="<your product description>" on the img tag
    eg:
    <dsp:getvalueof var="prodDetail" param="product.description"/>
    <img src="/path/to/your/img" alt="${prodDetail}"/>

  • Year trasnfer of specific production trees

    Hello Experts,
    There are some specific production trees that I would to Year trasnfer (only those that i would mark in properties)
    How it can be done?
    Best Regards,
    Meital

    Yes I can..
    We have some Items in the system that we want to "get rid" of them. I know it can be done when preforming the 'Year Transfer' function.
    (so those items would not exist in the system)
    I hope this is detailed enough.

  • How to customize the Product Item lines numbers incrementation in Orders?

    Hello everyone,
    We are using structured products in CRM 7.0 that are replicated from ECC SD. These products consist of a high level product to which are attached sub-level products (BOM in ECC SD).
    When we select a high-level product in a CRM sales transaction (order, quotation...), the system automatically does the BOM explosion, with the 2 levels structure, but it assigns an item line number of 10 to the first line and then increments by 1, which gives :
    10 "item line 01"
    11 "item line 02"
    12 "Item line 03";...etc
    This is not correct for us, because the user might have to insert manually new items in-between the items automatically added by SAP, so, we need the system to change this automatic numbers assignment : we would like tthat the numbers be 10, 20, 30...
    so that the user can insert items with numbers like 11, 12....21, 22.
    Where can the number incrementation be customized or is there a BADI for that?
    thanks
    Ludovic

    This is set in transaction type customazing. go to spro>crm>transactions>basic settings>define transaction types. Open your transaction type and underitem number section set desired values for:
    - Increment Item  for main items
    - IncrementSubItm  for subitems

Maybe you are looking for

  • How can i restrict the Expenditure Type values at a specific OU ?

    Dear Guys, I would like to ask about the Expenditure Types, I have implemented two projects for different Operating Units , when navigating to any Projects responsibilty,and navigating the Expenditure Type field the values exist are all the values im

  • Quarter

    Hi, I need to get the last day (working day) of the prior quarter. DateA is the date from my facttable, and DateB have values to use (history). I use an expression operator to calculate the correct day ID_DateB Between (TO_DATE(CONCAT('/01', DECODE(W

  • I'm frustrated that I cannot get the adobe flash player to successfully download on my computer.

    I am frustrated with the failure to download latest adobe flash player. Viewing video is mostly impossible on most things I try, and I am ready to give up soon, and buy a Mac. What does this keep happening???

  • Ipod as a removable disk

    Hello I am a new user of ipod technologies and I would like to ask you if it is possible to use it as a removable disk because I need to transferd information between my computers? PC   Windows XP  

  • Error: No first field of table index in where condition

    I've got following errors while doing code inspector or extended syntax check: (Large table VEKP: No first field of table index in where condition). My code is like below as per as code-logic. What's the necessary changes to do to remove the above co