Access Item Group Item of BoM

Hello everyone,
I'm trying to find/create an unambiguous link between the items that appear in a supply to production task and the line item of a Bill of Material (BoM) it's based on. The reason for this is that a customer would like the `line item details text' field that appears below each item in a BoM to appear on the supply to production task form in the same row as the corresponding item. Unfortunately this doesn't seem very simple --- practically all links back to the PBoM business object eventually lead to collections, which don't provide unambiguous links. I can't use material ID as a BoM variant can potentially have multiple versions of the same product but with different base quantities etc., so that's out the window. I found that going through production lot > released execution production model > production segment leads me to be able to grab the BoM/Variant/Item Group IDs fine, but the association that supposedly links to item group item is not set --- my guess is that this association is the one I need. Below is a screenshot of the code I'm using to try and access this --- as you can see, the ProductionBillOfMaterialItemGroupItem association is not set in either case, yet the corresponding association for item group is, and returns the correct item group ID. Anyone able to help/have experience with this? Thanks.
Lewis

Spoke to SAP about this. Whilst there's a 0..1 association from AcitivtyAssignment to ItemGroupItem, it's never set. Which makes me wonder why it's even there in the first place, but never mind.
They suggested going via ItemGroup first. When I did this there was no 0..1 association from ItemGroup to ItemGroupItem, merely a collection of all items in the item group. When I pointed this out, they acknowledged that there is no link. So basically, this isn't possible per se; what I've done to emulate it is a bunch of calculations based on quantity etc., as well as use the ability to manually set the item group ID of a row in a BoM, to ensure I can reliably find the row of a BoM a production task row refers to. I suppose it's case closed on this; if anyone's interested in the code, they can send me a message.

Similar Messages

  • Alternate Item Group functionality in BOM

    Hi PP Gurus,
    I was looking into the Alternate Item Group functionality in BOM and found it interesting for my business requirement.\
    But I am facing one problem as below:
    I have 3 components for Eg. A1, A2, A3 in my header material 'A'. All the three component materials are same but quailty of the 3 is different and also the standard price.
    My requirement is whenever I am creating Production material for header material 'TEST_Header_Material, the system should look into A3 first (Cheapest), if not available then A2 (Cheaper) and if not then A 1(expensove of all the three).
    For base quantity for A = 1EA, I have entered 1 EA for A1, A2, A3 in BOM. I have stock of A1=9, A2 = 6 and A3 = 2.
    When I am creating Production Order for A = 10 EA, ,yrequirement is that the system should consider A3 first, then A2 and then A1 based upon the prority and hence should withdraw A3=2, A2=6 and A1=2 for meeting the quantity for finish product A in Production Order. But actuall the system is considering A3 but confirming it as 0, then looking into A2 again confirming it as zero and then looking into A1 and  again confirming it as 0. And thus giving Missing Part list though I have sufficient quantity to cover the requirement.
    That means system is only considering total quanitty.
    Can you please advice?
    Thank You.
    Rahul.

    Dear Rahul,
    Priority:In this field, you define the priority of the item within an alternative item group. This determines the priority for planned
    withdrawal of items. Two items are assigned to an alternative item group (A1) with the following values for priority:
    Item 0060 Value for priority: 02
    Item 0065 Value for priority: 01
    The system reads item 0065 first.
    Also check these links,
    concept of alternative items
    Re: Alternative item in BOM
    Re: NOTE 149332 : Error for material components with usage probability 0
    Re: Discontinuation&Production Order
    Regards
    Mangalraj.S

  • Difference - set g/l account by warehouse,item group,item level

    hi all,
    Pl. explain what is difference between setting
    g/l accounts by warehouse,item group,item level ?
    Jeyakanthan

    Hi Jeyakanthan,
    Let us consider an example that will make you understand this better. Consider that you are creating GRN's for Item A and Item B. The accounts that get updated are :
    1. Inventory Account/Stock account: gets debited
    2. Goods Received Not Invoiced Account : Gets Credited.
    Now let us consider that Item A has been grouped under the item Group Raw Materials and Item B has been grouped under Item group Finished Goods. Now as mentioned above if you choose the Set G/L accounts by as Item Group in the Accounting tab of the item Group Raw Materials you will have to choose the Inventory/Stock Account as Inventory -  Raw Material and for the Item Group Finished Goods the Inventory/Stock account has to be Inventory- Finished Goods. In all cases the Goods Received not Invoicved account will remain the same.When you create the GRN's the respective Inventory accounts will get debited and when you create the A/P Invoice for these the Goods Received Not Invoiced account will get Debited and the Vendor account will get credited.
    Now in case if your company manages goods according to the Warehouse i.e. if the company has different warehouses for different types of goods like Raw Material warehouse for Raw Materials , Finished Goods warehouse for Finished goods then you should set the G/L accounts by Warehouse so that in the item master in the inventory Tab the respective warehouse is chosen and the relevant accounts are updated. Just for example when you choose Set G/L accounts by Warehouse for item A then  in the accounting tab of the Raw Material Warehouse choose Inventoty  - Raw material.
    In the 3rd case consider that you are buying a Machine to be used in your workshop which is costing  you around Rs. 10,00,000/- and the management wants to know the monthly utilisation costing of the machine like power, labour charges and overheads for that particular machine then it is better to define G/L accounts based on that item i.e. if Item C is a machine for which the Management wants to know the costing details then it would be better off defining a G/L account as Inventory - Item C. This option is better to be used for capital goods or Fixed assets.
    For better understanding in the item master you need to initialise thru the Form settings the various G/L accounts like Goods received Not Invoiced accounts, Inventory accounts , Allocation Cost account etc.
    Hope this calrifies matters.
    Nagesh.

  • [AS CS3] Bug? All Page Items - grouped items w labels

    Can anyone confirm this behaviour for me. I would classify it as a bug, but maybe the logic for it not being a bug escapes me.
    The command "all page items" is supposed to return a (flat) list of every page object, right? I would suspect that I should be able to address any object in the list. But I can only seem to address an object when it's inside of a group.
    I am trying to get the text of a text frame that has a label. It may or may not be inside a group. I can certainly do a try/error block to try a script statement for objects in a group or not in a group. But I think that "all page items" should be able to handle it directly.
    Here's a test script: ------
    tell application "Adobe InDesign CS3"
    tell document 1
    get label of all page items
    set myUngrouped to contents of text frame "some label" --only works when objects ungrouped, this is expected
    set myText to (get contents of text frame "some label" of all page items)
    --both statements work ONLY when objects grouped
    set myText to (get contents of every page item of all page items whose label is "some label")
    end tell
    end tell
    Steps:
    Make a new document.
    Draw a text frame. Type some text into it.
    Label the frame "some label".
    Draw another empty graphic or text frame.
    Run script
    -->result is, myText statements error out. Why is this?
    Now group all items on page.
    Run script.
    -->result is, myUngrouped can't continue. This is expected.
    Comment out myUngrouped statement
    Run script.
    -->result is, myText statements work OK.

    On 19/8/08 1:14 AM, "SuperMacGuy" <[email protected]> wrote:<br /><br />> set myText to (get contents of every page item of all page items whose label<br />> is "some label") <br /><br />The syntax is a bit tricky. The key is that all page items returns a list,<br />so what you want is certain items -- not page items -- from that list. So:<br /><br />set myText to (every item of all page items whose label is "some label")<br /><br /><br />-- <br />Shane Stanley <[email protected]>

  • Mass Maintenance of BOMs with Alternate Item Groups

    We plan to create BOMs containing Alternate Item Groups (+ usage probability + priority) to cover alternative parts usage.
    What is the SAP solution for Mass maintenance of BOMs with Alternate item groups?
    Is it possible to use (or customize) CS20 (or another transaction) to do following tasks in Mass :
    - identify the BOMs containing a specific material number (where used)
    - add a new item line with a new material nbr in the BOM (with same quantity, subitems, Alternate Item Group, ...)
    - when required, change the usage probability of the members of the group to set the new material usage on 100% and all other alternates usage on 0%. When not required, add the new one with 0% and don't change the existing members of the group.

    Dear.
    Ask your ABAP Team to write BDC or LSMW program.
    This will help you.
    Regards
    Utsav

  • Purchasing Group in equipment BOM ( Item level)

    At the time of creating equipment BOM , purchasing group in equipment BOM (item level ) will be in sync with material master purchasing data.
    When we change purchasing data (Purchasing group) in material master at that time system will not change purchasing group in old equipment BOM's at item level. Is there any standard method to maintain purchasing group in old equipment BOM in sync with purchasing group in material master data (System ECC 6.0 ehp5)
    Thanks and Regards,
    Pankaj

    Thanks for reply Peter ,
    Because of this issue wrong information is flowing to PR (when component selected from equipment BOM in work order).
    Is there any negative impact if I will remove purchasing group at BOM item level ?
    I did analysis for this and found no negative impact on PR , still looking for expert advice as client is not looking for any core modification.
    Thanks and Regards,
    Pankaj

  • Bom alternative item group

    Hello Experts,
    I have one issue in BOM alternative item group I have made the settings as below.
    Material 1     AltItemGroup         01
                         Priority                                  1
                         Strategy             2 100% check
                       Usage prob.         100
    Material 2     AltItemGroup                      01
                          Priority                                  2
                          Strategy             2 100% check
                          Usage prob.         100
    For Material 1 required bill of material quantity is 65 MT
    For Material 2 required bill of material quantity is 65 MT
    Now I am creating the process order for quantity 1000 MT. When the material availability check done it proposing as below in process order.
    Material 1 = 65 MT    (Available Stock 807.109 MT)
    Material 2 = 0 MT      (Available Stock 5.850 MT)
    And again Material 2 = 32.5 MT
    My question is as per above settings and stock situation of the material it should propose only Material 1 = 65 MT.  But here system is also proposing Material 2 = 32.5 MT. Can any one tell what I am doing wrong?
    Any settings are missing or what will be output for the above settings.
    Please explain in detail.
    Thanks in Advance
    Regards,
    Ganesh

    Hi Ganesh,
    Pl. make the following settings:
    Material 1 AltItemGroup 01
    Priority 1
    Strategy 2 100% check
    Usage prob. 100
    Material 2 AltItemGroup 01
    Priority 2
    Strategy 2 100% check
    Usage prob. 0
    The strategy 2 will automatically handle the situation when Material 1 is not available and 2 is available.
    Pl. test & revert. It will work as per your requirements
    Regards,
    HKV...

  • How to see the items attached to a bom in sales order

    hi,
         i have created a sales order with a BOM.   i mainitained the few materials in CS01.    but i dont see the items attached to that bom ... how can i see them in the sales order? ( order type OR and item category - tac)
    rewards for sure
    thanks
    mmn

    Hello
    The material 'item category group' = ERLA ,pricing is only for the main item
    if  'item category group' = LUMF, then pricing takes place only on subitems.
    so you will have to influence the 'item category group'.
    There is also another factor, for e.g."Item category TAN" does not support explosion of BOM, this is because 'STRUCTURE SCOPE FIELD' is blank..You need to check this , and for this you need to access SPRO, which in your case, as I understand, is a limitation. In other words, you need to check this field for ZTAC (it may be empty).
    Hope this helps.

  • Alternative Item group not appearing CS11

    Hi all,
    We have created BOM with all the substitution materials which can be used at the time of Production.
    We have utilised the Alternative item group for this. When i look at BOM for a material say X using CS03 i can see the Alternative Item group. But when i explode the BOM using CS11 i cannot see the alternative item group in it.
    The scenario in details is :
    For the header material X i have X1,as component with different change numbers and unique validity dates and  this component is seen in 3 lines in BOM with alternative item groups against it.
    Now when i explode the BOM using CS11 i can see X1 component with alternative group for only 2 line items.
    We are in ECC6.0 version, can i ask you whether there is any patch or oss note to be applied.I have tried searching OSS notes but couldnt find them
    Please advice as this is of very high importance.
    Thanking you
    Regards
    Raj Kiran

    Dear Raj,
    What I wanted to confirm from you is ,after executing CS11--->
    Changing Layout -
    > Selecting Alternative Item group,
    priority,Usage probablitity,the values are not shown in the field
    properly though they are actually present in the BOM?
    So enter the proper valid from dates in CS11(Select the date
    on which the alternative item group is active) & also alternative
    BOM number properly.
    So go ahead as I suggested and even after entering the proper
    valid from dates,Alt.BOM---changing layout ,if its not giving
    proper results,then go for checking OSS notes.
    This is with respect to ECC 6.0.
    Check & revert back.
    Regards
    Mangal

  • High-Level items (item category LUMF, Sales BOM Usage 5) in PO's

    One of our plants supplies High-Level Items to their customers. The GenItemCatGroup MARA-MTPOS_MARA and the Item category group MVKE-MTPOS for these items is =  LUMF.  These are essentially Phantom items, which they do not stock.
    Weu2019ve created BOMu2019s for these items with BOM Usage 5
    The components for these BOMu2019s are GenItemCatGroup MARA-MTPOS_MARA and the Item category group MVKE-MTPOS = NORM
    In our sales orders, the high-level (LUMF) item comes in with Item Category TAQ, and all sub-items come into the order as TAE.
    The TAQ items are relevant for pricing.  The TAE items are not.
    The requirements in MD04 are as follows:  No requirement for the LUMF item (phantom item).  Requirements DO appear for the sib-items.
    Everything seems to be working fine as far as Sales Orders are concerned.
    Our problem is that this same plant will also sell the same LUMF high-level items to other plants within our organization via Purchase Order (Type NB).
    When an NB purchase order is processed, the MD04 only shows requirement for the LUMF Phantom Material.  There are no requirements generated for the sub-items.
    What do we need to do so that the NB Purchase Orders with LUMF items react the same way that sales orders do, as far as demand in stock requirements, pricing, etc?

    Ashish,
    Suppose the material is completed then the value is shown against final product. In that case we use Item vategory Group ERLA. The maina item category will be shown as TAQ. The Subitem will take item category TAE (text item)
    If the material is still not complete then the value is ascertaind through sub items in that case LUMF item category is used and item category for the main item is TAP and for sub items it is TAN.
    In any case we will change the item category group as (ERLA or LUMF) in the material master of the final material "Computer". Where as the subitems item category will be "Norm".
    Note: If you use standarad Order = OR, and standard item category group ERLA in the Finished MAterial Conmputer, then system will automatically assign item categories for Main item = TAQ and SUb Items = TAE.
    Standard process and ORder = OR
    Then  Execute MM02 for finished material or Main materialo alone i.e., "Computer",  Assign Item Category Group = ERLA and save. Then create BOM CS01, CS11 Single level the output will be
    COMPUTER = TAQ
    SCREEn = TAE
    HERdisk = TAE
    Key board= TAE.
    Similarly if you proceed process by changing Item category group = LUMF for main material i.e., Finished goods "Computer" then
    COMPUTER = TAP
    SCREEn = TAN
    HERdisk = TAN
    Key board= TAN
    If you are changing the document type prefixed with Z , then you need to proceed with "Assign tem Catgeory"
    Regards
    Sathya

  • IDCS2 Win: How to iterate all items in a group item?

    I want to access each item in a page group item, How to do that? Any guide or code snippet will help. Thanks in advance.
    Haikun

    you can use InterfacePtr<IHierarchy> hier(group, UseDefaultIID()); <br /><br />and then hier->GetChildCount() & hier->GetChildUID(n) or hier->QueryChild(n) to visit all its direct children.  Hier->GetDescendents gets a list of all items in the group (including items in a group that are in the group).<br /><br />Ian

  • 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

  • Diff between Gen Item Catg Group & Item Cat group In MM01

    HI Gurus,
    What is the difference between Gen Item Catg Group & Item Cat group In MM01?
    Cheers,
    Chitty

    Hi
    There are several posts on same issue you can find out in sdn threads
    Item Category determines the processing of any Item/material that we enter in a sales order and in this way it also effects the procesing of any sales doc in which it is used.
    Item Category Group is one of the component which along with the Sales Doc Type, The Item Usage and Higher Level Item Category decide about the Item Category in a sales doc.
    for example we can ERLA as item cat group and carry out the header level pricing or we can LUMF and do the item level pricing in case of a Sales BOM.
    General item category group talks about further classification of a material. Like NLAG- non stock material can be used to identify bom header items, service items.
    Item category group and general item category group difference
    Re: difference between general item category group /item category group

  • Discount Groups - Items.  How to get the Buy One Get One Free discount in the Marketing Document

    Hi Experts,
    Can anyone help on this one please?...
    Under Stock Management -> Price Lists -> Special Prices -> Discount Groups -> Items -> I have selected a specific BP and then have selected a specific Item Code.  I have stated the Paid Qty as '4' and the Free Qty as '1'.
    The option 'Do Not Apply Discount Groups' is not ticked on the BP or the Item Master Data.
    There are no Special Prices for this Item for the BP.  Nor are there any period and volume discounts.
    Can anyone think of a reason why in the Sales Order I can never get the discount when putting in '3' in the Qty column on the SO please?
    Many thanks,
    Caroline

    Hi Gordon,
    Thanks for your email, and sorry for the confusion!
    I believe that when I enter '5' into the sales order the discount should come up as the Paid Qty is '4' and the Free Qty is '1'.
    Either way I can never get the discount into the Sales Order...
    Can you help please?  I was wondering if I had missed a setting somewhere or something...
    Thanks,
    Caroline

  • Hide Particular Item Group from Selection Criteria of Sales Analysis Report

    Hello Experts,
    Is this possible to Hide Particular Item Group from Selection Criteria of Sales Analysis Report?
    I have one Item Group as 'Special Items'.
    Now, when I open  Item wise sales analysis report, I want to hide above mentioned group from selection criteria.
    Thanks in advance.
    Best Regards,
    Pankit Sheth

    Hi,
    1. Not possible to put validation for selection criteria windows.
    2. In standard, I don't think it is possible to hide only one item group.
    3. Alternatively don't give authorization to user for running sales reports. If still need create customized query and ask user run every month.
    Thanks & Regards,
    Nagarajan

Maybe you are looking for

  • Open PO's report

    Hello, I wonder if you can help me, my company is using SAP ECC6 for the Not for Profit version, we are trying to run a report for Year End to list all Open POu2019s, to be sorted by Account Assignment, Purchasing Document, Budget holders/Buyers Purc

  • I have forgotten my iTunes password and no longer have access to the recovery email address. It offers to verify dob etc. but says I entered it incorrectly! How do I get I to my account?

    Hello, I have multiple iTunes accounts. One I cannot access because I've forgotten my password. It's telling met dob doesn't match what's on file (which is obscured) and I no longer have access to the recovery email address on that account. How can I

  • What are the benefits of ESS/MSS

    Hi All, I would like to know the benefits of ESS/MSS for an organizations. Please provide me with some links/ docs/ PPTs. My mail id is [email protected] Regards Nikhil

  • More than the username and password

    Hi, How would you handle a situation where the user should give his/her username and more than one identity proof? For example: username: zone id : pin no : The Servlet spec contains the FORM based authentication with "j_username" and "j_password". H

  • Migrating Content into KM

    Hello Experts,          we are trying to move the content of entire website into KM ,I am in the process of creating a document which will be given to website owners to tell them what all they need todo on their side to move the content to KM ,it wou