To restrict Dual Batches

Dear SAP MM Guru's,
We've  a Requirement to restrict Dual Batches for a Material .
Please suggest any User Exit
for EX; In Below Table Material 1, Size M HS, having 2 Batches, A/C to Our Business Scenario for One Material one Size should be only One Batch needs to maintain in Table : MCHB ..  Please do the Needful.
Material
Plant
Storage Location
Batches
Year
Size
Stock Qty
Material 1
Plant 1
Storage Location 1
1892890
2014
M  HS
158
Material 1
Plant 1
Storage Location 1
2294650
2013
X
XXLHS
0
Material 1
Plant 1
Storage Location 1
2294670
2013
X
M  HS
0
Material 1
Plant 1
Storage Location 1
2294702
2013
X
XL HS
0
Material 1
Plant 1
Storage Location 1
2294705
2013
X
S  HS
118
Material 1
Plant 1
Storage Location 1
2294724
2013
X
L  HS
187
Material 1
Plant 1
Storage Location 1
2294725
2013
X
3XLHS
0
Regards
Kumar

Hi
Hope you aware the delivery tolerance is coming from Purchasing value key you maintained in the Material master.
So you can restrict the over delivery percentage at purchasing value key itself.
Or please try the screen lay out to only display the field after maintaining the correct % in PVK.
Or Try some user exit with the help of ABAPer.
Hope it helps.
Thanks/Karthik

