A/R invoice is created as CLOSED

Hi,
I have an issue that occurs sometimes for one of our customers in 2007-PL48.
Some A/R invoices are created as CLOSED, even if there is
- No credit memo based on it
- No incoming payment based on it (the money bag is not accessible from the invoice itself)
- No manual reconciliation
- Nobody who manually closed it
- No add-on that might close it via DI / API
There is only one instance in the CHANGE LOG (so in ADOC) and no PaidToDate amount
I've read threads #7334754 and #8672340 but this doesn't answer to my problem.  I've done several tries and I'm unable to reproduce it...
Does someone have an idea of what can be the cause of the problem ?
Thanks
Luce

Hi,
as I told you, I'm unable to reproduce the issue by myself, so even if I upgrade to the latest patch, that won't mean that the problem is fixed...
I have some code in the stored procedure regarding the Object type 13, in Add mode, but this might not cause the DocStatus to be closed when the invoice is created.  The only thing that is done is the following :
DECLARE @COST_INV1 NUMERIC(18,6)
DECLARE @PRICE_INV1 NUMERIC(18,6)
DECLARE @MARGE_INV1 NVARCHAR(10)
DECLARE @ITEM_INV1 NVARCHAR(30)
DECLARE line_INV1 cursor for select ITEMCODE,PRICE,GROSSBUYPR,U_MARGE_VALIDE from INV1 where docentry = cast(@list_of_cols_val_tab_del as int)
open line_INV1
Fetch NEXT FROM line_INV1 INTO @ITEM_INV1,@PRICE_INV1,@COST_INV1,@MARGE_INV1
while (@@FETCH_STATUS <> -1) AND (@Error <> 1)
  begin
    if @MARGE_INV1 ='NON' and (@PRICE_INV1-@COST_INV1)/@PRICE_INV1 < 0.2
      begin
        set @error = 1
        set @error_message = 'Item ' + @ITEM_INV1 + ' a une marge inferieur a 20% svp valider '
        break
      end
    Fetch NEXT FROM line_INV1 INTO @ITEM_INV1,@PRICE_INV1,@COST_INV1,@MARGE_INV1
  end
CLOSE line_INV1
DEALLOCATE line_INV1
So this should not affect the DocStatus... 
And no, I'm not printing the A/R invoices in a PDF file...
Thanks,
Luce

