How to develop a new bill of materials report(BOM) in SBO?

Dear all
On sbo, there is a report of BOM in production, the BOM report can explore to Class1.Class2.. ClassN,, but the report is with fixed format, now I need add more columns into the report, how to do? if not, can I write and SQL script to get it again.
thank you.

Hello Barend,
From your SQL trace, I got below sql script, those will generate many report, but in the Bill of materials report, there just is only one report,
so, could you let me know how to merger those sql together to get a one on sql and generate one report, thanks.
Alex
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
go
SELECT T0.Code, T1.ItemName, T0.TreeType, T0.Qauntity, T0.Qauntity, T1.LastPurCur, T1.ExitWH, T0.Qauntity, T0.Code, T0.PriceList FROM  [dbo].[OITT] T0 ,  [dbo].[OITM] T1  WHERE T1.ItemCode >= N'400 440L'  AND  T1.ItemCode <= N'400 440L'  AND  T0.Code = T1.ItemCode  AND  T1.Canceled <> N'Y'   ORDER BY T0.Code
go
SELECT T0.Code, T1.ItemName, T1.TreeType, T0.Quantity, T0.Price, T0.Currency, T0.Warehouse, T1.TreeQty, T0.Father, T0.PriceList FROM  [dbo].[ITT1] T0 ,  [dbo].[OITM] T1  WHERE T0.Code = T1.ItemCode  AND  T0.Father = N'400 440L'   ORDER BY T0.Father,T0.ChildNum
go
SELECT T0.Code, T1.ItemName, T1.TreeType, T0.Quantity, T0.Price, T0.Currency, T0.Warehouse, T1.TreeQty, T0.Father, T0.PriceList FROM  [dbo].[ITT1] T0 ,  [dbo].[OITM] T1  WHERE T0.Code = T1.ItemCode  AND  T0.Father = N'19-01220B-03-00'   ORDER BY T0.Father,T0.ChildNum
go
SELECT T0.Code, T1.ItemName, T1.TreeType, T0.Quantity, T0.Price, T0.Currency, T0.Warehouse, T1.TreeQty, T0.Father, T0.PriceList FROM  [dbo].[ITT1] T0 ,  [dbo].[OITM] T1  WHERE T0.Code = T1.ItemCode  AND  T0.Father = N'19-01220B-02-00'   ORDER BY T0.Father,T0.ChildNum
go
SELECT T0.Code, T1.ItemName, T1.TreeType, T0.Quantity, T0.Price, T0.Currency, T0.Warehouse, T1.TreeQty, T0.Father, T0.PriceList FROM  [dbo].[ITT1] T0 ,  [dbo].[OITM] T1  WHERE T0.Code = T1.ItemCode  AND  T0.Father = N'30-90000B-03-00'   ORDER BY T0.Father,T0.ChildNum
go
SELECT T0.Code, T1.ItemName, T1.TreeType, T0.Quantity, T0.Price, T0.Currency, T0.Warehouse, T1.TreeQty, T0.Father, T0.PriceList FROM  [dbo].[ITT1] T0 ,  [dbo].[OITM] T1  WHERE T0.Code = T1.ItemCode  AND  T0.Father = N'19-012205-02-00'   ORDER BY T0.Father,T0.ChildNum
go
SELECT T0.Code, T1.ItemName, T1.TreeType, T0.Quantity, T0.Price, T0.Currency, T0.Warehouse, T1.TreeQty, T0.Father, T0.PriceList FROM  [dbo].[ITT1] T0 ,  [dbo].[OITM] T1  WHERE T0.Code = T1.ItemCode  AND  T0.Father = N'19-012205-01-00'   ORDER BY T0.Father,T0.ChildNum
go
SELECT T0.Code, T1.ItemName, T1.TreeType, T0.Quantity, T0.Price, T0.Currency, T0.Warehouse, T1.TreeQty, T0.Father, T0.PriceList FROM  [dbo].[ITT1] T0 ,  [dbo].[OITM] T1  WHERE T0.Code = T1.ItemCode  AND  T0.Father = N'30-900005-02-00'   ORDER BY T0.Father,T0.ChildNum
go
SELECT T0.*  FROM [dbo].[CSHS] T0 WHERE T0.FormID = N'679'  AND  T0.Refresh = N'Y' 
go
SELECT T0.*  FROM [dbo].[CSHS] T0 WHERE T0.FormID = N'679' 
go

