Need to find final invoiced contracts

Hi,
There is requirement in code where I have contract account and I want to find howmany contracts of this CA are final billed and invoiced.
From ERDK, I can find the final invoice but how to decide that which contracts are included in this final invoice.
is it possible that contract does not have "03" type final bill but has "06" manual bill and final invoice is created on CA with these bills!?
Also help me understand the concepts. Suppose CA has 2 joint contracts, one is active and once is moved out. When System gets final read of contract-2. It will generate final bill.
Now the invoice that gets created on CA is called "final invoice" or not (as it will include final bill of contract-2) ??
Or it is not called final invoice (as it will include periodic bill of contract-1) ??
Thanks,
Murtuza

Hi,
As per my knowledge billing transaction "06" is created for the final bill order at the time of move out and thus when you bill that order and later invoice this billing transaction progressively moves on to the print doc and stored in ERDK.
So it is not possible that a manual bill will be considered as final bill based on which the final invoice will be generated. Although I have not experienced such scenario.
Regards,
S

Similar Messages

  • I have accounting document number, I want to find its invoice.

    Hi
    I have an accounting document number.
    Now I need to find its invoice number where it comes from.
    How could I find it?
    Please help for this.
    Thank you.

    HI
    Goto FB03 and enter the accounting doc number. or else in table BKPF enter the accounting doc number you will get the invoice number
    regards
    Prashanth

  • To Flag PO for final delivery or final invoice if contract expires

    HI Experts,
    whenever the validity date of outline agreement is expired and there is a PO created with ref to the same Outline Agreement, the system does not allow to flag for the final delivery or final invoice for the PO, so that there can no further processing for the PO.
    We just want only to close the PO (by setting flag final delivery or final invoice).
    Please advice
    Lipika

    HI,
    When Purchase order is created with reference to contract, system carry
    out the check whether Document date of PO should be within contract
    "validity start" and "vaidity end" date. If document date is outside
    the "validity start" and "validity end" date of PO, message 06 040
    "Validity period of contract does not start until &" or message
    06 041 " Validity period of contract expired on &" is raised.
    Same check is also carried out during any change in PO (txn ME22N).
    Please use one of following option to close the PO.
    1. Change the category of message 06041 as warning in customization.
    Txn OLME.
    Environment Data -> Define Attributes of System Messages ->System
    Messages
    2. Change the validity end date in contract and close the Purchase order. Validity end date can be reverted.
    BR
    Nadia Orlandi

  • Final invoice indicator for Service based IV

    Hello,
    For invoice verification based on Service entry, the system proposes the final invoice indicator checked.  I'm trying to uncheck this indicator as in our case, vendors usually sends partial invoices.
    We have FM implemented and applied Link: [note 583400 MIRO: EREKZ always proposed with services|https://websmp130.sap-ag.de/sap(bD1lcyZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=583400] and it solved part of our issue, as leaving the commitment in the PO, but we need to find a way to unmark the indicator on MIRO so the GR - IV account is not cleared after a partial invoice.
    I would appreciate if someone can tell me how to approach this scenario.
    Thanks in advance,

    Hello Bharat,
    The indicator of the PO is set after this indicator on the invoice. It is actually a result of the IV unless you apply the note 583400.
    What I need is that this indicator to be unchecked for Service items with service entry.
    Regards,

  • BADI to get GR done flag , Final Invoice flag and Delivery completed flag

    Hi all,
    An Idoc needs to be triggered for PO line items to indicate different flags. As soon  as MIGO or MIRO is done for PO line item, I have to check three flags namely GR done flag , Final Invoice flag and Delivery completed flag and send information of these flags as set.
    I want to know which BADI or User exit will give information  to indicate that either of one or all above flags are set for PO line item as soon as MIGO or MIRO is used.
    Thanks in advance,
    Madhura

    HI,
    When Purchase order is created with reference to contract, system carry
    out the check whether Document date of PO should be within contract
    "validity start" and "vaidity end" date. If document date is outside
    the "validity start" and "validity end" date of PO, message 06 040
    "Validity period of contract does not start until &" or message
    06 041 " Validity period of contract expired on &" is raised.
    Same check is also carried out during any change in PO (txn ME22N).
    Please use one of following option to close the PO.
    1. Change the category of message 06041 as warning in customization.
    Txn OLME.
    Environment Data -> Define Attributes of System Messages ->System
    Messages
    2. Change the validity end date in contract and close the Purchase order. Validity end date can be reverted.
    BR
    Nadia Orlandi

  • Delivery Completed Indicator is required at the time of Final Invoice Posti

    Hi All,
    I have requirement like whenever we post Invoice (Invoice Verification - MIRO) with final invoice check box with reference to PO (we are not posting any Goods Receipt for this PO or partial quantity is received and psoted GR for this PO), Delivery Completeion Indicator needs to be filled out (Tick Mark) in Purchase Order) automatically.
    Kindly help me to get solution.
    Kind note: I am working on ECC 5.0.
    Thanks a lot in advance for your help in providing solution.
    Thanks,
    Sudarsan

    I got solution.

  • Unchecked final invoice and delivery completed indicator via BAPI_PO_CHANGE

    Hi All,
    Is it possible to reset the final invoice and delivery completed indicators of PO in ME23N using BAPI_PO_CHANGE? I need to unchecked the final invoice and delivery completed indicators for all POs in our system that were accidentally updated to delivery completed and final invoice by the user.
    Points will be rewared.

    what i did now is to create a prototype program like the one below:
    CONSTANTS c_po TYPE bapimepoheader-po_number VALUE '0040001816'.
    DATA: t_poitem-po TYPE bapimepoheader-po_number,
          t_return TYPE STANDARD TABLE OF bapiret2,
          t_poitem TYPE STANDARD TABLE OF bapimepoitem,
          t_poitemx TYPE STANDARD TABLE OF bapimepoitemx,
          x_return TYPE bapiret2,
          x_poitem TYPE bapimepoitem,
          x_poitemx TYPE bapimepoitemx.
    t_poitem-po = c_po.
    x_poitem-no_more_gr = 'X'.
    x_poitemx-no_more_gr = 'X'.
    x_poitem-final_inv = 'X'.
    x_poitemx-final_inv = 'X'.
    x_poitem-po_item = c_po.
    x_poitemx-po_item = c_po.
    APPEND x_poitem TO t_poitem.
    APPEND x_poitemx TO t_poitemx.
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder  = t_poitem-po
        no_messaging   = 'X'
        no_message_req = 'X'
      TABLES
        return         = t_return
        poitem         = t_poitem
        poitemx        = t_poitemx.
    IF sy-subrc = 0.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    ENDIF.
    The program is working if you will mark the PO as delivery completed and final invoice with suppressed output. The problem is i need to do the reverse which is to unmark. I replaced the value of no_more_gr and final_inv from 'X' to space but it is not working.

  • I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the bad template with a blank.

    I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the unwanted template with a blank. It was previously possible to go to MY TEMPLATES and remove the unwanted templates. I don't if this issue is before or since installation of 10.8 (a nightmare in my case, which led to significant failure issues).  And because I haven't tried to remove templates since finally managing to install 10.8 (now at 10.8.4), I don't know if this is typical of the newer OS or a problem. I've been a Mac user for more than 25 years, but I think I'm nearing the end of the road. By the way, I've never needed to do this before because the manuals always offered an answer... they don't seem to do that anymore. In any case, I don't know how this works... I'd prefer an email reply if that's possible. But that would probably be too easy, and I don't know how to get a reply.

    Thanks, I appreciate the help.  I think this is one of the problems Apple is creating by changing the OS so often. I had fomer colleagues at [a major aerospace contractor] who told me that so many original files were ultimately lost because of the deadly change in the "Save As" operation that they are now afraid of every OS update. Apple has badly damaged their support base with that very prominent company (they won't update now until they've fully examined and understand changes in the pre-conditioned nature of OS computer functions), and they are a whole lot less enthaled with Mac-related equipment/software. Can't blame them, I too used orginal files that way (as easy-to-use templates), and lost some important files before I realized what was happening (to late to revert). Companies should not have to retrain employees each time an OS gets an update, it's can be very expensive several different ways. They learned a painful lesson with that one. And because I'm now retired and don't use multiple devices, I need iCloud like I need a hole in the head... but I'm told there's no way to keep Apple out of my computer. Fortunately, because of major problems when initially installing Mountain Lion, one hold-over of the hardware/software damage I experienced was that iCloud can no longer access my computer even though everything else is working fine again. That was the only "good luck" I had as a result of that expensive nightmare.

  • Down Payment - Final Invoice Based on Real Delivered Quantity

    Hello all!
    My need is the following:
    The final invoice for a Down-Payment must in consequence of the real delivered quantity:
    Exemple:
    Sales Order: 100 Units for a total amount of 100u20AC
    Down Payment Request: 30% --> 30u20AC - So it miss 70u20AC to clear it.
    Now: complicated:
    Delivery: Only 50 units available and shipped.
    Final Invoice:   Amount equal to (100-30)*50/100 
    Any idea?!
    Seb

    Hello Petronella,
    you are right that B1 is not checking the total value of DP created from the Sales Order.
    The logic and checking procedure here is only between Sales Order -> Delivery/Invoice.
    DP Invoice is considered as transaction related to document the receipt of the money (parallel to the sales process). Between the moment of basing of DP to Sales Order it is still possibility to adjust Sales Order as there is no posting behind Sales Order.
    The question is what would be a checking  procedure in case that on Sales Order there is based Delivery and DP? What would be the system priority to take into a consideration?
    Regards,
    Martin Slavik
    Regional Solution Manager

  • Down Payment Final invoice accounting document split

    Dear All,
    We are using Milestone Billing and after posting the down payment request, while creating the final billing the Sales order line item and the down payment settlement line items are appearing. After successful creation of the final invoice the accounting document generated with 7 accounting lines. First 3 accounting line item related to final invoice and the last 4 lines are the downpayment reversal posting.
    Now our requirment is instead of single accounting document 2 accounting document is required. One for Final invoice and the other one for the down payment. Please suggest us what are the customizations required to activate this.
    Kind Regards,
    Madhan.

    Have a look at the following note
    Note 1908168 - FBCJ: error FF848 for down payment
    and if need, carry out the corrections as recommended in the note after checking with your FI consultants.
    G. Lakshmipathi

  • Prepayment request and final invoice

    Can anyone help with a question about posting payments to a prepayment request and then reconciling the final invoice. We create a sales order and then a prepayment request for 100% of the sales order. The customer then pays for the goods. We put in the payment under the incoming payment screen against the prepayment invoice. This then closes the prepayment request.
    We then ship the goods to the customer creating a delivery note from the sales order. Then we create a final invoice for the customer. All OK so far I think. Then the help page tells me to go again to the incoming payment screen, select the business partner and then select the prepayment invoice and the final invoice and all will be OK. BUT we cannot add the incoming payment because we get a message " Confirmation amount must be > zero".
    What are we doing wrong. We have tried to do a standard reconciliation in the banking module, but this leaves a double posting amount in the VAT account.

    By Pre Payment I believe you are referring to Down Payment Invoice.  After you have processed an Incoming Payment for the Downpayment invoice there is no need to go to the Incoming Payment again to reconcile the downpayment.
    You would link the downpayment from the AR Invoice itself.  Please read this document https://websmp107.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000738282007E
    Suda

  • Purchase order - Final invoice indicator EKPO-EREKZ

    Hi,
    How is possible set Final invoice indicator in purchase order items  - only manualy, or exists solution for automatical setting ?
    Thank you for advice.
    Bernard

    Hi Bernard
    The final invoice indicator has to be selected manually everytime you do MIRO.
    Moreover, just to add on, the final invoice indicator will never stop you from posting further invoice and is used only as a information to the buyer. Make sure you check the PO history tab for finding the correct value of total invoice rather than seeing this check box
    And
    One more thing, incase you a line item in PO with 10 quantity, and you post 10 invoices for 1,1,.. quantity and you check final invoice in any one of them, the indicator is ticked in PO
    For example, once you have final invoice in one invoice, the same is reflected in PO. but after this you post one more invoice without final invoice indicator, still PO will always have the final invoice indicator. You will have to manually remove in the PO if you want.
    Regards
    Vivek Singh

  • Final invoice layout.

    My requirement as follows.
    The layout for the Final Invoice consist of 3 different parts:
    1.     The actual Final Invoice Layout (normal or Pauschal)
    2.     The u2018Rechnungsanlageu2019 Layout
    3.     The Overview Sheet Layout
    The Final Invoice layout should only be used for billing type YFSO.
    This layout is common for Germany (company code: 220)
    There are 2 types of partial invoices needed for Germany.
    1.       The u2018normalu2019 invoice including specific information for each equipment that is part of the invoice.
    2.       The u2018Pauschalu2019 Invoice which displays the total amount for several equipments together without showing specific details per equipment.
    This difference is only of influence to the item overview part of the layout. Dependent on the value of the field VBAK-KVGR1 it will be determined which logic for the item overview is used (with or without item details.
    If VBAK-KVGR1 equals u201CC01u201D, then the Pauschal overview is needed
    If ELSE then the u2018normalu2019 overview will be used.
    Each layout of the item overview is described separately below. The preferred way to handle this is to create two separate pieces of logic (code) and for each print out do a test based on the field VBAK-KVGR1 to determine which logic to use in each case.
    above is my requirement .
    I want to print 3 layouts for one output type depend upon the condition pls suggest me how to approach for this smartform.

    Hello,
    Apart from printing the data, if layout is same for all the three conditions go for a single smartform and based on the conditions display respective data. If changes are more, then i would suggest go with the indivitual forms.

  • Final Invoice Automatic complete

    Hi All,
    How to put automatically final invoice flag in PO and close PO automatically by system?
    Best Regards
    Lovkesh

    The PO will be get closed automatically after the receipt of goods , the final indicator will tell the status .if you marked final invoice in the MIRO , the invoice transaction for the concern PO will get closed automatically .for further invoice process you have to use sub credit /sub debit ..if you set it manually the PO commitment will be reset .it means no need to pay any extra penny for the concern PO .Hope i answered the question properly. 
    Thanks
    Jeevan

  • SQL query needed to identify cancelled invoice where distribution lines

    SQL query needed to identify cancelled invoice where distribution lines Debit is not equal Credit line item in particular
    Is there a way from back end FROM ap_invoice_distributions_all where we can find for the cancelled invoice where distribution lines Debit is not equal Credit line item
    Regards,
    Prakash Ranjan

    Hello Prakash
    Can you please see if this query helps you?
    SELECT i.invoice_id, i.invoice_amount, nvl(sum(d.amount),0)
    FROM ap_invoice_distributions_all d, ap_invoices_all i
    WHERE i.org_id = <you org_id>
    AND i.invoice_id = d.invoice_id
    AND d.line_type_lookup_code not in ('PREPAY')
    AND i.cancelled_date IS NOT NULL
    GROUP BY i.invoice_id, i.invoice_amount
    HAVING (i.invoice_amount <> nvl(sum(d.amount),0))
    ORDER BY i.invoice_id asc
    Octavio

Maybe you are looking for

  • Help on calendar.add() adding -60 days

    hi all i am having problem with the add() in Calendar class. i try to get a date that is 60 days prior to the current date, and here is what i coded: Calendar calendar = new GregorianCalendar(); System.out.println("current day : "+calendar.toString()

  • Exporting a Sequence of Images

    I have an image sequence of about 250 images and I want to export them as a QT Movie but I am overwhelmed at all of the settings within Quicktime Pro. Is there a tutorial somewhere that explains the settings in Quicktime Pro and explains which settin

  • I don't have Universal Access in my system preferences?

    I recently upgraded my mac operating system and I want to change my F4 key to Launchpad. Anyway. I need to 'enable assistive devices' in order to use a program that will let me do that. I don't have a Universal Access pane in system preferences thoug

  • Copy pages between documents

    Hello there, I'm trying to compile a final .indd file based on different documents pages. To do that, i'm loading a XML file with the names of the files I need and the page I need . exemple of my XML: <files>      <file url="firstDoc.indd" page="2" /

  • How to make a strobe-like effect on my videos?

    Hey guys, I'm kind of a noob at iMovie, but I'm putting a guitar cover on youtube, and want to put somekind of strobe effect on it, whether it be with brightness or colors. Think of it like the video of me playing, and the strobe on top of it. Is the