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

Similar Messages

  • Last line item gets changed to first line item for cs01

    HI experts,
               I have writen a BDC for Tcode cs01.
    I am facing a problem in that.If sucppose there are 4 line items,
    the first three line itmes are getting uploaded correctly but the kast line item gets changed to first line item.
    below is part of my code.
    DELETE ADJACENT DUPLICATES FROM T_MAT COMPARING MATNR.
    SORT T_MAT BY MATNR. "HEADER DATA
    SORT T_BOM BY MATNR1. "ITEM DATA
    *CLEAR : COUNTER, ITEM_NO.
    LOOP AT T_MAT INTO W_MAT.
      REFRESH GT_BDCDATA.
      CLEAR   GW_BDCDATA.
    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' W_MAT-MATNR.
                                 'lejn44001'.
    perform bdc_field       using 'RC29N-WERKS' W_MAT-PLANT.
                                 '4600'.
    perform bdc_field       using 'RC29N-STLAN' W_MAT-BOM_USAGE.
                                 '1'.
    *perform bdc_field       using 'RC29N-DATUV'
                                 '22.06.2010'.
    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'.
    LOOP AT T_BOM INTO W_BOM WHERE MATNR1 = W_MAT-MATNR.
      cnt = cnt + 1.
      CONCATENATE  '0' CNT INTO VAR.
       ADD 1 TO COUNTER.
       ITEM_NO = 10 * COUNTER.
       OVERLAY ITEM_NO WITH '0000'.
       W_BOM-ITM_NO = ITEM_NO.
    perform bdc_dynpro      using 'SAPLCSDI' '0140'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSTP(03)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    CONCATENATE 'RC29P-IDNRK(' var ')' INTO new_mark.
    PERFORM bdc_field USING new_mark W_BOM-BOM_COMP.
    clear new_mark.
    CONCATENATE 'RC29P-MENGE(' var ')' INTO new_mark.
    PERFORM bdc_field USING new_mark W_BOM-QTY.
    clear new_mark.
    CONCATENATE 'RC29P-POSTP(' VAR ')' INTO NEW_MARK.
    perform bdc_field USING new_mark W_BOM-ITM_CAT.
    clear new_mark.
    clear VAR.
      ENDLOOP.
    loop at T_BOM INTO W_BOM WHERE MATNR1 = W_MAT-MATNR.
    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' V_CNT.
                                 '0010'.
    perform bdc_field       using 'RC29P-IDNRK' W_BOM-BOM_COMP.
                                 'PURCHASECOST'.
    perform bdc_field       using 'RC29P-MENGE' W_BOM-QTY.
                                 '20'.
    perform bdc_field       using 'RC29P-MEINS'
                                  'M'.
    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'.
    V_CNT = V_CNT + 10.
    ENDLOOP.
    CLEAR V_CNT.
      perform screen_data. " IS ALL ABOUT CALLING TRANSACTION......
      ENDLOOP.
    following is The input file format m providing.
    Material     Plant     BOM usage     Item No     Item Cat     BOM component     QUANTITY
    WRJN46106     4600     1     10     z     PURCHASECOST     10
    WRJN46106     4600     1     20     z     SOURCINGCOST     15
    WRJN46106     4600     1     30     z     INVRESERVE     12
    WRJN46106     4600     1     40     Z     INVRESERVE1     20
    in this the first 3 line items are coming correctly but the 4th one gets changed to
    first line item.
    e.g INVRESERVE1 changes to purchasecost.
    plz help.
    Thanks n regards,
    Ashmita singh.

    Hi Suneel,
    I hardly can't believe that. There must be an mistake by your own in the smartform itself. Would you please share some screens or better, the smartform-XML itself. You can pass out everything else and just share the table and a dataset to try this.
    I'm pretty sure that there is something wrong with the settings or even the loop itself. I never faced a problem like that or even heared about such things.
    I would love to have a look inside.
    Before you share it, create a new one with just the table inside and try it with the same data. Perhaps it is just of to much folders or something like that, so the generating comes in trouble.
    Regards
    Florian

  • Retrieving the Change Texts per Line Item (Purchase Order) - Very urgent

    Hi,
    How do you retrieve the Change Texts per Line Item (Purchase Order).
    Table T166T does not list these values per line item.
    Please help. This is very urgent & important.
    Best Regards,
    John

    if you are lookin out for change of item texts ...
    then use the function module ... READ_TEXT.
    and 2 tables r used ... STXH and TLINE ....
    double click on item data ...
    goto PO TEXT tab ....
    double click on text ...
    from menu ...
    goto header ... u'll get 4 fields that u need to consider ...
    TDID
    TDOBJECT
    TDHEAD
    TDNAME
    ALL THESE U'LL FIND IN  STXH
    ITEM TEXT is stored in TLINE
    Edited by: anjali rana on Mar 5, 2008 4:55 AM

  • Issue with PO change output - Service line items

    Hi All,
    This is issue with PO change output. We have PO with line item 10, 20 and item 10 has 4 service line items. PO is approved and initial print out is taken.
    Some one goes and makes changes to 1st service line items of PO line item 10.
    A change output gets triggered. When this output is printed, it prints line item 10 details. This is standard functionality as this item is changed. But its printing all the service line items for this PO line item. Consider a case where there are 3000 service lines for a PO item. If I add 1 service item to this PO line item, the change form prints 3001 services for that line item. There were no changes done to first 3000 service line items.
    Currently PO change form takes care of changes at PO line item but it does not take care of changes at service line item level.
    Is there any setting that needs to be done for this so that it only considers the changes at Service line item level also.
    Regards,
    Shahu

    If you're using a standard form, send a message to SAP. Otherwise make a change in the form.

  • Change Rules for Line item

    Hi,
    I have customized the change rules for Line item.
    Still the system not allowing to make changes to that particular field? Can any one tell me, whats the reason for the same.
    Following Field is made as changeable for the line item.
    BSEG-VBUND             Trading partner.
    The above field is available in More data Tab or additional data tab while making entry or display of document.
    Thanks,
    Lalatendu

    Hi,
    That i know, but trading partner was not entered in the GL Master data. Infact some one wrongly entered Trading partner in Customer master and during bank posting system automatically picked Trading partner.
    When thye r trying to clear open items for that GL account , because of that assignment system is not allowing to clear those line item.
    If i can remove that trading partner from document, my problem will be solved.
    Can any one guide me..or if u need more info please let me know.
    Thanks,
    Lalatendu

  • Buyer change the PO line items and end up with Awaiting Approval status.

    Can you please help to look into this issue.
    1.Buyer change the PO line items and end up with Awaiting Approval status.
    2. But user claim that she got enough limit and should not route to her manager's approval. Also check with her manager and this PO do not exist his queue.
    Any clue or tips on how to investigate on this issue. All your tips are appreciated,
    -Rick

    You cannot change these POs because their changed version has status
    'Deleted'. My proposal to fix them will be the following:
    You will have to set changed version as closed(DOC_CLOSED set to X)
    and in active version set DOC_CLOSED to space.
    __-For the above statement, Can you guys please let me know, which table DOC_CLOSED belongs to and what are the steps to do this, as i come from a functional back ground.__

  • Make changes to the line item depending upon doc type n sp. GL ind in F-48

    I want to make changes to the line item depending upon the document type and special GL indication for the transaction code F-48.
    Depending upon document type and special GL indicator i want to calculate the work contract tax during simulation in transaction code F-48.

    Hi,
    You want to deduct WCT when you use particular document type and special gl indicator.
    I just want to know the reason why you want to determine the WCT based on the above conditions.
    I created WCT as withholding tax types and assigned to vendor master. So when the user booking transactions he will choose the respective WCT tax type and tax code so system will deduct the amount and the same updated in WITH_ITEM.
    Or you made a down payment request through T.code F-47 and when you want to book the actual transaction in F-48 then choose line item from down payment request.
    Give me your requirement in clear if the above is not clear
    Regards,
    Sankar

  • Transaction VKM1 - Changes Sales Order Line Items Custom Fileds

    Hi,
    I have a challenge to indentify the impact of VKM1 on a Sales Order Line Item Customer Enhanced Fields. When credit hold for the customer is released in VKM1, I want to prevent some of the changes to the line items in the User Exit. The Problems I am not sure, How VKM1 is calling the Transaction VA02 or those Sales Order User Exits to modify certain customer enhanced fields. I tried Activation of Break Point in Update Task but did not stop at the Break points set up in the User Exit. How does Transaction VKM1 call the Sales Orders to execute changes? Is it through BAPI or Call Transaction VA02 or some thing else.
    Can any One please help me? Appreciate Your Help in advance.
    Thanks,
    Kannan

    VKM1 uses FM SD_ORDER_CREDIT_RELEASE to release orders on credit.

  • Sales Order Item Category change of all line items on Save

    Dear all,
                I want to change the sales order line item category of all sales order lines on save. i tried to write the logic to change the values of item category in USEREXIT_SAVE_DOCUMENT_PREPARE. it changing the SO line item category but it not changing corresponding shedule line item category and even i try to change the corresponing shedule line item category,  than system not prompting new schedule lines according to changes in the item category and its dates. Kindly, if any one knows any exit or process to change the item category of schedule line let me know
    Regards,
    Manoj

    Dear,
             Thanks for your reply, i changed the item category of SO line item and shedule line item in the xvbap and xvbep and i changed updkz to U. i have two item categories ( i.e YNAA and YNAB ) for YNAB system automaticallty creates Purchase requisation, If i change the item catergory  in the user exit TO_VBEP . system not creating the PR for YNAB. by the time control comes to TO_VBEP user exit system already detemining shedule line and sale order line items category in XVBAP and XVBEP . if  i change any thing at this place system giving error while saving .
                  Thanks in advance.
    Regards,
    Manoj
    Edited by: manoj kv on Dec 26, 2010 4:40 PM

  • Update the change history for line items in CDHDR/CDPOS

    Hi,
    I have a problem in updating the sales order and line items in CDHDR/CDPOS when there is change in header level custom field..
    Actually i have a custom field in VBAK which added in additional data A in the header level of sales order.When we have change in that field only some line items only updating in the change history tables(CDHDR/CDPOS),but we need to capture all the line items when the custom field in the header level is changed.
    i have added change document flag in the data element of the custom field.
    Please advice me how to get all  the line items will reflect in CDHDR/CDPOS when the header level custom field has change .
    Thanks & Regards
    Kiran

    The purpose of CHANGE DOCUMENT tables is to flag the changes with Old and New values. So when Header data is changed only Header details will be tracked and same for Item tables too.
    If you need anything addtional from this then that would customizing.
    I am not sure what is your requirement but to make it simple and achive requirement add same field with same setting to line item tables VBAP, VBKD.. (as required, if that's doesnt impact your Order. These fields no need to be on screen). While changing your Custom field of Header level change the item level field too. Then CHANGE DOCUMENT will generate automatically for all the line item including header.

  • GL Account Line Items-Qty Field not showing credit sign for credit postings

    The instance is ECC 6.0
    We are using new GL.
    The issue is happening for WA doc types. For the credit postings, the Qty is not coming with the credit  sign(-) in the line items details report (FAGLL03) for the GL account. When the same document is displayed via FB03, the QTY is having a credit sign(-).
    Can someone tell if this is something that is controlled at the layout level for the QTY field and if I can change it so credit entries show with sign?.

    Hi,
    The quantity will not come with negative sign in FAGLL03.
    Whether the quantity is positive or negative is determined using the posting key or debit/ credit indicatior.
    You can not change this standad setting. You can change your layout to sort based on debit/ credit indicator.
    Regards,
    Gaurav

  • Change Oranization at Line item

    Currently at the header level I am able to change the service/sales Org, however at the line item level it is a read only field.  I figured this setting would be under organizational determination since under partner determination Entry Changeable field is there.  Where do I go to make service/sales orgs changable at line item level?
    Thanks in advance,
    Nick

    hi
    you will be having it in display mode only,reason being that header level info is always copied to item level info in org and this way org profile differes different from the partner determination profile
    anyways it wont have any significance because rule determination is always at header level
    only header level info is essential and that you can edit,so its pretty ok
    best regards
    ashish

  • Change Transfer Order Line Items during Creation

    Hi All,
    I  have a requirement wherein it is necessary to change the Line item (LTAP) of a transfer order , during its creation.
    I had a look at exits - MWMTO001 (EXIT_SAPLL03T_001) . But it is not useful in our case as the TO is already created before the control is passed over to the user-exit.
    Our requirement is that, if the source qty in alternate unit of measure (LTAP-VSOLA) contains a decimal value i.e. if LTAP-VSOLA = 2.500 CAR ( Carton is the alternate unit of measure ), then the TO line must be split into two lines and the qty must be distributed as 2 CAR and 6 EA ( Each is the Base unit of Measure ), considering that 1 CAR = 12 EA.
    I tried searching for any FM/BAPI for changing TO's, so that it can be used in the above exit after TO creation, but could not find any . Any suggestions to over come this will be highly appreciated.
    Thanks & regards,
    Sandeep

    Hi Jurgen,
    You are right. The system does not propose TO's with different UoM's for the same material. The TO split thro configuration which you have suggested does not check for the decimal value of the quantity, but rather it takes the Qty value as a whole.
    As far as I have seen , there are no user exits which can be used to influence the creation of TO line items.  Let me know if u come across any of them, which can be used to modify the system determined TO lines.
    Regards,
    Sandeep

  • Validation not working during Mass Change of Vendor Line Items

    Hi All,
    I created validation for Reference Key 1 field of Vendor line items, in this validation i used customized user exit.
    Whenever i select multiple line items in FBL1N for mass change & try to put a unauthenticated value system gives error as per Validation only for 1 st item but it not work for subsequent items & put the unauthenticated value in subsequent line items.
    I am not able to understand why Validation is working only for 1st line item during mass change & not for subsequent line items.
    Please provide your suggestions in resolving this issue.
    Thanks
    sandeep

    Hello Sandeep,
    I understand your issue. First check if the changes as per the SAP Note 640908 (https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=640908) is available in your system.
    Actually, Mass changes call FB02 in background and at this stage Validation gets activated and hence, the control doesn't go back for the next item changes. You can test this by deactivating the Validation and then the mass changes will me fine.
    I hope this explains the behaviour.
    Thanks and regards,
    Suresh Jayanthi.

  • Mass change of Vendor Line Items Payment Terms

    Hi all
    We are trying to make a mass change of payment terms for vendor line items.  We have implemented the change required as per SAP note 640908. However when we try to do this not all payment terms are changed.
    The log gives us the following error - 'Field BSEG-ZTERM. does not exist in the screen SAPMF05L 1302'.
    Please how can we solve this error.
    Many thanks
    PRG

    Hi,
    According to note 640908:
    " Notes on error handling:
        If the mass change does not occur as required even though you
        changed and activated all program parts, note that the error log
        for the mass change (Environment -> Mass change -> Error log of
        line item list) may contain useful information for error
        handling."
    " Note: SAP cannot guarantee that the modified mass change will work
      correctly even if you carry out all of the steps as described in the
      manual tasks."
    It is not planned to enter the payment terms by using of
    the field payment term ZTERM but by using of the fields ZBD1T/ZBD1P and
    ZBD2T/ZBD2P and ZBD3T.
    With Best Regards,
    Gladys Xing

Maybe you are looking for

  • How do I import old history from places.sqlite to new edtion Firefox and do I loose the new history?

    I have a new PC and want to import my 'favorite website info', in the dutch version called 'Bladwijzers', into the new version of Firefox on my new PC. Do I copy the old places.sqlite to the uohyzr7h.default directory to replace the existing? Or is t

  • Support for Canon M80 backup device

    I have a Canon M80 backup device that I have used in the past with a mac that had OSX 10.4 but I have since purchased a new computer that came with OSX 10.5 which does not appear to support the M80. Problem is that I just got back from 7 weeks of sho

  • PSE 11 Install problems -  Shared Technologies have failed to install

    Hi All, I am hopeful that someone will be able to provide me with a little advice regarding the installation of PSE11. I have attempted to run the install via the BD media, Copeied BD media to HDD and download from Adobe site but I keep on getting th

  • How to use Php and Oracle on 2 different systems

    Hi! I connected with a net 2 systems. One (Windows 2000 + Oracle9i) is the database server. The other (WinXP + Apache 2.0.54 + Php 5.0.4 ) is the web server. I'd like to make the WinXP machine connect on the Win2000 but It seems it doesn't work even

  • Upgrading to new OS

    I have a 2.16 GHz Intel Core 2 Duo with 1GB of memory, running Mac OS X Version 10.4.11 and want to know what's the newest operating system I could upgrade to.  Also can I add more memory?