Block Invoice from 0 Dollar line Item

Hello,
How do I block an Invoice from Posting if any of the line items in that invoice has zero dollar amount? Please advise ..Thanks
Vicky

Hi Vicky,
U need to write a exit to display the delivary block if there is a price difference.
For VA01,  this is the standard program SAPMV45A
In this program u have these user exits
        INCLUDE MV45ATZZ.             " Data definitions in MV45ATOP
        INCLUDE MV45AOZZ.             " User-modules PBO
        INCLUDE MV45AIZZ.             " User-modules PAI
        INCLUDE MV45AFZA.             " User-forms < 3.0
        INCLUDE MV45AFZB.             " User-forms
        INCLUDE MV45AFZC.             " User-forms < 3.0D
        INCLUDE MV45AFZD.             " User-forms   3.0E
        INCLUDE MV45AFZF.             " User-forms   3.0F
        include mv45afzg.             " User-forms   3.1G
        include mv45afzh.             " User-forms   4.6B
--->    INCLUDE MV45AFZZ.             " User-forms
        INCLUDE MV45AFZ4.             " User-forms   4.0
i u can write in this Include MV45AFZZ
Best regards,
raam

Similar Messages

  • Zero Dollar Line Item - Invoice Expected flag

    Hi Experts,
    When our buyers source a zero dollar line item, they are required to DESELECT the Invoice Expected box (under the purchase order line item follow on documents) in order for the PO to go out the door.  Is there any way to adjust that so we can still have the PO go out the door and still have the Invoice Expected box checked?  Or is this a system bug that forces us to do this?
    The reason we need it checked is because we are trying to imlement electronic invoicing and the vendors do send us invoices that have zero dollar items.  Because of that box being checked the entire IDOC fails.  We are using IDOC:  INVOIC01.
    FYI.  We are on SRM 2005 SP12.
    Any guidance is appreciated.
    Cindy

    Hi,
    You can try following solutions.
    1. Try making the error message as warning and order the PO. See if ECC accepts the PO.
    2. Use BBP_ECS_OUT_PO badi to pass the invoice indicator in ECC PO.
    Regards,
    Sanjeev

  • Clear from Vendor open line item (FBL1N).

    Dear,
    I have Posted the Invoice and cancelled the same invoice which was in the Blocked status without Release.So its showing in Vendor open line item (FBL1N).
    Now we can not release these two docs in MRBR bcz the invoice was cancelled and also it can not be cleared in F.13 bcz which was blocked for paymentu2026
    Kindly help me how can i solve this issue and my user is askinig me to clear the same from the vendor line items.
    Also suggest how the same will affect the business impact.
    regards,
    Kannan B

    Pl post it in ERP Financials,to get faster replies SAP ERP Financials

  • Customer Invoicing Printing First page line items blank

    Hi Everybody,
    Customer Invoicing Printing First page line items blank and it is printing it from the second page.  Please help me on this.
    Regards,
    Md Ziauddin.

    item No    Material No   Descripition  Putaway Bin   SUT  Vendor Batch  LE QTY  COA   Base UOM
    this how my line item should like, i am able to print only single line item for each item no.
    if i have 5 pallets for single line item, i want the same line item to be printed 5 times and this is what i am looking at

  • Urgent : Confirmation and invoice number of a line item of a Shopping cart

    I have developed an end to end report in SRM which gives us an end to end report of a shopping cart .
    I have got the Shopping Cart details using FM : BBP_PD_SC_GETDETAIL 
    for each item of the shopping cart in the table E_ITEM  , getting the Po number for it from  E_ITEM- BE_OBJECT_ID
    I called FM BBP_BE_PO_GETHISTORY to get the  Confirmation and Invoice number from  E_HEADER_REL of  BBP_BE_PO_GETHISTORY.
    But this function  module  gives me the confirmation and invoice number  of a particular purchase order and
    I am stuck here as I need to find out the confirmation and invoice number of  a line item and I am not finding a link  between them .
    I  tried using  FM BBP_PD_PO_GETDETAIL ,
                             BBP_PD_PO_GETLIST 
    BBP_PD_PO_DOC_FLOW  and other function modules also , however they give me the confirmation and invoices o a particular PO but I am not    able further drill down to find  confirmation and invoivce of a particular line item of a shopping cart …..
    Please let me know if there is a way to find this out ????
    Useful answers would be rewarded .
    Regards,
    Prabhu

    Hi All ,
    I was able to get a link using the function module  BBP_PD_SC_GETDETAIL . in the tables E_item  has fields BE_OBJ_ITEM  and the BE_OBJ_ITEM which give the po number and po line item number of each line item .
    then i used BBP_BE_PO_GETHISTORY Fm to get the history of the po and read the line item history based on the BE_OBJ_ITEM  no .
    Thanks to all .
    Prabhu

  • VPRS Condition is missing in invoice for bacth determine line item

    Hi Gurus,
    I have an Concern, My user has created Sales order with three line items.
    He did delivery and Invoice individually for each line item.
    For 2 line items he entered batch manually and did invoice there we didn't find any issue.
    For third line item he did auto batch determination there for that item VPRS condition is missing in invoice.
    I have checked the note ( 70038 ) and I have applied the note also, But still I am facing same problem.
    Please provide me solution if any modification need to be done,
    Thanks and Regards
    Subbu

    Hi Subbu
    As VPRS condition type is coming for the first 2 line items and not for 3rd line item , so kindly check the Material Master Record->Accounting tab.What is the difference between the 3rd material and another 1st and 2nd materials.Also check in the Analysis what it is showing for the third line item billing document
    Regards
    Srinath

  • Get PO Confirmation and Invoice Number fron SC line item deial like GUID

    Hi All,
    I want to create ZReport where i have to find  Purchase Order , Confirmation and Invoice Number fron SC line item .
    I am looking for that tables or FM by using which i can give SC line item Guid and i can get the corrosponding PO , Confirmation and Invoice if any.
    Please suggest solution.
    Thanks in Adavnce,
    Snehal

    Hello Snehal,
    You can use following FMs to get the required deatils:
    FM: BBP_PD_SC_GETDETAIL
          E_ITMLIM_REL
          Select the second entry
          Shift+F5
          Take the HDR_GUID_A for PO
          and HDR_GUID_B for Conf
          and HDR_GUID_C for Inv
    FM: BBP_PD_PO_GETDETAIL
          enter the HDR_GUID_A
          Goto E_HEADER           select the OBJECT_ID
    FM: BBP_PD_CONF_GETDETAIL
          Goto E_HEADER           select the OBJECT_ID
    FM: BBP_PD_INV_GETDETAIL
           Goto E_HEADER           select the OBJECT_ID
    This could help you.
    Regards,
    Suneel Kumar

  • Need to prevent invoices with 0 price line items to accounting .

    Hi All,
    I have a requirement where in  I need to prevent the invoices with 0 price line items to accounting if item category is relevant for pricing.The invoices which have 0 price line items and item category has specific 0 price need not to be prevented  for accounting.
    Please provide your input to meet the requirement.
    Thanks In Advance.

    Hi,
    Please go through the below link !!! follow this and it will resolve ur issue
    Re: How to prevent invoices with 0 prices to be sent to accounting,
    Regards,
    Krishna O

  • How to not select an invoice if a certain line item type is present?

    Hi,
    I've created a report that lists all invoices that have a particular line item type on it.  For example, I wanted to produce a revenue report by item type, "P-Tank". So, the invoice table links to the invoice line items table. Each line item record has a "resource id" on it. The resource id links to the resource type table. So, if invoice #8 has, say, three line items and one of them has a resource type of "P-Tank" then I report on it.  Basically, I'm making a report grouped by Resource ID and the Resource ID must by of Resource Type 1, 2 or 3.  So, this report I've solved.
    Now, I want to report on those invoices that do not have either a resource type 1, 2 or 3 item on it.  If I use a formula:
    "Not ({resource_type.resource_type_id} in [1, 2, 3]) that doesn't work because it just omits the line item that is of resource type 1, 2 or 3....but still leaves the invoice on the report with the other line item types. * I want to identify any and all invoices that do not have either a line item resource type 1, 2, or 3 on it.*
    Any help is much appreciated!
    thx,
    Mark

    Hi Abhilash,
    That didn't seem towork.  I'll simplify the example to see if we can find the answer easier this way.
    I'm using two tables: invoice; and invoice_items
    An invoice can have many items on it.
    I don't want my query to select any invoices that have a Tank item on it (Tank has a resource id = 8).
    So, I'll join the invoice table to the invoice_items table:
    invoice.invoice_id = invoice_items.invoice_id.
    The result set looks like the following:
    Invoice #        Invoice Item #     Invoice Resource ID
    22                              1                               8
    22                              2                               9
    23                              1                               5
    So, because Invoice #22 has a line item with resource id = 8 on it I do not want Invoice #22 to appear on the report at all, regardless of what other items and resource id's are on it.
    I have tried joining the two tables in every manner (e.g. inner, outer, not enforced, enforced, etc) and even when I put the condition, invoice_items.resource_id <> 8, it still brings up Invoice #22 but just omits the one line item and leaves the record with resource id 9 (in the example above).  I don't want Invoice #22 to appear at all in the report.
    Does that help clarify the problem?
    thx,
    Mark

  • Overwrite Tax Code in Invoice tab of PO line item

    Hi all.
    Is there any user exit through which I can Overwrite Tax Code in Invoice tab of PO line item.
    I dont think a field exit will help since I have decide the tax code value based on the line item details like plant and a/c assignment cat. and header Purchase org.
    Any help will be very much appreciated.
    Thanks in anticipation.
    Regards,
    Aditya

    Hi Aditya,
    there are three different possibilities to influence tax codes in PO - user-exit is not one of them.
    If you can assign a company code to your purchase organization, then it's possible to determinate tax code based on purchase view.
    Some say, it's possible to maintain on company codes, too.
    It's possible to assign MM-tax class to sites and account assignments. Then via tax condition a tax code can be determined.
    And you can make a condition determination based on sales tax classes, but then in a pricing user exit corresponding tax class has to be read.
    Most times I use tax code determination via tax conditions - then users don't have to maintain anything in addition.
    Regards,
    Christian

  • BLOCKING THE PAYMENT TO VENDOR LINE ITEM IN APP

    I am doing  APP Run in F110.  Here I want to block one vendor line item.  In the Edit proposal button I tried to block the line item.  But system is throughing a Error messeage saying that You cannot block the payment in proposal run.
    Can any one pls help in this regard.

    hi seshagiri,
    In <b>F110 </b>while running the Payment Proposal click on that and u can see the list of the invoices to to clear and select the line item whcih u want to block and Double click on it. The window popups and ask for the Payment block in that select the Payment block as A to blokc the invoicess and then continue it. Save it
    Again get back to the previious page and press enter .
    then only the opne invoices will be cleared in that.
    AGain if u want to release that invoices then go to <b>MRBR </b>and slect the invoices and release from there.
    Assign the points if usefulll
    Ranjit

  • Blocking somw of the retention line items for processing

    Hi all,
    My client wants a list of retention line items to be blocked from further processing and the same to be released on a case to case basis, only on approval .
    How should i proceed?
    regards
    Jaya

    Dear:
             First go to SPRO....Financail Accounting....Select Vendor...Master Data...Preparation for creating master data...Define A/c Group with Screen Layout....Select your relevant account group....Go to company code data...Payment transactions... Here you can maintain the field status of Payment block. After that
    Go to OB32 . There you will find BSEG-ZLSPR payment block field. Double click it and check it for field can be changed. I hope this will resolve your issue.
    Regards
    Edited by: Atif Farooq on Mar 2, 2011 4:26 PM

  • Problem in invoice printout for second line item of the contract.

    Hi,
    There are two line items in the contract. Both with different material and different plants. 1st line item with plant japan, and 2nd line item with plant singapore. But, when i try to take printout for 2nd line item after invoicing it, the address appearing in printout is of Japan instead of singapore.
    Any idea why this happening?
    Please revert back asap.

    Hi Chetan,
    If that is a header output, then there are issues at the design level itself. You have an output as header output and you expect the item level details to be printed in two different printouts.How is this handled in the program. Mostly header outputs are used to print the details abotu all the items in the doucment , not for a specific item. If you want to print a specific item only , then it is always advisable to configure the output as item output.
    Leaving that aside, the problem lies in the code. You may be selecting the item number when you are printing the details of the second item, but for printing address, you are not coding using the item number.
    To prove this test this scenario.
    Create an order with first item belonging to Singapore plant and second item Japan plant.
    Now create the otuput for item1----it will work fine
    Do the same for item2-----Now, the plant address will be of Singapore, while the material belongs to Japan.
    If this happens, it can be safely assumed that problem lies in the code. Do this test and then if the problem is in the program, discuss with your developer, he will rectify the bug for you.
    You can reward me if this solves your problem.

  • Details from Billing doc line item in COPA

    Hi,
    We are posting billing docs with multiple ship-to parties on the different line items. In COPA I need to get hold of the ship-to party. There are no sales orders created in the process.
    In neither the derivations (KEDR) nor in the user-exit am I able to get hold of the billing doc line item nr, as that is what I need to determine the ship-to party from the VBRP table.
    Any ideas on how I can pick up the ship-to party from the billing doc?
    Thanks in advance
    Piet Strydom

    HI,
    Thanks for your response.
    Yes, we have ship-to party at the line-item level. Technically it is stored on VBPA, but the access into VBPA is the billing doc and line item number.
    I have not been able to find good (SAP) documentation for exit COPA0005, but what I did find warned against changing characteristics? That should be done in COPA0001. However, the RBELN and RPOSN fields are not populated yet.

  • Freight Charges are created as Separate Invoice not within the line items

    Hi Folks,
    I have a peculiar problem here :
    I will assign the freight cost to the items that are getting shipped during shipping either to the lines or to the delivery,
    I Ship the line and create autoinvoice master program.
    Expect that one invoice is generated with the lines that is shipped with the freight charges included in the invoice.
    But there are two invoices generated with line items on one invoice and freight charges on the other.
    We have a setting where in the freight charges are shown as separate line in the invoice.
    This issue cannot be reproduced at will. This is happening in some cases only...
    Any pointers towards it...
    Regards,
    Prasad

    Hi Lukasz,
    I compared the item line and freight line in the RA_INTERFACE_LINES_ALL table....i see the following differences.
    1) Shipment_number for item line is 2 and that of freight line is 0
    2) Line_id is different for both
    3) original_gl_date is populated only for the freight line.
    4) customer_trx_id is different for both the lines.
    I see since the customer_trx_id is different the invoices are different.
    I think how did this populated differently..
    I tried creating a test case wherein trying out same scenarios given in the point no.1,2,3. The system is generating one invoice with item and frieght in one invoice.
    If the issue is with only customer_trx_id different. This field is an autogenerated sequence RA_CUSTOMER_TRX_S.nextval. How did this populate different sequence for item and freight lines?
    Regards,
    Prasad