Similar Messages

  • Time restriction on Batch Job

    Hi Friends,
    I have a requirement to set up a batch job to run every 15 minutes to print some labels. The catch is that it has to run only on working days between 6:15 AM and 6:15 PM. I believe that we can schieve the working days part by giving the factory calendar in restrictions and selecting the option 'Do not execute job on Sundays or Holid.' but I am unable to find a way to restrict is based on time. Is there any setting ro parameter in SM36 that can help achieve this or is there any other workaround for this.
    Thanks in advance for any hekp you can provide.
    ~ Praveen

    Hi Praveen,
    we had faced a similar issue and were not able to find anything substantial.
    What can be done as a workaround is to schedule the job periodically based on calendar to run every fifteen minutes and in the program code you could write the logic to terminate the program if time is not between the stipulated hours.

  • Software Restriction Policy batch vs vbs

    Hi there,
    I have recently implemented a Software Restriction Policy on a Computer level with Disallowed level as default.
    I whitelisted the \\mydomain\SysVol so that my Group Policies could run.
    I have a few batch files that run upon user logon. The batch files run but the the commands within them do not, they are being "access denied"
    example of one of the batch files:
    sc start servicexyz, killtask processxyz
    if I were to convert my batch script into a vb script, would vb script be treated as a single file? unlike batch file which makes calls to other executables.
    Thanks,

    What you are trying to do cannot be done with a GP and  cannot be done with a script.  Thisis becsue what you are trying to do makes very little technical sense.  Either delegate the right or use another method.
    ¯\_(ツ)_/¯
    This is how it worked for me just fine before I introduced SRP. 
    When user logged off, a logoff batch script used "sc start service" to start service
    When user logged on, a logon batch script used "sc stop service" to stop a service from running
    Before SRP, all of my users were local administrators of their computers so permissions were not in a way. After the SRP introduction,
    I had to remove all users local admin right and now experience this issue.
    Do you mean it makes little technical sense with SRP or in general? Care to elaborate please?
    Why do you think you have to start and stop the service all of the time?  It sounds like a design issue or an issue with  a bad service.
    You can use SC to give users permissions on a service.  You can give out just start and stop (control) to a group thyne add or remove users from the group.
    The group can be a domain group and GP can change the security on a service.
    ¯\_(ツ)_/¯

  • How to exclude restricted-use batch from batch-determination in backflushin

    Hello,
    In the Goods-Movement screen during confirmation transaction (i.e. backflushing), we see that SAP has selected some batches that are restricted-use stock.  This must be due to some setting in batch-determination functionality.  We want to know how to exclude restricted-use stocks from being considered in batch-determination.  What setting, in which config transaction, can help us achieve this ?  Kindly help.  Thanks.
    - Chetan

    Thanks Manoj,
    That was a very good information and I learnt something new.
    However, I checked, and in that config, we are already "not-allowing" restricted-use stock for MvT-261.  So what else can be used to prohibit its selection during backflushing.  Thanks.
    - Chetan

  • Restriction XD01 batch input mode

    I have a specific program to create customer master. This program executes a batch input with Xd01 transaction code. How is it possible to use this program without giving XD01 transaction code to the user?

    Solution found using an enhancement implementation in SAP program SAPMF02D
    Edited by: Benjamin CABOT on Aug 26, 2008 3:55 PM

  • Batch Determination Restriction in VL02N

    Dear Expert,
    How can i restrict the batch determination option in VL02N. Is there any object which can be used to block the said activity for certain users or disable the option of batch determination.
    Regards.
    Edited by: Govinder Singh on Oct 20, 2009 3:00 PM

    Hello,
    Check with objects C_TCLA_BKA and C_TCLS_MNT
    You can trace using ST01 and find respective objects.
    Regards,
    Gowrinadh

  • Message M7 - 665 -Batch & has the status restricted-use )

    Hi
    Batches with are reached expiry date are giving Restricted status by using deadline monitoring transaction. (QA07 & QA05)
    With restricted status Batches are allowing for the Consumption to the order/ cost center and also for the 311Movement.
    In order to control this consumption we made the information message in to Error message. (M7 -665 -Batch & has the status <restricted-use>).
    This setting done in MM-SPRO- Inventory management ---Define attributes of system messages.
    This setting is applicable for all the Movement types.
    Now the requirement is For the Movement type 344, 551 exemption need to be given so that posting to be happen from restricted status to Blocked stock / Scrap.
    How to Exempt the 344, 551 From the Message u2013M7 -665 Category?
    Regards
    Sasikanth

    You cannot make exceptions. If you want the error message selectively, use the user exit at the time of goods issue. Here you can issue the error message by movement type.
    Lakshman

  • Restricted batch-Availability Check

    Dear Mates,I have restricted particular batch in Traxn :MSC2N which are all self life expired.My issue is while creating Sales order system undergoes availability check and during availability check system also check for the stock in the restricted batch and since been it is marked as restricted system could not able to confirm the stock for that sales order and hence forth unable to proceed further.Could anybody suggest me how to prevent system from undergoing availabity check for Restricted batch?If anymore clarification required plz write to mne

    >this is more of Availability issue
    HI,
    You are very much correct.
    Go to OVZ9,
    select the availability checking group and checking rule for the material that are handled in batches and make sure if you have selected Include Restricted-use Stock
    If it is selected, then just deactivate the same and check once again.
    Post your feedback
    Hope it helps you
    regards,
    Sagar

  • Material costing problem in import to arrive at batch profitability?

    Dear all,
    Here my client requirement is to arrive at a material profitability with respect to that batch(shipment), but some times in import procurement exact profitability will not be arrive due to practical problems, which are
    1. freight & demurrage paid to shipper is not the exact cost which need to be incurred on to material because the freight is imaginary (20%) in order to have assessable value at the time of PO, however this can be adjusted at the time invoice but what about the demurrage demurrage paid by company to shipper will be in turn collected from handling agent, and hence net demurrage will not be known at the time of PO.
    Kindly suggest me on this to arrive at batchwise profitability with respect tom material?
    regards,
    Sanjana....

    Batch management is used to safe gaurd the homogenity fo material.
    Batches also maintained if you want to split value of the material
    Batched are identified with batch numbers. These numbers are created manually or dynamically while entering goods receipt.
    *One batch can be posted once.
    Batch will have two statuses Un-restricted and Batch restricted.*
    Batches can be maintained with classification with which we can assign some characteristics like quality related for shelf life related.
    To activate the batchmanagement for a material you must select the batch management check box in material master purchasing view or in general plant storage.
    Manual creation:
    Create Batch -> MSC1N
    Enter material
    Batch number (Unique for material)
    Create PO -> Click on batch tab -> Assign batch number (created) and Post.
    Batch with Classification:
    Create Characteristics : CT04
    Create Class: CL02 -> Click or char tab -> Enter Characteristics.
    Create Material with Classification View -> Select Class type.
    Just try like this you will get it and create PO and check the posting with Movement 341 & 342 for Batch restricted and un-restricted stocks.
    Regards
    Ravi

  • Automatic Batch Number Generation in tcode MIGO...

    Hi Experts,
                     There is automatic Batch Number is generated  after clicking on Pushbutton  "Check" in transaction code MIGO. Instead of that user want Batch Number Generation after clicking on Pushbutton "Post" . Can anybody tell me the procedure for the same..
                    Thanks in advance.
    Best Regards,
    Vinayak

    HI Vianayak,
    You can implement a Badi for your logic.
    You can implement Badi :MB_MIGO_BADI and write your logic in method CHECK_ITEM .
    Here you can restrict the Batch number based on Fcode for the Check and Post buttons.
    Like if the user click on Check button: based on the fcode for the check button u can restrict it and similarly if the user click on Post button you can pass the value for Batch number. This method get called in both the cases.
    Hope this solves your problem.
    Regards,
    Satyam

  • Blocking a batch with a delivery

    Hello All,
    I have a scenario, where I have a batch assigned to a material on a delivery and it shows "Sched. for Delivery" in the MMBE against the correct batch. However, I want to be able to reserve this qty, or remove it from the unrestricted qty use so that it can not be used for any other operation until the delivery is PGI'd.
    Here is what happens; A delivery is created, and picked for 1 smaller batch on say Monday, but the container truck sits in the lot until Thursday. The batch/qty that is picked shown in MMBE as "sched.for delivery" stock type, but the original QTY still shows as the full amount in unrestricted until the delivery is PGI'd.
    On Tuesday, all the smaller batches are mixed into a bigger tank and a new batch is created. Physically the material is not mixed, because it is in the truck already, but from the SAP system standpoint all the qty in the batch assigned to the delivery is mixed into the new batch, and disappears, this consumes the entire qty using MB1B Mvt 311.
    On Thursday, when the users go to PGI the old batch, it is gone, and they have to back out the batch in the delivery, undo the QA usage decisions, etc...
    EX: If there is 100kg in restricted stock, an 20kgs in the "schedule. for delivery "stock type, I want the restricted availability to only be 80kgs, or to reduce the restricted qty batch by using the delivery note.
    What I want is either a hard block on the stock when it is picked, so it can not be used for anything else, or a hard system message stating to the user that only XX qty is available for particular batch when they are mixing the larger batch.
    I have thought about a user exit, and I am not sure how that would work. But there has to be a setting in config that makes the "shed. for delivery stock" blocked like it does for say QA hold, or resticted.
    Any help would be great.
    Jeff

    Hello
    could u please check the above details available for MSC2N tcode. You can check this and accordingly you can set the 'Restricted & Unrestricted' buttons for transaction.
    Program Name      SAPLCHRG       
    Screen Number     2100                                                                               
    Program Name      SAPLCHRG       
    Status            BATCH                                                                               
    Table Name        DFBATCH        
    Field Name        FZUST          
    Data Element      FZUST          
    DE Supplement     0                                                                               
    Screen Field      DFBATCH-FZUST  
    Program Name      SAPLCHRG       
    Screen Number     1000           
    Amol

  • Batches Consumed When Document sent for approval

    When Inventory transfer Document sent for approval after selection of batches,the batch gets consumed to other document during the time of approval document approved and added.This throws error message as negative inventory in batch when approval document is approved and added.what is the solution to restrict the batch selected in document sent for approval.

    Hi Naresh......
    You can put restriction to avoid this by SP Transnotification......
    Regards,
    Rahul

  • Full batch quantities selected in batch determination in process orders

    In batch determination of a process order, how can you require that only full batch quantities be selected?  I do have selected multiple batch splits.  But would rather it pick full batch sizes up to the requirement quantity.

    Dear,
    full batch sizes up to the requirement quantity
    What it mean?Up to my understanding you want to restrict multiple Batch Determination..Correct me if I Wrong.
    If  yes then
    In Batch Determination Strategy (COB1) set No. Batch Split allowed up to 1 only..
    Regards,
    Dhaval

  • ATP Settings and Expired Batches

    We are using SAP-WM for its warehouse activities and batch management activated for few materials. We have situation where some batch managed materials are expired but the delivery IS created for these expired batch materials. Though the batches are expired the material is in unrestricted stock.
    Since the batch is expired, ideally the ATP should not see this as an available stock and delivery should not be created. Can prevent this type of situation through some ATP (or other SD) configuration?
    Thanks
    Tejas

    This you would have to manage by moving the expired batch to 'restricted' (when batch status management is active) or 'blocked' (when batch management status is inactive) status. Typically, QA07 is a standard transaction that is set as a batch job to move batches to restricted/blocked status upon expiry.
    Once you are able to manage to move the status, you can tweak the delivery ATP to exclude 'restricted' or 'blocked' (typically, these are not set as part of standard in which case no further configuration is needed).

  • What is "Restricted Use Stock"?

    Hi gurus,
    Request to guide on the following terminology "Restricted use stock".
    In customizing of MRP->Net requirement calculation, is advisable to consider this stick in planning?
    Regards
    Nitin

    This indicator determines whether restricted-use batch stock is included
    in MRP and in the availability check.
    In net calculation if the status of batch is restricted then whether you want the system to consider this stock for net calculation as available stock
    This depends on the batch status setting...in SPRO
    in transaction OMCS, if the batch status management is active, then when we do GR the we can change the status from unrestricted to restricted to hold the batch for some purpose. In such cases if you tick  i.e. Restricted use stock then  accordingly net calculation result will change           
    exact help document is as below
    Enhancement to Batch Management, which enables you to
    make a statement about the usability of the batch. A 
    batch is either available for use or unavailable and 
    this is indicated in the R/3 System as:              
    o   Restricted                                                                               
    o   Unrestricted                                     
    pl come back if you need more clarification

Maybe you are looking for