Line item no in BOM

Sir,
In Standard SAP, while creating a BOM, the Line Item no is generated automatically. But this can be altered at any time. SAP also allows same line item no to be entered for two different part nos within a Same assembly.
Is there any mechanism /customisation / BAPI for blocking this feature?.
We are working on a project wherein SAP is integrated with a Third Party Application where the BOM will be maintained in future. As a first step all the existing data (BOM) will be moved to this application and any changes in future will be carried out there and moved to SAP.
But checks and controls have been built in this application so as to not allow same line item number within an assembly for two different part nos.
There are some BOMs in SAP where this type of scenario exists. It will be a problem while moving data from SAP to that application.
We as a part of the team wanted to build in a mechanism wherein these type of errors can be avoided in future.
Can someone throw some light on this subject?..
Regards,
R. Vijayakumar

Hi Vijay,in std SAP you can only set the default Line item incrment number but unfortunately SAP system does not validate it for duplications.. there are two possibilities ,either try using any user exit available to validate the same during BOM Creation and changing or saving the bom.
Otherwise if you have OSS login try to log and let me know once you have done it.
Cheers
Ram

Similar Messages

  • PO line item link with BOM

    Hi guys ,
    Actually I am looking for some info on this scenario. while creating PO for specific document type(ZPOG)  and item category (L) , I need to modify the child material qty of the line item  .
    This is subcontract PO .
    For example if I am creating PO for X material (which has y as a child ) , I need to modifiy the qty of Y .
    actually there is one badi called ME_PROCESS_PO_CUST  to handle the PO creation ,
    But I am not able to find the link between that line item material and BOM material .
    points rewarded if the question was answered .
    Regards
    Siva

    Hi Ganesh ,
    Thanks for your information . But my concern is it ( Child material qty )  should be rounded off  while creating PO . not to be done manually .
    For that purpoes only I am using that Badi  , but I couldn't find the link between BOM material and PO line item material .

  • Line item text in BOM

    Hi ,
    I am trying to upload the BOM from the excel and also i am trying to change the BOM based on the data in the Excel.
    During this process , i have to check the line item text for each component of the BOM to see wheather there is any changes in the line item text is there or not.
    Is there any way to pull out the line item text for the BOM ..Not only the m Line item text 1 and Line item text 2 , but also the Long text...
    TCode for display of BOM : CS03.
    Thanks..

    We can use the function module READ_TEXT ,
    in the import parameters ,
    id : MPO
    object : BOM
    language : EN
    text name :  it is the concatenation of
                      sy-mandt
                      stpo-stlty   "bom type
                      stpo-stlnr   "Bom number
                      stpo-stlkn  "Item Node
                      stpo-stpoz  "Item Counter
    Text name should be in the same order like this.
    Now pass these values to the READ_TEXT Function module
    the output will be in the form of an internal table. the internal table line will have the long text for that particular line item...

  • Maximum Line items for Equipment BOM

    Dear Experts,
    Is there a limit to the number of line items of components we can have in equipment BOM. I am not able to add anything above 999. It doesnt show any error, but doesnot save any value after 999. Please let me if there is a work around.
    Thanks,
    Boby

    The BOM item node number STPO-STLKN is an 8 digit field therefore I would imagine that you could have a maximum of 99999999 items..
    But you could use multi-level BOMs which would allow you to organise your components better.
    PeteA

  • How to modify or add new line items to existing BOM?

    Hi All-
    I have been trying to change Quantity, Valid From Date, Sort String and Item Category of existing BOM components, but only successful in changing Quantity and sort string. I dont know why Valid From date and Item Category are not getting changed. Further, I am not able to add new components (items) to the BOM. Can anyone help me with the coding for the same? I shall def reward the good and helpful answers. I am using the function module, CSAP_MAT_BOM_MAINTAIN. Send me some sample program for understanding.
    Thanks
    Shakir

    Hi,
    Please try to  use Explicit Commit work to save the changes.
    check if there in any BAPI FM related to this.
    Please check the structure you have passed for these fields.
    check the Item category for BOM items - POSTP in table T418. if the entry exists then try to add the values again.
    Thanks & Regards,
    Chandralekha.

  • Report  for bom wise target and actual cost as well as qty at line item

    Dear Experts,
    Is there any standard tcode for bom wise target and actual cost as well as qty at line item level for the month.
    there is one tcode s_alr_87013127 but user has to double click in order to get line item details.
    I want to see line item wise breakup/bom wise target and cost cost as well as qty.
    Thanks in advance.
    regards
    RK

    Dear experts,
    I am still looking for a revert.
    regards
    RK

  • BOM header qty change if BOM line item qty delivered more in previous deliv

    Dear team
    BOM is as follows:
    Finished product
          Material1   100 Units
          Material2   100 Units
    Lets say i create a sales order with 2 units of finished products
    then my sales order will look like:
    Finished Product 2 units
          Material1   100 Units
          Material2   100 Units
    Now i am trying to create a delivery for 1 unit of finished product
    Finished Product 1 units
          Material1   150 Units
          Material2   100 Units
    Here i change the Material1 quantity from 100 to 150 Units and create delivery.
    Now i am creating a second delivery
    In the delivery order i am getting as:
    Finished Product 0.5 Units
         Material1   50 Units
         materail2  50 Units
    But i want
    Finished Product 1 units  (as my finished product open quantity is 1M3)
        Material1   50 Units
        material2  100 units
    Can this be achieved.  Because of more despatch of BOM line items my header BOM item should not change.  It should be same as my open quantity in delivery.

    Hi,
    It depends upon how u are maintaining the BOM. The components calculated is based on the BOM base qty.
    Regards,
    V. Suresh

  • SD-ABAP:Create SO:BAPI_SALESORDER_CREATEFROMDAT2: Line Item Structure Tab

    Hi SD-ABAP,
    I'm currently creating SO using BAPI_SALESORDER_CREATEFROMDAT2.
    I'm populating the following:
    IMPORT:   SALESDOCUMENTIN, ORDER_HEADER_IN, ORDER_HEADER_INX
    TABLES:  ORDER_ITEMS_IN, ORDER_ITEMS_INX,
                    ORDER_PARTNERS,
                    ORDER_SCHEDULES_IN, ORDER_SCHEDULES_INX,
                    ORDER_CONDITIONS_IN, ORDER_CONDITIONS_INX,
                    ORDER_TEXT
    I have a BOM material A, with subMaterial A1, A2, A3.  By creating manually (VA01), this will automatically appear on the the Line Item of the BOM Material > Structure tab.  The structure tab will contain the subMaterial A1, A2, A3.
    What I need is to automatically populate the SubMaterial in the Structure Tab of the Line Item having a BOM material.
    Has anyone encountered this scenario?  I'm not sure if I need to populate: ORDER_CFGS_PART_OF?
    Thanks.
    FYI, already checked some SD-BOM related OSS notes.

    Hi Jamie,
                  It will not automatically populated in BAPi, but i think an user exit (Standard SAP code) is doing it for you. I will say not to change the program in the BAPI instead of that use MOVE FIELD TO VBAP userexit to solve this issue. This is quite common scenario and lot of posts are available over the net.
    Best Regards,
    Tapodipta Khan.

  • Refurb sub contract PO one material two line items

    Hi we have the following scenario:
    We have a sub contract (item category L) for a rotable spare.  We create a service PO for the MATERIAL.  When the invoice comes in there are two line items as we charged for materials used to repair the item at one tax rate, and the service to replair the item at another rate.
    How do we goods reciept / SES this to ensure that we only get stock of one coming back in from the vendor but capture two lines in the invoice to ensure that the invoice doesn't block?  So we can't create a two line item PO as the goods reciept would book two into stock.
    Any suggestions?
    Thanks hope this makes sence.
    Other things that might help:
    Single item recursive BOM
    Goods issued to vendor via ME20
    Legal requirement to have two lines as we are paying two rates of tax

    Tracey Durkin wrote:Hi,
      So we can't create a two line item PO as the goods reciept would book two into stock.
    >
    When you have one PO line item for Recursive BOM , and one for service, this will not book two in to stock
    One will be material into stock and other will be service payments, not stock as no material is involved in service
    So you can do recursive BOM for same item , at this item you can capture material used by vendor
    And at the second line with item category "D" you do service entry both can have different tax codes
    Thanks
    Diwakar

  • Sales BOM Header line item confirmed without components in Delivery

    Hi Experts,
    The issue is about the delivery is created with the single component for the Sales BOM where as it contains two.
    We have analyzed the issue and checked that the missing component would have not been available in the stock during the time when the delivery is created and hence is not included(Header material and single component is included in the Delivery).
    The user's concern is; when there is no stock for any one of the component, then it shouldn't have confirmed the header material. Kindly suggest.

    Hi Azam,
    It seems to me that you want to use Delivery Group for Sales BOM where If Mat A = Mat B + Mat C and Mat B Availability date is 20/07/2014 (DD/MM/YYYY) and Mat C availability is 25/07/2014 then Main line item should be confirmed with 25/07/2014.
    If any one sub Item is not available, then Any of the item from the Grouping should not be dispatched.
    If this is the requirement then, In Item Category (VOV7) for main Item update Create Delivery Group field with X and your requirement will be fulfilled.
    Do let us know the result after testing.
    Regards,
    MJ.

  • How to load long text in BOM line item

    Hello Experts
    How do i load Long text in BOM Line item using LSMW
    Thanks
    S
    Edited by: Alvaro Tejada Galindo on Jan 31, 2008 5:11 PM

    Use Read_text function module.
    you need to pass
    ID
    LANGUAGE
    NAME
    OBJECT   to the function moduel
    To find the Text id name language and object these are the following steps. Example: FB02
    1. goto FB02, Enter Document number
    2. from menuselect Goto>Header-->header Text..... New window will be displayed 
    3. select the Header Text. here you can see all the text. 
    4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper. 
    5. in the Next window you will find Text Name. Text ID, Language. etc...
    Regards,
    Lalit Mohan Gupta.

  • More than 1 line items in bdc using table controls for BOM

    Hi....
    how do u update more than one line item for BOM using BDC table control.......
    is there any specific command for doing that.......
    hav tried d following code bt it takes the flatfile i/p FOR 2 LINE ITEMS as 2 different BOM'S.....
    would appreciate ur help....plz provide code.............
    REPORT zbdc4_cs01
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    INCLUDE bdcrecx1.
    DATA : a TYPE i,
           b type i,
           c type i.
    DATA : BEGIN OF it_rec OCCURS 0,
           rec(200) TYPE c,
           END OF it_rec.
    DATA : BEGIN OF ctab OCCURS 0,
           matnr(18),
           werks(4),
           stlan(1),
           END OF ctab.
    DATA : BEGIN OF xtab OCCURS 0,
           idnrk(18),
           menge(13),
           postp(1),
           END OF xtab.
    DATA : BEGIN OF itab OCCURS 0,
           matnr(18),
           werks(4),
           stlan(1),
           idnrk(18),
           menge(13),
           postp(1),
           END OF itab.
    START-OF-SELECTION.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = 'C:/TEST4.TXT'
          filetype            = 'ASC'
          has_field_separator = 'X'
        TABLES
          data_tab            = it_rec.
      LOOP AT  it_rec.
        a = strlen( it_rec-rec ).
        if a = 55.
        itab-matnr = it_rec-rec+0(18).
        itab-werks = it_rec-rec+18(4).
        itab-stlan = it_rec-rec+22(1).
        itab-idnrk = it_rec-rec+23(18).
        itab-menge = it_rec-rec+41(13).
        itab-postp = it_rec-rec+54(1).
        APPEND itab.
        elseif a > 55.
        itab-matnr = it_rec-rec+0(18).
        itab-werks = it_rec-rec+18(4).
        itab-stlan = it_rec-rec+22(1).
        itab-idnrk = it_rec-rec+23(18).
        itab-menge = it_rec-rec+41(13).
        itab-postp = it_rec-rec+54(1).
        APPEND itab.
        itab-idnrk = it_rec-rec+55(18).
        itab-menge = it_rec-rec+73(13).
        itab-postp = it_rec-rec+86(1).
        APPEND itab.
        endif.
      ENDLOOP.
      PERFORM open_group.
      LOOP AT itab.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29N-STLAN'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29N-MATNR'
                                       itab-matnr.           "'3000000107'.
        PERFORM bdc_field       USING 'RC29N-WERKS'
                                       itab-werks.              "'UN02'.
        PERFORM bdc_field       USING 'RC29N-STLAN'
                                       itab-stlan.              "'1'.
        PERFORM bdc_field       USING 'RC29N-STLAL'
        PERFORM bdc_field       USING 'RC29N-DATUV'
                                      '11.08.2008'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0110'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29K-BMENG'
                                      '1'.
        PERFORM bdc_field       USING 'RC29K-STLST'
                                      '1'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29K-EXSTL'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0111'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29K-LABOR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSTP(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29P-IDNRK(01)'
                                       itab-idnrk.             "'1000000232'.
        PERFORM bdc_field       USING 'RC29P-MENGE(01)'
                                       itab-menge.              "'100'.
        PERFORM bdc_field       USING 'RC29P-POSTP(01)'
                                       itab-postp.             "'L'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0130'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR'.
        PERFORM bdc_field       USING 'RC29P-POSNR'
                                      '0010'.
        PERFORM bdc_field       USING 'RC29P-IDNRK'
                                      '1000000232'.
        PERFORM bdc_field       USING 'RC29P-MENGE'
                                      '100'.
        PERFORM bdc_field       USING 'RC29P-MEINS'
                                      'KG'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0131'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POTX1'.
        PERFORM bdc_field       USING 'RC29P-SANKA'
                                      'X'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=FCBU'.
        PERFORM bdc_transaction USING 'CS01'.
      ENDLOOP.
      PERFORM close_group.

    Hi
    Check this sample code for the Table Control in BDC:
    data: fnam(20) type c.
    move 1 to id.
        loop at TI_STAGING WHERE VENDOR = IT_STAGING-VENDOR AND DOCDATE = IT_STAGING-DOCDATE.
          concatenate 'RM06E-EPSTP(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-itmcategory.
          concatenate 'EKPO-KNTTP(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-accassignment.
          concatenate 'EKPO-EMATN(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-material.
          concatenate 'EKPO-TXZ01(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-shortxt.
          quan = ti_staging-poqty.
          concatenate 'EKPO-MENGE(0' id ')' into fnam.
          perform bdc_field       using fnam quan.
          concatenate 'RM06E-EEIND(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-deliverydate.
          netpr = ti_staging-netpr.
          concatenate 'EKPO-NETPR(0' id ')' into fnam.
          perform bdc_field       using fnam netpr.
          concatenate 'EKPO-MATKL(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-mategroup.
          concatenate 'EKPO-WERKS(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-plant.
          ID = ID + 1.
        ENDLOOP.
    Regards,
    Vishwa.

  • Function Module to Change / Update BOM Line Items

    Hi,
    I need a Function Module to Change / Update BOM Line Items.
    Please help.
    Thanks.

    Try this FM - CSAP_MAT_BOM_MAINTAIN

  • Reconfigure sales BOM deletes line item and creates new line item

    We are having issue with Sales BOM. Once sales BOM is reconfigure, line item is automatically deleted and creates new line item. These changes are not captured by reporting tool. Is it standard SAP behavior? if its not standard behavior, how to fix this issue?

    Hi,
    If i am not wrong, i assume you are using site instead of plant.   If it is plant , then "yes", we can have a order with same material being line item 10 and 20 with different plants.  Reg delivery, if the plants are configured to a same shipping point then you will have one delievery.  if the plants are configured for a different shipping point , then delivery will be split up.
    Reward if it helps,
    Thanks & regards,
    CLN

  • BOM Change - Delete an item(s) and insert new line items

    Hi,
    We need to mass update BOMs like for some of the existing BOM's we need to delete some line items and insert new line items. We want to use the BOMMAT04 IDOC in LSMW but I'd like to know couple of things before I go ahead with that approach
    For instance, I've a finished good material 12345678 and it has three components
                          a) Item 0010 Material 30101010 of quantity 10
                          b) Item 0020 Material 30101011 of quantity 11
                          C) Item 0030 Material 30101012 of quantity 12
    Now, I'd like delete Item 0010 and add a new item 0040 Material 30101013 of quantity 13. 
    In the segment E1STKOM, there is LOEKZ (Deletion Flag) but I dont want to flag for deletion but instead delete the whole line item and add a new line item.
    Is there any way to achieve this using BOMMAT04 IDOC? If not, can you please suggest me a better way to do it
    Any help is greatly appreciated
    Thanks,
    Srinivas

    Dear Srinivas,
    1.IF you want to change for an individual BOM,use CS02,select the item which you want to delete,select the entire and click on
    delete button and then add new line items and save.
    2.For Mass changes of BOM you can use CS20.
    3.Check these functional module's also if you want to change using a report,
    CS_BI_BOM_CHANGE_BATCH_INPUT   Change bill of material via batch input    
    CSEP_MAT_BOM_SELECT_CHANGE     API Bills of Material: Select BOM(s)    
    CS_CL_P_BOM_MASS_CHANGE     
    CS_CL_S_BOM_CHANGE_COMPLETE 
    Check and revert back,.
    Regards
    Mangalraj.S

