Auto GR Receipt based on ASN Quantity

Hi Friends,
Can you please tell me, in which BADI, I can write code for following steps
1. Check the Shipping Quantity in the ASN ( Advance Shipment Notification )and   the Order Quantity in the PO
2. Check the tolerance
3. If the Shipped Quantity is less than tolerance then Auto Receive
4. If the shipped quantity is greater than tolerance the send error email to requestor
If there is no BADI, Please suggest me, how to solve this.
Regards,
Venkata.

Hi
Which SRM version are you using ?
Use transaction - SE18 for the BADI Definitions
Try using the BADIs
<b>BBP_CREATE_PO_BACK</b>       " -> For Back End Purchase Order
<b>BBP_CREATE_PO_BACK_NEW</b> " -> For Back End Purchase Order
<b>BBP_DOC_CHANGE_BADI</b> " -> for making changes to PO
<b>BBP_DOC_CHECK_BADI</b> " -> for issuing your own messages
Hope this will help.
Please reward suitable points, incase it suits your requirements.
Regards
- Atul

Similar Messages

  • Using MBGMC Message Type To Post Auto Goods Receipt in ECC

    We are using Basic Idoc Type :MBGMCR02 to Post Auto Goods Receipt in ECC.
    This happens when external system ( 3rd Party System) sends this message which in turn posts the GR in ECC.
    Thru Goods Movement BAPI
    My Question is CAN WE POST auto goods receipt thru MBGMCR02 with Inbound delivery as reference document - Instead use ASN ( Advanced shipping notification ) which is Reference document in inbound delivery to Post Goods receipt in ECC.
    This is required for our integration peice with 3rd party system.
    And also pl let me if we can use Basic types MBGMCR01 or MBGMCR03   to post auto goods receipt in ECC with reference to PO which has confirmation control key set and instead of passing inbound delivery number can we pass ASN number which is external delivery ( Reference ) number and post goods receipt successfully in ECC.
    Would appreciate your immediate help in this regard.
    Regards,
    Mahesh

    We have used Message type : WMMBXY with an enhancement to user exit to mark status of inbound delivery to complete after entire quantity of Inbound delivery has been received.
    Thanks,
    Mahesh

  • Auto Goods Receipt posting in ECC using VL32N

    Hi ,
    We have a situation where in we have to post Goods receipt in ECC thru inbound IDOC with reference to  SNC - ASN.
    Till now we thought of using MBGMCR  - Message type with Idoc type : MBGMCR03.
    As MBGMCR uses BAPI - MB_GOODS_MOVEMENT - It calls in transaction : MB01 to post goods receipts.
    Which is the real problem - here we are posting goods receipts against SNC- ASN  number by passing this ASN number into E1EDP20 segment field LIFEX  but in the VBLEN field this BAPI is considering Material document number - Which in turn is not  updating inbound delivery document flow after goods receipt is posted.
    we have noticed same  inbound delivery is been considered multiple times for Goods receipts - because the inbound delivery document flow is not getting updated -  Which is the issue.
    Can any one used an IDOC (inbound ) in ECC to post Goods Receipt (101 movement ) which uses VL32N transaction.
    And is it a BAPI or any other thing ?
    Would appreciate your help.
    Regards,
    Mahesh

    We have used Message type : WMMBXY with an enhancement to user exit to mark status of inbound delivery to complete after entire quantity of Inbound delivery has been received.
    Thanks,
    Mahesh

  • Auto Goods Receipt

    Hi,
    I have a WBS BOM with 2 levels. In the 1st level I have HALB In-house items and second level ROH. When confirm production orders for level 1 in house items there is NO  auto goods receipt. This is intended based on the control key. But when I am doing he production confirmation for the Ultimate header material, Auto GR is happening. Header material type is also HALB.
    For both orders I am using the same control key and for both materials production scheduling profiles are same. Then what is the other possibility to control auto GR?
    Rex

    Dear Expert,
    GR is a part of Inventory Management in MM and no portion of IM is automated in SAP. The example which you telling is because of existing reservation created specifically for the Process/ Production Order upon confirmation of which materials are getting confirmed with GI.
    I would request you to please go through SAP Documentations in help.sap.com which Says NO Movement type is automated except the movement type 7** series associated with Physical Inventories.
    Even that happens when we post physical inventory documents either by MI20 or by MI07.
    Let me know if you find anything new.
    Raghavan
    SAP MM

  • Auto goods receipt for STO

    Hi
    We are creating STO without delivery. Goods issue (mvt type 351) for STO is posted via portal using BAPI.
    We then want to post goods receipt for full quantity using movt type 101. Is there any std program available to be used in batch job to post goods receipts for STO? This way we will be able to do auto goods receipts.
    Any help will be highly appreciated.
    Thanks
    Sanjay

    Hi,
    Check the following limks hope it will help you...
    STO Process Automation
    http://help.sap.com/saphelp_47x200/helpdata/en/4d/2b90dc43ad11d189410000e829fbbd/frameset.htm
    Regards,
    Udaya.

  • Blocking goods receipt based on unprinted purchase order

    Hello,
    I want to block goods receipt based on purchase order that hasn't been printed yet. How can I do it? Thanks.

    Hi,
    I dont think In standard setting you cannot acheive this.
    First maintain print immediately while saving the application in condition record.
    Please provide the list of P.O's which you are investigating in ME9F, provide the application as EF and Processing Status as 0 (Not processed)
    This way, you will get the whole list of P.O's which have not been printed out, please note that outputs can only be processed on successfully released Purchase Orders.
    Show this to your technical team. They can develop a report using the same logic used above by the report and validate the PO as PO listed in the above report.
    and use exit in MIGO to validate.
    I have not tried this, I think you can achieve the requirement with help of technical consultant.
    hope it helps
    sBk
    Edited by: Sujithbk on Dec 27, 2011 12:09 PM

  • What is the  FM/BAPI  to get the Goods Receipt  Based on the Purchase Order

    Hi ,
    I want FM/BPI  to get the Goods Receipt  Based on the Purchase Order in MM.
    Thnx in advance

    Hi
    BAPI_GOODSMVT_CREATE
    Thanks & Regards
    Kishore

  • Goods-receipt-based invoice verification default for material group

    Hello experts,
    I put by default the option Goods-receipt-based invoice verification when creating a purchase order by tcode ME21N. Now, I would like if possible to only insert the option Goods-receipt-based invoice verification by default for some material group. Is this possible? This behaviour needs to be automatic.
    How can I achieve this behaviour?
    Thanks in advance,
    Best Regards,
    JP
    Edited by: Jeyakanthan A on Nov 20, 2011 11:11 PM

    Dear JP,
    In standard system this is not possible to default this indicator based on Material Group. This can be defaulted from Vendor Master record or Purchasing Info Record or Ticked Manually PO Item Details.
    If you look to enhance you system to do this, I would not advisable you to go with this default option because there can be situation that you order some material without Material Master Record (Like a frame work Order) in that case you will not be able to do GR and there can be conflict.
    You can create Material Group Info. record and default it from there, but again this for scenario where Material Master Record does not exists(Non Stock).
    Hope you find this useful.
    Regards,
    Reetesh

  • Auto goods receipt against production order

    is it possible to do auto goods receipt against production order of (material with serial number)
    if not please suggest me solution
    please also tell me possibility of enchancement
    for goods receipt against production order
    sunil

    Hi
    If you check mark the auto goods receipt in the control key used in the work center used in the routing then you can have auto goods receipts posted for the production order against a confirmation.
    Rathnakar

  • Problem related to auto goods receipt- urgent

    please tell me
    is it possible to do auto goods receipt for material with serial number
    or enchancement
    please suggest

    As it is a personal setting, you cant.
    You can preselect it for a user and maintain it for a different users, but the user can always change it to his needs.
    You may need to develope a small programm that updates the user settings every night, then see who has the longer breath.
    I personally do not understand that requirement. If I am not intrested in QM data, because I am working in Accounting, then why should I have this view preselected?
    And even more worse, if somebody creates materials where this view is optional, and does not want that view, then SAP will create this view anytime.
    I saw several threads here where people asked how to remove unwanted views.
    Better rethink your requirement.
    MAterial master has a userexit that is processed while saving, there you can send an error message if the user has not done what you want from him.

  • Auto Email notification based on data from Table

    I need to send a auto email notification based on the information updated on the table. Like when response table is updated as 90 for ( column users).A Email should automatically trigger to the different users listed in a table named (email).. I have stored the value of users in a table named response and the person to whom i need to be email has been stored in table name email.
    I'm using Oracle 10g Express edition
    Let me know how this can be done automically.

    Wrong forum...should be over in the Database Forum or PLSQL forum. You need to add a trigger to the table and the trigger needs to utilize the UTL_MAIL or UTL_SMTP packages. You can get more info on UTL_MAIL here or more info on UTL_SMTP here
    and here is some example code for a trigger:
    create or replace trigger my_trigger
    after insert or update
    on my_table
    for each row
      begin
       utl_mail.send(sender     => '[email protected]',
                     recipients => '[email protected],[email protected]',
                     cc         => '[email protected]',
                     bcc        => '[email protected]',
                     subject    => 'utl_mail test',
                     message    => 'if you get this message it worked!');
    end my_trigger;UTL_MAIL and UTL_SMTP may need some configuring before you use them, see the links above for details.

  • ASN Quantity control in PO ?

    Hello,
    My requirement is as follows:
    PO is created for 100 EA.  Now I dont want to receive ASN with quantity more than 100. i.e. I dont want the inbound delivery to be created if the ASN quantity is different from PO quantity. (supplier is on EDI)
    How can I achieve this ?
    Thanks in Advance,
    Pat.

    1) Are you creating Inbound delivery in R/3? then you can put validation on PO Qty and Vendor supplied Qty.
    2) if your vendor creating Advance Shipment Notification (ASN) via SUS or portal, then you need to put validation on portal side.
    which will be a developement which includes ABAP and Portal work
    development will check the PO Qty , Qty recd so far and Qty in transit then what is residual . that will be compared with intended Dispatch Qty

  • In CO11N, no auto goods receipt & issues for materials having serial number

    Hi,
    I had activated for auto GR and backflushing for materials to happen auto GR and issue during confirmation - CO11N,
    FG material w/o serial number are auto receipted and SFG materials w/o serial number are auto issued during confirmation.
    But auto goods receipt and issues are not happening for materials happening serial number assigned, even these materials cant be seen in goods movement view in CO11N.
    Plz inform if any settings are to be made.
    Thank you in advance.

    Thank you very much for all of your replies,
    So with respect to SAP note 39230, it is not at all possible to have an automatic goods receipt or goods issues for serialized materials within an order confirmation.
    Thank you,
    with regards,
    Basanagouda Gudageri

  • Intercompany billing RD04 with goods-receipt-based invoice verification

    Hi members,
    we think about making use of the automated intercompany billing functionality with the RD04.
    In our logistic processes we apply the goods-receipt-based invoice verification. This is a very important requirement. That means that invoices can be only posted if the goods receipt has taken place.
    Is there a possibility to configure the automated intercompany billing so that this requirement is met?
    Any ideas? Any documents? Helpful links?
    Thank`s in advance.
    Best regards.

    Hi Imer,
    I believe you must be following any one of below process steps for Inter company Billing:
    Sales Order
    Delivery
    Customer Invoice
    Inter-company Invoice
    Or
    Inter company STO
    Delivery
    Invoice
    GR Based on Inter Company STO
    Automatic Vendor Posting (RD04)
    If you are following first process then no need for GR at all.
    If it is second process then assign Requirement Routine (Logic: Check GR has been completed or not for STO, if completed Pass the requirement else fail. take MM consultant's help for exact table and field details if needed.)
    Change the RD04 trigger based on Background Job processing and Run Background job for processing of the Output type.
    Regards,
    MJ.

  • Contract, Item category W & 'goods-receipt-based invoice verification'

    Hello gurus,
    In a contract item with the item category 'Material group', the indicator 'goods-receipt-based invoice verification' (field EKPO-WEBRE) is set.
    But, why this should be active?
    I need to tell you to my client why SAP is working in this way with item categoy = W - Material group.
    Do you know where I can find this information from SAP?
    Thanks in advance.
    Regards,
    Sandra Palomo

    Thanks or the answer, but, I saw before this customizing and it does not have nothing about GR-IV, only to Good Receipt and Invoice Receipt.
    Do you know where I can find this?
    Why is active this GR-IV indicator in the PO when the I have a Material Group Contract (item category W)?
    Regards,
    Sandra Palomo

Maybe you are looking for

  • Delivery notes was created. But still appeared in VKM1.

    Hello Friends, I have this case wherein Sales Order that used Letter of Credit as payment Guarantee Procedure. Sales order has been released already and Delivery notes was created. But Delivey notes still appeared in VKM1. I would like to ask your op

  • Customized manufacturer driver cant be updated.

    Hello, my computer is a HP p6642f with windows 7 64 bit OS.  I need to update my graphics card for gaming, I have tried updating my graphics card from HP but the version my computer came with is the most recent version that HP provides, 8.15.10.2119

  • Can I swap out my old Areca 1880-ix with the newer Areca  ARC-1883

    Hello everyone.  It's been a while since I've been here. I think, but am not sure, that my Areca 1880-ix is dead. I'll be contacting Areca support to see if I can have them help me troubleshoot it.  Like they did a year or so ago. In any case I see a

  • How to move 1 field from 1 region to another region of same page persnaliz

    dear friends, i m geting some problem reagrding the Oracle Apps personalization. i dont have much more knowledge about personalization of OA Framework. i want to change one field from one region to another region of the same page. can u please guide

  • Adobe CS5.5 Download

    How can I download Adobe CS5.5 Standard? When I open the Adobe download manager it does not give the option for the standard version.