Refernce between MIRO document and the customer billing document

Hi,
We have aa requirment in the third party business process. Is there any referce table between the Miro document and the customer billing document in case of third party business process other than sale orders.
Is there any other way where i can know that for this billing document this is my MIRO document number in case of third party business process. For the reportin purpose we need the information is there any table or any function module which satisfies the above requirement.
Thanks in advance.
Sunil

Hi,
As per my best knowledge there's no direct connection between "MIRO document" and billing document.
- the logistics invoice(s) (MIRO document) is (are) connected to the PO in table EKBE (PO no. in EBELN, Invoice no. in BELNR where BEWTP="Q")
- PO and SO are connected in table VBFA (SO no. in VBELV, PO no. in VBELN where VBTYP_N="V")
- SO and billing documents are connected in table VBFA (SO. no. in VBELV, Billing doc. no. in VBELN where VBTYP_N="M")
Maybe there are other solutions too.
Regards,
Csaba

Similar Messages

  • Creation of DMR and CMR from the archived billing document in EHP3 system

    Hi all
    I read somewhere that one of the functionality in EHP3 is we can create sales document like debit memo request and credit memo request from the archived billing document. I am working on EHP3 system only but i am not able to create the sales document. the system throws an error that billing document doesnt exist
    If any one of you have worked on such functionality kindly suggest me why its not happening here also let me know Is ther any customization required for the execution of this functionality in spro.

    > If any one of you have worked on such functionality kindly suggest me why its not happening here also let me know Is ther any customization required for the execution of this functionality in spro.
    I suggest you open that question in an SD forum together with the support package you run and if you have an industry solution or any business function sets activated or not.
    Markus

  • Relation between statistical document and the real document

    How do I get relation between statistical document and the real document.
    Actually I want to reverse the posted real document and then convert statistical document into real document.
    Problem is that I have the Main/Sub transaction of statistical document but not of real document. So how do i link both of them.

    Hello,
    LFA1 is just a master data table.
    To get the number of open items you refer table BSIK
    To get the number of cleared items, you refer table BSAK
    These two tables gives you the number of line items posted on vendors.
    Hope this is informative.
    Regards,
    Ravi

  • Table having the link between  Clearing document and the Invoice document

    pls can someone tell me the table that having the relationship between clearing document and the Invoice document.
    Thanx .

    Hi,
    You can try with the following tables: BSE_CLR, BSEG, BSAD, BSAK.
    Regards,
    Svetlin

  • Difference between delivery related and order related billing

    Hello Friends,
    Kindly explain the difference between delivery related and order related billing with an example. Thanks

    The billing relevance is controlled by item category of material, which u have assigned to sales document type.
    For example
    1.item category –TAN
    Billing relevance is –A- Standard-Delivery-related billing document
    So in standard order of material which has to get delivered, we will bill it on its delivery. So billing relevance is delivery related billing.
    2.BVN
    In cash sales item category is BVN whose billing relevance is Relevant for order-related billing - status acc.to order qty.
    So here we will bill the customer from sales order only, no need to go to delivery.
    DON’T FORGT TO REWARD POINTS IF THIS ANSWER SATISFIES YOU.
    Thanks
    Tushar
    SAP SD, SAP BI
    09822984340

  • Creation of sales document (DMR, CMR) from the archived billing document

    Hi all
    I read somewhere that one of the functionality in EHP3 is we can create sales document like debit memo request and credit memo request from the archived billing document. I am working on EHP3 system only but i am not able to create the sales document. the system throws an error that billing document doesnt exist
    If any one of you have worked on such functionality kindly suggest me why its not happening here also let me know Is ther any customization required for the execution of this functionality in spro.

    hi,
    the help says:
    You can use this business function to further optimize your electronic Sales and Billing Processes.
    Electronic data archiving regulations result in a high volume of data for sales documents and require invoices to be archived at an early stage. You can integrate archived billing documents in your business processes more easily. Since you still have electronic access to archived invoices during the sales process, you can manage archiving without delay and execute further sales processes electronically.
    You can more efficiently use the rebate agreements from SAP ERP for your marketing activities. In particular, customers who use SAP CRM (Trade Promotion Management) with a large volume of data for campaigns, target groups, and product segments can define a custom-made logic for their rebate determination and thus avoid potential database problems.
    Integration
    To implement the logic for rebate processing in SAP ERP, you use the Enhancements for Rebate Processing Business Add-In (BAdI). For more information, see the Implementation Guide (IMG) under  Sales and Distribution  Billing  Rebate Processing  Business Add-Ins (BAdIs)  Enhancements for Rebate Processing .
    Prerequisites
    You have activated the Logistics: S&D Simplification (SD_01) business function.
    Features
    You can integrate archived billing documents in your business processes as follows:
    Create sales documents with reference to archived billing documents, such as credit memo and debit memo requests.
    Display archived billing documents.
    When you do either of these steps, the system first looks for the invoice in the database and then in the archive.
    For the sales employee, the processing steps are identical, regardless of where the sales document is stored. As soon as the sales employee processes an archived billing document, they see the relevant information in the message line as well as in the title of the function.
    For rebate processing, you can store your company's check logic in the interface of the Business Add-In (BAdI) Enhancements for Rebate Processing.
    So check if you have activated the business function.
    I hope this helps.
    Balazs

  • Data reconciliation between R/3 and the BW Systems

    How do we do data reconciliation between R/3 and the BW system for the following areas?
    Purchasing
    Controlling:
    Project System:
    COPA
    SD
    AP
    Trgards,
    Tony G

    Tony
    Have you looked these documents??
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/how%20to%20validate%20infocube%20data%20by%20comparing%20it%20with%20psa%20data
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7a5ee147-0501-0010-0a9d-f7abcba36b14
    Re: BW v. R/3 data reconciliation
    Hope this helps
    Thanks
    Sat

  • Freight Line Item on customer billing documents

    The systems is ECC 6.0.7. We will be charging freight cost to our customers going forward, so freight will show up as a separate posting to a separate GL acocunt. A new condition type is created for this purpose.
    Our business wants to post freight costs to a cost center account assignment. I have checked and currently the sales order posting screen does not have cost center field available for input while internal order field is. So I am guessing there will be some screen layout settings needed to make cost center field available for input. What are the settigns needed to make it available?
    The cost center account assignment field is available in the posted billing documents. Can we just add cost center for the posting at that time even if the sales order would not contain it? We want the freight line only to post to cost center, but not the price portion of the posting. Is it possible to do it because it seems that account assignment is entered for each at the billing item and price, freight, handling and taxes related to each item will pick up the same cost center entered for that billing item?

    You need to take the help of your FI consultant and proceed as discussed here
    Assign Cost Center to Freight GL
    G. Lakshmipathi

  • Determination of current exchange rate in the cancellation billing document

    Hi All,
    I have a requirement which I have described below. It would be helpful if you can mail your suggestions on the below.
    Existing logic in SAP:
    While CANCELLING a billing document(VF11), system copies the exchange rate from the original billing document. The same is transferred to accounting from the header of the billing document. VBRK–KURRF to BKPF-KURSF.
    Change Requirement:
    While CANCELLING a billing document, system should determine the exchange rate based on the current date (Date of cancellation)
    The same should get transferred to accounting.
    Example: Invoice dated 01.01.2005 if cancelled on 15.05.2006; the exchange rate should determine the rate that is valid for 15.05.2006 and not copy from the original invoice.
    So VBRK–KURRF should not get copied from the Original billing document, but it should redetermine the rate based on the current date.
    I need to know if there are any Exits or Bapi's or any kind of customization that I can do for this requirement.
    Thanks & Regards,
    Midhun.
    Ph: +49 1520 4358506

    Hi midhun ,
    This is sai ,
    I dont know whether this is precise solution for your rpoblem or not . but i have an idea regarding that
    If the document is reversed then another document will be created for reversal
    So in document type settings you have an option for using another exchange rate
    regards
    saikumar

  • Block cancelling the cleared billing documents

    Hi Friends,
    Currently system is allowing to cancel the cleared billing document and business does want to do that, for example when F2 billing type document is cancelled then it is generating S1 type cancelled document.
    I think I can prevent this by config ( in VOFA for billing type F2 under section cancellation>Copying requirements> assign 29.
    And I need to do it for all billing types,
    Now my queries are:
    Do I need to do any config for cancelled billing type (S1)  as well ?
    Is there complication for doing that?
    Whether I would be able to cancel the uncleared billing document in this way?
    Or just I can proceed what I mentioned above.
    Regards
    Ashu

    So I do need to assign 29 in only billing document type F2;
    is there any change required for cancelled billing document type (S1)?
    Yes only in F2. Not in S1.
    So if accounting document of billing type is showing as
    cleared then only system will not allow to cancel it.
    Will it allow to cancel the billing document if accounting
    document ( of type F2) is showing as not cleared?
    Yes that will allow you to do so.
    Say, due some price change, you want to cancel an invoice with cleared accounting doc and you are using 29 in routine. Then in that case take use of Invoice correction request / credit memo request / debit memo request based on your business requirement.
    Thanks & Regards
    JP

  • Billing date for a purchase order in the corresponding billing document

    Hello,
    for a purchase order I need to select the billing date in the bill which corresponds to the purchase order. There is a posting date in the order history but I am not sure that this date is identical with the billing date in the purchase order. Any suggestions? Thanks.
    Regards, Lars.

    I guess you are talking about due date for a billing document.
    There's an FM Determine_Due_date for that. before that you'll have to use FM FI_DOCUMENT_READ with I_AWTYP as VBRK and I_AWREF as Billing Document Number. You will get T_BSEG entry.
      CALL FUNCTION 'FI_DOCUMENT_READ'
       EXPORTING
         i_awtyp           = 'VBRK'
         i_awref           = po_vbeln
       TABLES
         t_bseg            = i_bseg
      SORT i_bseg BY vbeln.
    READ TABLE i_bseg WITH KEY vbeln = 'Billing Document Number'.
      IF sy-subrc IS INITIAL.
        MOVE-CORRESPONDING i_bseg TO wa_faede.
        CALL FUNCTION 'DETERMINE_DUE_DATE'
             EXPORTING
                  i_faede                    = wa_faede
             IMPORTING
                  e_faede                    = wa_faede
             EXCEPTIONS
                  account_type_not_supported = 1
                  OTHERS                     = 2.
    This wa_faede will have due date in one of its fields.
    Hey do reward points if this post is helpful.

  • Release the Cancelled Billing Document -Error

    HI,
    I am a fico consultant and not aware of SD fully.Kindly help me by giving inputs.
    Original Invoice document is -900000008
    cancelled invoice document is 1000000014
    when i try to release the cancelled invoice document 1000000014 in VF02,it is giving error like "automatic clearing off billing document 900000008 and can.doc. 1000000014 no poss".how to release  the cancelled invoice.
    Thanks
    Prathima

    Hi,
    Goto T.Code : VOFA
    Choose Billing type : F2
    Check the following entries in Billing type.
    Posting Block :  If you select,system blocks automatic transfer of the billing document to accounting
    Cancellation billing type - S1
    Acc Determination Procedure : KOFI00 (Standard)
    Choose Billing Type : S1
    Acc Determination Procedure : KOFI00 (Standard)
    Procedure:
    Cancellation : Go to T.code VF11
    Enter the Billing document : eg. 90000102 and press F8
    system will cancel the billing document and generates the cancellation billing document, save the transaction.
    We can release the blocked billing documents in VFX3 or goto VF02 enter billing document and choose green flag.
    Goto VF02 or VF03  enter the original billing document number and press document flow button.
    As per my knowledge we can't maintain external number ranges for billing documents.
    Regards,
    Chandrasekhar.s
    Edited by: chandra sekhar S on Jul 17, 2008 8:36 AM

  • Cancel the cancelled billing document

    HI friends,
    I have cancel the billing document in VF11.but posting date was wrong so i want to cancel the cancel billing document how I can do this ?
    Regards,
    Chetan

    Hi,
    The cancelled billing document cannot be cancelled again.
    What i suggest is reject the order and create a new one and correct your entries there and now invoice just once.
    Reward if helpful.
    Regards
    Ravi

  • To Generate the invoices (billing document) in t-code VF02 to DIRs in DMS

    Hi All,
    I have requirement is to generate the invoices (billing document) in t-code VF02 to DIRs in DMS or print list using ArchiveLink every night in batch program.
    Did anybody worked on similar scenerios, please let me know.
    Regards
    MM

    Hi Manish (and everyone).
    Were you able to find the solution to this?
    I am in a similar situation - trying to generate invoices from an ArchiveLink document.
    All setup pertaining to ArchiveLink is already in place.  What I need to do now is access the document from the content repository and start from there.
    Any input will be greatly appreciated.
    And of course, points will be rewarded.
    Many thanks!

  • NO Event created for Customer Billing Document (VF01) in Work Flow

    Hi expert ,
    I would like to trigger a work flow from the customer invoice created event.
    Bus Object should be "VBRK" or "BUS2037" ( Customer billing document )
    But ,I cannot get any event after the billing transaction in VF01.
    I use the "SWEL" transaction to monitor all events triggered, but I don't see any event related with billing ( I only see events for sales order creation ).
    Also in "SWO1" BUS2037 has only one event  : "ItCustBillingDoc.assigned"; but It doesn't make any sense to me .Why isn't there a created event for invoice ?
    Has any of you been thru that problem ?
    Thanks for advising .
    Sincerely
    Yvon.

    Hi thanks for your answer.
    SWELS is activated.
    PB still remains :
    In  SWEL i see no event triggered after the creation of a billing invoice .
    I can only see an event related to BUS2032 which is the sales order creation .
    But nothing related to the billing document although the doument is created in SD ( I have the record in VBRK ).
    Any idea Why ?
    Thanks again

Maybe you are looking for