Creation of new batch while transfer posting

Dear Experts,
Please guide me to meet the following requirement:
I am posting the Goods Receipt for the production order to the Quality stock by using indicator X in T Code MB31. The material is batch Managed and QM is not implemented.
Now after the Quality Inspection this batch is posted to Un-restricted Stock with movement type 321. Here the requirement is to create a new batch whereas system is setting the original batch (batch in QI stock) as receiving batch. My requirement is to have a new batch number here either automatically (incremental for internal number range) or could be entered manually.
But when I enter a new batch number the system throws an error message "Batch MATERIAL_NUMBER PLANT SLOC BATCH_NUM does not exist". Message no. M7042. The requirement is to post the stock to a new batch here.
Experts, kindly help me clear my understanding as where I am going wrong. How to be able to create a new batch here. Also how to generate a new batch number automatically during the goods movement.
Thanks & Regards,
Rohit.

Hi Rohit,
Sometime back, I have copied the below information from this forum for ref. Just check the usefulness of this information for your requirement.
You can further enquire about this with other gurus in this forum, before taking any decision.
Configure Customer Exits for intern. batch number assignment
You can use SAP enhancement SAPLV01Z for internal batch number assignment. This enhancement contains two function module exits that you can use to define number ranges or templates for batch numbers.
u2022     EXIT_SAPLV01Z_001. You use this exit to replace the number range object and/or interval proposed by the system with your own number range object and/or interval.
In addition, you can, for instance, stop the system from assigning an internal number depending on the material or plant. You can also use this exit to stop the dialog box from appearing.
u2022     EXIT_SAPLV01Z_002. Using this exit, you can either change the number assigned by the system, or assign your own number.
Note
Both exits contain a communication structure with application data from the respective business transaction (plant or material type, for example). If you need further information, such as the time, the user name or the date, you must include them yourself in one of the exits.
The system always checks whether the assigned batch number already exists in the system. If it does, it terminates the function without assigning a batch number.
Example
In function module exit EXIT_SAPLV01Z_001, the system uses the material type to determine number range interval XY. This number range is then used to determine number 0000100123 as the next batch number .
In function module exit EXIT_SAPLV01Z_002, the final batch number 'ABCD100123' is determined from batch number 0000100123 and plant ABCD. The system suppresses the leading zeros.
If you do not use a sequential counter for the batch number, you can skip internal number assignment in exit EXIT_SAPLV01Z_001 to specify your own batch number in exit EXIT_SAPLV01Z_002.
Activities
1. Implement the required enhancement.
Either create a new project or use an existing one.
2. Activate the project.
Your enhancement works only after the project has been activated.
Madhava