Maybe you are looking for

  • Network Attached Storage (NAS) and Aperture (Drobo, ReadyNAS, etc)

    My photos are growing past a single hard drive worth of space - I'd like to attach a Droboshare to my iMac, and keep my photos on it. I was wondering - will this still have usable speed, if I store my library locally (I believe this is called referen

  • In 10.10 the "recent documents" pulldown does not display actual recent items--it shows the same items time after time. How can I fix that?

    In previous versions of OS 10, the "recent items" pull down from the Apple icon (top left) actually showed recent items.  In this version, 10.10, the same items display time after time rather than displaying recent items.  How can this be fixed?

  • J2ee server stopped netweaver linux

    Hi, i've installed the netweaver linux java and abap vmware trial installation was succesfull i could start the all processes but not the server process, this one stopps automatically with the following answer: JHVM_BuildArgumentList: main method arg

  • Histogram behavior in CS6

    Hi, I prefer leaving my histogram in Photoshop CS6 in RGB mode, yet everytime I close the program and re-open photoshop, it defaults to Colors when I open a new document. Does anyone know how to get it to retain the RGB readout as a default? John

  • HELP!!!  NumberFormatException!!!

    Can you find anything wrong this code that causes a NumberFormatException? I'm a beginner, so I haven't got to exception handling yet. I'm working from Deitel and Deitel's book "Java 2: How to Program". I don't care what number I put in (with or with