Custom invoice blocking reason

When posting an invoice, several checks are done to see whether invoice items should be blocked for payment. This is being done based on price and quantity. Right now we want to block payment for an incoming invoice item if that item does not have a corresponding PO item.
To this end we want to (ab)use the blocking reason for quality. When posting an invoice, there will be a time in the code that blocking reasons will be checked, at least for price and quantity. At that point we would like to insert our own code to set the quality block field if required.
Is there a way of customizing this process or creating an additional check without having to adjust standard SAP? Thanks in advance for the help!

An update and a question on the issue. The badi eventually didn't work for us, the additional checks it performed made it very hard to work with. What we did was adjust standard SAP in the routine for quality check. If our check returned negative, we set the quality block and return the process to SAP. Luckily this isn't a coding beauty contest, but it works perfectly.
Now we've been asked to implement the same process in another system. Newer system (SAP ECC 6.0), so once again we want to check whether there is a better way of solving the issue.
We know we're able to define custom blocking reasons. However they all seem to be related to tolerance level checking, which is not what we want to do.
Is there any way of creating a custom blocking reason on header or item level, which we can set with custom ABAP coding? Then we can program what we want to check and when to set the block.

Similar Messages

  • AP Invoice Blocking Reason

    For Accounts Payable Invoices that have been blocked, i know that BSEG-ZLSPR is the Payment block key. For MM documents, where is the Blocking Reason stored ?

    Hi,
    The settings in MM area for Invoice Block reasons can be found in OMR9 and tolerance limits in OMR6.
    Regards,
    Kiron Kumar T.

  • Invoice Block reasons

    Hello,
    1) Where do we maintain invoice block reasons.
    2) If invoice is blocked for any reason, how we can identify the exact reason.
    Regards,
    KSR

    Hello KSR,
    To define blocking reasons for invoice/billing, go to menu path
    SAP IMG->SD->Billing-> Billing documents->Define blocking reasons for billing.
    U can find the billing block reason in Sales order header data,
    go to Header, Billing document tab,Billing screen, Billing block field.
    For item, Go to item in Sales order,
    Billing doument tab, Billing screen, Billing block field.
    Hope U got the answer,
    Regards,
    Praveen.

  • Custom invoice blocked due to Quantity.

    Hi All
    This is regarding Intercompany India scenario.
    Issue : Custom invoice  #5109581820 has been blocked for quantity. There are seven conditions ( JCDB,JCV1,JECV,J1CV,JEDB,JSDB,JADC) maintained for custom vendor and one condition (ZCCC ) for custom clearing charges vendor.
    Hence there are total eight conditions for customs. And the above mentioned invoice has been block for Basic customs duty (JCDB)  and  Ecess on total duty (JEDB) conditions. Question : 1) Why the invoices for Basic customs duty (JCDB)  and  Ecess on total duty (JEDB) conditions are blocked.
    2) Why only the invoices for Basic customs duty (JCDB)  and  Ecess on total duty (JEDB) conditions are blocked and not for other conditions ?
    Details are as follows:
    1)In PO#4700279549 total PO qty is 100.140kg
    And delivery have been done in partial for qty 80.150kg and 19.990kg
    2)PGI also done in partially for the same qty.
    3)Now first custom invoice #5109538999 is for qty 80.150kg.has been posted on dated 16.10.2008
    4)GR for qty 40.110 has been done on dated 31.10.2008
    5)On dated 03.11.2008 GR posted for qty 20.040 but cancelled again on same date.
    6)Now custom invoice #5109581820 posted for remaining qty 19.990 but still for invoice #5109538999 for remaining(80.150-40.110=40.040) qty  has not been received before second of custom invoice.
    7)After 5.11.2008 GR posted for qty 20.00kg and on 06.11.2008 Gr posted for qty 20.040
    That means total GR has been posted for custom invoice #5109538999.
    Thanks and Regards..
    Trupti

    Hi Joan
    Good question. First I tend to use this mail function, but then I decided to implement the workflow because
    a) I was wondering how this works g and it is kind of sexy
    b) I needed already a workflow for the Investment Management and wanted to stick on this technique
    c) later we want to scan incoming invoices where we also will need to work with Workflows
    d) the WF provides some functions like jumping directly to the invoice and order, delete blocking reasons or change the order
    e) the WF could later be modified to cover more or other requirements
    Of course the receipant of the Workitem also gets an eMail (via Internet) to let him know about an incoming workitem.
    The most time I needed to find out how this works. Now it's just a piece of cake (as long as the SAP-standard WF for this is used without any modifications); would take not more than 15 Minutes to set it up again... no joke. But this depends also on the release you're on.
    Of course you have to make a good end user documentation (but you have to anyways for the invoice verification) and about two good flow charts. This together with some trainings really needs the time.
    Bye
    Wolgang

  • Custom invoice Block into MIRO

    Hi Gurus, I need to block an invoice based on the account assignment (internal order). The block should be a 'logistic invoice block' (displayable as a manual block into MRBR).
    Some can help me ?
    thanks in advance
    CIAO
    Alda

    AKPT,
    Thank you for your response.
    My purpose of blocking invoice is If the invoice date is before the PO creation date that invoice should be blocked and should show in MRBR as other invoice verification blocks. I am using BADI - MRM_PAYMENT_TERMS to set a ZLSPR(Payment Block Key) as a custom block, but this is going under Manual block in MRBR and not able to see Blocking reason in RSEG. Please guide me how to do in this scenario.
    Thank you in advance.
    regards,
    madhu

  • Difference between deleting invoice blocking reason and releasing blocked i

    Hi - in mrbr we have two options - one is to delete a blocking reason and the other is to release the invoice.
    It appears that it is possible to delete the blocking reason and this releases the invoice for payment.
    It is also possibel to releease the invoice without deleting the blocking reason and this has the same effect.
    Why do both things appear to do the same?

    Hi,
    The both cases differ in approach, we use delete blocking reason if there is any block existing for the Invoice and after that if the system finds no other block on Invoice header ten the Invoice is automatically released, however if we go for direct release then only those Invoices are released which had blocking reasons but some business transactions have nullified the block already.

  • Customer Invoice Block

    Hi,
    I want to block customer account manually for cheque bounce.No entry should be allowed to customer account.
    Thanks

    XD05?

  • Invoice Block at customer account

    HI,
    Is there any block (Invoice Block) by which even if a particular customer account is used as Sold to Party while creating a sales order, no invoice is being generated against it ?
    I dont want credit block through FD33.
    i have tried various blocks available in customer master but still the invoice is being generated for this particular customer.
    Thanks in advance !

    Hi Vishi
    XD05 is applicable at Sold to party level.
    Hi Sachin
    Please try it again and Provide full details at first screen like customer number, CC, Sales area. Give proper reason of billing at billing block level for all sales Area.
    Also you can use VD05.
    try and revert

  • Customer invoices are blocked for dunning automatically when we run F150

    HI All
    when we are running the dunning (T.Code F150) for one of the customer invoice items are blocking for dunning automatically.
    the customer master setting for dunning block fields is empty and there is no changes for this field.
    These invoices are created recently and could please help to find a solution for not happened the same in hte next dunning runs?
    thanks in advance
    Best regards
    Venu

    Hi,
    Customer automatically gets blocked if the Customer has NO Line Items which can be considered for Dunning.
    Before running the Dunning check weather the customer master us updated with DUNNING Variant and also check for the weather the  Line items are over due and if so check the Dunning Procedure for Dunning INTERVAL and also the Arrear Days for each Internal.
    Hope this will Help you .
    Thanks
    Goutam

  • Storing the Variance Block Reason Code in the Parked Invoice Document

    Folks,
    When I perform parking an incoming invoice (MIR7 or MIRO), system checks for price variance and issues the message. When I save the document, block reasons are not stored at Parked document level. Only when I post the document, the reason code 'R' is stored in the document.
    Is there a way to get the Block reason in the parked document?
    Thanks in advance. Murali

    I am still researching this issue. Let me know if there are any options or ideas.
    Thanks.

  • Code for AP Invoice Payment Block and Blocking Reason

    What is the best way to code unblocking of Accounts Payable Invoice - using FM FI_DOCUMENT_CHANGE, BDC or direct table update.
    Also, i need to remove blocking reasons for MM documents. I am not sure what table this is stored? Are there any FMs that can do this or does anybody have any example code?
    Help much appreciated
    Andrew

    Hi,
    Also, i need to remove blocking reasons for MM documents. I am not sure what table this is stored? Are there any FMs that can do this or does anybody have any example code?
    The table is RBKP_BLOCKED.
    To remove blocking reasons have a look at transaction MRBR.
    Best regards.

  • Invoice blocked for qty reason, but condition type deleted from the PO

    Hi Gurus,
    I have an LIV with R block in the header level. The invoice contains a line item for planned delivery cost condition type FRB1 which was entered manually during PO creation.(no condition record exists for FRB1). But the condition type FRB1 is missing from the PO line item now and when trying to release the invoice block via MRBR, it gives the message that the 'list is incomplete'.
    The PO is not having any release strategy and the invoice number is available in the index table RBKP_BLOCKED.
    The condition type FRB1 got deleted from the PO on re-triggering the pricing. The business needs the pricing to be carried out on the shipment date from the vendors site. So when the vendor issues the goods, the same is updated in the pricing date field in PO line item and the pricing is re-triggered. So in this case the happenings were in the below sequence.
    1. Buyer created PO with manually entered FRB1 condition type.
    2. Invoice posted against the PO.
    3. When vendor has shipped the goods, the ASN updates the pricing date in the PO and carries out re-pricing. The FRB1 got deleted from the PO on re-pricing as no condition record existed.
    4. Goods receipt posted
    5. Trying to release the invoice in MRBR, but the system gives the message that the list is incomplete.
    Please suggest how to go ahead with the resolution of the issue.
    Regards,
    Greg

    Gregory Mathews wrote:
    Hi Gurus,
    >
    > I have an LIV with R block in the header level. The invoice contains a line item for planned delivery cost condition type FRB1 which was entered manually during PO creation.(no condition record exists for FRB1). But the condition type FRB1 is missing from the PO line item now and when trying to release the invoice block via MRBR, it gives the message that the 'list is incomplete'.
    > The PO is not having any release strategy and the invoice number is available in the index table RBKP_BLOCKED.
    >
    > The condition type FRB1 got deleted from the PO on re-triggering the pricing. The business needs the pricing to be carried out on the shipment date from the vendors site. So when the vendor issues the goods, the same is updated in the pricing date field in PO line item and the pricing is re-triggered. So in this case the happenings were in the below sequence.
    >
    > 1. Buyer created PO with manually entered FRB1 condition type.
    > 2. Invoice posted against the PO.
    > 3. When vendor has shipped the goods, the ASN updates the pricing date in the PO and carries out re-pricing. The FRB1 got deleted from the PO on re-pricing as no condition record existed.
    > 4. Goods receipt posted
    > 5. Trying to release the invoice in MRBR, but the system gives the message that the list is incomplete.
    >
    > Please suggest how to go ahead with the resolution of the issue.
    >
    > Regards,
    > Greg
    Hi Greg,
    Are there any a/c entries showing in GR a/c doc for this cond type? I think it could be a bug when you run the ASN Idoc. Try to un-check Delete indicator for FRB1 which would stop it getting deleted.
    Regards
    Shiva

  • Payment block reason

    Hi Gurus,
    can anyone explain where payment block reasons are used?
    pls help
    Regards
    ravi

    HI,
    Manual payment block
    If you manually select a payment block from the list field to block an invoice for payment, the payment block field in the header of the invoice document is marked with the appropriate indicator.
    Blocked due to differences
    If invoices are to be blocked automatically due to differences in the invoice items, the system enters the payment block R in the vendor line of the Accounting document. The field in the header of the invoice document remains empty.
    Random payment block
    Invoices that do not show any other blocking reason, can be blocked in accordance with the random principle. In Customizing for the Logistics invoice verification, you can set the probability for the block. The indicator for the logistical payment block is entered in the header of the invoice document.
    Thanks and points
    Vasu.

  • Invoice block for payment

    Hi,
    We know that after booking invoice through MIRO, the document created may go for block for payment. This we need to release either by MRBR or FB02.
    My query is based on what configuration in spro do this invoice goes for block for payment?
    Thanks & Regards,
    Indranil

    HI,
    In spro-Logistic Invoice Verification-Invoice Block here you will get setting for same
    and spro-Fin Acctg-AR&AP-Business Transactions-Outgoing Payments-Outgoing Payments Global-Payment Block Reasons-define Payment Block
    1 ) Tolerances are defined in customizing to configure which variance to be accepted and which one to be blocked.
    check following link also
    [http://help.sap.com/saphelp_470/helpdata/en/a8/b99539452b11d189430000e829fbbd/content.htm]
    [http://wiki.sdn.sap.com/wiki/display/ERPSCM/MM-IV-LIV-CRESetTolerancesforIncoming+Invoice]
    Regards
    Kailas Ugale

  • Invoice Block -IR before GR

    Dear SAP Gurus,
    Please could you suggest me  solution  for the below question.
    Most of the cases  Invoice  posted  before the GR is posted, at this stage  client wants to block the invoice's for payment automatically.
    After GR posting, probably we can  run release program to release the payment blocks
    What are the setting we should made to block the invoice automatically? I understand this nothing todo with Finance consultant.
    Would appreciate your early responce.
    Regards
    prab.

    Hi,
    You can block all invoices to check them again through Stochastic block automatically. If the stochastic block is active and you post an invoice that is not subject to any other blocking reason, it can be selected for blocking.
    Please make a note that- A stochastic block is not set at item level, but for the whole invoice. If a stochastic block is set when you post the invoice, the system automatically sets an R in the field Payment block in the document header data; there is no blocking indicator in the individual items.
    In Customizing for Invoice Verification, you can define:
    -If stochastic blocking is active
    -The degree of probability of a block. You set a threshold value and a percentage for this.
    If you enter a threshold value of zero and a percentage of 99.9%, all invoices would then be blocked automatically.
    Regards,
    Narayana.
    Edited by: Narayana Ghanta on Sep 16, 2008 4:08 PM

Maybe you are looking for

  • Unit Testing / Integration Testing

    Hi all Can somebody provide links to SAP testing.... Can anybody define & write down the step by step details on carrying out unit testing, integration testing and user acceptance testing...How it is done..which systems..tools..test scripts / test ca

  • Problem with jspf and html table

    hi i want to create a single table in a jsp fragment file. the table should have letter A_Z which should be command link components. my problem is the html part of it. here is my code <table width="600" border="0">     <TR>         <%for(char i='A';i

  • Scope of PreparedStatement

    If my logic re-creates the PreparedStatement everytime, do I lose the advantage of the PreparedStatement over the Statement class ? Should I instead try to make the scope of my PreparedStatement reference such that it does not get destroyed? Or is th

  • Standard Date Fn

    Hi All, Are there any standard Date functions to calculate like 90 days, 60 days & 30 days of present day? And also to find the previous month of the present month & Month in Character format. If it is there please let me know. Thanks & Regards Rajen

  • Slow response to ssh

    I have a G4 and G5 connected via ethernet ports through a router. The G5 is my main computer, and I login to the G4 using Terminal and the ssh command: G5:~ me$ ssh 123.456.7.8 There is then a 45 second delay before I get a response: Password: And af