Maybe you are looking for

  • The simplest way for plsql procedure to return multiple rows

    Hi, What is the simplest way for plsql procedure to return multiple rows (records). There are many combination of ways to do it but I am looking for a solution that is appropriate for plsql beginners. Many solutions use cursors, cursor variables, col

  • Including pixel content or patterns in a script

    Recently someone in the Photoshop Macintosh Forum asked about including an image they copied in an Action without having to provide the image-file, too. To me this seems undoable with an Action. http://forums.adobe.com/thread/728445?tstart=0 But how

  • HELP!!! APERTURE WILL NOT OPEN!!!

    Regardless of how I try to open the app it will not open! I have already serialized the product yet, it continously asks for a serial number. Once re-serialized it takes me to the welcome screen. Regardless of the method used or option selected I get

  • Backup required on server disk

    Hi, I am very new in taking backup using BRTOOLS, But problem is that i have no LTO drive , when i run brtools, error give tape Drive not found. could you please tell me where i want to change so that i took backup on the server drive, because i have

  • New NAT definitions don't appear to be working

    N6 server running BM3.7. Been using pcAnywhere on 5 PCs in the organization for years. Now ISP has allotted more external fixed IP addresses and I am trying to set up a new PC to use one of the new addresses. I added the new addresses and their prope