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

Similar Messages

  • 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

  • Inserting New Line item in PO

    Hi,
    I need to insert new line item into PO if the material entered is BOM material.  My requirement is like this, If the user creates the PO with BOM material then i need to insert all the inside components as line item in that PO. Please suggest me any user exits avaiable or any way to achieve this( It's not a subcontracting PO).
    Thanks,
    Ganga.

    hi
    PCSD0001  Applications development R/3 BOMS
    PCSD0002  BOMs: Customer fields in item
    PCSD0003  BOMs: Customer fields in header
    PCSD0004  BOM comparison
    PCSD0005  BOMs: component check for material items
    PCSD0006  Mass changes user exit
    PCSD0007  Check changes in STKO
    PCSD0008  WBS BOM: Customer-specific explosion for creating
    PCSD0009  Order/WBS BOM, determine URL page
    PCSD0010  Order/WBS BOM, determine explosion date
    PCSD0011  Knowledge-based order BOM, parallel update
    PCSD0012  Customer - Mat. number/mat. number during material exch
    PCSD0013  Customer-specific processing of an explosion for BOM br
    **Please reward suitable points***
    With Regards
    Navin Khedikar

  • Insert new line item in va01&va02 - urgent

    Hi frndz,
    At the time of creation standard sales order using va01.
    When user enters the sold to party in header and then
    material & quantity in line item reocrds. After user enters the details in first line. I have some checks to be executed and on the basis of that customer will get the free material that should come on second line item.
    I am getting the details which i will be inserting on new line item but the problem is that in which exit i should write the code for the same.
    So frndz could you please let me know, in which userexit I should insert this new line item. There can be more than one free material.
    If anyone has done this already, please let me know.
    I know one exit i.e.MV45AFZB but in that there are many forms. so exactly which form i should where i will write the code to insert new line item???
    Points will be awarded surely.
    Regards,
    Prashant

    HI Stephen,
    I have the same prolem. I modified the 5 global tables, but I don't see the new line in the screen.
    Can you help me with some details?
    Thx!
    Mihaela

  • Insert new line items in Delivery

    Hello All,
    Is there any BAPI or FM in which i can add new line item in SD delivery vl01n? The new line item will not be there in SO , but i want it in delivery. Manually i can insert new line item using VL01n , but i need FM to do the same.
    Thanks

    Hello,
    I need a Bapi or FM through which i can add new line item in delivery , maybe while creation of delivery or changing the delivery i.e. via VL01n or Vl02n. The new item will not be there in SO. It is a non valuated material.
    Helpful answers will be rewarded.
    Thank you

  • Inserting new line item into existing delivery using BAPI

    Hi
    can you send me the code for inserting new line item into existing delivery either using BAPI or
    Function module.
    We are using SAP 4.7 version

    Hi Sreekanth,
    Refer to this links
    New item for outbound delivery via FM/BAPI?
    /message/3976349#3976349 [original link is broken]
    BAPI_OUTB_DELIVERY_CHANGE Help - Add new line item
    hope it is useful to you.
    Regards!

  • How to Reject Quotation line item and update New line item

    Hi all,
    I have a doubt in Quotation Rejection,Here it goes....
    For VC implementation,We are Creating a quotation with Dummy Material,and after Creating Material Masters we have to update the Newly created material back in Quotation for same quotation number and after this the dummy material i.e the previous line item should be rejected with reason as a duplicate(reason code 23)..
    So Pls help me in Rejecting the line item of quotation.how this is done.
    Reply soon.
    Thanks in Advance,
    Balaji Meda

    Hi,
    The requirement is also to Update the Quotation with the newly created material.
    So we need a Bapi or a function module which does 2 things:
    1. Reject the previous Line item with a reason code.
    2. Update the Quoation with the new material and insert a a new line item.
    Thanks,
    Balaji.

  • Inserting new line item in Sales order

    Hi,
    We are doing a feasibility check to find out whether a new line item can be successfully inserted into a sales order based on certain pricing conditions that is received through an ORDERS05 inbound idoc.
    I tried adding a new segment E1EDP01 to the existing idoc in the user exit EXIT_SAPLVEDA_011 assuming that the VA01 posting program would accept the new line item but that approach is not working.
    Looking at various posts in the forum, I gather that the best way is to use the function 'BAPI_SALESORDER_CHANGE'. Can anyone please let me know how exactly a new item can be inserted using this function module?
    Any help would be appreciated.
    Thanks

    Hi Sneha,
    Please use the FM 'BAPI_SALESORDER_CHANGE' to add a new line item as under:
    CALL 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument               = "Pass the Sales order no here"
          order_header_inx            =  "Pass the value of update flag as I as u need to "
                                                   "insert a new line item"
        TABLES
          return                             =  "Will contain the error/success messages"
                                                   "after the processing"
          ORDER_ITEM_IN            =  "Here pass the item info tht needs to be added"
    Also do a Commit Work after this FM call to reflect the changes in database.
    Regards,
    Chetan.
    PS: Reward points if this is helpful.
    Message was edited by:
            Chetan H. Dubey

  • *insert new line item in sales order*

    Hi guys,
    I have requirment where, user would enter a material and system determines if free material is to be added to it. thats standard based on configuration.
    the user is maintaing ztable for additional free product for the material. now, i want to insert the third additional item along with other items. this has to be added before saving and it has to show on screen before user saves it.
    Thanks,
    Abhi.

    See, if u debug and enter the exit, then it shows 2 line item  in xvbap[] i.e. sale material and free material.
    now i want to add third add. free item. if insert in internal table xvbap[], it doesn't show on screen
    i want the solution for that.
    can anybody help me with that.

  • How to insert contract line item from file using any bapi

    Hi gurus,
    Just wanted to ask how can I insert new line item which were created from a file
    when updating/changing contract details.
    The requirement was to create new line item from a file and use those details in updating the contracts.
    What BAPI can I use to address this requirement?
    Thanks!

    Hi Rajvansh Ravi,
    This is for Service Contracts. Sorry for missing this detail.
    Hi Tarangini Katta,
    I have already used BAPI_CONTRACT_CHANGE, and it was good in updating existing line items,
    but it doesn't update the contract when a new line item is created in the file.
    To make a clearer view of the flow (requirement)
    First scenario:
          From the tcode (ME32K or ME33K), we can download contract details into an excel file for a particular service contract.
    Next scenario:
          That same excel file (downloaded) can be enhanced per line item (can also insert new line) and be saved locally.
    Next scenario:
          This same excel file can also be uploaded. And the changes done to the file have to overwrite or rather have to changed the details of the same contract and then will appear/reflect in the tcode.
    With this, if we had a new line item created (inserted) on the file (not change), we can not see the changes when we view the same contract in the tcode. (ME33K)
    Do you have any idea how the insertion from the file can be reflected on the tcode using an existing bapi?
    Hope this was clear enough...
    Thanks and hope to hear something from you soon.

  • New line item insertion in delivery via EDI - PI

    hi,
    the requirement is to insert a new line item in the delivery.
    This new line item inserted should be done via an IDOC, which while entering the SAP will insert a new line item in the delivery.
    The question if this line item insertion should be done through the inbound FM in SAP or via XI/PI.
    How will this be done in PI??
    Thanks a lot

    Hai,
    How you delivery creating or updation working in ECC??
    like if you are using PI interface create/update delivery in ECC ,then you cae use PI only to insert new line item for material id.
    else if you want do manually you can create in VA02/VA42 TRASACTIONs or using function module also we can do that.
    option is yours.
    if you dont have much idea then better to talk with ABAP/Functional guys they will easily do this without PI.
    Regards,
    Raj

  • User Exit during Sales Order Creation - New Line Item needed

    I have a situation during the process of sales order creation. If a Material in a line item has say 27 EA and the Base Unit is EA. But the Sales Unit is CSE. Then whenever the user enters 27 EA and presses enter he should get two line items.
    The first line item needs to convert to maximum number of CSE posible and the rest will be the second line item with the remaining EA. The order isn't important but that is what is needed. Question is how do I approach this problem and code my user exit accordingly and where do I code it.
    I was looking at SAPMV45A and saw the program MV45AIZZ which is meant as a user exit for any PAI event handling. If anybody has encountered this kind of requirement can you please share your view on this.
    I will definitely reward points for useful answers.
    Clark

    Hello Mahendra
    The requirement is as follows :
    PART 1:
    Sales Order Enter: 
    1.     When a line item is entered on a sales order (VA01 or VA02), at enter, check the sales unit of measure (VBAP-VRKME).
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check items where VRKME <> EA
    2.     If VRKME = EA, go to MARM for MATNR.
    3.     Go to record where alternate unit of measure (MEINH) = CSE, get the value from the numerator field (UMREZ).
    4.     Divide the order quantity (VBEP-WMENG) by UMREZ.
    5.     If the result is greater than 1.0, the customer has ordered more than one case and a new line item needs to be added to the sales order for the case quantity.
    6.     Add a new line to VBAP for the same material with the case quantity.  If not a whole value, the remainder of eaches (bottles) should update the qty on the first item on VBAP.
    •     Part 1 is relevant for order types ZCA, ZOR, ZSO, RE, ZSM
    PART 2:
    Batch Job to run prior to the Delivery Due List:
    1.     Read VBUK for Delivery Status (LFSTK) = A (delivery not processed).  Get all of the document numbers (VBELN).
    2.     Go to VBEP for those document numbers to get the goods issue date for the order.  There will be many records in VBEP for the same sales order.  Look at all orders with a goods issue date (WADAT) of next day.
    3.     Go to VBAK for those document numbers to see if there are multiple sales orders for the same Sold To party (KUNNR).
    4.     For customers who have more than one order in VBAK, search all line items (for all orders).  If there are no duplicate materials across sales orders, do nothing.
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check line items where reason for rejection (VBAP-ABGRU) is not blank
    5.     If there are duplicate materials, go through the same logic as in part 1.  If the quantity across the sales orders adds up to greater than one case, add the appropriate quantity to a new line item on the first sales order.   If there is a remainder qty, update the line item on the first sales order with this qty. In this case, the quantities on the second sales order needs to be closed out with a reason for rejection code of 50, ‘Line Item Consolidation’. If there is no remainder,  update the qty on this item directly.
    •     Part 2 is relevant for order types ZOR, ZCA, ZSM
    •     This batch job will have to be run manually for Day Pick orders.  The end of this program should automatically kick off the delivery due list for Day Pick orders, shipping condition 02.
    Business Justification:
    The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking.  This will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material.  In the case where the customer has truly ordered more than a case, i.e;, 1 case, 2 bottles, the documents in SAP will still reflect 2 lines.

  • Idoc Type to add a new line item to existing Inbound delivery

    Hi Friends,
    we have one requirement.
    In the system Inbound delivery is created through Idoc. Once the inbound delivery is created, we need to change that inbound delivery by adding a new line item to that inbound delivery where the line item belongs to another PO. Means, I have an existing inbound delivery number for a PO having one line item. Now I want to add another line item into the inbound delivery for another PO. I have created the inbound delivery through Idoc using the idoc type DESADV. Now I want to change the inbound delivery for adding the line item. Can anybody please tell me which idoc type should I use for this above highlighted requirement?
    Thanks & Regards
    Satya

    Hi.
    I have one PO 4500000001 for which I have created the inbound delivery 180000001. This inbound delivery has been created through an IDOC. I have another PO 4500000002 having one line item. Now i want to add another line item into the inbound delivery 180000001 for the PO 4500000002 as second line item. To add a second line item to the existing inbound delivery, which IDOC type should I use.
    Hope it clarifies the requriement.
    Thanks & Regards
    Satya

  • Cancelling a line and and adding new lines to existing PO using API

    Hi,
    Can any one please help me know how I can cancel a line and insert new lines into a existing PO using any API.
    Many Thanks,
    Srinivas.

    VanessaC_VZW wrote:
      However, if you do not want a contract on the new lines, (since you will have your own equipment), the activation fee will be $35.00 per line.  If you agree to a 2-year contract for the share lines, the activation fees will be $25.00 per line.   
    You can add the new lines by calling our Telesales Department at 800-256-4646.  
    Thank you,
    Really?!  I didn't know that made a difference...I thought secondary lines were $25 - well, ya learn something new every day!
    And a side note - we added a line for my 75+ yr old mother with one of our old flip phones and CS was extremely kind in waiving the activation fee (I could have sworn it was $25 charged and credited on the bill), PLUS they boxed up the flip phone after activating it (with an out of state number to boot) and shipped it to my Mom, all at no additional cost to me.  I'm not saying that will be everyone's experience, and I was amazed the service rep offered to ship it for me - but I smiled and said "THANK YOU!" and accepted it!

  • Error while editing PO - deleting service line item and creating material line item.

    In SAP SRM Extended classic scenario, PO is in 'ordered' status and contains a service line item. While editing this PO, I delete the service line item and create a new material line item. This gives me the following error.
    Back end error: Enter G/L account
    Back end error: LIne item still contains faulty items.
    This happens only with service- material comibination and no other combination(material-service, service-service, material-material).
    I need to know the reason for this issue and how it can be solved?

    PO Values (Inc Tax):
    Item 1: INR 228 L
    Item 2: INR 27.83 L   (Payment also done in 2008)
    GR for Item 1: INR 207.46 L
    Remaining Comm = INR 21.01 L
    Item 1 having 73 sub line items.... fo some of the sub-line items GR for some qty already done in last fiscals.
    User changing for remaining qty.
    Budget Report values:
    Previous Years:  Budget, Actual & Assigned = 304.85 L
                                Available = 0      (Carry Forward done for Budget & Commitments)
    2011:                   Budget = 75.15 L
                                Actual = 53.86 L
                                Comm = 21.01 L   (Same as Remaining Commitment)
                                Avai = 0.28 L
    Hope this will help.

Maybe you are looking for

  • How to reset the Apple ID password when the emails are not received and the security questions not right?

    My foolish husband put his apple password on a website. Apple has suspended his account. He is not getting the reset password emails and the security questions are not the ones he used. We live in Malawi where there is no phone support access. How ca

  • How to know when loaded ??

    Hi all, I'm using the attached code in frame 1 to load the first picture picture of a series. VERY similar code on the "next and previous" buttons to load more pictures one by one from an array called "photos". Images are held locally on the server a

  • HT201335 Mini mirroring to Apple TV

    I have used mirroring for a few things, however sometimes my iPad mini does not put the little airplay icon in the browser, is there a way to force it to find my Apple TV ?  Seems to take longer and longer to find the Apple TV. Any ideas,,,,when I us

  • Crystal report design query

    Hello, I am using Crystal reports 10 to design a report using an SQL database source. There are 2 tables causing problems in that once fields from both of them are added to the detail section, the data is duplicated.  The reason for this is table2 ha

  • ESS and MSS configuration in sap ECC 6.0

    Hello friends,     In our ECC6.0 system we want to configure ESS and MSS...  well is this ECC6.0 system have contains this settings in predefine or i have to apply for some patches and addons???? what will be the further steps for basis peoples in th