Query for Billable item form MTL_SYSTEM_ITEMS_B for BOM billing item

Hi All,
I want to write query to get billing item from mtl_system_items_b for BOM ...Can anyone give me the idea for accessing the billing item..
In BOM
Routings - Resources(form) - Billing Item (Field) and Outside Processing Item (Field)LOV...i Want to know query to access these items..
Thanks
Raman Sharma
Edited by: 929841 on Apr 24, 2012 6:06 AM

Obtain FRD log file to find out why the trigger is fired twice.
R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications (Doc ID 438652.1)
Steps To Take FRD Trace in 11.5.10 & R12 (Doc ID 867943.1)
R12: How To Create An FRD (Forms Runtime Diagnostic) Log Using Forms 10g (Doc ID 445166.1)
How To Collect And Use Forms Trace (FRD) in Oracle Applications Release 12 (Doc ID 373548.1)
Thanks,
Hussein

Similar Messages

  • Capturing Detail Items for a Related List in a New Item Form

    I have a simple (ha!) requirement to capture Purchase Requests with the individual line items being captured in a separate List.  I have been using InfoPath, but will consider ANY solution at this point.
    If I have an Edit Item Form, I can have a Data View (LIst View Web part) that will display all related items in my Details List (using a filter on the Parent ID).  I can even add a Data Form Web Part below this to allow for the entry of a single itme
    at a time, and make the lookup field of the new item default to the ID of the parent item.
    All well and good for the Edit Item.  But if I want to do the same on my New Item Form, I am up the proverbial without a paddle because I do not have access to the ID of the Parent List Item (that is still being captured).
    So, using any of the standard SharePoint technologies (except Visual Studio), how can I create a New Item Form, in which I can enter items for a related details List and see those detail items already entered, all while capturing the original form?

    Hi Mike,
    According to your description, my understanding is that you want to get the details of the related items in New Item form.
    I recommend to edit the new item form in InfoPath and use repeating table to display the related items based on the value in the lookup column.
    Here are the detailed steps:
    Edit the new item form(listB for example) in InfoPath and then add the related list(listA for example) including all the details you need as external data source to the form.
    Choose the secondary data source added in step1 in Fields panel and then expand dataFields, then right click d:SharePointListItem_RW and select Repeating Table to insert the secondary data source added in step1 as repeating table to the form.
    Right click d:SharePointListItem_RW in the Fields panel and select Rules, then click New and select Formatting in Rules panel.
    Click None under Condition in Rules panel, then select ID field in the repeating table in the first box, select is not equal to in the second box, then choose Select a field or group in the third box and select Main under Fields, then click the lookup field
    in the form and then click OK.
    Select Hide this control under Formatting in Rules panel.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Do we need to buy the license from SAP for EACH 'Z'form

    Hello
    I heard that, we (company) have to take license for the development of EACH adobe interactive form (even though its totally custom brand-new interactive form created from scratch), on individual form basis, is it true? (i know, its free of cost to play around with interactive forms in DEV and QA, but, if we want to move them to PROD, in that case do we need to buy the license from SAP for EACH form individually?)
    Thank you

    Thats true...license based on end user usage is required for SAP interactive forms. For more information read SAP note number 750784. The license comes in package like per 1000 users one time payment.
    Regards,
    Vaibhav

  • Developer 6i Forms/Reports for AIX-Based 5L

    Hi,
    Where can I find the download link for Developer 6i Forms/Reports for AIX-Based 5L (64-bit) from Oracle website?? I can only find Developer 6i for Linux/Solaris/Windows..
    Thanks,
    Kelvin

    Quick links to latest patchsets ==> Oracle Developer ==> <platform> ==> 6i ==> voilà!
    Werner

  • Copying Documents Object Links attached to BOM Headers & Items in Prod Ord

    Dear Gurus,
    I've created a BOM for an assembly. This BOM has document assignments at 3 places -
    1. BOM Header level (in BOM Header overview - Document Assignment tab)
    2. BOM Item level (in BOM Item: All Data - Document Assignment tab)
    3. Document assigned as a BOM Item with Item Category D (in BOM General ITem overview - Document tab)
    When I create the Production Order for this assembly, only the document that is assigned as a BOM Item with Item Category D (point#3 above) is copied into the order.
    I'm not able to view the document links for the documents as described in points 1 and 2 above.
    The necessary configurations in Production Scheduling Profile have been done for integration with DMS.
    I need to know if there is a way (probably through some user exit, BADI or by implementing some SAP Note), the object links for documents attached to BOM Header and BOM Items can also be transferred to a Production Order.
    Please help me out in resolving this issue as it is a very critical requirement of the client.
    With Regards,
    Nitin

    Hi Niraj,
    If you follow following path in the Production Order Header. click on the Document Overview (SHIFT+F7) Button
    You could be able to see the Links for Material Master attached Documents. there is a Button for BOM origin documents. I tried but it didnt worked. I hope it works for you. If it works for you. Please let me know.
    Regards,
    Ravi S Bijjala

  • Need billing item(POSNR) in order to Enhance 2LIS_13_VDITM?

    I want to enhance 2LIS_13_VDITM by using table BSEG. The logic is to extract HKONT and DMBTR from BSEG to 2LIS_13_VDITM based on Billing doc. nr. Now,I have one DSO "ZAAA" in BI system, which use 2LIS_13_VDITM, Key field: 0BILL_NUM, 0BILL_ITEM in DSO. I need to design one query to display billing nr (BELNR), G/L account(HKONT), Netsales(NETWR), Tax amount(MWSBP), Amount in local currency(DMBTR). Only need to display total amount of one billing doc, don't need to show item level.
    The question is about field:BUZEI(Number of Line Item Within Accounting Document) in table BSEG. This field is not related billing item(POSNR). so, how to enhance 2LIS_13_VDITM? BSEG is the right table? Should I create a DB view, and including billing item(POSNR) into DB view? If yes, how to do it and which table should I join together?
    Need to display in Query after enhancement
    BUKRS;BELNR;HKONT;DMBTR;WERKS;FKART;NETWR;MWSBP;DMBTR
    5000; 0656390987; 6330290; 6100; DFSA; 0,00; 117.028,00; 1.817.028,00
    Reference informatiom
    Table: BSEG
    BUKRS;BELNR;BUZEI;BSCHL;DMBTR;HKONT;WERKS;FKBER
    5000; 0656390987; 007; 50; 878.215,00; 0006330290; 6100; 0100
    5000; 0656390987; 012; 50; 717.533,00; 0006330290; 6100; 0100
    5000; 0656390987; 002; 50; 221.280,00; 0006330290; 6100; 0100
    DSO "ZAAA" (Key field: 0BILL_NUM, 0BILL_ITEM) use Datasource 2LIS_13_VDITM
    - Data display for DSO "ZAAA"
    BUKRS;BELNR;POSNR;WERKS;FKART;NETWR;MWSBP
    5000; 0656390987; 10; 6100; DFSA; 78.215,00; 0,00;
    5000; 0656390987; 20; 6100; DFSA; 17.533,00; 0,00;
    5000; 0656390987; 30; 6100; DFSA; 21.280,00; 0,00;
    Thanks

    Reference informatiom
    Table: BSEG
    BUKRS;BELNR;BUZEI;DMBTR;HKONT;WERKS;FKBER;BSCHL;
    5000; 0656390987; 007; 878.215,00; 0006330290; 6100; 0100;50;
    5000; 0656390987; 012; 717.533,00; 0006330290; 6100; 0100;50;
    5000; 0656390987; 002; 221.280,00; 0006330290; 6100; 0100;50;
    Datasource 2LIS_13_VDITM
    BUKRS;BELNR;POSNR;WERKS;FKART;NETWR;MWSBP
    5000; 0656390987; 10; 6100; DFSA; 78.215,00; 0,00;
    5000; 0656390987; 20; 6100; DFSA; 17.533,00; 0,00;
    5000; 0656390987; 30; 6100; DFSA; 21.280,00; 0,00;
    Are there any issue if I write ABAP code to enhance HKONT and DMBTR into 2LIS_13_VDITM, in case there are more than one line item in one billing document, like example 656390987, since there are no relationship between fields BUZEI(accounting item) in BSEG and POSNR(billing item) in 2LIS_13_VDITM.
    User need to display data in the Query after enhancement like below
    BUKRS;BELNR;HKONT;DMBTR;WERKS;FKART;NETWR;MWSBP;DMBTR
    5000; 0656390987; 6330290; 6100; DFSA; 0,00; 117.028,00; 1.817.028,00

  • Query for BOM child items

    Dear Friends,
    This following query,if I will attach it at PO in Item Code with formatted search  , I get result as BOM child items as per project code, here project code is similar to item code.
    But my limitation is that my  item code is more than 8 character ,under accounting TAB BP project  ,project I can define it up to 8 character only.
    My requirement is that if I will put project name (which is 30 characteristic) as like as item code , shall I get child item list.
    If yes , suggest necessary changes in above query.
    Query :
    WITH RECUR ( CODE) AS
    SELECT ITT1.CODE FROM  ITT1 INNER JOIN OITT ON OITT.Code=ITT1.Father WHERE ITT1.Father=$[$157.1.1]
    UNION ALL
    SELECT ITT1.CODE
    FROM ITT1  INNER JOIN  OITT ON OITT.Code=ITT1.Father
    INNER JOIN RECUR ON   RECUR.CODE    =ITT1.Father
    SELECT CODE FROM RECUR inner join OITM on OITM.ItemCode=RECUR.CODE --and OITM.PlaningSys='M' and OITM.PrcrmntMtd='B'
    Thanxs & regards
    Mahesh.

    Dear Mahesh,
    I am not sure about your aim.
    You would like to put a formatted search in the project code field of the sales order in order to get the children of the itemcode of that line in the document. The child codes will become the name of the project.
    Your issue is the following:
    As the project code field in the sales order (field called: rdr1, project) is long 8 characters only and the sum of the children codes will be too long for this field.
    Am I correct?
    If I am not correct, can you please tell me step by step what you are trying to do?
    Thank you.
    Marcella Rivi
    SAP Business One Forums Team

  • FRM-40209 Field must be of form . - for a non-based text item

    Hello,
    When I try querying using a VARCHAR2 non-based text item in a table-based block, setting dynamically in PRE-QUERY trigger the DEFAULT_WHERE property for its block, in case I use characters &gt; or &lt; (for bringing values greater or smaller than the one in the field, as in a standard Oracle query) error message is raised: 'FRM-40209 Field must be of form .' The issue has nothing to do with the error itself (usually related to erronated format mask of the field), and it is known as an Oracle Forms bug: I found it as bug 851153 - which appears on execute query if you enter in a non-base-table-item and the block has a pre-query trigger. The bug has been solved later in Oracle Developer Forms Builder 6i, or so I've been reading, problem is the application I'm working to requires Forms Builder 6.0.5.
    I am trying to find an workaround for this situation and these are the info I managed to discover myself on the topic:
    - if I fill the field with '&gt;value instead of &gt;value, query works fine, bringing only values greater than the specified value. (So far, this and inactivating the FRM-40209 error in ON-ERROR trigger seems like the best I can do)
    - if I only use &gt; (without '), I cannot use an auxiliar variable/global in which to store the actual value written in the field, I also cannot print the value in a message, because trying to use the exact string, it is shown as null (even though when the error is raised, value is still shown on the screen in the text item).
    Maybe someone could help with an idea for an workaround in order to copy the content of the text field before it actually becomes null&hellip;
    Thank you in advance.

    I have already tried that... but for some reasons the field already appears as null, when I try to use it.

  • For Update Nowait Query Generated Implicitly by Forms

    Recently we had a problem in one form because of a query getting generated implicitly by Forms with for update and nowait clause. i.e.
    Select Col1, Col2, Col3 Where Rowid= :1 for update of Col1 NoWait if we change the sequence of the Fields in block by shuffling the Fields i.e Bringing Col 1 to Col3 and Col3 to Col1 the query formed is some thing like this i.e.
    Select Col3, Col2, Col1 Where Rowid= :1 for update of Col3 NoWait  We just want to know when this query is getting fired and how i.e. Upon firing of which trigger in Forms this is getting fired in the DB. Because we are for sure we are not firing this query either from front end or back end. We are not locking the block any where or changing the lock mode of the block programatically.
    Few block level properties relevant to this
    Locking Mode - Automatic
    Update Changed Columns Only - Yes
    Possible reasons which we feel is that when we are assigning the values to a field programattically and when more than 1 user is navigating on the same block this may happen. Because Forms doesnt knows whether the user has edited the record manually or programatically. But we have noticed this query runs even when only 1 user is connected to this schema. This is our understanding so far any ideas/suggestions to avoid this or overcome this is appreciated.
    Thanks in advance

    Locking Mode - Automatic or Immediate, means select for update is issued as soon as value in a base table item changed by user or programmatically.
    Setting it to "Delayed" will delay lock until commit-time.
    You can override this behavior by creating ON-LOCK triger.

  • Issue creating Item Activated Events for a third party form Control in Windows Powershell

    I was asked at work to look into converting some of our VB.Net Applications to PowerShell. We use the
    QIOS dev Suite for some of the controls to make it more visually appealing. I have been testing to controls out and I can load and create forms with no issue in powershell but I'm stumped on the error I'm
    receiving when I add and ItemActivated event. I need to make it so when a user clicks on a given menu Item the form gets which menu item is clicked. 
    Below is the code to my test form.
    [VOID][reflection.assembly]::Load('System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089')
    [VOID][reflection.assembly]::LoadFile("C:\Code\Qios.DevSuite.Components.dll")
    [System.Windows.Forms.Application]::EnableVisualStyles()
    $form1 = New-Object 'System.Windows.Forms.Form'
    $Menu = New-Object 'Qios.DevSuite.Components.QCompositeControl'
    $item = New-Object 'Qios.DevSuite.Components.QCompositeMenuItem'
    $DOSOMETHING={Write-Host "DO SOMETHING"}
    # form1
    $form1.Controls.Add($Menu)
    $form1.ClientSize = '202, 262'
    $form1.Name = "form1"
    $form1.Text = "Form"
    $form1.add_Load($form1_Load)
    #MenuItem
    $Item.ItemName = "Test Item"
    $Item.Title = "Test Item"
    # Menu
    $Menu.Location = '13, 12'
    $Menu.Name = "panel1"
    $Menu.Size = '177, 238'
    $Menu.Items.Add($Item)
    $Menu.Add_ItemActivated($DOSOMETHING)
    $form1.ShowDialog()
    If someone could take a look and tell me what I'm doing wrong that would be great. If you need the dll file below is a link to my copy.

    I was able to get the attached code to work in windows 7 with powershell version 2. I have to see why it dosent like windows 8 and powershell version 4.
    Update: I just did powershell -version 2 in windows 8 and I was able to run the code. 
    [void][reflection.assembly]::Load('System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089')
    [void][reflection.assembly]::LoadFile("C:\Users\xAdmin\Desktop\Qios.DevSuite.Components.dll")
    $frmMain = New-Object 'System.Windows.Forms.Form'
    $ccMenu = New-Object 'Qios.DevSuite.Components.QCompositeControl'
    $ccitem = New-Object 'Qios.DevSuite.Components.QCompositeMenuItem'
    $Function = {
    param ($sender, $e)
    [System.Windows.Forms.MessageBox]::Show($e.Item.ItemName)
    $frmMain.Controls.Add($ccMenu)
    $frmMain.ClientSize = '202, 262'
    $frmMain.Name = "form1"
    $frmMain.Text = "Form"
    $frmMain.add_Load($form1_Load)
    $ccMenu.Location = '13, 12'
    $ccMenu.Name = "panel1"
    $ccMenu.Size = '177, 238'
    $ccMenu.Items.Add($ccitem) | Out-Null
    $ccMenu.Add_ItemActivated($Function)
    $ccitem.ItemName = "Test Item"
    $ccitem.Title = "Test Item"
    $ccitem.Configuration.StretchHorizontal = $true
    $frmMain.ShowDialog()

  • Issue in copy control F2 to RE for BoM (TAP) item

    Hello All,
    I am facing a issue in return order which is reference to F2.
    I have maintained all standard copy control, still I am having a issue in TAP item category.
    The issue is
    In my sales order I have one standard item ( TAN ) and one BoM item(Main item of LUMF) and its sub item is of TAN as BoM is of item pricing.
    I can see in my order to Invoice all 3 items ( TAP item is not relevant for pricing and picking, its fine )
    but when I try to create return order with reference to F2 , I could get all 3 items in return order but TAP item converted to TAN and hence its relevant for the pricing, return order value is not matching with F2 ( as third TAP item comes in picture)
    as In my invoice BoM main item is having TAP item category ( showing zero price in Invoice)  so I believe same item should get copy in return order with zero pricing but its not happening.
    Guys can you provide me any specific copy control for TAP or any other solution.
    BR,
    Abhijit

    Hi Navaneetha,
    I have maintained the copy control as per your suggesstion but it is not working
    I will tell you how I want the scenario
    In Return Order RE I want all items to be copied from F2
    1 ) Standard material 1-- TAN (F2) -
    > REN ( RE)
    2) BoM
        Material 1-- TAP (F2) -
    TREN ( developed by me ) for no pricing
        sub item      TAN (F2) -
    REN
    for above item categories I have maintained determinations and copy control
    still getting a message in while creating RE is " Item category for item 30 can not be determined."
    Regards,
    Abhijit

  • How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?

    Dear SharePoint Developers,
    Please help.
    I need to know How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?
    I think this is a "sealed column", whatever that is, which is  shown in SPD 2013 as a column of content type "document, folder, MyCustomContentType".
    I know when I set the column order in my custom Content Type settings page, it is correct.
    But, when I load the NewDocSet.aspx page, the column order that I set in the settings page is NOT used for this "sealed column" which is bad.
    Can you help?
    Please advise.
    Thanks.
    Mark Kamoski
    -- Mark Kamoski

    Hi,
    According to your post, my understanding is that you want to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx.
    Per my knowledge, if you have Content Type management enabled for the list or library (if you see a list of content type with the option to add more), the display order of columns is set for each content type.
    Drill down into one of them and you'll see the option under the list of columns for that content type.
    To apply the column order in the NewDocSet.aspx page, you need to:
    Select Site Settings, under Site Collection Administration, click Content type publishing. In the Refresh All Published
    Content Types section, choose Refresh all published content types on next
    update.
    Run two timer jobs(Content Type Hub, Content Type Subscriber) in central admin(Central Administration--> Monitoring--> Review timer jobs).
    More information:
    http://sharepoint.stackexchange.com/questions/95028/content-types-not-refreshing-on-sp-online
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • What is the best way to query planned orders or work orders for make items and identify the buy component that is short for supply and vice versa?

    What is the best way to query planned orders or work orders for make items and identify the buy component that is short for supply and vice versa?

    What is the best way to query planned orders or work orders for make items and identify the buy component that is short for supply and vice versa?

  • Multiple line item display for PAYMENT ADVISE form(script) using F110 tcode

    Dear All,
    I am currently working on PAYMENT ADVISE script ( form ) - for which i have copied the
    form F110_IN_AVIS to zform.
    I am executing the form for output through executing Tcode - F110.
    The output works for single line item entry of vendor line items - but doesnot support
    for muliple line items.
    I have checked the standard program - RFFOUS_C - which has include - RFFORI06 for remittance advice -which supports for single line item display.
    Kindly advise me for the soultion of the same.
    Regards
    HC

    Hi,
    Do you manage to fix it ?
    we experienced the same problems (mass printing smarforms F110), we would like to use one time F110, and generates all the spool, for all the line items.
    Thanks
    Any help would be grateful.
    Thomas

  • CF Set form.variable for query and Next/Previous pages error

    I have a CF form with a select that posts to a CF "action" page.
    On the action page I: CFSET ItemNumber=#form.ItemNumber#
    I CFOUTPUT the 'ItemNumber' into the CFQUERY (which is an Inner Join dependant on the '#ItemNumber#')...
    All of the above works just fine and displays the database fields in color alternating rows, per the rest of the code.
    Here's the problem:
    I'm displaying 40 rows on a page per "Next and Previous" code. (CFPARAM name="start" default="1" and CFPARAM name="disp" default="40" along with the rest of the NextN code in the header and body). This does display 40 rows on the page and puts a link at the bottom of the page "Next 40 Rows", etc.
    Note: I'm only querying the database once and using the query (query name="data") to populate the table rows And the NextN code (CFOUTPUT name="data") And (CFIF start + disp GREATER THAN data.RecordCount, etc)...
    The problem happens when you click the "Next 40 Rows" link to display the 2nd page of rows. Since (I'm assuming) this NextN code is 're-reading' the same page from top to bottom, an error is thrown when the code tries to read the CFSET ItemNumber=#form.ItemNumber# at the top of the page.
    With the #form.ItemNumber# on this action page Originally coming from the previous posting of the form to this action page, when the "Next 40 Rows" link is clicked and the NextN code re-reads this action page - the CFSET ItemNumber (#form.ItemNumber) is not getting populated and throws the error...
    I hope I've not made this sound confusing.
    I can get the NextN code to work when I'm just querying the database without "flying in" a form variable. But when I CFSET a variable (#form.ItemNumber#) that is inserted into the query, the second page of the NextN throws an error and doesn't display.
    I would include the page code here but it would be fairly lengthy and, as well, the NextN code is a 'standard' CF code -- I've narrowed the problem down to the above "Element is undefined" (when the page tries to reload from the "Next 40 Rows" link) and am hoping there's a simple fix or another way to display the records in Next and Previous pages.
    Thanks to anyone in advance for shedding light on this.
    - e

    Thank you for the reply, Owain.
    Yes - The Next/Previous at the bottom of the page are hyperlinks.
    <a href="ThisPage.cfm?start=#Evaluate("start + disp")#">
    The following is at the top of the page (and is the variable from the form that I CFOUTPUT in the query):
    <cfparam name="ItemNumberDropdown01" default="">
    <cfset ItemNumber = #form.ItemNumberDropdown01#>
    The error report showed that the "Next Page" hyperlink was reading an undefined variable... although when the "action page" first opens from the form posting to it, it populates the CFSET just fine (per the cfparam and cfset above)... As you mention, the hyperlink clearing the form scope is what causes the error in trying to display the next set of records...
    The form page and the 'action page' are both secure pages with an application page setting the session, etc. Am I at risk in using an URL scope?
    Where would this URL scope be put? (The href is shown above - would the URL scope go in this? - How would this be written?)
    The CFPARAM and CFSET would still exist at the top of the 'action page' and still throw an error wouldn't it or would this be replaced with something else to read the form.variable for this 'first' action page to be displayed?
    Thanks again for the 'education' on this...
    - ed

Maybe you are looking for