Similar Messages

  • Getting serial number box while transfer post in MB1A but not while doing MIGO

    Hi Team
    I am getting serial number box while transfer post in MB1A.
    But getting below error under serial number tab while doing GR through MIGO of outbound delivery.
    Issuing plant and receiving plant, material, batch, qty are same in both cases.
    How can I get serial number box when doing GR? Does any customizing changes needed?
    Br, Kiran U

    Movement type is different for those two screen shots, also you are saying you are using MB1A, but you are using 301 movement type. Generally 301 movement type is not allowed from MB1A t-code.
    Please check these SAP notes if relevant for your case.
    856548 - MIGO: you cannot enter serial numbers
    856662 - T156Q: Missing entries

  • Loss or Gain account trigger while transfer posting

    Hi Experts
    When we are doing Transfer Posting from Project to Unreistricted use stock within same valuation area
    the 'Expense/revenue from stock transfer' key is getting triggered while doing the transaction.  Can any one explain how there can be a loss or gain while doing the transfer posting with in same valuation area?
    Thanks
    SAS

    Hi,
    Generally, Sales Order Stock and Project Stock get valuated separately at Sales Order and Project level. And will not get valuated at MAP.
    So when you transfer material from Sales Order OR Project Stock to Own Stock then if there is difference between Sales Order OR Project Stock Value and MAP of material then this loss/gain will arise.
    To check Sales Order OR Project Stock Value, go to MBBS and compare it with MAP in MM03.

  • Creation of new version and its Posting

    Hello,
    I am trying to create a new version and Posting it programatically. For creating a new version for a particular claim i am using action code A019 and for Posting A043.
    i am callid FM BAPI_WARRANTYCLAIM_SET_ACTION for setting the action codes.
    My new Version gets created but if for some reason the posting doesnt take place i want to delete the new version created.
    How can this be achieved. There is no action code to delete a created verison of claim .
    Please suggest.
    Thanks!!
    Edited by: Swati Dogra on Mar 30, 2011 8:36 PM

    I was able to figure it out... neede to be transfer to Controlling first

  • Status of batch after transfer posting

    I have a situation where a material is on PH status (Hold).
    But the batches are not restricted.
    When I transfer stock using MIGO_TR with movement type 311, the status of batch changes to restricted.
    I tried to search the forum for batch status management but could not find a solution.
    Edited by: Sayan Chatterjee on Sep 14, 2009 7:30 AM

    that occured because of a custom development. Sorry for the inconvinience.

  • Automatic batch determination during transfer posting. Issue.

    Hi All,
    Please could anyone advise to solve the following problem with automatic batch determination:
    1. When delivery is created for sales order, SAP automatically assigns batch number.(SLOC 1)
    2. From time to time there is a need to transfer the same material number, which is on delivery to another sloc2.
    3. Using Mb1b tcode i do transfer posting from SLOC1 to SLOC 2. In batch field i put * or (**) for automatic generation. (movement 311).
    The problem appears here, when SAP automatically assigns the same batch to transfer posting which was assigned to delivery (p.1).
    So that after transfer posting done, there is no required quantity left in batch needed to do a goods issue for delivery. So goods issue is not possible because of that kind of transfer posting.
    Do you have any idea, how to manage this, and to restrict SAP choosing the same batch which was assigned to delivery.
    Thank you,
    Kind Regards.

    There are 3 strategy types setup in MBC3 (1, 2)
    ME01, ME02 which are standart SAP.
    And one started from Z* with settings below:
    Plnt
    Valid From
    Valid to
    Delet.Ind.
    No. split
    Cpl.change
    OnlineBdet
    UnitofMeas
    MProposal
    Selection
    Sort seq.
    AAAA
    04.01.2006
    31.12.9999
    099
    X
    B
    001
    X
    X
    |
    Date of last goods receipt
    ascending
    Kind Regards,
    Andrey

  • Transfer Posting - MB1B

    Hi PP Gurus,
    I have to transfer A material batch A1 to B material batch B1 with transfer posting MB1B and Mtype: 927. I have certain characteristics values for A1 but those are not getting copied to batch B1. Can anybody give comment on as I have added same chara to material B class.
    Regards,
    Pradeep

    Hi Pradeep,
    As per my knowledge, While transfer posting from material to material with batch, system will not transfer same characteristics value from one batch to another.
    Just refer below mentioned thread for it.
    Material to Material Transfer posting
    Also you can enter the characteristics manually in Transaction MSC2N.
    Regards,
    Hiren

  • Partial Release of Batch with creating new Batch

    Dear Friends,
        How to create a new batch while releasing partial lot from UD stock posting?
    Regards,
    Neel

    REFER
    partial lot in inspection lot

  • Transfer posting with MT 321

    Hi PP/QM Expert,
    I am facing a problem while Transfer Posting using M Ty 321...
    Performance Assistance giving the solu as follows
    The inspection stock should be increased, although an inspection is not foreseen for the current goods movement.
    The inspection stock should be released, although  you can only do this using the QM transactions.
    so plz tell me the right way that how i will overcome the error.
    Thnks in advance...
    Nitu.......

    Hi Nitu,
    With what trx you are trying to post the stock through 321. 321 movement type is used to post the stock from QI to Unrestricted. Via Stock posting, the trx to be used is QA11. Otherwise it will give you the error.
    Regards,
    Shyamal

  • No New Batch number creation at the time of Material Transfer Movement(309)

    We are upgarding from 4.6C to ECC6.0. We have an issue in regards with the material movement type 309. At the time of creating the material tranfer using the same material as issuer and receiver, the same plant and storage location ( this process is used by the business to diferentiate batches).
    In 4.6C a new batch number is created automatically when 309 movement is posted; stock and characteristics transfered are allocated at the new batch created automatically.
    The same case in ECC6.0 does not create a new batch as done in 4.6C. We have looked for any SAP note or forum discussion without success.
    If anybody has an answer for this issue, let us know.

    As a matter of fact these configuration has been checked before, additionally we compare configuration at 4.6C and ECC6.0 and it is the same but the new batch creation (for this specific case) is working at 4.6C, not at ECC6.0.

  • Automatic transfer posting after Purchase order creation

    I tried searching a solution for my pbm in this forum, but could not find any and hence posting a new thread. Hope to find an answer.
    I have a requirement of doing the automatic MB1B transfer posting of the PO when the PO is created and saved using ME21n.
    I initially used the BADI ME_PURCHDOC_POSTED for this purpose, in which i am calling BAPI_GOODSMVT_CREATE.
    But when i debug and see this BAPI returns an error saying that the PO doesnot exist.
    Which means, The PO is not yet created when it reaches this BADI.
    Is there any other BADI/user exit/ehancement spots? where the PO is already created and i can do the transfer posting?

    Hello K ,
    better to have a custom program to create PO & GR at the same time, u cannt create GR at the time of PO creation or change,u may get same kind of errors , ie. PO doent exists or PO locked by USER XXXX.
    regards
    Prabhu

  • New batch creation during mvt 309 via MIGO

    Hi,
    I'm doing a transfer posting material to material (movement type 309). I want the system to automatically create a new batch (for the receiving material). 
    I've set in OMJJ for movement type 309 to create batch automatic/manual without check
    I've also set M7199 from "W" to "E".
    Once that was done, using MB1B, the system was able to automatically create a new batch for me based on the internal batch number range. However, when i tried the same movement using MIGO, it doesnt work. in MIGO, system always populate the "from" batch into the "dest" batch field.
    Is there any way i can set so that in MIGO, the system to propose a new batch?
    many thanks in advance

    Possibly, have a look at OSS 748216.
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=748216
    Regards,
    Nick

  • SLED error in LQUA table after batch to batch transfer posting -

    Hi All,
    I have done a batch to batch transfer posting in 309(same material - batch to batch).
    At IM level the receiving batch charecteristics have been copied.
    When i create a TO from the posting change number using LT05 and check the bin stock status or check LQUA table,the SLED of the receiving batch has the SLED of the issuing batch.
    Problem is not with IM stock/WM stock but,only the batch characteristics are not getting copied at WM level.
    Please suggest a solution to this issue.
    Regards
    Deepak

    Hi All,
    Stock of the material in IM and WM are as follows
    IM sloc -  - batch A - 50EA - SLED  -  15/5/2010   WM - bin A01 - 50EA
    IM sloc -  - batch B - 50EA - SLED - 15/10/2010 -  WM - bin A02 - 50EA
    Scenario is I have done a batch to batch transfer posting of the same material for 20 EA from batch A to batch B in MB1B.
    batch charecteristics of the both batches is
    After I create a TO from the posting change number.
    After the TO creation and confirmation IM stock is
    IM sloc -  - batch A - 30 EA - SLED  -  15/5/2010  
    IM sloc -  - batch B - 70 EA - SLED - 15/10/2010
    WM - batch A - bin A01 - 30 EA - SLED  -  15/5/2010  
    WM - batch B  - bin A01 - 20 EA - SLED  -  15/5/2010 (wrong SLED)
    WM - batch B - bin A02 - 50EA - SLED   -  15/10/2010
    Can someone suggest if there is any configuration settings or this is s standard system behaviour.
    Regards
    Deepak

  • Stock transfer of QM stock thereby creating a new batch number

    Dear Experts,
    I have searched for this content but didn't get content which match my requirement.
    My client has placed a requirement.When they receive a material against a purchase order through movement type 101 they receive it to quality inspection stock.After quality inspection this material is taken to unrestricted area through movement type 321.
    Now after this material comes to unrestricted area,this material is again subject to quality inspection.Quality testing is done after a particular period.
    Next quality testing date is calculated based on this formula:-321 movement type posting date + quality inspection interval days maintained in material master.
    i.e:-If for a material 321 movement type is 16th July 2014 & if quality inspection interval days for that material is maintained as 365 days then next quality inspection of that material will be after a year.
    Now client has placed a requirement when this material comes to quality testing,15 days prior to quality testing this material should move to quality inspection area from the present unrestricted area thereby generating new batch number for that material.
    This changes the client will view in MMBE.
    Gurus Please help as I'm new to QM.
    Kind regards,
    Pradeesh.P

    Hi,
    This is not possible,you cannot generate a new batch number through recurring inspection.
    If you require a new batch number then during stock posting in UD you post it to new material,in your
    case this will be the same materiaal and you give new batch number.
    In this way a batch material has come for inspection and after inspecting it you are changing the
    batch number of the material.
    CSN

  • Activation of batch management -Uploading and creation of new materialBATCH

    Dear All,
    Good day !!!
    We have activated Batch management in our business, whcih was running without BATCH management Active before.Now we have activated the batch management ,Automatic in case of GR creation and by FIFO basis in case of goods movement and SD and PP modules also.
    Now every transactions and data are working properly. But we need clarity on the master data upload and inventory upload.
    Suppose if we need to carry out the for the same material Batch to be activated or whether we need to go for new material and batch management active , Pleaes clarify on the process and also how we could upload the existing inventory from the existing NON Batch material into BATCH material (Which is created wholly as a new materail with batch)
    KIndly provide on the above 2 points which would be helpful for our business.
    Thanks and Regards,
    Amol.

    Hi
    I think with the help of  FI create a dummy cost centre and issue the material to the cost centre ,
    Look no Purchase requisitions or purchase orders are open on the material
    activate batch management to material and using 202 movement get back the material .
    as the process is very tedious use the help of badis for updating and cancellation if required
    this may be only process for activating new batches for material

Maybe you are looking for

  • Muse crashes every time I try to open a project.

    I was working on a file this morning and saved it on my desktop I then went to open it on my laptop and Muse crashes every time I try to open it.

  • Material document getting with mvt 552 during ticketing

    Hi, I am creating ticketing activities  for STO using movement scenario 16, with reference to the nomination i have posted two ticket documents, it had created the STO delivery in the back ground and material document also got created with movement t

  • Fail to convert between UTF8 and UCS2: failUTFConversion

    Hi I use Oracle 8.1.5 with NLS = 'CL8MSWIN1251' (russian). JDeveloper 3.0 and JDBC if I write - "select substr(str,1, 10 ) from table" I have not Exception, but I get instead of 10 symbol - only 5 if I write - select substr(str,1, 11 ) from table I h

  • Listcube selection variant

    Hi Experts, In bI 7, is there a way to save selected selection characteristics as variant when using listcube? As you know , its a pain when using listcube to check data especially when there are many characteristics involved or when infoset is the i

  • Alignment problem in IE

    Hi all, on the page below, I am having diffulty figuring out why the grey bar on top of the left hand navigation does not stretch all the way. http://eminentsoftware.com/Products_Ecommerce.html Works ok on this page: http://eminentsoftware.com/Produc