Similar Messages

  • UoM in  Bill of Materials Report.

    Hi,
    Is any body know how to add Inv, UoM in following report or
    How to take Inv UoM in its PLD or any SQL Query for such type of report.
    Production Reports -->Bill of Materials Report.
    Regards,
    Rajesh

    Hi Rajesh,
    You need to use/bring field invtryuom from table oitm.
    Hope this helps..
    BR
    Samir Gandhi

  • Query to replicate the Bill of Materials Report

    I'm looking to recreate the Bill of Materials report as a query, mostly because i cannot add any new database fileds to the pld report.
    As i cannot amend/change the screen layout or PLD i would like to recreate the report as a  query but have struggled to get a query to show the expanded layers of the BoM as the report does.

    Following is one I wrote to find cost vs sell price & GP for Production BOM's.
    You may be able to modify it to include what you need?
    {SELECT T0.[Father],
    sum ( T2.[AvgPrice]* T0.[Quantity]) as [Cost],T3.[Price] AS [Sales Price], 
    (t3.Price - sum(T2.[AvgPrice] * T0.Quantity)) as [GP] ,
    (t3.Price - sum(T2.[AvgPrice] * T0.Quantity))/sum (case when isnull(T2.[AvgPrice],0)= 0 then 1 else isnull(T2.[AvgPrice],0) end * T0.[Quantity])*100 AS [GP%]
    FROM ITT1 T0  INNER JOIN OITT T1 ON T0.Father = T1.Code INNER JOIN OITM T2 ON T0.Code = T2.ItemCode INNER JOIN ITM1 T3 ON T1.Code = T3.ItemCode
    WHERE (T1.[TreeType] = 'P' or  T1.[TreeType] = 's') and  T3.[PriceList] = 1
    GROUP BY T0.[Father],T3.[Price]}

  • Oracle 9i New Bill of Materials functions

    Can anyone provide information and/or point me to some good references where I can learn about thenew/improved Bill of Materials functions introduced in Oracle 9i?
    Thanks

    Not sure what you mean with the difference between Oracle database and application, but anyway Bill of Material refers to hierarchical, tree like organization of data. Now I know Oracle 8i has the "Connect by" function, however I understand Oracle 9i has some new functionality in this field and I would like to learn more about it

  • How to insert a new field in the Report Designer

    Hi all.
    I have a query and a report, but the query evolve.
    We have a new key figure (inside rows).
    In the report designer, I check the data provider.
    The new key figure is added in the catalog field.
    Now, I would like to insert the new field in the report.
    I add a new row in the report structure but it isnt what I want.
    In this case, I add a second row inside an another keys figures block.
    I want to create a new block for my new key figure
    Thanks for your help
    Céline

    Yes, key figures is in the field catalog.
    But When I do that " Insert a row ", Report designer create a " row 2 " below another key figures.
    And it isn't what I want. I want a new block .
    For exemple in the tab report structure (My new key figure is "Margin")
    I do that
    Group Level 1 : key figures
             Detail Area
                      Sales Amount
                                   row1
                                          cell1
                                          cell2
                      Cost
                                   row1
                                          cell1
                                          cell2
                                   row2 ( the new row added)
                                          cell1
                                          cell2                     
    But I want that:
    Group Level 1 : key figures
             Detail Area
                      Sales Amount
                                   row1
                                          cell1
                                          cell2
                      Cost
                                   row1
                                          cell1
                                          cell2
                     Margin
                                   row1
                                          cell1
                                          cell2                     
    Thanks for your help

  • Help ,can anybody tell me how to develop a new menu

    Hi friends,
        I want to develop a customized menu . I am using NWDS portal to develop it. I need some "howto".
    Thank you and best regards. 
    PS: then menu like the pic in the following link.
    http://lh3.ggpht.com/_EBROeKTXo_k/SVg-qq8I8oI/AAAAAAAAAD0/v8MVnZRC6lE/menu.jpg

    Hi,
    Try the below link
    Tag  Libraries: Creating a Hover Menu in SAP NetWeaver Portal
    Regards
    Basheer

  • How to add a new record in updatable report using apex_item

    Hi,
    i am using an updatable report using the following select
    select
    aPEX_ITEM.POPUP_FROM_QUERY(2,emp_code,
    ' SELECT emp_surname, emp_code FROM hrm_employee ' ,null,null,null,null,null,'onchange="f_set_multi_items_tabular(this.value ''#ROWNUM#'''
    || ')"',null,null,null) PF_No,
    apex_item.text (32,
    NULL,
    80,
    100,
    'style="width:190px" ',
    'f11_' || '#ROWNUM#'
    ) Name,
    " REST_DATE",
    "REMARKS",
    from "roster"
    when i click on the button add row , only the column rest_date and the remarks are enable.
    why is the apex_item.text and apex_item_popup_from_query is disable ? and how i can make it enable.
    thanks
    regards
    jerry

    I could see that you are using the addRow() function to generate new blank row.
    I guess, this function(used by the builtin tabular form s) , identifies editable columns when they are marked so at the report column attributes.
    When you use apex_item API, it expects the columns to be standard report column and hence render the new rows as such.
    Some one from the development team might be able to give a better answer on that.
    As for avoiding this issue
    <li>One method , would be to define the columns editable(and display types) in report column attributes.
    <li> You can duplicate the last row using jQuery( *$('tr.highlight-row:last).after( $('tr.highlight-row:last).clone() )* ) and removing the field values, but events(for example datepicker) would remain attached to the original row , so it isn't very straightforward either.
    <li>If you want to use apex_item you would have to use a pseudo union to DUAL for generating a blank row and re-render the report either by a page load or a Dynamic Action. Sounds like a nice idea for a plugin.
    Now , if you want to add rows multiple times without saving them, then you would need to store the values in a collection at load and update the collection before adding the row.

  • How to add a new field in predefined report output

    HI,
      how  to and where to  search for the filling of "fieldcat table" in the  predefined ALV report.
    So that i can add a new field in the output of a predefined report

    Hi
    Try to check where the fm REUSE_ALV_FIELDCATALOG_MERGE is used in the report.
    Max

  • How to develop a query in BI Publisher Report

    Hi Experts,
    I am new to BI Publisher. Could somebody help me how to prepare a query.
    Thanks.

    What version of BI Publisher are you using?
    The best way to get started is to look through the Report Designers Guide here for 10.1.3.4: http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187.pdf
    For 11g: http://download.oracle.com/docs/cd/E21764_01/bi.1111/e13881.pdf
    Take a look at the tutorials: http://st-curriculum.oracle.com/obe/fmw/bi/bip/bip11g/gettingstarted/gettingstarted.htm
    and this page for lots of relevant information: http://www.oracle.com/technetwork/middleware/bi-publisher/overview/index.html
    Hope that helps. Assign points if helpful
    Thanks,
    Bipuser

  • How to add a new column to a report

    I want to add a new column to my existing report. I modified the using report wizard and added the new column. When I pressed 'Finish' I lost all my previous settings. Without changing the existing stuff, how can add a column to a table.
    Any help is appreciated.
    Regards
    Leena
    null

    go to the data model editor
    click on query .
    add new columns in select statement.
    add the corresponding fields in layout model
    compile it
    run it
    srini

  • How to catch the New-page in a report ?

    Hi ,
    I would like to know how the following can be done.
    While printing a report,how can we identify the beginning of a new page so that we can put the header on start of every new page ?
    Thanks,
    Sandip.

    If you write the header in <b>TOP-OF-PAGE</b> event, it will automatically take care of each page.
    The below code will help you.
    TOP-OF-PAGE.
      PERFORM write_page_header_400.
    FORM write_page_header_400.
      WRITE: /1 sy-sysid(3) NO-GAP, '-' NO-GAP, sy-mandt,
             60 'Test,
            110 'Date:', sy-datum MM/DD/YYYY,
            170 ' '.
      WRITE: /1 sy-cprog,
               60 'Test',
              110 'Time:', sy-uzeit,
              170 ' '.
    ENDFORM.
    This header will appear in each page.
    Hope this will solve ur problem, if u have any queries plz do revert back or else please close the thread.
    Message was edited by:
            Judith Jessie Selvi

  • How to add a new column in a report

    Hi all,
    I originally created a report with form. Then I want to add another column to it, but the column added wont display automatically in the report, instead you
    have to go to "action" and manually add the column so it can be diplayed in the report.
    How can I permanently and automatically add it please....thanks

    Hi,
    You can change the column position in interactive report as well. Once you login to your work space, run the report page. In the control when down arrow, click on select columns. Now you can re-arrange the columns as you like using up and down arrows. You can also move the column to DO NOT DISPLAY section if you want to hide any column in default view. Now click on apply.
    Review the report now if it displays correctly then click on the down arrow the control wheel and click on save report. From the dropdown list in the Save field, select "As default report settings". This will save the report for default view.
    It should always display same when you open this report page.
    Hope this helps.
    Regards,
    Tajuddin
    Web://tajuddin.whitepagesbd.com

  • How to set a new formula to a report with java

    Post Author: gionnyDeep
    CA Forum: Data Connectivity and SQL
    Hi all
    I use CR 4 eclipse and i need to set a formula to a reportClientDocument but actually exists just the setRecordSelectionFormula that does not what i need.
    Actually i need to define a formula and not a record selection formula.Exists a method in any api of cr4E that does this stuff?
    Regards
    Sorry for my english

    Hi,
    This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
    Regards,
    <p>Blair Wheadon</p>
    <p>Product Manager, Crystal Reports</p>

  • What is meant by a PATCH.How can we develop a new tax patch.?

    HI Experts,
    Could u please explain me the meaning of a PATCH?
    How to develop a New Tax Patch?
    Please help me to understand the concept and how to test taxation after new patch development!
    Thanks in advance.
    Regards,
    Sai.

    Hi
    PATCH is nothing but a support package which is provided by SAP to add new functionality or correct some error in the already delivered package.
    The latest patch level will be available in Service market place of SAP. It can be downloaded and applied in the serrver.
    The patch for new taxation rules will also be available. You can see the info and the notes in the patch also.
    Hope the info is use about PATCH
    Thanks

  • How to create a new session by ABAP?

    Good afternoon everyone:
    This is my first question in the forum, can anybody tell me how to create a new session to display report output in a ALV program? Which function or method can used? I'm freshman.
    Thx.
    Edited by: Joshua Lee on Nov 21, 2008 10:04 AM

    Hi Joshua,
    Welcome To SDN.
    I am not clear about your queestion.
    if u r doing an ALV report if u give selection screen inputs if press execute buttom or F8 u wil get the report.
    if u want the out put in the next screen. you can develop the screen in the module pool
    Regards
    Rasheed
    Edited by: Rasheed salman on Nov 21, 2008 10:25 AM

Maybe you are looking for

  • Getting Portal runtime error

    Hi Expert, I have created 4 iviews each iview shows different features (as latest News, My Favorite etc) assigned all that to a page and that page to a role (Home). Assigned this role to an end user and login to the portal with the end user then insi

  • How to read from text file?

    I would like to read data (frequencies) already written in a text file. I will need read these frequencies one at a time to set the function generator (as part of my data acquisition application), acquire data that is in turn written to a file and th

  • How to install leopard again after formating hd and now it just allows me to download yosemite.

    how to install leopard again after formating hd and now it just allows me to download yosemite. When i insert the original cd of leopard it doesnt restart from it!!! I made a mistake formating hd without creating a bootable disk... So i started the p

  • Text Printing

    Is there a way to print text messages that I received & sent?  Thanks!

  • How to Implement Toggle Insert/Replace Mode

    I have to implement Toggle Insert/Replace Mode in Oracle 10 g forms Text Items . for that I have tried the following methods but it is not working. could you please help me? In fmrweb.res file , I have add teh following line and tried with same combi