MM Invoice with FI documents

Hi All,
In MIRO, we display Logistic Invoice which posted, if we click on follown-Documents, system will show all FI documents number.
Could anybody tell me from which table system store, i.e MM invoice along with FI documents number.
Regards,
Venkat

Hello Venkat,
RBKP and RSEG tables store data related to MM Invoice (created by MIRO transaction).
In BKPF table, for field AWKEY, if you put concatenated the values from RBKP-BELNR (Invoice Doc. Number) and RBKP-GJAHR (Fiscal Year), you will be able to get the respective FI document.
Hope it helps you!
Regards,
Daniel.

Similar Messages

  • APP - F110 - Payment of multiple invoices with different document type

    Hi
    Vendor X has been assigned with payment method same with two document types. One document type got 4 invoices and other document type got 1 invoice.
    During payment run (F110) for each document type, the system picked up both the document type but listed them as two separate lines in the proposal list. When we process the payment the system also created two payment documents.
    Is there a way for these two document types to be processed as a single proposal and payment.
    Any suggestion how can we process these invoices together in a single proposal/payment document?
    Thanks & Regards,
    Sam

    Thanks

  • Report to link invoices with attached documents

    I am trying to spool a report from the oracle back end, for some senior staff at my organisation. The report would contain approved invoices along with their electronically attached documents. I have a similar query that works( see below) the problem is this query only accurately ties invoice ID's(PK1_Value) for invoices that were created using "AP_INVOICES" enitity_name, but majority of our users dont have the payables responsibility and hence can only create using the "AP_INVOICES_INTERFACE" enitity_name, and I cant tie the PK1_VALUE in the fnd_attached_documents table to the invoice ID, Please I need urgent help to locate (a) what PK1_VALUE is being used by AP_INVOICES_INTERFACE (b) How I can reference INVOICE_ID with that value.
    SELECT SUP.vendor_name SUPPLIER, INV.invoice_num INVOICE,
    INV.invoice_amount AMOUNT, INV.remit_to_supplier_name,
    INV.description, APVL.approval_history_id, APVL.approver_name, DOC.url
    FROM ap_suppliers SUP, ap_invoices_all INV, ap_inv_aprvl_hist_all APVL,
    fnd_documents DOC, fnd_attached_documents ATCH
    WHERE SUP.vendor_id = INV.vendor_id
    AND INV.invoice_id = APVL.invoice_id
    AND INV.invoice_id = ATCH.pk1_value
    AND DOC.document_id = ATCH.document_id
    AND INV.wfapproval_status = 'WFAPPROVED'
    AND ATCH.entity_name = 'AP_INVOICES'
    AND APVL.response = 'APPROVED'
    AND INV.cancelled_by IS NULL
    ORDER BY SUPPLIER, INVOICE, APVL.approval_history_id
    Thanks in anticipation.

    991923 wrote:
    @Billy
    This is an oracle related question, and its not an in-built developed model. I was actually refered to this forum from oracle support.Billy is correct. Whilst it may be an Oracle question, it is not an SQL or PL/SQL related question.
    Your question is referring specifically to functions and entities that are only available to people using one of Oracle Apps type things (I don't use them myself)... So probably one of the forums in the E-Business suite (https://forums.oracle.com/forums/category.jspa?categoryID=3) would be more suitable.
    Oracle Support would not (or certainly should not) be referring someone to ask their question in the forums if it is an urgent commercial issue as these forums are not for commercial support.
    In these forums, nothing is "urgent" and it is considered rude to presume otherwise, both to the volunteers who help here, and to the other people who would like their questions answered.
    The reason i mentioned the tables AP_INVOICES_ALL and AP_INVOICES_INTERFACE is to give as much information about my problem as possible.That's great, but those tables do not exist as part of the standard Oracle database installation, and this SQL and PL/SQL forum is for questions related to the SQL and PL/SQL languages, not for questions related to specific applications that people here are unlikely to have, and for which, when they are Oracle provided applications, they have their own specific forums.

  • Link invoice with Business Document

    Hi all,
    I am looking for a way to link my invoices (from R/3 Invoice overview) with the original scanned invoice in TIFF format (business document).
    I can see that this is possible using the "Attach Business Document" feature in the change invoice sreen, but I do not want to set this link up manually.
    Is there anyway assign a "business document" to an invoice (or the other way around) automatically?
    Thanks!

    ....you can use GOS (generic object serivces) to add attachments.
    Here is a SD billing example....
    Add this program to an output type in transaction NACE
    *& Report  ZZCREATE_ATTACH                                             *
    *& Triggered by billing output-type ZRD4                               *
    *& Create a "service for object" attachement URL
    report  zzcreate_attach.
    tables: nast.
    data: tmp_vbeln like vbrk-vbeln.
    data:
    *--Object_a
        p_botype like obl_s_pbor-typeid,
        p_bo_id  like obl_s_pbor-instid,
    *--Object_b
        p_docty  like obl_s_pbor-typeid,
        p_msgtyp like sofm-doctp,
        p_url(300),
        p_title(30),
    *--Relationship
        p_reltyp  like mdoblrel-reltype.
    *-Include for BO macros -*
    include : <cntn01>.
    types: begin of ty_message_key,
            foltp     type so_fol_tp,
            folyr     type so_fol_yr,
            folno     type so_fol_no,
            doctp     type so_doc_tp,
            docyr     type so_doc_yr,
            docno     type so_doc_no,
            fortp     type so_for_tp,
            foryr     type so_for_yr,
            forno     type so_for_no,
           end of ty_message_key.
    data : lv_message_key type ty_message_key.
    data : lo_message type swc_object.
    data : lt_doc_content type standard table of soli-line with header line.
    data : tmp_oblguid16 type oblguid16.
    *&      Form  entry
    *       text
    *      -->RETURN_CODE  text
    *      -->US_SCREEN    text
    form entry using return_code us_screen.
      perform create_url.
      return_code = 0.
    endform.                    "ENTRY
    *&      Form  create_url
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form create_url .
      if nast-objky+10 ne space.
        nast-objky = nast-objky+16(10).
      else.
        nast-objky = nast-objky.
      endif.
      tmp_vbeln = nast-objky.
    *-Load class. -*
      class cl_binary_relation definition load.
      class cl_obl_object      definition load.
    *-Set default values -*
      p_botype = 'VBRK'.
      p_bo_id  = tmp_vbeln.
      p_docty  = 'MESSAGE'.
      p_msgtyp = 'URL'.
      p_title  = 'Web Hotel'.
      p_reltyp = 'URL'.
      p_url = 'www.mydoc.tiff'.                   "Here you must add your URL !!!
    *-First derive the Attachment's ( MESSAGE )document type. -*
      p_docty = 'MESSAGE'.
      case p_reltyp.
    *   In case of URls
        when 'URL'.
          p_msgtyp = 'URL'.
    *   In case of Notes / Private Notes
        when 'NOTE' or 'PNOT'.
          p_msgtyp = 'RAW'.
        when 'ATTA'.
          p_msgtyp = 'EXT'.
    *   Not implemented as yet...exit
          exit.
        when others.
    *    ....exit
          exit.
      endcase.
    *-Create an initial instance of BO 'MESSAGE' - to  -*
    *-call the instance-independent method 'Create'.   -*
      swc_create_object lo_message 'MESSAGE' lv_message_key.
    *-Define container to pass the parameter values -*
    *-to the method call in next step.              -*
      swc_container lt_message_container.
    *-Populate container with parameters for method-*
      swc_set_element lt_message_container 'DOCUMENTTITLE' p_title.
      swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.
      swc_set_element lt_message_container 'NO_DIALOG'     'X'.
      swc_set_element lt_message_container 'DOCUMENTNAME' p_docty.
      swc_set_element lt_message_container 'DOCUMENTTYPE'   p_msgtyp.
    *-'DocumentContent' is a multi-line element ( itab ). -*
    *-In case of URLs..it should be concatenated          -*
    *-with &KEY& in the begining.                         -*
      case p_msgtyp.
        when 'URL'.
          concatenate '&KEY&' p_url into lt_doc_content.
          append lt_doc_content.
    *-In case of Notes or Private Notes, get the data -*
    *-from files on appl server or from wherever ?    -*
    *-(remember background).                          -*
        when 'RAW'.
          lt_doc_content = 'Hi How r u?' .
          append lt_doc_content.
    *-In case of File attachments upload file -*
        when 'EXT'.
      endcase.
      swc_set_element lt_message_container 'DocumentContent' lt_doc_content.
      swc_call_method lo_message 'CREATE' lt_message_container.
    *-Refresh to get the reference of        -*
    *-create 'MESSAGE' object for attachment -*
      swc_refresh_object lo_message.
    *-Get Key of new object -*
      swc_get_object_key lo_message lv_message_key.
    *-Now we have attachment as a business object instance.      -*
    *-We can now attach it to our main business object instance. -*
    *-Create main BO object_a -*
      data: lo_is_object_a type sibflporb.
      lo_is_object_a-instid = p_bo_id.
      lo_is_object_a-typeid = p_botype.
      lo_is_object_a-catid  = 'BO'.
    *-Create attachment BO object_b -*
      data: lo_is_object_b type sibflporb.
      lo_is_object_b-instid = lv_message_key.
      lo_is_object_b-typeid = p_docty.
      lo_is_object_b-catid  = 'BO'.
    *-TRY -*
      call method cl_binary_relation=>create_link
        exporting
          is_object_a            = lo_is_object_a
    *    IP_LOGSYS_A            =
          is_object_b            = lo_is_object_b
    *    IP_LOGSYS_B            =
          ip_reltype             = p_reltyp
    *    IP_PROPNAM             =
    *    I_PROPERTY             =
         importing
           ep_link_id             = tmp_oblguid16
    *    EO_PROPERTY            =
    endform.                    " create_url

  • Grouping of customer invoices based on document currency

    Dear All,
    In an intercompany scenario, documents would be posted in different currencies to the inter company customer. For example there are 10 invoices posted to this customer. out of the 10 invoices, 4 invoices are posted in USD, 3 are posted in EUR and 3 are posted in JPY currency. When the payment proposal (F110) is run for these customers, we would expect that all the invoices with same document currency are grouped together against each customer. However, currently it is not behaving the same. Could you please let us know the relevant configuration setting required for this grouping.
    Thanks & Regards
    Vasu

    Hi Deepa,
    Thanks for your reply. Let me claify the issue again. In the given example, when the proposal is run, we would expect one payment document created for all the invoices in USD currency, EUR & JPY separately. Precisely there should be only three payment documents. However, currently the system is not behaving in this manner. We would like to know the configuration required to meet this requirement.
    Thanks & Regards
    Vasu

  • Report with Invoice and Accounting Document Number

    Dear Experts,
    Here i have a requirement.
    I wanna a report which gives a Invoice (MIRO) and its accounting documents (Follow on document) in one page. Because If I view a MIRO document, for checking the accounting document, I need to click on Follow on doc, then I'll get.
    But If wanna see for 1000 MIRO documents with accounting document number, then I don't want to click 1000 times to see the account doc for respective Invoice number.
    The approximate format is,
    Column 1                              Column 2     Column 3        .......................              Column n
    MIRO  (Invoice number)                             Accountting Doc Number
    5100000099                                              5100000011
    Which tcode will give the both in one screen?
    Thanks in advance
    Regards,
    navahsek

    Hi,
    Enter Sork Key 002 for Vendor Master Record.
    and also you can check the Report in ECC 6.0
    MIR5 - Display List of Invoice Documents
    There you select Export Mode --> Display Accounting Document Number.
    You can get Report FI and MM Document Numbers.
    Hope It will Clear.
    Regards,
    Kishore

  • How to create excise invoice with reference delivery document

    hi all sd guru
    please guide me how to create excise invoice by taking reference of delivery no.
    thankx in advance
    san

    HI
    FACTORY SALES
    IN CASE OF FACTORY sales you have to create a billing document either Proforma or Commercial.
    Then you can reference the billing doc i9n J1IIN for creation
    DEPOT SALES
    In case of depot sales you can create a excise invoice with reference to delivery document.
    For this after creation of delivery goto J1IJ  and slect the rg23d from menu
    you can create an excise invoice with delivery in depot sales.
    In factory it is not possible to create a excise invoice with delivery doc.
    regards
    Prashanth

  • Sales document type ZA99 cannot be invoiced with billing type LR

    Hello Guys
    I am getting this error even if i have configured billing. Please help. Here is the error
    'Sales document type ZA99 cannot be invoiced with billing type LR'
    Thanks
    Venky

    If your process chain is like ZA99 (order) -> ZL99(delivery) ->ZF99 (billing) -> LR (invoice List)
    Then your copying control settings should reflect the same flow.
    VOV8: delivery and billing types to default as above
    VTLA: set up for ZA99 ->ZL99; VTFL: ZF99 ->ZL99; VTFF: ZF99 ->LR
    Since no copy control settings for ZA99 ->LR, itemCa at VOV7 is not order-rele billing, and no default value at VOV8, it can not be copied.
    If you do want to invoice your order directly like service item scenario, make customizations accordingly.
    Message was edited by:
            John MG

  • Object link with finanace Documents (Vendor Invoice) Tcode FB03

    Hi all,
    Can DMS object link be maintained with finance documents for ex Vendor Invoice?
    Tcode FB03.
    Thanks
    Ansih

    Hi,
    you can link documents to purchase order item or purchase requisition then obviously this will be displayed in vendor invoice.
    Best practice is to use SAP DMS standard functions. Don't go to link with vendor invoice.Anyhow MIRO and MIGO transaction are
    depeandent on purchase requisition.I hope this will resolve your query and is a best practice.
    Regards,
    Ravindra

  • Invoice Verification with material document - can we check material doc?

    hi,
    we have Invoice Verification with material documents in MIRO
    is there any way to find out (from MSEG or ekbe maybe) if a particular
    material document was invoiced or not ?
    (without comparing material doc and invoice lines ?)
    thank you,
    Regards,
    michal

    Hi
    Materials Management under Logistics Invoice Verification u2192 Incoming Invoice u2192 Activate Direct Posting to G/L Accounts and Material Accounts
    When you create an invoice containing only items without reference to a PO, the system cannot copy any information (such as currency or invoicing party) from the purchase order. This means that in addition to the document date and the amount, you first have to enter the following information in the header data:
    1. On the Basic data tab page: Currency
    2. On the Payment tab page: Baseline payment date
    3. On the Detail tab page: Invoicing party
    Finally, you enter the item data on the G/L Account and Material tab pages.
    use transaction FB60 to post vendor invoice
    SAM

  • Document splitting: vendor invoice with VAT cannot be posted because of tax

    Hello
    I try to post a vendor invoice with document splitting active. I can post a document without VAT but with VAT (input tax 21%) I get the message "Posting possible only with zero balance" balance; balance on other line items is 210 EUR.
    001 31       0000105675 Vendo                      1.000,00-                V4
    002 40       0000601000 Purchase of consuma           500,00                 V4
    003 40       0000601000 Purchase of consuma           500,00                 V4
    In customizing for document splliting I have following categories assigned to the GL accounts:
    100     399999     01000     Balance Sheet Account
    411000     411000     05100     Taxes on Sales/Purchases
    440000     441000     03000     Vendor
    451000     451000     05100     Taxes on Sales/Purchases
    500000     580000     01000     Balance Sheet Account
    600000     699999     20000     Expense
    700000     759010     30000     Revenue
    The field status group of the tax gl account has following field optional: cost center, profit center, segment (on which document splitting is require)
    What should I do so that the document splitting works also for the tax accounts so that they appear in the gl document?
    kr
    Arjan

    Hi,
    This problem does not seem to be of Document Splitting. When you post the document, balance of the document does not come to zero. This problem somewhat relates to Parrelel currency configured.
    Please depict entire scenario. Let me know in which currency you are posting document and which transaction and what message system is shooting.
    Straight solution can be you manually change the 210 EUR balance into document by clicking on more data.
    Regards,
    Chitnan Joshi.

  • Invoice split with same document type

    Hi Experts,
    Kindly suggest on following issue:-
    Currently we are using two billing types ZBBL  for division 11 & ZDBL for division 12.
    Whenever we do invoice with billing type ZBBL(manual entry) with reference to delivery for 12, system gives error message i.e. ZBBL can not be processed with division 12 & vice versa.  This is OK .
    But if we do VF01 for two delivery document one with division 11 & other with division 12-billing document ZBBL(manual entry) , system splits the invoces. It create two invoices. Again its a standard process.
    So my problem is system is creating two different invoices , one for division 11 & other for 12-but with same billing type.
    How can I make setting so that if system splits into two invoices ,it should create one invoice with ZBBL & other with ZDBL.
    Please advise.
    Thanks in advance.
    Regards,
    Dharminder dalal

    There can be many reasons why your invoices with same sales area are getting split. It many based on:
    - Billing type
    - Billing date
    - Payer
    - Billing unit
    - Terms of payment
    - Incoterms
    - Letter of credit
    Further, if you want analysis, on what bases system is splitting these in invoice. Try following steps:
    - Try using Tcode VF04. Opt for delivery related billing.
    - Select the desired delivery docs in Billing due list. (Press Ctrl Key from keyboard to select multiple lines).
    - Then click on simulation button.
    - Billing Doc Simulate: Billing Doc Overview Screen
    - Select all lines.
    - There first go for Logs, by pressing Log button.
    - If log is fine then, click on Split Analysis button to get split analysis.
    For further reference on Invoice split. Refer SAP Note 11162 - Invoice split criteria in billing document
    So, how to handle this?
    Based on the split analysis amend your copying control for Delivery to Billing in TCode VTFL.
    There many be a possibility that you might need to create customized routine with help of a tech consultant to suffice your requirement.
    Also, refer link - multiple delivery but single invoice for reference/understanding.
    Then to combine the billing. Follow following steps:
    1. Use Tcode VF04. Opt for delivery related billing.
    2. Select the desired delivery docs in Billing due list. (Press Ctrl Key from keyboard to select multiple lines).
    3. Then click on Collective Billing button.
    Regards
    JP

  • How to create excise invoice with refer to Delivery Note

    Hi SAP Expert,
    I am doing STOCK Transport process from factory to depot and hitting error while creating excise invoice in Factory.
    From SAP help on Creating Excise Invoice, it said :
    From the SAP Easy Access screen, choose Indirect Taxes ® Sales/Outbound Movements ® Excise Invoice ® For Sales Order ® Outgoing Excise Invoice Create/Change/Display ® …
    If you want to create the excise invoice with reference to a pro forma excise invoice or commercial invoice, choose Excise Invoice ® Create.
    If you want to create the excise invoice with reference to a delivery note, choose Exc. inv. for delivery ® Create.
    Enter the number of the reference document.
    - When i created the excise invoice with reference to a STO Delivery Note, i am getting error : " For delivery 800050092 no document of type JEX exist "
    - I already setup the config to assign Delivery Type NL to billing type JEXP.
    I was doing the steps as below :
    1. ME21N u2013 Create Stock Transport Order
    2. VL10B u2013 Create Outbound Delivery w.r.t. STO
    3. J1IIN u2013 Create Outgoing Excise Invoice w.r.t. Delivery Note
    - Anything that i am missing ?

    Hi Guru,
    Thanks for your reply. It is my typo error. I have maintained the delivery type NL to billing type JEX, instead of JEXP
    I am getting error :
    For delivery 800050092 no document of type JEX exist
    Message no. 8I320
    Diagnosis
    The excise reference document defined does not exist for the delivery.
    Procedure
    Create the excise reference document before running the excise posting transaction.
    - What is it means by create the excise reference document before running the excise posting transaction ? Do I need to create Pro-forma invoice prior to execute transaction J1IIN ?
    I did not check the selection for ": Excise Inv during Billing " in my Excise Group maintainance.

  • Error while posting A/R Downpayment Invoice with Excisable Tax Code.

    While posting A/R Dowpayment Invoice with Excisable Tax Code error of "Unbalanced Transaction" appears. This error does not occur while posting A/R Downpayment Invoices with Non-Excisable Tax Codes.
    Kindly provide a solution for the same.

    SAP Note Number: 1179405
    Error -5002 when trying to copy a document with Sales BOM
    In order to create the delivery via the DI, you need to set the oDoc.Lines.BaseLine value to the LineNum value from the RDR1 table (in the above example you should enter the value 2).
    we set oDoc.Lines.BaseLine=0 before starting the lines loop. This has resolved the issue.
    This note was really helpful and it was found in another query.
    You can also refer to this. https://forums.sdn.sap.com/click.jspa?searchID=19070513&messageID=6178079
    Thanks.
    Edited by: Sadanand Manda on Nov 24, 2008 12:16 PM

  • Any option to get the list of Invoice with respect to Sales Area

    Dear All,
    Is there any option to check the list of Invoices with respect to the Sales area.
    Because, in VF05, we are getting the list either for a Payer or a Material.
    I want to see the list of Invoices for a Sales area. I mean, it should be similar to VA05, where we can get the list of Sales Orders even without providing the Customer and Material information.
    Reagrds,
    Mullairaja

    HI
    Use the T code VF05N and select the option Bill documents in Fi
    Here you can get the list of invoices
    Try with MC+2
    regards
    Prashanth
    Edited by: Prashanth@SD on Nov 11, 2010 9:44 AM

Maybe you are looking for

  • Update error of SQL Server 2012 enterprise running on Windows server 2008 standard SP2 (32 bits)

    Hi there; I have a windows server 2008 SP2 (32bits) in which I have an instance of SQL Server 2008 and another of 2012. My Windows server 2008 installed the following updates; (see below). (KB2898858),(KB2909921),(KB890830),(KB2898869),(KB2911502),(K

  • Urgent: how to cancel orders in OM using API.oe_order_pub

    Hi All, I have written API - oe_order_pub, its compiling successfully but the orders are not getting cancelled. Do I need to add few more things for the following code... Please help create or replace package body apcx_test_cancel_order is PROCEDURE

  • Validation of vendor

    Hi,   I have to validate is the vendor given is one time vendor or not.Have written the code as CLEAR lfa1-lifnr.   IF NOT s_lifnr[] IS INITIAL.     SELECT SINGLE ktokk INTO gw_lfa1 FROM lfa1 WHERE lifnr IN s_lifnr.     IF gw_lfa1 NE 'ZECS'.       ME

  • OBIEE 11g on windows xp Installation

    Hi All, I am new to OBIEE and I am trying to install OBIEE 11g v.11.1.1.6.0 on a fresh windows xp machine. I hope you can answer to my below questions. 1) Do I need to install any Oracle DB (like to install 10g) prior to running rcu.bat file? 2) If I

  • Forwarding to jsp page inside web-inf

    hi everyone, i have a question. i have jsp pages inside web-inf folder and i have welcome page of project(outside web-inf) in pages from where i want to give link to jsp page inside web-inf folder. this project is absed on spring framework. how can i