QUANTITY CHECK AT PGI

Hello Friends,
              I am having a requirement of
maintaining minimum stock level at a location.
I want to mainatin stock of one material code at a particular location say one quantity of finished good
should be there at a location but user should be restricted to use it , but he should be able to make delivery and process post goods issue if quantity of material is greated than one , as in sales flow when user do Post goods issues and
consumes the good.
Regards
jase

Hi Jase,
you can put the required checks in the following userexit for the case when user try to do PGI during delivery processing :
USEREXIT_SAVE_DOCUMENT_PREPARE  in the include MV50AFZ1.
Ask your ababper for the following :
IF  < Event is PGI during DO processing or the criteria as you wish ( example : sy-ucomm = 'WABU' ) >
AND
IF < Your Conditions as per requirement >
AND
IF < Other Checks if required >
THEN
< DO THIS AND THIS > here you can give the error message definition
ENDIF all
Try out this , it will be easy as well. hope it may suit your requirement.
Reward points if seems useful. Thanks.
Best Regards,
Gaurav Raghav

Similar Messages

  • Credit check at PGI

    Dear Friends,
    1. The requirement is to do the credit check at Goods issue level. The sales order qty might be different from the GI qty. Say the sales order is created for 100 kg with the total value Rs 5000-00, but the GI is done for 50 kg which amount to Rs2500-00. Now the credit check should consider the value against the GI qty only. Do we need to have the pricing configured at Delivery level to get this done?
    2. The second requirement is to do the credit check at Goods issue level, also against the Advance payment/Letter of Credit (LC) / Bank Guarantee (BG) from the customer.
    Does the standard Credit management settings allow check against Advance payment/LC / BG? 
    Do we need to use a User exit for the above 1 and 2?
    3. Whats the user exit for PGI?
    Thanks
    Isaac

    HI
    There is no need of any pricing to be done at delivery level.
    For credit check at PGI level you can use the credit group 03 credit group for goods issue.
    and assign it to delivery types here you can enter it in GI credit group
    regards

  • Sales BOM - Delivery Quantity check during post goods issue

    I am working on a problem in my company.  We are running ECC6.0 ehp 4.  We are using standard ERLA functionality with sales bom (5) for product kits.  Delivery manager has requested that we investigate a system check during delivery post goods issue.  THe problem is that when shipper processes delivery, if they have to backorder they update pick and delivery quanity on the TAE item.  They should also update TAQ delivery quantity, so that backorder amount is correct.  If they make data entry error, backorder quantity is incorrect.  The delivery manager has tried a number of attempts to re-train and correct mistakes.  He is now asking that SAP issue a hard error if TAQ and TAE delivery item quantities are not the same.
    I have searched on SAP Notes, Forms, and Google and do not see solution.  I know that at delviery item category there is a minimum qty check for the item category.  I've not found a user exit or configuration point that checks quanities.  Does anyone know of out of the box solution?  Or where would I put in custom user exit?
    Test Case
    Create Standard Order
    Enter Material with Sales BOM
    ITEM A     Qty 10
    BOM explodes with Item categories
    ITEM A     TAQ parent
    ITEM B     TAE child
    Create Delivery
    Delivery has item categories TAQ and TAE
    TAE is pickable, TAQ no pick
    Process TAE
         Pick quantity of 5 items
         Change delivery quantity to 5 items
         Forget to change TAQ delivery quantity
         Pack 5 items
    Post Goods Issue the delivery.
    Is there are requirement/routine than can be run at time of PGI that checks TAQ delivery quantity is the same as TAE delivery quantity.  If quanities are not the same, show hard error and message do not allow PGI to complete.
    Thank you
    Tony Romain

    I tried setting that field in the sale order this morning.  By defaulting it to "C"; I was able to get warning message for TAE line.  I was able to post goods with TAE and TAQ, being different quantities.  I need the check to determine if TAE and TAQ delivery quantity are different.  Using this fields seems to be line specific.  Thanks for the suggestion.  I now know what that field does to the delivery.
    I rewarded points.
    Thanks,
    Tony

  • Partial quantity check by the system in third party sales

    Hi
    In third party sales , i created one third party order for 100 quantity and i did MIRO for 89 quantity . Now when iam doing the billing with reference third party order how system will know that i did miro only for partial quantity
    where is the check that system will check the miro quantity and allow that quantity for billing . Where exactlythe link between the sales order and MIRO document

    Hi,
    It's in copy controll VTFA
    got item level >>> Slect item category >>> details >>> put billing quantity as - F (Invoice reciept qty less invoiced quantity)
    Kapil
    Edited by: Kapildev Farakte on Jan 19, 2010 9:31 AM

  • GR quantity check against Production Order in MB31

    Hi Experts,
    How to check GR quantity against Production Order (101) can not be greater than Confirmation quantity for the Production Order in MB31.
    Regards,
    Praful Mankar

    Hi Praful,
    Use user exit MBCF0002, here put condation that check AFEU table (confirmation table) and allow
    that quantity only to do GR
    and it will triger at the time of MB31
    Regards
    Girish

  • Material Determination - quantity check in sales order

    Hi everyone.
    Hope all is good.
    I have a doubt in Material Determination.
    If I need to substitute a product in Material Determination, how can I come to know whether the quantity of the replacement material that is replacing the substitute material is available or not.
    I know while creating a delivery the system will show quantity not available.
    However, how we can see the result while placing a order?
    Because there can be a scenario the material which is replacing the different material, we might dont have their quantity also available. So, it will be a waste to create a order and then wait for the results in delivery.
    Another situation.
    In MD process, what my client is looking for is
    Substitute Reason- Availability
    If material X does not have quantity it should be replaced with Material Y.
    However if Material X has quantity, then MD should not take place. No replacement should happen.
    The reason is there is a huge in and out of stock every now and then.
    Do both the scenarios can be worked out in standard SAP?
    Please suggest.

    Hi Joan,
    Thank you for the reply. I understood the subsitute reason.
    But my question is We have substituted Y for X.
    Now what I am asking is what if Y is also not available. Can in the order itself we can come to know whether quantity of Y is available or not instead of delivery.
    Second if the subsitute reason is "quantity not available"- not in front of the system so not sure about the code. Same Y for X and now if quanity for X is available the material should not be susbtituted.
    Please correct if I am wrong.
    Regards

  • Availability check in PGI?

    hi,
    we are using batch (first in first out) for delivery note. However, we will create DN before do the goods receipt. So after DN is created, still no stock. Any solution to do mass availability check after DN had created. We are using project stock. pls advice. thanks

    Hi,
    Go to OVZ9 for your availability check , then check if " Incl purch. requisitions" field is marked or not.. I am sure it is not in your case as of now... mark it then see the effects..
    Hrishi

  • Goods issue quantity check

    Hi Friends
    Scenario: There are 2 components with quanity of 100 each for header material (10 qty) .Both teh components have backflush indicator.
    User iwants option of doing Goods issue through MB1A also.Suppose 20 qty each is issued through MB1a by using Mvmt type 261 ,the reamining qty that needs to be issued is 90 each.(reservation is not reduced )
    When user does confirmation of order by CORK for 10 quantites the quanity that comes in Goods movement overview is 100 qty.
    Why the quantity that si already issued is not taken into account.?

    Sachin,
    As you said you have set the backflush indicators for both the components. Then if you try to issue the components with MIGO or etc system will issue error message 'Documents contain no selectable items.' if the order contains these two components only.
    So it's clear that the GI against the order with t code MB1A is not against the reservation created by the system & will be treated as unplanned goods issue.
    That is the reason system proposes the whole quantity while confirmation.
    Also if you set BF indicator then you can not issue & you are not supposed to issue the component without confirmation. There is no exception
    Hope this helps you.
    SmanS

  • User exit for maintenance order Quantity check

    Hi All,
    I have one requirment in PM maintenance Order creation IW31.
    If Quantity is not entered in maintenance Order creation, system should through message.
    I have tried the following Enhancements
    IWO10002
    IWO10009
    Please help me in this regards.
    Deekshitha.

    Hi
    Please try from the list of available EXITS triggered in the case of IW31 transaction.
    EXIT_SAPMIWO0_003
    EXIT_SAPLIWO1_001
    EXIT_SAPLCOIH_003
    EXIT_SAPLCOIH_005
    EXIT_SAPLCOIH_007
    EXIT_SAPLCOIH_008
    EXIT_SAPLCOIH_009
    EXIT_SAPLCOMK_003
    EXIT_SAPLCOIH_012
    EXIT_SAPLIQS0_001
    EXIT_SAPLCOIH_014
    EXIT_SAPLCOIH_015
    EXIT_SAPLCOIH_016
    EXIT_SAPLCOIH_017
    EXIT_SAPLCOIH_018
    EXIT_SAPLCOIH_019
    EXIT_SAPLIWO1_004
    EXIT_SAPLIWO1_005
    EXIT_SAPLISM6_001
    EXIT_SAPLISM6_002
    EXIT_SAPLIQS0_017
    EXIT_SAPLCOIH_025
    EXIT_SAPLCOIH_026
    EXIT_SAPLCOI1_027
    EXIT_SAPLCOMK_029
    EXIT_SAPLCOI1_030
    exit_saplcoih_030
    exit_saplcoih_031
    exit_saplcoih_032
    <b>Reward points</b>
    Regards

  • Function module to Post picking quantity & PGI

    hi all,
    i want to post picking quantity and do PGI for the given delivery document . please let me know if there is any BAPI or function module to do that .
    thanks in advace,
    aswin.

    Hi Friend,
    Use function moudle
    SD_DELIVERY_UPDATE_PICKING, it will do picking and PGI both for delivery.
    Regards
    Krishnendu

  • Checking of min. quantity, works erroneously in last purchase and templates

    Hi,
    We are running SRM4 and SAP CCMv2.
    We do a minimun quantity check in the catalog via BADI. It works fine, but when we do a shopping cart using the old purchases & templates option, an user error appears about the quantity.
    It isn't correct because the quantity is correct in the former shopping cart but when we chose the position, the catalog is open, the quantity is set to 1 anf for that reason my check show an error, about the quantity is bellow that the minimum quantity.
    Is possible to distinguish when I am working in the catalog and when I am working with the last purchase orders and template.
    Thanks
    Jorge

    One little bump then to death it goes.
    I just no longer know what to google, and the vim help pages aren't helping.

  • By pass check from Delivery to PGI

    Dear SAP Gurus,
    Presently in our company,The credit check is set at Delivery Level.
    Now,without any futher setting In the TC OVA8 I want to bypass this check to PGI(So,that the system should allow me to create delivery,to pick,But stop me at PGI Level).

    Kindly explain " without any setting in OVA8" the way u r saying abt by passing OVA8..it seems u dont want to use the credit check facility given in OVA8 in std SAP.........i dont know how u will make credit check without making ur client requirement setting in 03 credit group and assigning 03 to delivery type
    anyway...try for user exit...but i dont know abt coding in this
    LVKMPTZZ
    LVKMPFZ1: USER_CREDIT_CHECK1
    LVKMPFZ2: USER_CREDIT_CHECK2
    LVKMPFZ3: USER_CREDIT_CHECK3
    Regards
    Jagdish

  • Credit Management- difference between Credit check at Delivery & PGI

    Dear Gurus,
    scenario : The client already have Credit check at Sales order & Delivery . he want to allocate inventory to the order in case of Credit check at sales order.also delivery should be blocked.
    Whats is the possible solution ?
    If i will remove credit check at sales order & only credit check at delivery. is that solve the problem & what is the customisation for the same ?
    what is the difference between credit check at delivery & at PGI
    Please Help me to solve this critical problem
    Thanks in Advance
    Vishal
    Edited by: Vishal Shirke on May 22, 2009 9:47 AM

    Hi Vishal,
    SAP can do credit check at three levels Sales order, deliveries and PGI.
    When checking at Deliveries:-The credit block will not allow you to create Delivery document if you set credit check for Deliveries.
    the stock will not get reserved for the delivery.
    We follow this when we dont want to create delivery doc when customers credit limit exceeds.
    At PGI Level --> The credit block will not allow you to do the PGI if you set credit check for PGI.
    you can create delivery document and also pick the stock.
    the stock will  get reserved for the delivery
    So according to ur scenario u can go for Credit check at PGI.
    check this thread
    Re: credit management
    PS: Do search the forum you willl get lots of informative answers which will also enhance ur knowledge.
    Thanks,
    Raja

  • Unit of measure issue when PGI done through IDOC

    Dear Experts
    In my system PGI against outbound delivery is being done through inbound idocs in SAP. In my outbound delivery the sales unit is maintained as CS (Case) and BT (Bottle). The quantity in my delivery is 10 CS and 10 CS for both the line items. When IDOC is getting posted in SAP it has quantity as 10 in field LFIMG of segment E1EDL24 of IDOC type DELVRY07 for both the line items. We are not passing any unit in the field VRKME of segment E1EDL24 of the IDOC. The IDOC gets successfully posted but when I check the PGI document the it shows quantity as 0,417 CS and 0,0833 CS.
    1 CS = 24 BT for material 10002616
    1 CS = 12 BT for material 10002617
    Base UoM for both the materials in the delivery is BT. What SAP is doing is converting the CS quantity in terms of base UoM. I have attached the PGI document and outbound delivery screenshot for reference.
    After PGI the outbound delivery line item quantity changes as shown in the attachment.
    Please let me know how to resolve this conversion issue so that I pass the same quantity as in my outbound delivery in IDOC and PGI should get posted with any change in quantity in my outbound delivery in terms of base UoM.
    Thanks and Regards
    Satish Kumar

    Hello Sathish,
    I have some information for you instead of solution.
    First, Let me repeat my Understanding first,
    Material Base UOM is BT.
    But, Delivery Unit is CS. that I could see in Delivery Screen shot.
    This Conversion will be carried to Delivery. We can see in Delivery item level that information.
    Here the point that we need to remember is, Once the Delivery is created, the UOM will be carries down to Delivery tables ( LIKP, LIPS ). That means, For further Transactions, System uses the UOM which is carried down to the delivery.
    So, During PGI, Delivery already with UOM CS, So, System posted the PGI in same UOM. But, When it comes to display, in your above screen shot, you can see both UOMs. i.e., UOM and Base UOM.
    We have two lines here.
    0.417 Qty and UOM as CS - First line - Because, your delivery is already in CS UOM.
    10 Qty of Base UOM as BT - Second line - This is the conversion happened for PGI.
    As of now, I do not see any issues with your delivery. It created UOM as CS. And, Posted UOM as CS.
    I really do not understand the conversion issue that you have mentioned above. Now, Can you tell about your issue again.
    For resolution, you need to run the fresh scenario again.
    Regards,
    Sathish

  • Report for PGI & billing value with reference to SO Line item

    Dear all,
    Please guide me whether there is any standard report available to check the PGI value and billing at a time with reference to a sales order (line item).
    Thanks & regards.
    Pranab

    as far as I know there is NO such standard report.
    you would try to build sap query based on VBAK/VBAP using VBFA checking LIKP/LIPS and VBRK/VBRP...
    but you may request abaper for more professional report with MKPF/MSEG and BKPF/BSEG

Maybe you are looking for