MD04 change of material number

Hi all,
In normal cases when you create a production order from MD04, t-code co01 will be opened and when the Production is saved it comes back automatically to MD04 and display the same material number.
In some cases after saving the production order another material number is displayed in MD04.
Please share your ideas if you have seen similar problems.
Thanks in advance

Hi,
Please check whether you have used MD06 for MD04.  In this case it gets all the materials from that plant.  Else this problem has to be addressed to SAP.
Thanks,
Yeswanth

Similar Messages

  • BADI / USER-EXIT to change Vendor Material Number in ME21n

    Dear Sir,
    We are looking for a BADI/USER-EXIT  in Tcode ME21n , which can change the Value of  "Vendor Material Number" (Vendor Material Number is available under Item Detail in "Material" Tab . The value which need to be populated in the Field "Vendor Matreial Number" is  equal to first 4 character of the Item Code .
    I request the SAP Experts to kindly guide me with a sample Code please .
    I will be highly grateful for the kind help pl .
    Regards
    B Mittal

    Hello B.V.,
    User-Exit:
    First open the relevant Module Pools for ME21n via SE38. Then search for all CUSTOMER_FUNCTION 'xxx' where xxx is a 3 digit number. This number is linked to a User-Exit EXIT_<Module Pool>_xxx. Then investigate this function for it IMPORT parameters. In your case there has to be an interface for "Vendor Material Number".
    For to implement the required changes use the by SAP delivered include ZX<something> inside this function.
    BAdI:
    1. Search in IMG
    2. Find Enhancement Point in the relevant Module Pool.
    Hope this helps,
    Heinz

  • How to Change Material number in Accouting Document on ML81N

    Hi,
    I have a requirement to change the Material Number based on the User custom data from the Custom Tab.
    Since Service PO does not contains any material number, so based on the custom tab, we are trying to update the same.
    Using ML81N T-Code.
    Please suggest is there any User Exit or BADI to add or change the Material number in the Accounting Document.
    Regards.
    Praveer.

    You have to update the field BSEG - MATNR from your custom field to see the material number in accounting document.
    There are many exit or badi available for t-code ML81N.. Just find appropriate one by using the document Methods to find Customer/User Exit's & BADi's for a Transaction Code!

  • Changing PO item text when material number changed in ME22N

    Hi all,
    I am facing a problem as described below. Please provide me a concrete solution.
    My customer wants me to add a custom item text as Work Authorization Data in ME21N and ME22N. I have created a user exit to implement this requirement. So whenever the user enters a material as a PO Item and saves the PO, my user exit is invoked and the custom data pertaining to that material is displayed as an item text. Later when the user edits the PO and changes the material number from any line item, the system deletes all the item texts corresponding to that line item.
    My problem is, after that when my user exit is invoked, the corresponding text is not getting stored. If I change any other data (like quantity or unit) again and saved, then the text gets saved.
    Can anyone provide me solution to make this item text get saved at the time of  change in material number itself.
    FYI, I am working on SAP R/3 - 4.7 version. If more details are needed then I shall provide them.
    Thanks and regards
    Abdul Shabeer.

    Hi,
    it does not matter if the BADI is already implemented. You can add your additional logic there. If you put break points in all methods of BADI implementation and run ME2xN then you will see when is each method called. You are right that here is no BADI method SET_DATA. What I meant is that you get a reference to PO item (type IF_PURCHASE_ORDER_ITEM_MM) in BADI method PROCESS_ITEM. This interface has to methods GET_DATA and SET_DATA. Using these methods you can get current item fields and change them according to your needs.
    Cheers

  • Changing material number when Process Order is released

    Hello,
    We have a scenario in which the material number of a process order may need to be changed after the process order is released.  We will have both in process and post production inspection types assigned to this order, and both inspection lots are created at process order release.  We also will have a batch number created at process order release. 
    When recording test results in the inspection lot before a process order has been confirmed, the users may identify that the material number should be different.  We would like a way to be able to either change the material number in the process order (and inspection lots).  We know this involves a lot of updates (master data changes to the existing process order and inspection lots).  Currently, there is no way to transfer information to a new material number without receiving product in and performing a usage decision in the post production inspection lot to transfer to a new material number. 
    The client has implemented all modules, except PP (which we are in the process of now).  We know that Variant Configuration would have been the right solution for this, but this is not an option since MM is already implemented. 
    If you have any suggestions, please reply. 
    Thanks in advance.

    Hi Prasobh,
    The exact scenario is as follows:
    1. A semi finished good will be used as a component to produce the finished good.
    2. This semi finished good will have treatments added to it, and quality inspection will be performed as treatments are added. 
    3. Inspections will occur several times as treatments are added.  If during one of these inspections, material is out of spec, and the blend should be transferred to another material number, we need to be able to change to another material number.  To have a customization where material number is changed in all of the relevant PP and QM tables seems risky. 
    This is why we can't really use material classification.  We also do not have the option to use VC bc the MM module is already implemented. 
    Thanks.

  • Material number changed after purchase order released

    Hi Experts
    Please we are experiencing this behavior in our system.
    A purchase order for a specific material number is created and released, after this we can change the material number and its plant ¿is this a standard and right be way of SAP?
    Thank for your help
    JM

    Hi,
    You can design your process as the business demand.You can set Release Indicator 1 in designing Release procedure for  PO , where release Indicator 1 is used for purchasing document cannot be changed/Change not allowed after release.
    Regards,
    Biju K

  • ERP - SD Sales orders with billing plan (material number change appear)

    Sales and Distribution.
    Regarding sales orders with billing plan.
    We create the sales order and create billing plan at header or item level.
    We issue down payment request(s) upon receipt of sales order.
    Often during the life time of the sales order one or more of the material numbers are changed after the down payment request(s) has been issued and paid by the client.
    Our issue is that prior to changing the material number in the sales order we have to reverse the payment(s), reverse the down payment request(s) and after the material number change re-issue the down payment request(s) and register the payment again.
    We wish to find a solution avoiding all the reversals.
    If you have a similar situation please inform how to handle material number change in the sales orders with billing plan.
    Best regards
    Lise

    Dear Consultor SD ,
    There is no setting to create the invoice based on schedule line.
    What you can possibly do is create multiple deliveries based on the schedule line and
    then invoice the individual deliveries.
    If you want system to split the deliveries based on schedule line, then you will have to include Schedule line also
    in the COMBINATION REQUIREMENT in VTLA.
    Thanks & Regards,
    Hegal K Charles

  • FM to change material number of equipment

    Hi
    I need to change the Material number of an Equipment. I can do it on IQ03 Edit-> Special Ser.No Function->Change Material Number.
    I need to do this from a program. Does anyone knows which/what FM does this task? Please...
    Thank you.
    Regards,
    Vinod

    Thanks for the tips.  but i need this change to be reflected on the Action Log.
    Please do let me know if there are other FM thanks. I presume there would be a series of FM that helps to this task.
    Still stuck and lost.....need help....
    Regards,
    Vinod

  • Change Material Number using BAPI_PO_CHANGE, PO OrderUnit reset to base UoM

    Hi Experts,
    I am using IDOCs and BAPI_PO_CHANGE to update PO's in SAP (as PO's are created/maintained in an external system and interfaced to SAP). This works fine except for a change in the material number, the PO Order Unit is getting reset to the Base UoM of the Material Master and not the value from the BAPI(BAPIMEPOITEM-PO_UNIT).
    we are passing the following for BAPI_PO_CHANGE.
    POHEADER
    POHEADERX
    POITEM-PO_ITEM = '1000'
    POITEM-MATERIAL = 'MAT_B'
    POITEM-PLANT = '3001'
    POITEM-STGE_LOC =  '1000'
    POITEM-QUANTITY = '100.00'
    POITEM-PO_UNIT = 'SET'
    POITEM-ORDERPR_UN = 'SET'
    POITEM-PO_ITEM = '1000'
    POITEM-MATERIAL = 'X'
    POITEM-PLANT = 'X'
    POITEM-STGE_LOC =  'X'
    POITEM-QUANTITY = 'X'
    POITEM-PO_UNIT = 'X'
    POITEM-ORDERPR_UN = 'X'
    Say for the example above if the existing PO values are
    Material = MAT_A
    Quantity = 100.00
    PO Order Unit = SET
    after update from BAPI the values are
    Material = MAT_B (is getting update from BAPI fine)
    Quantity = 120.00 (recalculated based on base UoM)
    PO Order Unit = PC (resets to Base UoM and does not take value coming from BAPI?)
    The above is for PO's where there is no Purchase Order History yet, i.e., PO just created and then ammendment is coming thru.
    Would really appreciate any help/advise on this.
    Thanks so much.
    Sneha

    I have tried in ME22N and am able to change the material number and then PO unit to a specified unit (other then base) and save the PO ok.
    The variable order unit is allowed and we can create PO's in any unit (other then base UoM) and its working ok as well.
    Any other reason for the problem I am facing?
    Thanks.
    Sneha

  • How to change material number?

    Hi guruz,
    Is there a way to change the muterial number (eg ABC123 to ABC223)?
    Thanks,
    Utpal

    HI,
    can we clear this up because the thread is becoming confusing with the different viewpoints being expressed (all right in their own way, but still confusing).
    Firstly, you cannot change the material number of a materail master record. This is simply NOT POSSIBLE.
    The 309 movement type that has been suggested will simply move STOCK from one material number to another. Even if this is what you wanted to achieve a 309 is NOT the recommended option for this. The 309 movement is NOT designed to correct errors, it has a VERY specific purpose. It is designed to be used where the material has physically changed somehow without a production process happening. So if you make cheese (or wine etc.). The material matures naturally and even though you have not actually done anything to it, the new cheese (or wine) will change into a saleable product. this is what a 309 is designed for.
    Similarly if a material ages and becomes a lower quality just due to its age, a 309 is appropriate for that purpose because no physical process was involved (it there was a physical process then a PP order should have been used).
    To use a 309 movement to correct an error (such as the wrong material was GRd etc.) is wrong. The accounting postings involved will be corrupted by a use such as this (for example, any value difference will be shown as a gain/loss of profit due to the material improving or degrading and this is WRONG). I
    If an error has occured and the wrong material has been GRd etc. the correct way is to reverse the GR and do it correctlty.
    So please do not use a 309 to corrct errors.
    So the answer is NO you can't change the material number and a 309 is NOT a relevant solution to this situation.
    Steve B

  • How to restrict changes of material quantity in Maintenance Order

    Hi Expert,
    How can i restrict the user to change the material and quantity in the Order's components tab.(IW32) Eg, not allow changes after RELEASE.
    Can the system keep track on all the changes for material number and quantity in the Orders?
    Please Advise
    Thank You
    Best Regards

    Hi,
        Better way is grey that tab after releasing the MO .. try BADI ;-IWO1_SCREEN_MODIFY Field Content and Display Modification
    You can also explore User exit ;-PPCO0023 : Check Changes to Order Components
    FM ;- STATUS_READ
    regards
    pushpa

  • Change of material master during transfer between SRM and R/3

    Hi,
    I have a question for modifying material master data between R/3 and SRM.
    I would like to know if it is possible to change the material number during the transfer. The reason is:
    I have 2 R/3 backends and 1 SRM system. The material codes in the 2 R/3 systems are different but some materials having different numbers in R/3 are referring to the same material. I want to see such materials with the same material number. Is it possible to do this with Middleware plus some interruption in between? The "translation" should be bi-directional.
    Thanks

    Hi,
      No probs if the field is not replicated.No idea how to bring that through replication though.
      Coming to the Product Search...Although the number of such materials is less...You will have to modify the Product search which will take care of the  display of other products as well.
      The Std product search(<b>bbph_product</b>) uses the the search help exit "<b>BBP_F4IF_SHLP_EXIT_PRODUCT_GEN</b>".So you need to replace this one with your custom FM.
      In your custom FM,you will have to check for the HARMINIZED code field for all such materials and accordingly while selecting the Material select the HARMONIZED code as the Material number and in the Product search display that HARMONIZED code as the "PRODUCT ID". Also,you  will have to develop RFC enabled FM which will actually fetch all the Materials from the BAckend at runtime. Also are you displaying the Product List Plantwise?
      Pls give me ur mail ID where i can mail you the  sample code.
    BR,
    Disha.
    Pls reward points for helpful answers.

  • Change cost center number in reserve

    Dear All
    is it possible change cost center number  in MB22 (Change reservation)? how can do that?
    best regards
    R.T

    Hi ,
    I have search a lot & conculsion is that ,you cannot change the account assignment data (for example, cost center or order). If the account assignment is incorrect, you must delete the reservation and enter a new reservation.
    You cannot change the material number or the plant for an item. If either of these entries is incorrect, you must delete the item and enter a new item.
    Regards

  • Updating Material Number in PM

    Hello All and Good Day
    Is there a way to change the material number in the PM work order?  Issue material to the work order for update, then to receive as another number from the order.... This would be for internal process only.  If I have a -23 and I want to update this to a -25...can i do this in the order itself?  Please advise

    Thanks for your response...this is what I am wanting to do...
    I have a unit in stock that is a =-23....I want to upgrade it internally on a service order to a -25....I know I can manually do the 309 movement...
    but I want to receive this unit off the service order after the upgade as the upgrade unit -25

  • Material number getting changed in Sales order

    Hi friends,
    while creating sales order, When I enter some material number,
    at line item it is getting changed into some other number.
    Do you have any idea why this is happening?.
    Eg: I entered material number as 3660 and it is getting changed to  50231960 .
    Thanks.
    Regards,
    Bharat.

    there are several reasons that will make this change.
    one possibility could be Customer Material Info Record.
    Go to VD53 and enter your customer number that you used to create a sales order and also the sales org and disribution channel of that customer and the material number 3660. then check whether it has assigned to the material 50231960
    Other possibility could be automatic material determination is active which automatically replaces the material if not available.
    reward points if helpful
    Sree.

Maybe you are looking for