Similar Messages

  • Created and closed A/R credit memo and A/R invoice

    Hi All,
    How to know who has created and closed A/R credit memo and A/R invoice ? I see
    the credit memo sometimes created based on A/R invoice but none the user's create
    it. Tks.
    Rgds,

    Hello,
    you could use change log, from tools --> change log to see who has closed or created a certain document. It is a history record tools. It is from ADOC, OUSR and other related tables.
    Rgds,

  • Cannot post invoices against  a business closed workorder

    Hi,
    We  are facing be;ow issue
    We  cannot post invoices against  a business closed workorder.
    The process is as follows:
    ·       At the moment a service has been delivered we create a service entry sheet against the purchase order (Account assignment work order)
    ·       At the same time we complete the workorder (status TECO)
    ·       When the invoice arrives at Accounts Payable the want to post it against the PO
    ·       Previous step is not possible due to the fact that the workorder has been Business Completed by SAP (status CLSD)
    This results in a lot of hassles for AP and our admin, they have to re-open WO's, post invoices and close workorders again.
    Can you tell me what to do to get this resolved?
    In my opinion Workorders should never get status CLSD as long as there are invoices to post against them
    Thanks
    Br,
    Akkshaya

    Hi,
    You can see the the invoice posted or not from the document flow to the order.
    Coming to business closure normaly it is year end or quarter end activity. Which you will not be performing every day. And this activity prefarably be performed by finanacial people. Sice all the cost postings most of them are closed by them. They will get fair enough idea which period invoice posting is done.
    Then in between you have to run settlement also. Finally I can say it depends on business call who will do and when.
    Regards,
    N.Nagaraju

  • Accounting entry against Excise invoice not created  for Service Tax sales

    Dear all,
        I am facing one problem related to accounting entry against excise invoice not created, for service tax sales scenario in SEZ plant.
    Accounting entry against billing document is generated,which contains revenue account-Debit entry,service tax 10% --Debit entry,ECS-Service tax 2% --Debit entry, SECess Service Tax 1% --Debit entry & Sundry Debtors (Reco)  - Domestic(Customer receivable reconciallation) account-Credit entry.
      But after generating excise invoice, accouning entries not generated for clearing of Cenvat suspense entry(i.e.service tax 10% ,ECS-Service tax 2% , SECess Service Tax 1%) which is generated during billing document.
    Plz. suggest step by step guideline to resolve this issue.
    Thanks & Regards,
    Mukesh Pardeshi

    Hi ReazuddinMD,
    thanks for your reply and support...I checked all the entries/accounts maintained correct.. but the Accounting entrys against Excise invoice not created..
    Now i am geeting error as below at the time of saving Excise invoice,
    No account is specified in item 0000000001
    Message no. F5670
    Diagnosis
    No account was specified for account type "S" in item "0000000001" of the FI/CO document.
    System Response
    The Financial Accounting program cannot process the document.
    Procedure
    A system error has probably occurred in the application you called up. Check the data transferred to item "0000000001" of the FI/CO document.

  • Can a excise invoice be created for a proforma invoice

    Hi frenz,
    For Intracompany stock transfer order a excise invoice has to be created.Here they raise a proforma invoice for a PO. Now they want to raise a Excise invoice(tcode: j1ib) for that Proforma invoice.
    So is it possible to raise a Excise invoice for a proforma invoice? If so wat has to be done....
    Regards,
    vimal

    Hi,
    Excise Invoice is created based on Proforma Invoice or
    Invoice (based on configuration, it can also be Delivery).
    The Process Flow will be as under:
    Process 1:
    Sales Order (VA01 / VA02 / VA03) --> Delivery (VL10A / VL10C
    / VL01N / VL02N ? VL03N / VL04) --> PGI (VL02N) --> Proforma
    Invoice (VF01 / VF02 / VF03) --> Excise Invoice (J1IIN)
    Process 2:
    Sales Order (VA01 / VA02 / VA03) --> Delivery (VL10A / VL10C
    / VL01N / VL02N ? VL03N / VL04) --> PGI (VL02N) --> Invoice
    (VF01 / VF02 / VF03) --> Excise Invoice (J1IIN)
    You can find more info this here.
    [Link|http://www.allinterview.com/showanswers/57937.html]
    regards
    sadhu kishore

  • Excise Invoice automatically created during STO Billing

    Hi all,
    During creating of billing documents in VF01 for STO invoice, the excise invoice is also created simultaneously without manual creation.  Normally excise invoice are created seperately  by
    giving the billing document reference no.through J1IIN.  Suddenly, the excise invoice has also
    been created in VF01 itself.  Can anybody explain what may be the reason and how to restore
    to manual transaction process of creating excise invoice.
    Thanks & Regards,
    Sadashivan

    Hi,
    Check the Excise Group settings which you are using for your STO transaction .
    SPRO -- Log gen--Tax on goods movement - India Basic settings --Maintain Excise Groups
    Here for your Excise group check whether You have selected Excise inv during billing for Outgoing excise invoice.
    If there then system will create automatically Excise invoice during Billing document creation,
    rgds
    GSC

  • Address data changed after invoice is created

    Hi,
    I've a problem to solve and it's related with data changed after invoice is created.
    The scenario is the follow:
    1º - create a complete and standard sales process - order => delivery => invoice, with the standard partner scheme and without edit the address data, for any kind of partner
    2ª after the invoice is created, I change the address data on Client Master Data, for the same client that I've used on previous process
    3º I'll go to the VF03 transaction and take a look at the partner data on header level. Here I can see that the changes on the Client Master Data ar updated to the invoice document wich is already created and printed when I maked the changes
    I think that could be a program error because, once the documento is created, you only can change texts and accounts if this document is not yet created.
    And, I can't edit this kind of data on invoice creation because it must be done at order level.
    So I don't understand why it happen, but it happen on more than one client.
    I'll hope that anyone can help me to solve this issue.
    Kind regards,
    Nuno Rodrigues

    Hi Nuno,
    the adresses of all Clients are stored in table adrc. If there are no changes in the order, the system takes the standard adress of the client. That is made for not having an extra adress for each order.
    If you change the adress - the system will create a new adressnumber ( 999........ - see in VBPA ).
    If you have different adressnumbers in your orders, you are not able th collect several orders into one delivery note - for the adressnumber ist normally a split-criteria.
    Ich you will have an extra Adress for each Order, change the adress - for example by an user exit.
    But if you have different adressnumbers - the delivery and the invoice will split the different orders - if you dont do something against in an user-exit.
    Hans

  • Excise Invoice Not creating automatically

    Hello!
                      while doing Billing document using VLO1N,Excise invoice is not creating for a particular material. I checked Material Master for this particular item.I compared the Material Master for the item which is creating Excise Invoice automatically and the for the item Excise Invoice not creating automatically. Every thing is same for both the items but the excise invoice is creating automatically for one material and same Excise invoice is not creating automatically for another item.I don't know where is the exact problem is.could anyone tell me why the Excise Invoice is not creating for the particular item.
    -M.Suba

    Excise Invoice creation depends on Customizatoin of Excise group which is specific to Plant.
    Check Customization settings-
    IMG: Logistics General - Tax on Goods movements - INDIA - Basic Settings - Maintain Excise Group,
    select your excise group & choose details,
    You will observe, check box " Excise Invoice during Billing" in 'Outgoing Excise Invoice' section. This check box should be marked.
    Note: To create Billing documents - Tx :VF01 is used , not VL01N ( this is for Creating Outbound Delivery document)
    Regards,
    Reazuddin MD

  • CIN - Link between Excise invoice No (created in MIRO) with Material Document (GR)

    Dear Experts,
                 I have done Miro for excise duty (CIN) of Import Purchase order and then posted the material document in MIGO_GR referencing PO, i have entered the Excise invoice No (created in  MIRO ) in the commercial excise invoice no tab,while processing MIGO. Need the link between the tables containing invoice and Goods receipt for report development.
    Thanks & Regards
    Thangavel ganesh

    The commercial invoice number in MIGO just pulls the excise data from the MIRO. It does not get stored in any of the material document tables.
    For reporting you will need to go through PO history tables: EKBZ

  • How to add invoices while creating Batch Payment in Oracle Apps R12

    Hi all,
    how to add invoices while creating Batch Payment in Oracle Apps R12
    Thanks

    Can you elaborate your problem in detail ?

  • Ignore the cancelled invoice to create accounting

    In 12.1.3, when we run create accouting, the accounting program will pick up all the unaccounted invoice to create accounting.
    However, we want the accounting program to ignore those cancelled invoice and canncelled paymen to create accounting.
    Please advise how can do so?
    Edited by: user12088905 on Apr 11, 2011 9:56 PM

    do you able to achieve it ???
    If yes then how ?
    We need to avoid the accounting of all unapproved invoices.
    Thanks
    -Shivdeep Singh

  • Create Accounting in invoice and Create accounting in payment terms?

    hi,
    I want to know the difference between create accounting in invoice and create accounting in payment terms and is it compulsory to validate and create accounting in invoice before making payments ?
    Regards
    Sudharshan

    If the accounting method is accrual, then invoice accounting will be Item Expense/Charge -> Liability.
    And payment accounting will be Liability -> Cash (it is different if you have reconciliation also)
    An invoice has to be validated to get accounted or to get paid.
    Payment just need a validated invoice, not an accounted invoice.
    But Payment accounting can be done only after the invoice is accounted.
    By
    Vamsi

  • Can Two Invoice be created with reference to one Return order

    Dear All.
                  Can two SR Invoice be created with reference to one SR Order.

    Thanks JP Sir,
                       Much appriciated ,we are having SAP IS:AFS(Our Business is of Manufacturing & Marketiing.Consumer product.
    Sir- I created a SR Order after creating it forgot to do PGR & without  doing PGR I opened sales log in order & created SR Invoice without doing PGR & when I check it in VF03 ,Issue print out then there was not any material discription in Created Credit Invoice & when I checked Display document then there were no any delivery document then I came to know without doing PGR how material  can be copied  & then did PGR  with reference to same SR Order  n created another Invoice .but my question is that without cancelling previous SR Invoice how another Invoice can be created with reference to same SR Order.
    Thanks,
    Kamlesh

  • What setting to mandate that invoice is created based on sales order NOT...

    Hi,everyone
    Could you tell me the detailed configuration  to mandate that invoice is created based on sales order NOT delivery documents.
    Additionaly, I need to define this rule at headquarter and apply it all lower-level companies.  how to do it.
    thanks you very much

    Dear Humility,
    Could you tell me the detailed configuration to mandate that invoice is created based on sales order NOT delivery documents.
    This is quite possible through copy control settings between sales order and billing document
    In standard billing type F1 will billed with reference to the sales order OR,so you can copy those settings then rename to your document types and itemcategory.
    Go to VTFA transaction click n change icon then select billing type F1 and order type OR then click on Copy As icon (F6)and change the document types(maintain your docuemnt types).
    To copy item level settings
    Now you come back to initial screen agin you select billing type F1 and order type OR then click on item here you select standard item category then click on Copy as Icon (F6) here you maintain your itemcategory.
    Note:- Don't change the satndard settings you just copy
    Additionaly, I need to define this rule at headquarter and apply it all lower-level companies. how to do it.
    For this you can take help of your BASIS people they will full fill with the roles and authorisation settings.
    I hope this will help you,
    Regards,
    Murali.

  • SMS at the time Invoice is Created

    Hi
    I want to send SMS to my Customer when this Invoice is created.
    In SMS his amount of bill and the Invoice number should be send.

    Hi,
    Have a look at this. It may help you.
    [http://help.sap.com/erp2005_ehp_04/helpdata/DE/54/9d9f405660f418e10000000a1550b0/frameset.htm]
    Thanks,
    Sri.

Maybe you are looking for

  • Need help in using sleep function in pl/sql

    Hi, need help: I have a condition where i want to validate total_pass=total_fail and I want to use the sleep function in a pl/sql where i want to wait for 2 minutes ie.checking whether total_pass=total_fail based upon class_id . I have the data in th

  • Can I use my 1st gen ipod touch as hard drive

    I have a 32 gb 1st gen ipod touch and I want to use some of it to store items/files that have nothing to do with itunes. How can I get this ipod as hd/itune device?

  • Iphoto won't open, error message

    I have a loaner macbook however it is brand new and I am trying to open iphoto and it won't let me.  There is an error message that states, "your iphoto library is either in use by another application, or has become unreadable.  I haven't even put an

  • Screensaver Portrait Orientation

    Since updating to Leopard my Portrait (vertical) photos are displayed horizontally. I've searched this forum, googled it, and checked my "Missing Manual" and can't find an help. Can anyone tell me how to correct this so it displays correctly? Thanks

  • How to get back FaceTime on iPhone in Saudi Arabia or other country

    My father owns an iPhone 4S, we live in Saudi Arabia, he had FaceTime for a whole time, and then after updating to iOS 6, FaceTime has disappeared, I've heard that the Saudi government have removed it from the country, but I still have it on my iPod